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

Method for storing and querying data and devices therefor

A data storage and data query technology, applied in the computer field, can solve the problems of low query efficiency and long query time, and achieve the effect of shortening data query time and improving data query efficiency

Active Publication Date: 2010-02-03
BEIJING MFOX SCI & TECH CO LTD
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing data query method needs to traverse all the data until the qualified data is found. When the amount of data stored in the database is relatively large, this query method is inefficient and takes a long time

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 for storing and querying data and devices therefor
  • Method for storing and querying data and devices therefor
  • Method for storing and querying data and devices therefor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] 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.

[0031] see figure 1 , the embodiment of the present invention provides a method of data storage, the method decomposes the form field, establishes the index of the component elements obtained by decomposing, and stores the decomposed and indexed form, specifically including:

[0032] 101: Decompose the fields of the form to obtain the constituent elements of the fields;

[0033] 102: Establish an index of the component element;

[0034] 103: Store the decomposed and indexed form.

[0035] The data storage method provided by the embodiment of the present invention improves data query efficiency and shortens data query time.

[0036] In a database, data is stored in the form of a form. The form contains different records, which are g...

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 for storing and querying data and devices therefor, belonging to the field of a computer. The storing method comprises: decomposing form fields, and obtaining elements forming the fields; setting up an index of the elements; and storing the form which is decomposed and set with the index. The querying method comprises: decomposing the data to be queried, and obtaining elements forming the data to be queried; determining a single index of the data to be queried; setting up the single index of the data to be queried and the corresponding relationship of the elements forming the data to be queried; querying the data to be queried in the stored data which comprises the elements and the index of the elements. The storage device comprises a decomposition module,an index establishing module and a storage module. The querying device includes a decomposition module, an index determining module and a querying module. The invention can improve the data querying efficiency and shorten the data querying time.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for data storage and query. Background technique [0002] With the increasing amount of data, how to effectively manage data has become a concern of people. Therefore, database technology, especially massive database technology has become a hot research topic. [0003] Current databases often store data in the form of forms. A form includes multiple fields, including one or more records, and the content of the records is the stored data. When querying data, it often takes the field as a unit to traverse all the records of the form until a record that meets the conditions is found. [0004] The existing data query method needs to traverse all the data until the qualified data is found. When the amount of data stored in the database is relatively large, the efficiency of this query method is low and the query time is long. Contents of the invention [0005] In ord...

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
Inventor 金晨
Owner BEIJING MFOX SCI & TECH CO LTD