Method for guaranteeing data thread safety in purchase-sale-stock software
An invoicing and data technology, applied in the computer field, can solve problems such as low operating efficiency of invoicing software, achieve the effect of improving concurrent execution and improving execution efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] Embodiment 1: The method for ensuring data thread security in this example is based on windows or linux operating systems, relational databases, zookeeper, and purchase-sale-stock software developed based on java. Set the database transaction level to "repeatable-read". The specific implementation steps are:
[0023] Identify the atomic transaction unit in the invoicing business. If there is any illegal information, the entire transaction unit needs to be rolled back. For example, the business logic execution process of "purchase order-save" is regarded as an atomic transaction unit.
[0024] Create a tenant-level queue based on the tenant namespace. The queue is implemented using LinkedList. Since the data of different tenants is isolated, parallel execution will not generate dirty data, so the problem of parallel execution between different tenants may not be considered.
[0025] Enter the "purchase order" request, and store the entire "purchase order" business as a f...
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