Processing method for realizing consistency of internal storage data and data bank data service

A technology of transaction processing and memory data, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as automatic processing of difficult exceptions, out-of-sync memory and database data, application programs do not understand the completion of database transactions, etc. , to achieve the effect of maintaining consistency and simplifying programming complexity

Active Publication Date: 2006-11-08
HUAWEI TECH CO LTD
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the existing technology, the transaction is completely controlled by the application program. When an application-controllable exception occurs, the transaction can be better guaranteed. However, when an application-uncontrollable exception occurs, such as the process is forcibly terminated, the application cannot Opportunity to handle exceptions, resulting in out-of-synchronization of memory and database data, and the application itself does not know the completion of database transactions, it is difficult to automatically handle exceptions, and manual intervention is generally required to restore the synchronization of memory and database data

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
  • Processing method for realizing consistency of internal storage data and data bank data service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In-memory data comes from database tables. In order to facilitate the access and control of in-memory data, it is divided into key-value tables and data tables according to data types. The key-value table stores the key information of the business object, such as the savings account number of the banking system, the user number of the telecom operation system, and so on. In order to speed up the access speed of the key-value table, the key-value table can be organized into structures such as a balanced binary tree, a hash table, and a key tree. The data table stores all kinds of data corresponding to the business object, and the relevant data can be quickly accessed through the key-value table.

[0019] serial number

name

illustrate

1

key value

The key value of the transaction object

2

lock sign

Indicates whether the memory object is locked,

Provide row-level locking function, which i...

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

This invention relates to a consistant process method for events of memory data and database data including: 1, when the memory and the database begin the envent, the event process objects of them are locked, 2, generating an exclusive event flow number of this time to register the number and the event kind in their journals, 3, processing the data of the events in the memory and registering the changing journal of the memory, 4, utilizing the memory data to refresh data of the database, 5, registering the successful process of this event and releasing the locks of the objects of event of the database, 6, releasing the lock of the process object of the memory.

Description

technical field [0001] The invention relates to a method for transaction processing of memory data, in particular to a method for automatically maintaining transaction integrity of memory data when an abnormal situation uncontrollable by an application program occurs. Background technique [0002] For large-scale database application systems with high real-time requirements, shared memory is used to cache data during data processing to speed up business processing. Due to the huge advantages of memory in terms of access speed compared to hard disks and other external devices, the use of memory cache technology will greatly improve the speed of business processing. This processing method requires that the data in the memory be consistent with the data in the database during the processing of database transactions. [0003] At present, the existing processing methods for achieving transaction consistency between memory data and database data are as follows: both the memory an...

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): G06F17/30G06F9/46
Inventor 尹春雷迟峻峰
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products