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

Data storage and query method for compound fields

A query method and data storage technology, which are applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as inability to efficiently search data tables, long time consumption, and low query efficiency.

Inactive Publication Date: 2013-04-03
NORTHWEST UNIV +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] The technical problem to be solved by the present invention is to provide a data storage and query method for composite fields in view of the deficiencies in the above-mentioned prior art, which has reasonable design, convenient data storage and query, small data processing workload, and high query efficiency. Solve the problems of low query efficiency, long time-consuming, and inability to quickly and efficiently search data tables when querying composite fields.

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 query method for compound fields
  • Data storage and query method for compound fields

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] Such as figure 1 A composite field data storage and query method shown includes the following steps:

[0063] Step 1, data storage: using a PC and storing multiple data to be stored respectively according to conventional data storage methods, and storing the stored multiple data to the pre-established storage device of the PC In the data table; the data table meets the requirements of the third normal form, and the number of the data table is one or more; the data storage method of each data table is the same.

[0064] When actually storing data, first organize the data to be stored according to the storage requirements of the conventional third normal form, and then store all the sorted data in the storage device, and the storage process is as follows:

[0065] Step 101, organize the original data according to the relational schema.

[0066] Step 102, making the relational schema R after data sorting satisfy the first normal form, that is, all attributes of the relat...

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 and query method of a compound field, comprising the following steps: 1. Data storage: storing a plurality of data in a data table meeting the requirements of the third paradigm, and each storage record includes field name information, Three types of information: specific value and primary key number; when storing composite fields, add the query quantity field and composite field attributes associated with the primary key number; 2. Data query; when querying composite fields, for any storage record, first read The query quantity n in the query quantity field, the number m of field name information that meets the query conditions is counted during the query process, and when m≥n, the query process of a stored record is completed; after that, continue to query until all data tables are queried. The invention has the advantages of reasonable design, convenient storage and query, small amount of data processing, and high query efficiency, and can solve the problems of low query efficiency, long time-consuming, inability to quickly and efficiently search and the like when querying compound fields.

Description

technical field [0001] The invention belongs to the technical field of data storage and query, and in particular relates to a data storage and query method of a composite field. Background technique [0002] In daily work, production and study, you will be exposed to a large number of complex data processing problems. Here are a few examples to illustrate: [0003] Example 1: In order to meet the requirements of a relational database, when storing the archive information of a university teacher, it is usually stored according to the information storage table shown in Table 1: [0004] Table 1 The file information storage table of teachers in a university [0005] teacher number Name Faculty phone number residence phone S1 X1 D1 T1 Z1 S2 X2 D2 T2 Z2 S3 X3 D3 T3 Z3 S4 X4 D4 T4 Z4 [0006] It can be seen from Ta...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 赵宏安陈林关博通王博赵凤起耿国华王冰李康牛晓霞李玉芹江静雷元元高红旭徐司雨王浩张玉成胡荣祖
Owner NORTHWEST UNIV
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