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

Quick data retrieval method and quick data retrieval system by novel Hash value table

A hash value and data technology, applied in the field of fast data retrieval, can solve problems such as inefficiency, hash value conflict, increase in linked list length, etc., to save time, avoid traversal and query, and avoid hash value conflicts.

Active Publication Date: 2014-03-05
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the hash values ​​of multiple elements are the same, there will be a hash value conflict, that is, the corresponding array position can only store one element. The traditional method is to resolve the conflict through a linked list, but this method When adding, querying and deleting, it is necessary to traverse the linked list, especially when the amount of data is huge, the hash collision will cause the length of the linked list to increase continuously
However, the traversal and query process of the linked list is very slow, so the traditional linked list method cannot efficiently solve the conflict of the hash table, and the efficiency is even lower when a large amount of data is accessed.

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
  • Quick data retrieval method and quick data retrieval system by novel Hash value table
  • Quick data retrieval method and quick data retrieval system by novel Hash value table
  • Quick data retrieval method and quick data retrieval system by novel Hash value table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Referring to the schematic diagram of the mapping table and the dynamic array structure shown in 1, the present invention has constructed the mapping table and the dynamic array, the length of the dynamic array can be automatically adjusted, and each element in the dynamic array includes the data itself and the subscript, and each element is dynamically There is a position index in the array. This position index is actually the value of the element generated when the dynamic data assigns the position to the element. When the hash value of the element is the same, the subscript is used to store the position index of the adjacent element; the mapping table It is an array with a fixed length, but the fixed length can be adjusted according to the number of elements in the dynamic array. The mapping table has index entries, and each entry is used to store the position index of the element in the dynamic array.

[0034] The present invention can construct the mapping relations...

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

The invention discloses a quick data retrieval method and a quick data retrieval system by a novel Hash value table. In the method, a mapping table and a dynamic array are created; elements of the dynamic array include data and subscripts, and the mapping table is used for storing position indexes of the elements in the dynamic array; through the subscripts, the mapping relation between the mapping table and the dynamic array can be built, and operations such as adding, inquiring and deleting of the elements in the dynamic array can be realized. The system comprises a creating module and a retrieving module, and the retrieving module comprises an adding unit, an inquiring unit and a deleting unit. By the quick data retrieval method and the quick data retrieval system, frequent traversal and inquiry in linked-list operations are avoided, and time is effectively saved; particularly, for access operations on mass data, through the subscripts, Hash value conflict can be avoided, and operation objectives can be achieved quickly and accurately.

Description

technical field [0001] The invention relates to the field of data retrieval, in particular to a method and system for realizing fast data retrieval through a novel hash value table. Background technique [0002] The hash table is a fast element access and read array, mainly used in the field of fast data retrieval, because it is characterized by array positioning and access based on the hash value of the element, and its efficiency is very high. However, when the hash values ​​of multiple elements are the same, there will be a hash value conflict, that is, the corresponding array position can only store one element. The traditional method is to resolve the conflict through a linked list, but this method When adding, querying, and deleting, it is necessary to traverse the linked list, especially when the amount of data is huge, hash collisions will cause the length of the linked list to increase continuously. However, the traversal and query process of the linked list is ver...

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
IPC IPC(8): G06F17/30
CPCG06F16/2255G06F16/2272
Inventor 余欣
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
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