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

Method of storing and accessing embedded database

An access method and database technology, applied in the embedded database field, can solve problems such as not providing limited database tables, and achieve the effect of reducing demand

Inactive Publication Date: 2003-07-16
ZTE CORP
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Further, the technical problem to be solved by the present invention is to overcome the technical problem that the storage method of the current embedded database does not provide a limited space occupied by the database table

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 of storing and accessing embedded database
  • Method of storing and accessing embedded database
  • Method of storing and accessing embedded database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] An embodiment of the present invention will be illustrated below with reference to the accompanying drawings.

[0034] At first, the first class table described in the present invention refers to FLASH table, and the second class table refers to RAM table, and the said FLASH table of the present invention refers to the table stored in the file system (file system can be based on hard disk, FLASH or RAM) etc.), RAM tables refer to tables stored in memory. The dynamic table described in the present invention refers to the table that space is not limited; Overlay table refers to that the maximum number of records of the table is fixed, and when the space of table is full, the newly inserted data automatically covers the record that produces the earliest; Non-coverage table refers to The maximum number of records in the table is fixed. When the space in the table is full, inserting data fails.

[0035] On the one hand, a storage method of an embedded database provided by t...

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

A method for storing and accessing embedded database is disclosed. Said storing method includes such steps as dividing the embedded database into a first and a second class tables with unique storage type marker, creating the first system table for storing the table definitions of the first class table and the second one and the second system table for storing the definitions of the fields in said two class tables, storing the first class table and two system tables in hard disc or flash memory, and storing the second class table in the buffer of memory.

Description

technical field [0001] The invention relates to the field of embedded databases, and provides an embedded database storage method and a database access method based on the storage method. Background technique [0002] Traditional database systems generally run on large computer devices, including host systems and various servers. With the application of computing technology on various devices, the miniaturization of databases is becoming increasingly urgent, such as embedded databases. . Compared with large-scale computer equipment, these equipment have less memory and fewer hard disks, so simply transplanting the original large-scale database to a small-scale equipment is not effective, and the database system must be specially designed according to the characteristics of these equipment. [0003] At present, the storage methods of embedded databases are all based on a file system and exist in the form of one file or multiple files. This storage method limits the database ...

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): G06F12/00G06F17/30
Inventor 崔文生王绍源姚泽勤
Owner ZTE CORP
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