Method and device for achieving high-efficient storage of data with non-fixed lengths

A data storage space and data technology, applied in the direction of electrical digital data processing, special data processing applications, memory address/allocation/relocation, etc., can solve the problems of waste of storage space, waste of keeping vacant, slow data movement efficiency, etc., to achieve Improve utilization, facilitate search, and avoid waste of storage space

Active Publication Date: 2013-06-19
BEIJING FEINNO COMM TECH
View PDF8 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Its disadvantages are: large-scale data reading and writing is slow, and the processing performance of a single data source with high concurrent access is poor
[0009] 3. When deleting a section of data in the middle, the efficiency of moving forward or subsequent data is slow, or keeping it empty causes waste, and the data operation cannot be completed efficiently
[0013] 2. Since the size of the block is fixed, but the size of the stored data is different, it will cause a lot of waste of storage space in the file, such as figure 1 shown
[0014] It can be seen that the storage space utilization rate of the existing data access technology still needs to be improved

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 device for achieving high-efficient storage of data with non-fixed lengths
  • Method and device for achieving high-efficient storage of data with non-fixed lengths
  • Method and device for achieving high-efficient storage of data with non-fixed lengths

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0054] figure 2 It is a flow chart of a method for realizing efficient storage of variable-length data in an embodiment of the present invention. In the present invention, the data storage space is divided into multiple blocks, when storing data, such as figure 2 As shown, the method includes:

[0055] 201. Cut the data to be stored into multiple segments according to the size of the data storage space block, and store each segment of data into a block according to the order of each segment of data in the data to be stored;

[0056] 202. According to the order of storage, the addresses stored in the blocks are formed into an array linked list;

[0057] 203. Save the primary key of the data to be stored and the array linked list in...

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 method and a device for achieving high-efficient storage of data with non-fixed lengths. The method comprises the following steps: dividing a data storage space into a plurality of blocks, when the data are stored, cutting the to-be-stored data into multiple sections according to sizes of the data storage space blocks, and storing each section of data into one block according to the sequence of each section of data in the to-be-stored data; combining the addresses of the storing blocks into an array chain table according to storing sequence; and saving major keys of the to-be-stored data and the array chain table into an internal storage hash table. The method and the device for achieving the high-efficient storage of the data with the non-fixed lengths can effectively improve utilization rate of the storage space.

Description

technical field [0001] The invention relates to the technical field of data access, in particular to a method and device for realizing high-efficiency storage of variable-length data. Background technique [0002] Data access is one of the most common tasks and functions of application service programs in the wireless Internet field. Since data information varies widely, the size of the same type of information that needs to be stored in the same storage space also varies widely. Therefore, it is necessary to constantly balance between data storage efficiency and disk space utilization maximization to find an optimal solution. [0003] Existing Solution 1: Database [0004] Database technology is a relatively mature data storage technology, forming a complete system and norms. Its disadvantages are: large-scale data reading and writing is slow, and the processing performance of a single data source with high concurrent access is poor. [0005] Existing Solution 2: Sequent...

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/30G06F12/02
Inventor 郭祎徐广鑫
Owner BEIJING FEINNO COMM TECH
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