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

Under embedded environment, method for protecting consistency of memory database

A database and embedded technology, applied in the field of transaction management of in-memory databases, can solve problems such as reducing system reliability and low system performance, and achieve the effect of ensuring performance, low overhead, and simplifying design

Active Publication Date: 2008-11-12
BEIJING ZHIGU TECH SERVICE
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the in-memory database runs in the memory, disk reading and writing is no longer the bottleneck of low system performance, and locking has become the main overhead of system operations
The complex locking mechanism will undoubtedly have a non-negligible impact on the transaction speed, and the hidden dangers of deadlock and interlock will also greatly reduce the reliability of the system

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
  • Under embedded environment, method for protecting consistency of memory database
  • Under embedded environment, method for protecting consistency of memory database
  • Under embedded environment, method for protecting consistency of memory database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] A group of processes of the memory database itself are collectively referred to as database processes, which have a consistent process priority. Other application processes access the database through the standard interface provided by the database. In the method of the present invention, the standard interface of the database module is divided into two types Interface: the first type of interface is only used by application processes with the same priority as the database process; the second type of interface is used by application processes with different priorities than the database process to access the database, including both high priority and low priority .

[0030] The first type of interface and the second type of interface have the same calling form of interface primitives, which are mapped to a certain function through the event number, and define the required input parameters and output parameter data structures according to the functions provided by the data...

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 maintaining consistency of internal memory databank under embedded environment includes using application process with the same priority as databank process to call on the first type of interface of databank and directly finalizing databank operation by calling on functional interface function of databank operation, calling on the second type of interface by the other application process and sending databank access request message to databank operation process then calling on said interface function to finalize databank operation according to said request message.

Description

technical field [0001] The invention relates to a transaction management technology of an in-memory database, specifically, a method for ensuring the operation consistency of the in-memory database under the policy of pre-emptive scheduling of processes based on priority in an embedded system. Background technique [0002] In-memory database technology, as a real-time database technology in an embedded environment, has been widely used in many fields that require real-time response to business, such as telecommunications, control and other fields. In-memory database means that all or most of the data is stored in memory, thus avoiding the overhead of disk read and write, so the data access speed is greatly improved. Therefore, the design of real-time memory database needs to break the design concept of traditional disk database, consider the characteristics of direct and fast memory access, and redesign and develop various database operation strategies, algorithms and mechan...

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 BEIJING ZHIGU TECH SERVICE