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

Database processing method and device and system

A processing method and processing device technology, applied in the database field, can solve problems such as the inability to guarantee the atomicity of the data processing process, and achieve the effect of ensuring atomicity

Inactive Publication Date: 2016-05-04
ZTE CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When using a database that does not support transactions to process these businesses, the atomicity of the data processing process cannot be guaranteed

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
  • Database processing method and device and system
  • Database processing method and device and system
  • Database processing method and device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0042] Aiming at the problems in the prior art that many databases that do not support transaction processing cannot guarantee atomicity during execution, the present invention provides a database processing method, device and system, by setting a corresponding processing method for the exception type of each atomic module , which ensures that when the exception type is the fallback type, the corresponding atomic module can execute the corresponding processing method to return to the state before the atomic module runs, ensuring that each atomic module has atomicity in executing business, thereby ensuring Atomicity of the entire data execution.

[0043] Such as figure 1 As shown, the embodiment of the present invention provides a database processing met...

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 provides a database processing method and device and a system. The database processing method comprises following steps: successively dividing the executing processes of the database into multiple atomic modules needed to be provided with atomicity protection according to the service demand of the database; obtaining the abnormality state of an operating target atomic module in real time, determining the abnormality type of the abnormity according to the abnormality state; if the abnormality type is a rollback type, obtaining a first processing method corresponding to the rollback type, executing the first processing method so that the target atomic module rolls back to the state of the atomic module before operation. According to the method of the invention, when the abnormality type is the rollback type, the corresponding atomic module can execute the corresponding processing method so as to roll back to the state of the atomic module before operation; every atomic module is ensured to have atomicity in executing service; and therefore the whole data executing atomicity is ensured.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a database processing method, device and system. Background technique [0002] The atomicity of database operations is a basic feature of transactional databases, which is used to ensure the integrity of the results of an operation on the database, that is, it is either completely executed or not executed at all. Many types of databases currently do not support transaction processing, such as analytical databases and storage engines of some databases. In the process of using these databases to process data, it may be necessary to ensure the atomicity of a certain execution process, such as the data storage process and the pre-statistics execution process of reports. When using a database that does not support transactions to process these businesses, the atomicity of the data processing process cannot be guaranteed. Contents of the invention [0003] The object of the prese...

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
CPCG06F16/00
Inventor 程文超
Owner ZTE CORP