Hotspot account transaction system and method

A transaction system and account technology, applied in the field of financial transaction systems, can solve problems such as unsatisfactory business, congestion impact, timeout, etc.

Inactive Publication Date: 2019-04-12
宝付网络科技(上海)有限公司
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually a ledger must involve both parties, so the logic of a ledger is to lock two accounts, calculate the balance of the two accounts, then update the balance of the two accounts, and finally release the lock. When multiple threads compete for the lock on the same account, many threads are bound to be in the lock waiting state. When there are too many threads waiting, it will cause timeout, increase in failure rate, and congestion of the entire system and affect other normal records with low concurrency. account
Since the account balance is different from the transaction order, it can be realized by sub-database and sub-table. It is impossible to divide the balance of an account into multiple tables and multiple databases, otherwise the balance will be inaccurate or the business will not be satisfied.

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
  • Hotspot account transaction system and method
  • Hotspot account transaction system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0023] Such as figure 1 As shown, this embodiment provides a hotspot account transaction system, which includes a transaction receiving module 1, a buffer scheduling module 2, a distributed memory 3, a transaction processing module 4, and a buffer processing module 5.

[0024] The transaction receiving module 1 is used to receive each a...

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 invention discloses a hotspot account transaction system and method. A transaction receiving module receives each account transaction request; a buffer scheduling module caches the account and theaccount balance in the borrowing database and the account and the account balance in the creditor database into a distributed memory; a transaction processing module processes each account transaction request, updates the account balance corresponding to the borrower and the account balance corresponding to the creditor in the distributed memory, and records each transaction detail of the borrower account and each transaction detail of the creditor account; a buffer processing module gathers each transaction detail of the borrower account and each transaction detail of the creditor account inbatches, gathers the transaction amount with the successful transaction state of the lender and the transaction amount with the failed transaction state of the lender, and updates the transaction amount with the successful transaction state into the lender account database; and summarizes the transaction amount of which the transaction state is successful and the transaction amount of which the transaction state is failed, and updates the transaction amount of which the transaction state is successful to the credit account database.

Description

Technical field [0001] The invention relates to the technical field of financial transaction systems, in particular to a hot account transaction system and method. Background technique [0002] In the existing accounting transaction system, the account balance update is a more prudent operation. In order to ensure that the balance update of each account is accurate, it is usually necessary to use a database lock to operate, and no matter which one is durable on the market The performance of a single data lock in a standardized database is not very high. Usually, both parties must participate in an account, so the logic of an account is to lock two accounts, calculate the balances of the two accounts, then update the balances of the two accounts, and finally release the lock. In the case of high concurrency, more When a thread competes for the same account for locks, there are bound to be many threads in the lock waiting state. When there are too many waiting threads, it will cau...

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): G06Q40/04
CPCG06Q40/04
Inventor 舒蓁王峰陈曦
Owner 宝付网络科技(上海)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products