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

Transaction processing method, apparatus, equipment and storage medium

A transaction processing and transaction technology, applied in the database field, can solve problems such as performance limitation, request blocking, processing timeout, etc., to achieve the effect of improving fault tolerance and the ability to process transactions

Active Publication Date: 2020-04-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 16 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, apparatus, equipment and storage medium
  • Transaction processing method, apparatus, equipment and storage medium
  • Transaction processing method, apparatus, 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

The embodiment of the invention provides a transaction processing method, a transaction processing apparatus, equipment and a storage medium. The method comprises the following steps that: a to-be-processed transaction obtained from a database is divided into at least two sub-transactions; each sub-transaction is divided into N parts with an association relationship according to a network interface to which each sub-transaction belongs and each function realized by the sub-transaction; the N parts of each sub-transaction are processed according to the association relationship, so that the processing result of the last executed part in the N parts is obtained; if it is determined that an abnormal sub-transaction exists according to the processing result, a processing strategy matched with an abnormal reason for the abnormal sub-transaction is determined; and the abnormal sub-transaction is processed by adopting the processing strategy, so that the final processing result of the to-be-processed transaction is obtained. Therefore, through an automatic deployment mode, the abnormal sub-transaction is processed by adopting the processing strategy matched with the abnormal reason for theabnormal sub-transaction, and fault tolerance and transaction processing capability are improved.

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 Applications(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