Quick retrieval method for variable-length data blocks
A technology of long data and data blocks, which is applied in the field of fast retrieval of variable-length data blocks, can solve problems such as taking up a large calculation time, and achieve the effect of improving retrieval efficiency and reducing the number of times
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] Such as figure 1 As shown, a fast retrieval method for variable-length data blocks:
[0031] (1) Input a group of blocks that need repeated detection;
[0032] (2) Enter a block. If the current input is empty, terminate the search; otherwise, go to step (3)
[0033] (3) Extract the length L of the block, the first byte A, the last byte B, and the [L / 2]th byte C;
[0034] (4) Calculate K=min(L,65536)mod 256;
[0035] (5) Taking K, A, B, and C as nodes in turn to construct an index tree S-K-A-B-C, wherein S represents the root node of the index tree;
[0036] (6) If there are no other blocks under the current index, the current detection block is the only block, and return to step (2); otherwise, enter the next step;
[0037] (7) calculate the fingerprint of the data block that does not calculate the fingerprint under the current index and the currently detected data block;
[0038] (8) Compare the currently detected data block fingerprint with other block fingerpri...
Embodiment 2
[0040] Such as figure 2 As shown, a fast retrieval method for variable-length data blocks:
[0041] (1) Read a variable-length data block group to be retrieved;
[0042] (2) input a data block 1 of the variable-length data block group;
[0043] (3) Extract the length L of the data block 1 and the byte values 1D, 34, 50 of some positions;
[0044] (4) Map the length of data block 1 to the [0,255] interval, and calculate K=min(L,65536) mod 256, where K represents the value that maps the current data block length to the [0,255] interval, and L represents the data Block length, min(L,65536) means to take the smaller value between L and 65536, which is used to divide data blocks longer than 64KB into the same child node, and mod means to take a modulo operation;
[0045] (5) Using K, 1D, 34, and 50 as keys in turn to construct an index tree S-K-1D-34-50, wherein S represents the root node of the index tree;
[0046] (6) There are no other data blocks under the current index,...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com