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

Method for controlling search data in graphic database online transaction

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

Active Publication Date: 2011-09-21
BEIJING 21VIANET DATA CENT
View PDF3 Cites 1 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 controlling search data in graphic database online transaction
  • Method for controlling search data in graphic database online transaction
  • Method for controlling search data in graphic database online transaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention proposes a control method for querying data in the online transaction of a graph database, which will be described in detail below in conjunction with the accompanying drawings.

[0052] Graph Database Overview

[0053] The architecture of the graph database of the present invention can be divided into three layers from top to bottom. like figure 1 As shown, the top layer is the organization and realization of various conceptual objects in the 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 the program with the help of existing storage engines, such as traditional relational databases, XML files, and so on.

[0054] DataSet (data set)

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

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 controlling search data in graphic database online transaction. The method comprises the following steps of: 1) calling an application program interface (API) by a client program; 2) checking whether the transaction is valid, finishing the calling and returning error information if the transaction is invalid, otherwise, continuing the calling; 3) checking whether a target node exists, exiting if the target node does not exit, otherwise, continuing; 4) checking whether the path expression of a return node data result set is accurate, exiting if the path expression is inaccurate, otherwise, continuing; 5) checking whether the filter condition is legal, exiting if the filter condition is illegal, otherwise, continuing; 6) checking whether the filter condition contains the path expression, if so, performing a path-expression-based query step 7), otherwise, performing a simple query step 8); 7) executing path-expression-based condition query, and turning to a step 9); 8) performing simple query; and 9) returning the queried result set to an API calling person, and finishing the query. The method has characteristic of transaction isolation, and the query in a certain online transaction is not affected by other online transactions or non online transactions.

Description

technical field [0001] The invention relates to a control method for querying data in a graph database online transaction. Background technique [0002] Typically in database systems, a transaction is a discrete unit of work. For example, a database transaction could be a write operation that modifies a user's account balance or inventory item. OLTP collects and processes transaction-linked data and changes in the status of shared databases and other files in real time. In online transaction processing, transactions are executed immediately. Executing transactions in a single-user, single-database environment is simple because there are no conflict issues 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 "rollback" mechanism to ensure the integrity of the database in the event of a system failure during a write operation....

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