Data storage method, data searching method and device

A technology for data storage and storage location, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as large memory space and compression, and achieve the effect of reducing memory

Active Publication Date: 2016-12-07
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The Python dictionary is implemented based on the hash method. Although the indexing efficiency is relatively high, due to the definition of its key-value pair elements and its expansion strategy, the memory space occupied by the Python dictionary is to

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
  • Data storage method, data searching method and device
  • Data storage method, data searching method and device
  • Data storage method, data searching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted.

[0027] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate...

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 data storage method, a data searching method and a device. The data storage method comprises the steps that a storage space is created for data to be stored according to the number of key value pairs in the data to be stored, wherein each key value pair comprises a key element and a corresponding value element, and for each key value pair, a pointer pointing to a key element address and a pointer pointing to a value element address comprise preset bits used for storing related storage information of the key value pair; the Hash value of the key element of each key value pair is calculated; position Hash values of the key elements of all the key value pairs are calculated according to the Hash values of the key values of all the key value pairs and the number of the key value pairs; all the key value pairs are stored according to the position Hash values of the key elements of all the key value pairs and the related storage information. By means of the method, the occupied size of the data in a memory can be remarkably reduced through compression.

Description

technical field [0001] The present invention relates to the technical field of data storage, in particular to a data storage method, a search method and a device. Background technique [0002] At present, almost all game numerical systems complete numerical design by planning and filling in forms. The entire game generally includes hundreds of tables of data, and with the maintenance of the game and the continuous development of new functions, the content of the tables will increase, and the number of tables will gradually increase. These tabular data are generally converted from excel format or csv format to the program language format in the game running system through the pre-written table guide system of the program. These converted data will be read in when the game is started, and stored in the memory, so that the data related to the table can be read at any time. [0003] Because the reading of game data is a very frequent operation, almost all gameplay requires the...

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/2255
Inventor 林悦
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products