Transaction processing method, device, computer equipment and storage medium

A transaction processing and transaction technology, applied in the database field, can solve problems such as undetectable abnormality, unrecognizable, undetectable serial scheduling technology, etc., to achieve the effect of improving transaction processing efficiency and detection accuracy

Active Publication Date: 2021-06-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF9 Cites 0 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, device, computer equipment and storage medium
  • Transaction processing method, device, computer equipment and storage medium
  • Transaction processing method, 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 application discloses a transaction processing method, device, computer equipment and storage medium, belonging to the technical field of databases. This application obtains the read-write collection of the target transaction in the execution phase of the target transaction, and in the verification phase, according to the logical start time and logical commit time of the target transaction, verifies whether the target transaction conforms to its own concurrency consistency level, and based on the predetermined strategy Dynamically update the logical start time, so that the final updated logical start time and logical commit time can be legal, without data exceptions that are not allowed by its own concurrency consistency level, and then submit the target transaction, which can make the entire system Different transactions in the database correspond to different concurrency consistency levels, greatly improving the accuracy of data anomaly detection, improving transaction processing efficiency and database system performance.

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
Patent Type & Authority Patents(China)
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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products