Method and device for processing concurrent data and electronic accounting system

A data processing and processing unit technology, applied in the field of data processing, can solve problems affecting system performance and occupancy, and achieve the effects of improving processing efficiency, reducing processing times, and reducing queue waiting time

Active Publication Date: 2010-02-03
ADVANCED NEW TECH CO LTD
View PDF6 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to provide a concurrent data processing method and device to solve the problem that multiple requests occupy the same resource at the same time during concurrent processing
[0

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
  • Method and device for processing concurrent data and electronic accounting system
  • Method and device for processing concurrent data and electronic accounting system
  • Method and device for processing concurrent data and electronic accounting system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0047] Example one:

[0048] Reference figure 2 , Is a flowchart of a concurrent data processing method described in the first embodiment. For requests for high-concurrency accounts, perform the following processing:

[0049] S201: Divide the processing time of the system into multiple time periods, and each time period is called a time slice. Wherein, the processing time of the system refers to the time for processing a transaction request.

[0050] S202: Allocate concurrent requests to a corresponding time slice, and wait for the time slice to be processed.

[0051] For specific allocation, there are different allocation strategies, mainly based on the division method of time periods. For example, a minute is divided into 60 time periods in seconds. When a request is received, it is automatically allocated to the corresponding time period according to the requested time. If the requested time is the 20th second, the request is allocated to the 20th On-chip processing. If it is ...

Example Embodiment

[0076] Embodiment two:

[0077] Due to the universality of current electronic transactions, the following will take financial data processing based on a third-party electronic transaction platform as an example to further explain in detail how the present invention solves the concurrent accounting problem in electronic transaction processing.

[0078] In electronic transactions, accounting processing is implemented by a third-party payment platform, which has user virtual accounts, including buyer virtual accounts and seller virtual accounts. The buyer first transfers the transaction funds from the bank account to the buyer's virtual account, and then transfers the buyer's virtual account to the seller's virtual account during the transaction. At this time, the transaction funds are controlled on the third-party payment platform, and the seller cannot withdraw cash. After the buyer confirms the receipt, the transaction funds are transferred from the seller's virtual account to the ...

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 method and a device for processing concurrent data, which solve the problem that a plurality of requests occupies the same resource at the same time in the process of concurrent processing. The method comprises the following steps: dividing the processing time into a plurality of time slices; allocating concurrent requests to different time slices; and circularly processing the request on each time slice. The method and the device apply the concept of the time slices to the processing of network requests, have no need of processing the requests one by one like the conventional mode but performing the processing by facing to the time slices, so the problem of occupying the same resource at the same time is solved, and the processing efficiency is improved. Besides,when the requests on the same time slice are processed, the requests of the same type are merged together for processing and the processing time of a system is reduced so that the time for locking and unlocking the same resource frequently is reduced, and simultaneously the queue waiting time for accessing the resource is reduced.

Description

technical field [0001] The invention relates to data processing technology, in particular to a concurrent data processing method, device and an electronic accounting system. Background technique [0002] In various business application systems, concurrent processing is a common processing method. For example, in the financial system, for a business with a large amount of concurrency, such as accounting processing, it involves the accounting processing of one account paying to multiple accounts at the same time or one account receiving money from multiple accounts at the same time. [0003] refer to figure 1 , is the standard accounting processing flow chart. Taking the bookkeeping processing in the transaction process as an example, for a bookkeeping request event: first, lock the resources of the transaction-related accounts (including the buyer's payment account and the seller's collection account) to ensure that they are not accessed by other requests. Affect the accur...

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
IPC IPC(8): G06F9/50G06Q40/00
CPCG06F9/4881G06Q20/14G06F9/526
Inventor 程立倪行军赵旭
Owner ADVANCED NEW TECH CO LTD
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