Transaction packaging method, computer equipment and storage medium

A trading and exchange technology, applied in the blockchain field, can solve problems such as business errors, parallel chain transactions cannot be packaged in time, and business timeliness requirements are low, so as to reduce the error rate.

Pending Publication Date: 2021-08-06
HANGZHOU FUZAMEI TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, for logistics business or data storage business, the business timeliness requirements are low, even if the parallel chain transaction is delayed for a period of time, it will not affect the business; for financial business, once the parallel chain transaction is delayed for a period of time If the time is on the chain, it is likely to cause business errors
In a specific period or in a specific scenario, for example, during Double Eleven, users of logistics parachains with low business timeliness requirements send a large number of parachain transactions to the main chain, which may lead to financial parallel chains with high business timeliness requirements. The parallel chain transactions of the chain cannot be packaged on the main chain in time, resulting in business errors

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
  • Transaction packaging method, computer equipment and storage medium
  • Transaction packaging method, computer equipment and storage medium
  • Transaction packaging method, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for ease of description, only parts related to the invention are shown in the drawings.

[0023] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0024] figure 1 It is a flowchart of a transaction packaging method provided by an embodiment of the present invention.

[0025] Such as figure 1 As shown, in this embodiment, the present invention provides a transaction packaging method suitable for main chain nodes. There are business prioriti...

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 provides a transaction packaging method, computer equipment and a storage medium, and the method comprises the steps: judging whether the number of transactions in a current transaction pool is not greater than the number of transactions which can be accommodated in a first block or not when a consensus module of a current node needs to pull transactions from the transaction pool to package the first block; if yes, pulling all transactions in the transaction pool to package the first block; if not, determining the business priority of each second transaction according to the strategy group matched with each second transaction in the transaction pool; and pulling the second transactions capable of accommodating the transaction quantity according to the order of the business priorities to package the first block. According to the invention, the error rate of the parallel chain service is reduced.

Description

technical field [0001] The present application relates to the technical field of block chain, and specifically relates to a transaction packaging method, computer equipment and storage media. Background technique [0002] In the parachain architecture proposed by the applicant (for details, please refer to multiple parachain-related applications submitted by the applicant), different parachains can be configured for different businesses, so that data isolation between multiple business scenarios is feasible. sex. [0003] For example, an enterprise configures an alliance chain network as the main chain, and the main chain is configured with more than 10 parallel chains configured for different businesses, such as financial parallel chains, logistics parallel chains, home appliance parallel chains, traceability parallel chains, contract Parallel chains, data storage parallel chains, etc. [0004] In the above parachain architecture, each parachain transaction needs to be se...

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/04G06F16/27
CPCG06Q40/04G06F16/27
Inventor 袁海雷王志文吴思进曹競李斌
Owner HANGZHOU FUZAMEI 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