Unlock instant, AI-driven research and patent intelligence for your innovation.

Data storage and reading method and system

A data storage system and data storage technology, applied in database indexing, electronic digital data processing, structured data retrieval, etc., can solve problems such as low efficiency during reading, and achieve the effect of reducing workload and solving low work efficiency

Inactive Publication Date: 2019-11-12
北京智慧远景科技产业股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method and system for data storage and reading, so as to solve the problem that the data storage method in the prior art has relatively low efficiency when reading

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 and reading method and system
  • Data storage and reading method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Data storage method embodiment:

[0027] This embodiment provides a data storage method, which is used to solve the problem of low work efficiency when data is stored and then read using the data storage method in the prior art.

[0028] The data storage method that this embodiment provides, its flow process is as follows figure 1 shown, including the following steps:

[0029] (1) After obtaining the user information, read the user's ID number from the user information and store it in the queue.

[0030] In this embodiment, the length of the queue is a set value greater than 3.

[0031] (2) When the queue is full, sort the ID numbers stored in the queue from large to small, and transfer the sorted ID numbers to the corresponding array.

[0032] After dumping the ID number stored in the queue into the response array, write the ID number from the head of the queue again.

[0033] The data storage method provided by this embodiment sorts the ID numbers stored in the qu...

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 provides a data storage and reading method and system, and the method comprises the following steps: obtaining user information, reading the ID number of a user in the user information,storing the ID number, and recording the number of stored ID numbers; and when the number of the read ID numbers reaches a set value, sorting the ID numbers according to the sizes, and transferring the ID numbers into corresponding arrays. The data reading method comprises the following steps: acquiring an ID number of a to-be-read user according to user information of the to-be-read user; comparing the ID number of the to-be-read user with the maximum value and the minimum value of the ID number in each array, and screening out the array in which the maximum value of the ID number is not lessthan the ID number of the to-be-read user and the minimum value is not greater than the ID number of the to-be-read user; and querying the ID number of the to-be-read user from the screened array toobtain user data of the to-be-queried user. According to the technical scheme provided by the invention, the problem of low working efficiency when the data is read after being stored by a data storage method in the prior art can be solved.

Description

technical field [0001] The invention belongs to the technical field of data storage, and in particular relates to a data storage and reading method and system. Background technique [0002] In many fields, data recording and storage are very important, not only to facilitate users to query historical records, but also to provide data support for other research. [0003] The data storage method in the prior art is simply to record the data, and when querying, it is necessary to compare and query all the data one by one according to the data characteristics of the user. However, as the amount of data increases, it will cause a relatively large workload and low efficiency when querying. Contents of the invention [0004] The purpose of the present invention is to provide a method and system for data storage and reading, so as to solve the problem of relatively low efficiency in reading data storage methods in the prior art. [0005] To achieve the above object, the present ...

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): G06F16/22G06F16/245
CPCG06F16/22G06F16/245
Inventor 张进吴冠军毕强伟张振京程文平
Owner 北京智慧远景科技产业股份有限公司