Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Transaction processing method and device, computer equipment and storage medium

A transaction processing and transaction technology, which is applied in the database field, can solve problems such as inability to identify, low accuracy of system status detection, and inability to detect serializable scheduling technology, so as to achieve the effect of improving accuracy and performance

Active Publication Date: 2021-03-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The serializable technology and multiple concurrent access control technologies in the database field can only solve the problems related to transaction consistency, but cannot solve other consistency problems (for example, the consistency problem of shared data objects), so through serialization Technology, unable to detect some abnormal problems
That is to say, there are transactions that partially meet the serializability requirements but still have exceptions, which cannot be detected by the serializable scheduling technology, that is, transactions consistent with other consistency (for example, shared data object consistency ) data abnormality problem, which cannot be identified, and the accuracy of system status detection is low

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
  • Transaction processing method and device, computer equipment and storage medium
  • Transaction processing method and device, computer equipment and storage medium
  • Transaction processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0059] In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.

[0060] In the present application, the term "at least one" means one or more, and the meaning of "multiple" means two or more, for example, a plurality of first positions means two or more first positions.

[0061] Before introducing the embodiments of the present application, some basic concepts in the cloud technology field need to be introduced.

[0062] Cloud Technology (Cloud Technology): refers to a hosting...

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 discloses a transaction processing method and device, computer equipment and a storage medium, and belongs to the technical field of databases. The method comprises the steps of obtaining a read-write set of a target transaction in an execution stage of the target transaction, verifying whether the target transaction meets a self concurrency consistency level or not according to a logic starting moment and a logic submitting moment of the target transaction in a verification stage, and dynamically updating the logic starting moment based on a predetermined strategy. Thus, the logic starting moment and the logic submitting moment which are finally updated are enabled not to generate data exception which is not allowed by the own concurrency consistency level under the legal condition, and then the target transaction is submitted, so that different transactions in the whole system can correspond to different concurrency consistency levels, and the user experience is improved. The data exception detection accuracy is greatly improved, and the transaction processing efficiency and the performance of a database system are improved.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a transaction processing method, device, computer equipment and storage medium. Background technique [0002] Data processing technology requires the semantics of transactions and borrows the four ACID characteristics of relational databases to ensure the transaction characteristics of the system to meet the needs of electronic transactions. Among them, A is atomicity, C is consistency, I is isolation, and D is persistence. Electronic transaction operations require these four characteristics to ensure the safety and reliability of transactions. Distributed transaction processing technology also needs to meet the four ACID characteristics of transactions. In order to meet the four ACID characteristics, data processing technology needs a variety of technologies to guarantee, the most important of which is data consistency and isolation. Among them, data consistency Th...

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): G06F9/46G06F16/27
CPCG06F9/466G06F16/27G06F16/2365G06F16/2322
Inventor 李海翔
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products