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

Method for realizing transaction committing mechanism in online transaction of graphic database

An online transaction and transaction submission technology, which is applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., and can solve problems such as conflicts

Active Publication Date: 2011-09-21
BEIJING 21VIANET DATA CENT
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that when multiple users try to change the same block of data at the same time, there is a conflict problem

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 realizing transaction committing mechanism in online transaction of graphic database
  • Method for realizing transaction committing mechanism in online transaction of graphic database
  • Method for realizing transaction committing mechanism in online transaction of graphic database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention proposes a method for implementing a transaction commit mechanism in a graph database online transaction, which is described in detail below with reference to the accompanying drawings.

[0052] Graph database overview

[0053] The structure of the graph database of the present invention can be divided into three layers from top to bottom. Such as figure 1 As shown, the top layer is the organization and realization of various conceptual objects in graphic data. The middle layer is an abstract data physical storage interface layer, which abstracts the physically stored data into several data sets DataSet. The bottom layer is the physical storage implementation layer, which is implemented by programs with the help of existing storage engines, such as traditional relational databases, XML files, and so on.

[0054] DataSet

[0055] DataSet is the logical storage unit of data in the graph database. The data in the graph database and the logical definition of...

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 a method for realizing a transaction committing mechanism in an online transaction of a graphic database. The method comprises the following steps of: (1) calling an API (Application Program Interface) of graphic data by using a client program and transmitting a transaction number to be committed; (2) checking whether the transaction exists; (3) checking whether the transaction is overdue; (4) checking whether the transaction is committed; (5) checking whether the transaction rolls back; (6) checking whether the transaction is locked; (7) marking a transaction committing state; (8) deleting a data record locked by the transaction; (9) updating a dirty data state; and (10) deleting the transaction record. The invention provides a simple and reliable data transaction committing mechanism, the committing operation has an indivisible 'atomic operation' characteristic, and a third state does not occur between a committing state and a non-committing state. The data operation of the method has optional breakpoint continuity, and data updating can be continually executed by restarting a system after sudden execution interruption from the start of data updating to any completion time point until updating is completed after the transaction committing operation is called.

Description

Technical field [0001] The invention relates to a method for implementing a transaction commit mechanism in an online transaction of a graph database. Background technique [0002] Usually in database systems, transactions are discrete units of work. For example, a database transaction can be a write operation to modify a user's account balance or inventory item. The online transaction processing system collects and processes the data connected to the transaction in real time and changes in the status of shared databases and other files. In online transaction processing, the transaction is executed immediately. It is simple to execute transactions in a single-user, single-database environment, because there are no conflicts or the need for synchronization between databases. In a distributed environment, write operations often occur in parallel on multiple database servers. Such concurrent transaction processing requires a "roll-back" mechanism to ensure that the integrity of ...

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/30
Inventor 陈升于洪方井卫军蒋建平陈晞刘健
Owner BEIJING 21VIANET DATA CENT