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

Transaction processing method, device, equipment and storage medium

A transaction processing and transaction technology, applied in the database field, can solve problems such as limited performance, request blocking, high error rate, etc., and achieve the effect of improving fault tolerance and transaction processing ability

Active Publication Date: 2021-06-11
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For long transactions, if the transaction is not committed, it will cause the request to operate the same resource to block or process timeout
In this way, since the submission of sub-transactions depends on the local transactions of the database, the performance of the overall service is limited by the processing capacity of the stand-alone database, resulting in high error rates and low processing efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with the accompanying drawings, and the described embodiments should not be considered as limiting the present invention, and those of ordinary skill in the art do not make any All other embodiments obtained under the premise of creative labor belong to the protection scope of the present invention.

[0031] In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.

[0032] In the following description, the term "first\second\third" is only used to distinguish similar objects, and does not represent a specific ordering of objects. Understandably, "first\second\third" Where p...

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

An embodiment of the present invention provides a transaction processing method, device, device, and storage medium; the method includes: dividing the transaction to be processed obtained from the database into at least two sub-transactions; according to the network interface and For each function realized by the sub-transactions, divide each of the sub-transactions into N parts with an associated relationship; process the N parts of each of the sub-transactions according to the associated relationship to obtain the N parts The processing result of the last executed part in the part; if it is determined according to the processing result that there is an abnormal sub-transaction, determine the processing strategy that matches the abnormal cause of the abnormal sub-transaction; adopt the processing strategy to treat the abnormal sub-transaction The transaction is processed to obtain the final processing result of the transaction to be processed; in this way, through automatic deployment, a matching processing strategy is used to process abnormal sub-transactions, which improves fault tolerance and transaction processing capabilities.

Description

technical field [0001] The invention relates to the database field, in particular to a transaction processing method, device, equipment and storage medium. Background technique [0002] In related technologies, in a database, when transaction A is manipulating data and committing (commit) or rolling back (rollback), other transactions cannot see the modification of data by transaction A. For long transactions, if the transaction is not committed, requests to operate on the same resource will be blocked or the processing will time out. In this way, since the submission of sub-transactions depends on the local transactions of the database, the performance of the overall service is limited by the processing capability of the stand-alone database, resulting in a high error rate and low processing efficiency. Contents of the invention [0003] Embodiments of the present invention provide a transaction processing method, device, device, and storage medium, which can automatical...

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): G06F11/07G06F9/46
CPCG06F11/0793G06F9/466G06Q40/02G06F11/1474G06F11/0751G06F11/0706G06Q20/12
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