Distributed transaction double-compensation method and device based on day-end account checking
A distributed transaction, double compensation technology, applied in the directions of non-redundancy fault handling, database distribution/replication, and response error generation, etc., can solve the problem of high development cost, low transaction real-time performance, and high intrusion of business code. problems, to achieve the effect of ensuring efficiency, avoiding business code intrusion, and low business code intrusion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0081] This embodiment involves a specific day-end reconciliation-based distributed transaction double compensation method, image 3 A flowchart of the method is shown. The method mainly includes three steps:
[0082] Step 1: Normal processing, according to the principle of optimism, the business logic is gradually processed normally, and there is no need to think too much about transaction exceptions to avoid intrusion into the code. In the actual environment, most of the business can be processed normally and successfully, so most of the business only needs to be processed normally without compensation actions, which improves the overall performance of the business system.
[0083] Step 2: Real-time compensation. If an exception is encountered during normal processing, it needs to be rolled back across databases as a whole. For example in image 3 , the entire business process involves a total of 4 transactions and 4 databases. If transaction 1 and transaction 2 have bee...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com