Transaction processing method, apparatus, and device and computer storage medium

US11544245B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11544245-B2
Application numberUS-202117170207-A
CountryUS
Kind codeB2
Filing dateFeb 8, 2021
Priority dateDec 3, 2019
Publication dateJan 3, 2023
Grant dateJan 3, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A transaction processing method includes: dividing a to-be-processed transaction obtained from a database into at least two subtransactions; dividing each subtransaction into N parts with an association relationship; processing the N parts of each subtransaction based on the association relationship, to obtain a processing result of a lastly executed part of the N parts; determining, upon detecting an abnormal subtransaction based on the processing result, a processing policy matching an abnormality reason of the abnormal subtransaction; and processing the abnormal subtransaction by using the processing policy, to obtain a final processing result of the to-be-processed transaction.

First claim

Opening claim text (preview).

What is claimed is: 1. A transaction processing method, applied to a computing device, the method comprising: dividing a to-be-processed transaction obtained from a database into at least two subtransactions including a first subtransaction, a second subtransaction, and a third subtransaction, wherein: in a forward operation, two forward execution paths proceed from the first subtransaction respectively to the second subtransaction and the third subtransaction; and in a reverse operation, a reverse execution path returns from the third subtransaction back to second subtraction, while leaving the third subtransaction present in relation to the first subtransaction; dividing the first or the second or the third subtransaction into N parts with an association relationship, N being an integer greater than 1; processing the N parts of the first or the second or the third subtransaction based on the association relationship, to obtain a processing result; determining, upon detecting an abnormal subtransaction based on the processing result, a processing policy; and processing the abnormal subtransaction by using the processing policy, to obtain a final processing result of the to-be-processed transaction. 2. The method according to claim 1 , wherein the dividing the first or the second or the third subtransaction into N parts comprises: determining a category set of a network interface to which the first or the second or the third subtransaction belongs; and dividing the the first or the second or the third subtransaction into the N parts based on the category set of the network interface. 3. The method according to claim 1 , wherein the first, the second, and third subtransactions are independent of each other. 4. The method according to claim 1 , wherein the processing the N parts of the first or the second or the third subtransaction comprises: determining a processing path of the at least two subtransactions; and processing the N parts of the first or the second or the third subtransaction based on the processing path and the association relationship, to obtain the processing result of the subtransaction. 5. The method according to claim 2 , wherein when the category set of the network interface includes M categories, the first or the second or the third subtransaction is divided into at least M parts, M being an integer greater than 1, and the processing the N parts of first or the second or the third subtransaction comprises: determining a serial execution sequence between the at least M parts based on the association relationship; and executing an M th part of the at least M parts in the serial execution sequence based on the serial execution sequence and a processing result of an (M−1) th part of the at least M parts in the serial execution sequence, to obtain the processing result. 6. The method according to claim 1 , further comprising: determining a new processing result of processing the abnormal subtransaction by using the processing policy; determining a processing result set of a currently processed subtransaction when the abnormal subtransaction is still in an abnormal status in the new processing result; storing the processing result set through a message middleware; and reading the processing result set from the message middleware when an inputted read instruction is received. 7. The method according to claim 1 , wherein the determining the processing policy comprises: using a processing result of a previous subtransaction of the abnormal subtransaction as a processing result of the abnormal subtransaction when abnormality occurs at a client side during processing of the abnormal subtransaction; and processing N parts of the abnormal subtransaction based on the association relationship when the abnormality occurs at a server side during processing of the abnormal subtransaction. 8. The method according to claim 1 , wherein the dividing the to-be-processed transaction into the at least two subtransactions comprises: determining a resource interface set to implement the to-be-processed transaction; dividing the to-be-processed transaction into the at least two subtransactions according to the resource interface set. 9. A transaction processing device, comprising: a memory, configured to store an executable instruction; and a processor, configured to execute the executable instruction to perform: dividing a to-be-processed transaction obtained from a database into at least two subtransactions including a first subtransaction, a second subtransaction, and a third subtransaction, wherein: in a forward operation, two forward execution paths proceed from the first subtransaction respectively to the second subtransaction and the third subtransaction; and in a reverse operation, a reverse execution path returns from the third subtransaction back to second subtraction, while leaving the third subtransaction present in relation to the first subtransaction; dividing the first or the second or the third subtransaction into N parts with an association relationship, N being an integer greater than 1; processing the N parts of the first or the second or the third subtransaction based on the association relationship, to obtain a processing result; determining, upon detecting an abnormal subtransaction based on the processing result, a processing policy; and processing the abnormal subtransaction by using the processing policy, to obtain a final processing result of the to-be-processed transaction. 10. The device according to claim 9 , wherein the dividing the first or the second or the third subtransaction into N parts comprises: determining a category set of a network interface to which the first or the second or the third subtransaction belongs; and dividing the the first or the second or the third subtransaction into the N parts based on the category set of the network interface. 11. The device according to claim 9 , wherein the first, the second, and third subtransactions are independent of each other. 12. The device according to claim 9 , wherein the processing the N parts of the first or the second or the third subtransaction comprises: determining a processing path of the at least two subtransactions; and processing the N parts of the first or the second or the third subtransaction based on the processing path and the association relationship, to obtain the processing result of the subtransaction. 13. The device according to claim 10 , wherein when the category set of the network interface includes M categories, the first or the second or the third subtransaction is divided into at least M parts, M being an integer greater than 1, and the processing the N parts of first or the second or the third subtransaction comprises: determining a serial execution sequence between the at least M parts based on the association relationship; and executing an M th part of the at least M parts in the serial execution sequence based on the serial execution sequence and a processing result of an (M−1) th part of the at least M parts in the serial execution sequence, to obtain the processing result. 14. The device according to claim 9 , further comprising: determining a new processing result of processing the abnormal subtransaction by using the processing policy; determining a processing result set of a currently processed subtransaction when the abnormal subtransaction is still in an abnormal status in the new processing result; storing the processing result set through a message middleware; and reading the processing result set from the message middleware when an inputted read ins

Assignees

Inventors

Classifications

  • Monitoring of transactions · CPC title

  • Optimistic concurrency control · CPC title

  • Updates performed during online database operations; commit processing · CPC title

  • in transactions (updating of structured data in databases G06F16/23) · CPC title

  • involving logging of persistent data for recovery · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11544245B2 cover?
A transaction processing method includes: dividing a to-be-processed transaction obtained from a database into at least two subtransactions; dividing each subtransaction into N parts with an association relationship; processing the N parts of each subtransaction based on the association relationship, to obtain a processing result of a lastly executed part of the N parts; determining, upon detec…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/2315. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 03 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).