Master Account Segmentation for Concurrent Transaction Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing serial processing methods for bookkeeping operations in payment systems are inefficient and prone to system crashes due to high concurrency, leading to economic losses and transaction failures.
Innovation Solution
Splitting a master account into multiple sub-accounts with equal or predefined balances, allowing concurrent processing of accounting operations on sub-accounts, and merging them back when concurrency decreases, thereby improving efficiency and preventing system crashes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If serial processing method with exclusive lock is used for bookkeeping operations, then data consistency and reliability are ensured, but system efficiency and throughput deteriorate under high concurrency
Solution Approach 1:
The patent segments a single account into multiple sub-accounts (e.g., account balance divided into multiple sub-balances). This segmentation allows concurrent bookkeeping operations to be performed on different sub-accounts simultaneously without requiring exclusive locks on the entire account, thereby maintaining data consistency while improving system throughput under high concurrency conditions.
2Reliability
If exclusive lock is acquired for each bookkeeping operation on the same account, then erroneous results are avoided, but application threads must suspend resources and wait in queue, leading to system collapse under large concurrency
Solution Approach 1:
By dividing the account into multiple sub-accounts, the patent enables multiple application threads to concurrently access different sub-accounts without waiting for exclusive locks. This eliminates thread suspension and queue waiting, reducing time loss while maintaining transaction accuracy through parallel processing on segmented account data.
3Productivity
If multiple concurrent bookkeeping operations are performed on the same account, then system throughput is improved, but economic losses occur due to erroneous results
Solution Approach 1:
The patent segments the account balance into multiple independent sub-balances, allowing concurrent bookkeeping operations to be executed in parallel on different sub-accounts. Each sub-account can be independently locked and processed, ensuring transaction correctness while achieving high throughput through concurrent processing of segmented account data.
Solution Approach 2:
The patent introduces sub-accounts as intermediary elements between the application system and the master account. These sub-accounts act as mediators that enable concurrent operations by providing multiple independent access points, thereby maintaining transaction correctness while improving overall system throughput through parallel processing.
Data Source
AI summary
A method and an apparatus for account processing are disclosed. The method includes splitting a master account into a plurality of sub-accounts, wherein a sum of balances of the plurality of sub-accounts is equal to a balance of the master account; and sending sub-account information of the master account to an application system upon receiving an accounting operation request for the master account from the application system, the sub-account information being used by the application system to perform an accounting operation on a sub-account of the master account. Since the embodiments of the present disclosure split a master account into a plurality of sub-accounts, an application system may perform an accounting operation on multiple sub-accounts of the master account concurrently to improve the efficiency of performing the accounting operations on the master account.


