Service processing method and device and electronic equipment

A business processing and business request technology, applied in data processing applications, machine execution devices, electrical digital data processing, etc., can solve problems such as inability to meet high-frequency business demands, small business concurrency, etc. The effect of business concurrent processing capability

Active Publication Date: 2020-08-21
ALIPAY LABS SINGAPORE PTE LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to achieve the purpose of anti-replay of the business, the blockchain needs to strictly ensure that the transactions are executed in order, and the supported business concurrency is very small, which cannot meet the high-frequency business demands. A new method is urgently needed to improve the business of the blockchain concurrent processing capability

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
  • Service processing method and device and electronic equipment
  • Service processing method and device and electronic equipment
  • Service processing method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] Please refer to figure 1 , this embodiment provides a business processing system, including a distributed bridging system 10 and a block chain 20 . The distributed bridging system 10 is used as a connecting bridge for connecting the blockchain 20 and the business system 40 using the blockchain 20 . Further, the business processing system may also include a load balancing system 30, the distributed bridge system 10 includes m bridges bridges, m≥2, and the load balancing system 30 is used to distribute external services to each bridge of the distributed bridge system 10 bridge, and then submit service requests to the block chain 20 through each bridge.

[0045] Set n slot index on the block chain 20, n≥2, each slot index corresponds to store a customer random number, such as figure 2As shown in the Nonce Table in the Nonce Table, the Nonce Table is also called the Nonce Pool. Customer random number nonce, which is a parameter used to prevent replay of business transac...

Embodiment approach

[0079] As an optional implementation, the device may also include:

[0080] A maintenance unit 65, configured to record the update time when updating the customer random number of the target slot;

[0081] The processing unit 64 is also used to determine whether the current time is greater than the sum of the update time and the blockchain transaction expiration time when the first client random number is equal to the second client random number, and if so, based on The first client random number updates the client random number corresponding to the target slot stored in the distributed bridging system, updates the update time, and submits the first client random number to the blockchain based on the first client random number. The above business processing request.

[0082] As an optional implementation manner, the processing unit 64 is also configured to:

[0083] If the current time is less than or equal to the sum of the update time and the block chain transaction expira...

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 service processing method, and device and electronic equipment, the method is applied to a distributed bridging system. The system is connected with a block chain, n slot positions are arranged in the block chain, n is greater than or equal to 2, and each slot position correspondingly stores a client random number. The method comprises the following steps: after receivinga service processing request, requesting a first client random number and a corresponding target slot position from the block chain, wherein the first client random number is obtained based on the client random number stored in the target slot position on the block chain; determining whether the first client random number is greater than a second client random number used on the distributed bridging system or not; if so, updating the client random number of the target slot in the distributed bridging system based on the first client random number, and submitting a service processing request to the block chain based on the first client random number and the target slot, so as to accept the service processing request through the block chain, and improve the service concurrent processing capability of the block chain through the design of the multi-slot client random number.

Description

technical field [0001] This specification relates to the field of software technology, in particular to a business processing method, device and electronic equipment. Background technique [0002] As a distributed ledger technology, blockchain (Blockchain) can, on the one hand, allow weak trust parties to reach a consensus on the facts recorded in the ledger, and on the other hand, it can synchronize multiple parties to complete cross-institutional business logic collaboration. In order to achieve the purpose of anti-replay of the business, the blockchain needs to strictly ensure that the transactions are executed in order, and the supported business concurrency is very small, which cannot meet the high-frequency business demands. A new method is urgently needed to improve the business of the blockchain Concurrent processing capability. Contents of the invention [0003] The embodiments of this specification provide a business processing method, device and electronic equi...

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/38G06Q40/04
CPCG06F9/3818G06Q40/04
Inventor 张婷婷
Owner ALIPAY LABS SINGAPORE PTE 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