Device and method for increasing the security of a database
AssigneeAlibaba Group Holding Limited
InventorYuanmi Chen
Life of this patent
Estimating the term…
Abstract
The security of a database is substantially increased by partitioning raw data, irreversibly encrypting the partitioned raw data, reversibly encrypting the raw data, and then storing pairs of irreversibly encrypted data and reversibly encrypted data. In response to a search query, the query is partitioned and irreversibly encrypted, and the irreversibly encrypted query is used to search the stored irreversibly encrypted data. When a match is found, the reversibly encrypted data paired with the stored irreversibly encrypted data that matches the irreversibly encrypted query is output in response to the search query.
Claims22
A data processing method comprising:
- receiving a string of raw data;
- partitioning the string of raw data to form a plurality of raw substrings;
- irreversibly encrypting the plurality of raw substrings to form a plurality of irreversibly encrypted substrings;
- reversibly encrypting the string of raw data to form a string of reversibly encrypted raw data;
- associating the plurality of irreversibly encrypted substrings with the string of reversibly encrypted raw data such that each irreversibly encrypted substring is associated with the string of reversibly encrypted raw data;
- storing the plurality of irreversibly encrypted substrings as a plurality of stored irreversibly encrypted substrings, and storing the string of reversibly encrypted raw data associated with each irreversibly encrypted substring as a stored reversibly encrypted string;
- receiving a query word;
- in response to receiving the query word, searching the plurality of stored irreversibly encrypted substrings corresponding to the query word;
- and
- in response to searching, outputting the stored irreversibly encrypted substrings and the stored reversibly encrypted strings corresponding to the query word as a query result.
A non-transitory computer-readable storage medium having embedded therein program instructions, which when executed by a processor, causes the processor to execute a method of data processing, the method comprising:
- receiving a string of raw data;
- partitioning the string of raw data to form a plurality of raw substrings;
- irreversibly encrypting the plurality of raw substrings to form a plurality of irreversibly encrypted substrings;
- reversibly encrypting the string of raw data to form a string of reversibly encrypted raw data;
- associating the plurality of irreversibly encrypted substrings with the string of reversibly encrypted raw data such that each irreversibly encrypted substring is associated with the string of reversibly encrypted raw data;
- storing the plurality of irreversibly encrypted substrings as a plurality of stored irreversibly encrypted substrings, and storing the string of reversibly encrypted raw data associated with each irreversibly encrypted substring as a stored reversibly encrypted string;
- receiving a query word;
- in response to receiving the query word, searching the plurality of stored irreversibly encrypted substrings corresponding to the query word;
- and
- in response to searching, outputting the stored irreversibly encrypted substrings and the stored reversibly encrypted strings corresponding to the query word as a query result.
A data device comprising:
- a memory that stores instructions and data in a data structure;
- a processor coupled to the memory, the processor to:
- receive a string of raw data;
- partition the string of raw data to form a plurality of raw substrings;
- irreversibly encrypt the plurality of raw substrings to form a plurality of irreversibly encrypted substrings;
- reversibly encrypt the string of raw data to form a string of reversibly encrypted raw data;
- associate the plurality of irreversibly encrypted substrings with the string of reversibly encrypted raw data such that each irreversibly encrypted substring is associated with the string of reversibly encrypted raw data;
- store the plurality of irreversibly encrypted substrings as a plurality of stored irreversibly encrypted substrings, and store the string of reversibly encrypted raw data associated with each irreversibly encrypted substring as a stored reversibly encrypted string;
- receive a query word;
- in response to receipt of the query word, search the plurality of stored irreversibly encrypted substrings corresponding to the query word;
- and
- in response to the search, output the stored irreversibly encrypted substrings and the stored reversibly encrypted strings corresponding to the query word as a query result.
Dependencies are inferred from the claim text.