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

Searching and storing method for embedded database

A database and embedded technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of non-commercial database transplantation and high cost of database use, achieve high retrieval efficiency, low resource consumption, and improve utilization Effect

Inactive Publication Date: 2012-08-08
SHENZHEN MINDE ELECTRONICS TECH
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the data management methods that are widely used include hierarchical, network and relational databases, such as MS SQL, DB II and Oracle, etc. For small data application units, there are certain defects in the establishment and use of commonly used commercial databases And shortcomings, for example, the cost of database use is high, and it needs to be established on the basis of high-speed systems, large-capacity hard disks, memory and parallel mechanisms. Obviously, these mature commercial databases cannot be well transplanted into embedded systems subject to conditions

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
  • Searching and storing method for embedded database
  • Searching and storing method for embedded database
  • Searching and storing method for embedded database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Such as figure 1 As shown, the index file contains header file information, hash table and AVL tree, and index information. The detailed structure of the index file is as follows figure 2 shown. In the index file, the header file information includes the total number of records, the serial number of the hash function, the size of the hash table, and the length of the table unit. The hash table is divided into tables of the same length, and the table records the entry address of the AVL tree in the index file. The AVL tree and index information include: left subtree entry address, right subtree entry address, keywords and their record addresses and record length. Data files save records one by one.

[0039] Such as image 3 As shown, the AVL tree model established according to the organizational structure of the above index file. The invention uses an AVL tree to handle hash conflicts, and the index information stored in each leaf node of the AVL tree includes the...

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 searching and storing method for an embedded database. When an embedded system is under an off-line mode, the method comprises the following steps: external high-speed equipment is used for data organization and storage, a data file is set up and the recording is kept, an index file is kept, index information is kept in an AVL tree node, and finally, a database file is downloaded to embedded equipment for use. When the embedded system is under the off-line mode, the method comprises the following steps: searching AVL tree in the index file through keywords, obtaining the index information, so as to obtain the recording of the date file, or insert newly built tree node into an AVL tree, and keep the index information and the recording. The method provided by the invention fully uses optimization process of the external high-speed equipment according to the characteristics of the resource of date and uses the technologies such as a hash table and AVL three for data organization and storage, and the method provided by the invention has the benefits of less resource consumption and high searching efficiency, and can be used in embedded systems with limited resources.

Description

technical field [0001] The invention relates to a data processing technology of an embedded system, in particular to a retrieval and storage method of an embedded database. Background technique [0002] With the development of digital information technology and the wide application of embedded products, modern office and life have become more and more inseparable from the real-time management of a large amount of information. Embedded devices have become a trend as a terminal carrier for information interaction. [0003] An embedded system is a complex of software and hardware, and it is also a special "computer" system centered on applications and based on computer technology, with tailorable software and hardware. Affected by functional requirements, system cost, hardware size and other factors, the hardware and software configuration of the embedded system will be subject to certain restrictions. In an embedded system with limited conditions, such as some embedded device...

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
Inventor 林嘉顺黄强
Owner SHENZHEN MINDE ELECTRONICS TECH
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