Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for building indexes and method and system for retrieving indexes

An index building and index block technology, applied in the field of data processing, can solve the problems of slow speed, low efficiency, and difficult to meet the actual use, and achieve the effect of reducing the number of comparisons, strong pertinence, and improving efficiency

Active Publication Date: 2014-01-01
NEUSOFT CORP
View PDF7 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the technical solution of using cache technology to retrieve in the collection server is difficult to meet the actual needs due to its slow speed and low efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for building indexes and method and system for retrieving indexes
  • Method and system for building indexes and method and system for retrieving indexes
  • Method and system for building indexes and method and system for retrieving indexes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0056] In the embodiment of the present invention, the data directly collected by the collection server from the source server is defined as real data, which is different from the solution known in the prior art that searches for real data directly from the hard disk of the collection server for retrieval. The key of the present invent...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An embodiment of the invention provides a method and a system for building indexes and a method and a system for retrieving the indexes. The method for building the indexes includes enabling an acquisition server to store acquired real data and generating index data according to storage positions of the real data; storing the index data into current buffer blocks according to a key value sequence; continuously arraying the index data in the buffer blocks into index blocks according to the key value sequence; sequentially arraying the index blocks to form index files. The index data comprise key values. The method for retrieving the indexes includes acquiring key values of target data; comparing the key values of the target data to key value ranges of the various index blocks in the index files and determining certain index blocks with the key value ranges covering the key values of the target data as target index blocks; searching the target index blocks to obtain index data with key values equal to the key values of the target data and using the index data as target index data; extracting storage positions of the target data from the target index data and reading the target data at the storage positions.

Description

Technical field [0001] The present invention relates to the technical field of data processing, in particular to an index establishment method and system, and a retrieval method and system. Background technique [0002] The data collection process can be summarized as the process of collecting data from the source server to the target server. For large-scale data collection at this stage, a dedicated collection server is often needed to complete this process. This will inevitably lead to extremely large data traffic in the collection server. Therefore, in scenarios with data query and retrieval requirements such as distributed multi-table associated collection, change data comparison, and business code replacement, the ability to quickly query and retrieve matching data has become a new problem that needs to be solved urgently. [0003] In the prior art, a cache technology is generally used to realize fast query and retrieval, that is, data with a higher query frequency is cached ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2228
Inventor 李东鸽陈廷斌
Owner NEUSOFT CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products