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

Method for implementing embedded system data base

An embedded system and implementation method technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of large resource occupation, low access speed, complex implementation of XML storage data, etc., to achieve less occupation and reduce The effect of complexity and fast data access speed

Active Publication Date: 2009-11-18
WUHAN HONGXIN TELECOMM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] However, there are still many deficiencies in using XML to store data. The implementation of storing data in XML is complicated and takes up more resources. Moreover, every time you access the database, you need to parse and convert the XML file, and the access speed is low.

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 implementing embedded system data base
  • Method for implementing embedded system data base
  • Method for implementing embedded system data base

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Below will be further described with reference to an example of the present invention and the accompanying drawings:

[0037] First, the basic information of the database table is described by using a table-based mapping (Table-Based Mapping), which uses a structure to describe the basic information of the data table. The structure describes a two-dimensional database table. The table name, table description, table column number, column name, column description, data type, and default value are defined in the structure. The following is an example of the structure:

[0038] [table]

[0039] [wmanIfBsProvisionedSfTable]

[0040] table_describe="Configure Bs pre-configured service flow working parameters"

[0041] column_num=2

[0042] [column1]

[0043] column_name=wmanIfBsSfId

[0044] column_description="Service Flow Id"

[0045] column_type=number_1

[0046] column_default=1

[0047] [column2]

[0048] column_name=wmanIfBsSfDirection

[0049] column_descript...

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 relates to an implementation method of an embedded system database. The record storage address of the database table is stored in a hash table, and the association between the table name and the storage location of the record storage address is established. First, the table description containing the mapping based on the table is read. file; then, multiple hash tables are established in the memory of the embedded system; then, the table names are classified, each classification corresponds to a hash table, and the table name is associated with the corresponding hash table; the table name Perform a hash operation to obtain a location in the hash table corresponding to the table name; finally, store the record storage address corresponding to the table name in the obtained location. The invention can reduce the complexity of the embedded system database and improve the access speed of the database.

Description

technical field [0001] The invention relates to an implementation method of an embedded system database, in particular to the realization of data storage in the embedded system database by means of a hash table. Background technique [0002] In devices using embedded operating systems, especially communication devices, such as 3G base stations, Wimax base stations, etc., they need to configure a lot of data to start working properly. After working normally, in order to maintain and optimize the entire network, it is also necessary to dynamically modify, add, delete, and query a lot of configuration data. Therefore, it is necessary to use a database in these devices. However, in a device using an embedded operating system, due to the incompatibility of its operating system and the limited resources of CPU, memory and FLASH (flash memory), it is generally impossible to directly use a commercial database. Features, customize a database that suits itself. [0003] Generally sp...

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 WUHAN HONGXIN TELECOMM TECH CO LTD
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