Method and equipment for compression and searching of index data
A technology for indexing data and data, which is applied in electrical digital data processing, special data processing applications, instruments, etc., and can solve problems such as reducing the data capacity of index information lists.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] Such as figure 1 As shown in FIG. 1 , it is a schematic flowchart of a method for compressing index data provided in Embodiment 1 of the present application. The methods include:
[0082] Step 101: After obtaining the index information list of a data file, according to the arrangement order of the column index data in the index information list, sequentially compare whether the column index data of the same column in two adjacent rows are the same.
[0083]In step 101, since the amount of data contained in the data file is relatively large, in order to facilitate the search of the data in the data file, the data in the data file is usually stored in a certain order, and the index of the data file is generated according to the storage order of the data database.
[0084] Wherein, the index information base may be in the form of an array, a list, or a tree structure and so on.
[0085] For an index information base in the form of a list, column index data in an index i...
Embodiment 2
[0164] Such as figure 2 As shown, it is a schematic flowchart of an index data search method provided by Embodiment 2 of the present application. Embodiment 2 of the present application is an invention under the same inventive concept as Embodiment 1 of the present application. The methods include:
[0165] Step 201: Receive a search request message.
[0166] Wherein, the search request message includes at least one search keyword and a column label corresponding to the search keyword.
[0167] In step 201, a search request message is received from a user or other device, and the search request message is used to indicate the column label corresponding to the row index data to be searched and the search keyword.
[0168] For example: {4, 10, 30, 2} is carried in the received search request message.
[0169] Among them, the column label corresponding to keyword 4 is 0; the column label corresponding to keyword 10 is 1; the column label corresponding to keyword 30 is 2; the co...
Embodiment 3
[0182] Such as image 3 As shown, it is a schematic structural diagram of an index data compression device provided by Embodiment 3 of this application. Embodiment 3 of this application is an invention under the same inventive concept as Embodiment 1 and Embodiment 2 of this application. The device includes: a comparison module 11, a compression module 12 and an index array generation module 13, wherein:
[0183] The comparison module 11 is used to compare whether the column index data of the same column in two adjacent rows are the same according to the arrangement order of the column index data in the index information list after obtaining the index information list of a data file;
[0184] The compression module 12 is used to compress the same column index data when the column index data of the same column in two adjacent rows are the same; when the column index data of the same column in the two adjacent rows are not the same, record the The column index data of the same ...
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