Method for processing duplicated data
First Claim
Patent Images
1. A method for processing duplicated data, comprising:
- receiving a query request from a client, wherein the query request comprises a requested fingerprint value;
searching a hash tank corresponding to the requested fingerprint value in a memory for the requested fingerprint value, comprising;
executing a hash procedure on the requested fingerprint value and obtaining a tank index value;
searching the memory for the hash tank corresponding to the requested fingerprint value according to the tank index value;
when the hash tank corresponding to the requested fingerprint value exists in the memory, searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value; and
when the hash tank corresponding to the requested fingerprint value does not exist in the memory, executing the following steps;
loading the hash tank corresponding to the requested fingerprint value into the memory from a disk;
searching a storage complete table in the memory with the loaded hash tank for the requested fingerprint value; and
updating a write status value of the hash tank, deleting the requested fingerprint value in the storage complete table, and then searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value, when the requested fingerprint value exists in the storage complete table; and
executing the following steps, when the requested fingerprint value does not exist in the hash tank corresponding to the requested fingerprint value;
searching an addition table in the memory for the requested fingerprint value; and
sending an invalid duplicate message to the client, when the requested fingerprint value exists in the addition table.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing method for duplicated data includes the following steps. A query request is received from a client, in which the query request includes a requested fingerprint value. A hash tank corresponding to the requested fingerprint value in a memory is searched for the requested fingerprint value. When the requested fingerprint value does not exist in the hash tank corresponding to the requested fingerprint value, the following steps are executed. An addition table in the memory is searched for the requested fingerprint value; and when the requested fingerprint value exists in the addition table, an invalid duplicate message is sent to the client.
9 Citations
7 Claims
-
1. A method for processing duplicated data, comprising:
-
receiving a query request from a client, wherein the query request comprises a requested fingerprint value; searching a hash tank corresponding to the requested fingerprint value in a memory for the requested fingerprint value, comprising; executing a hash procedure on the requested fingerprint value and obtaining a tank index value; searching the memory for the hash tank corresponding to the requested fingerprint value according to the tank index value; when the hash tank corresponding to the requested fingerprint value exists in the memory, searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value; and when the hash tank corresponding to the requested fingerprint value does not exist in the memory, executing the following steps; loading the hash tank corresponding to the requested fingerprint value into the memory from a disk; searching a storage complete table in the memory with the loaded hash tank for the requested fingerprint value; and updating a write status value of the hash tank, deleting the requested fingerprint value in the storage complete table, and then searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value, when the requested fingerprint value exists in the storage complete table; and executing the following steps, when the requested fingerprint value does not exist in the hash tank corresponding to the requested fingerprint value; searching an addition table in the memory for the requested fingerprint value; and sending an invalid duplicate message to the client, when the requested fingerprint value exists in the addition table. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for processing duplicated data, comprising:
-
receiving a query request from a client, wherein the query request comprises a requested fingerprint value; processing the requested fingerprint value by employing a Bloom filter and obtaining a return value; and executing the following steps, when the return value is hit; searching a hash tank corresponding to the requested fingerprint value in a memory for the requested fingerprint value, comprising; executing a hash procedure on the requested fingerprint value and obtaining a tank index value; searching the memory for the hash tank corresponding to the requested fingerprint value according to the tank index value; when the hash tank corresponding to the requested fingerprint value exists in the memory, searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value; and when the hash tank corresponding to the requested fingerprint value does not exist in the memory, executing the following steps; loading the hash tank corresponding to the requested fingerprint value into the memory from a disk; searching a storage complete table in the memory with the loaded hash tank for the requested fingerprint value; and updating a write status value of the hash tank, deleting the requested fingerprint value in the storage complete table, and then searching the hash tank corresponding to the requested fingerprint value for the requested fingerprint value, when the requested fingerprint value exists in the storage complete table; and executing the following steps, when the requested fingerprint value does not exist in the hash tank corresponding to the requested fingerprint value; searching an addition table in the memory for the requested fingerprint value; and sending an invalid duplicate message to the client, when the requested fingerprint value exists in the addition table. - View Dependent Claims (7)
-
Specification