A data query engine based on shard storage and half index
A data query engine and data query technology, applied in the field of data query engines, can solve the problems of high query speed and decrease in overall efficiency, and achieve the effect of improving efficiency, fast query speed, and fast positioning query speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0033] Embodiment 1: A data query engine based on shard storage and half-index, including a data generation module, a data sorting module, and a data query module.
[0034] Wherein, the data generation module is used to generate the plaintext of each MD5 encrypted data in each file in the form of fragment storage, including an MD5 encryption unit, a file name generation unit and a folder name generation unit.
[0035] The MD5 encryption unit is used to perform MD5 encryption on plaintext data.
[0036] The file name generating unit converts the hexadecimal of the 9th to 13th digits of the 32-bit MD5 encrypted data into decimal as the file name.
[0037] The folder name generating unit divides the file name by 1024 and removes the remainder as the folder name, and the file is stored in the current folder.
[0038] The data sorting module sorts the plaintext data in each folder from small to large, including a data sorting unit, which is used to reverse the 21st to 24th bits of...
Embodiment 2
[0040] Embodiment 2: A query method of a data query engine based on shard storage and a half-index, comprising the following steps:
[0041] Step 1. Query the plaintext of a piece of 32-bit MD5 encrypted data.
[0042] Step 2. Convert the 9th to 13th digits of the MD5 value of the current plaintext into decimal to obtain the file name.
[0043] Step 3: Divide the file name by 1024 to obtain the folder name, and then obtain the storage location of the file corresponding to the current plaintext.
[0044] Step 4. Enter the storage location of the found file, open the current file, locate the middle part of the content of the current file, and start to perform a split query. Positioning can be implemented with existing algorithms, and there are many mature algorithms that can be implemented.
[0045] Step 5, perform MD5 encryption on the middle position data of the current file.
[0046] Step 6. Convert the 21st to 24th digits of the encrypted 32-bit MD5 value of the current f...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com