JP2021103559A - Transaction request processing method in block chain, apparatus, device, medium, and program - Google Patents

Transaction request processing method in block chain, apparatus, device, medium, and program Download PDF

Info

Publication number
JP2021103559A
JP2021103559A JP2021049434A JP2021049434A JP2021103559A JP 2021103559 A JP2021103559 A JP 2021103559A JP 2021049434 A JP2021049434 A JP 2021049434A JP 2021049434 A JP2021049434 A JP 2021049434A JP 2021103559 A JP2021103559 A JP 2021103559A
Authority
JP
Japan
Prior art keywords
transaction request
request set
current
candidate
factor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021049434A
Other languages
Japanese (ja)
Other versions
JP7158522B2 (en
Inventor
ジン,ボ
Bo Jing
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Publication of JP2021103559A publication Critical patent/JP2021103559A/en
Application granted granted Critical
Publication of JP7158522B2 publication Critical patent/JP7158522B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/02Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2220/00Business processing using cryptography
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Technology Law (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Probability & Statistics with Applications (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Algebra (AREA)

Abstract

To provide a method, an apparatus, a device, a medium, and a program for selecting a transaction request, which improve a rationality and selection efficiency for a block chain node to select a transaction request during a block generation process, and improve a block out efficiency.SOLUTION: A transaction request processing method in a block chain includes the steps of: aggregating a select target transaction request having dependency in a block chain network to obtain at least one transaction request set; determining a candidate factor interval to which the transaction request set belongs, where the factor interval is used for measuring probability of the transaction request set participating in a block generation process; and selecting a current target factor interval from the candidate factor interval and selecting a current target transaction request set to participate in the block generation process from a candidate transaction request set corresponding to the current target factor interval.SELECTED DRAWING: Figure 1

Description

本願の実施形態は、コンピュータ技術、具体的にはブロックチェーン技術に関するものであり、特に、ブロックチェーン内のトランザクション要求選択方法、装置、デバイス、、媒体、及びプログラムに関する。 Embodiments of the present application relate to computer technology, specifically blockchain technology, and particularly to transaction request selection methods, devices, devices, media, and programs within the blockchain.

現在、ブロックアウト奨励機構が存在するブロックチェーンネットワークでは、ブロックアウトノードは通常、多数の取引の料金レベルに応じてトランザクションを並べ替え、待処理の取引を選択している。 Currently, in blockchain networks where blockout incentive mechanisms exist, blockout nodes typically sort transactions according to the charge level of a large number of transactions and select wait-handed transactions.

しかし、通常、ブロックアウトノードで処理される取引数は限られており、処理料金に応じて待処理を選択することで、取引間の依存関係が非常にカットされやすく、その後の取引処理でのエラーにつながりやすい。そのため、どのようにブロックアウトノードの奨励収入を保証するとともに、各取引の円滑な実行を確保することは、依然としてブロックチェーン領域の喫緊の課題として残っている。また、ブロックアウトノードについては、いかにブロックアウト効率を高めるかということも無視できない課題である。 However, normally, the number of transactions processed by the blockout node is limited, and by selecting the wait processing according to the processing fee, the dependency between transactions is very easy to be cut, and in the subsequent transaction processing. It is easy to lead to an error. Therefore, how to guarantee the incentive income of the blockout node and ensure the smooth execution of each transaction still remains an urgent issue in the blockchain area. For blockout nodes, how to improve the blockout efficiency is also an issue that cannot be ignored.

本願の実施形態は、ブロックチェーン内のトランザクション要求処理方法、装置、デバイス、および媒体を開示しており、ブロック生成過程中にブロックチェーンノードがトランザクション要求を選択する合理性と選択効率を向上させ、且つ、ブロックアウト効率を向上させることができる。 Embodiments of the present application disclose transaction request processing methods, devices, devices, and media within the blockchain to improve the rationality and selection efficiency of blockchain nodes selecting transaction requests during the block generation process. Moreover, the blockout efficiency can be improved.

第1の側面では、本願の実施形態は、ブロックチェーン内のトランザクション要求処理方法を開示しており、当該方法は、
ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得るステップと、
前記トランザクション要求集合が属する候補因子間隔を決定するステップであって、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用されるステップと、
前記候補因子間隔から現在の目標因子間隔を選択し、前記現在の目標因子間隔に対応する前記候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択するステップとを含む。
In the first aspect, the embodiment of the present application discloses a transaction request processing method in a blockchain, and the method is described as.
A step of aggregating selected transaction requests that have dependencies in the blockchain network to obtain at least one transaction request set.
A step of determining the candidate factor interval to which the transaction request set belongs, the factor interval is a step used to measure the probability that the transaction request set participates in the block generation process, and
The step includes selecting the current target factor interval from the candidate factor interval and selecting the current target transaction request set participating in the block generation process from the candidate transaction request set corresponding to the current target factor interval.

第二の側面では、本願の実施形態は、ブロックチェーン内のトランザクション要求処理装置をさらに開示しており、当該装置は、
ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得るトランザクション要求集合決定モジュールと、
前記トランザクション要求集合が属する候補因子間隔を決定する候補因子間隔決定モジュールであって、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用される候補因子間隔決定モジュールと、
前記候補因子間隔から現在の目標因子間隔を選択し、前記現在の目標因子間隔に対応する前記候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択するトランザクション要求集合選択モジュールとを有する。
第3の側面において、本願の実施形態は、さらに、電子デバイスを開示し、当該電子デバイスは、
少なくとも1つのプロセッサと、
前記少なくとも1つのプロセッサに通信可能に接続されたメモリとを有し、
前記メモリは、前記少なくとも1つのプロセッサによって実行可能な命令を記憶し、前記命令は、前記少なくとも1つのプロセッサが本願のいずれか1つの実施形態に記載のブロックチェーン内のトランザクション要求処理方法を実行することを可能にするように前記少なくとも1つのプロセッサによって実行される。
In the second aspect, the embodiment of the present application further discloses a transaction request processing device in the blockchain, which device.
A transaction request set determination module that aggregates selected transaction requests that have dependencies in a blockchain network to obtain at least one transaction request set, and a transaction request set determination module.
A candidate factor interval determination module that determines the candidate factor interval to which the transaction request set belongs, wherein the factor interval is used to measure the probability that the transaction request set will participate in the block generation process. Modules and
A transaction request set selection module that selects the current target factor interval from the candidate factor intervals and selects the current target transaction request set that participates in the block generation process from the candidate transaction request sets corresponding to the current target factor interval. And have.
In a third aspect, an embodiment of the present application further discloses an electronic device, wherein the electronic device is:
With at least one processor
It has a memory connected to the at least one processor so as to be communicable.
The memory stores an instruction that can be executed by the at least one processor, and the instruction executes the transaction request processing method in the blockchain according to any one embodiment of the present application. It is executed by the at least one processor so as to make it possible.

第4の側面において、本願の実施形態は、コンピュータに本願のいずれか1つの実施形態に記載のブロックチェーン内のトランザクション要求処理方法を実行させるためのコンピュータ命令を格納した非瞬時コンピュータ可読記憶媒体を開示している。 In a fourth aspect, an embodiment of the present application provides a non-instantaneous computer-readable storage medium containing computer instructions for causing a computer to execute the transaction request processing method in the blockchain according to any one embodiment of the present application. It is disclosed.

本願の実施形態の技術案によれば、現在の目標因子間隔を選択し、現在の目標因子間隔に対応する候補トランザクション要求集合から現在の目標トランザクション要求集合を選択するという循環論理に従って、ブロック生成過程に参加する目標トランザクション要求集合は、少なくとも1つの循環選択の後に累積的に決定され、最終的に、累積的に決定された目標トランザクション要求集合内のトランザクション要求を実行することによってブロックが生成され、ここで、目標トランザクション要求集合内のトランザクション要求間には依存関係が存在し、ブロック生成過程におけるブロックチェーンノードによってトランザクション要求を選択する合理性と選択効率を向上させ、且つ、ブロックアウト効率を向上させることができる。
発明の概要の項に記載されていることは、本願の実施形態の主要なまたは重要な特徴を限定することを意図したものではなく、本願の範囲を限定することを意図したものでもないことが理解されるべきである。本願のその他の特徴は、以下の説明を読むことで容易に理解できると思う。
According to the technical proposal of the embodiment of the present application, the block generation process is performed according to the cyclic logic of selecting the current target factor interval and selecting the current target transaction request set from the candidate transaction request sets corresponding to the current target factor interval. The target transaction request set that participates in is cumulatively determined after at least one circular selection, and finally blocks are generated by executing the transaction requests in the cumulatively determined target transaction request set. Here, there is a dependency between the transaction requests in the target transaction request set, and the rationality and selection efficiency of selecting the transaction request by the blockchain node in the block generation process are improved, and the blockout efficiency is improved. be able to.
What is described in the section of the abstract of the invention is not intended to limit the main or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Should be understood. Other features of the present application may be easily understood by reading the following description.

添付の図面は、本実施形態をより良く理解するために使用され、本願に対する限定を構成するものではない。
本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理方法のフローチャートである。 本願の実施形態に開示された複数のトランザクション要求間の依存関係の模式図である。 本願の実施形態に開示された別のブロックチェーン内でトランザクション要求処理方法のフローチャートである。 本願の実施形態に開示された価格性能比の順序付きグラフおよび候補トランザクション要求集合の順序付きグラフの模式図である。 本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理のアーキテクチャの模式図である。 本願の実施形態に開示された別のブロックチェーン内のトランザクション要求処理方法のフローチャートである。 本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理装置の構造の模式図である。 本願の実施形態に開示された電子デバイスのブロック図である。
The accompanying drawings are used to better understand the present embodiment and do not constitute a limitation to the present application.
It is a flowchart of the transaction request processing method in a blockchain disclosed in the embodiment of this application. It is a schematic diagram of the dependency relationship between a plurality of transaction requests disclosed in the embodiment of the present application. It is a flowchart of the transaction request processing method in another blockchain disclosed in the embodiment of this application. FIG. 5 is a schematic diagram of an ordered graph of price / performance ratio and an ordered graph of a candidate transaction request set disclosed in the embodiment of the present application. It is a schematic diagram of the transaction request processing architecture in the blockchain disclosed in the embodiment of the present application. It is a flowchart of the transaction request processing method in another blockchain disclosed in the embodiment of this application. It is a schematic diagram of the structure of the transaction request processing apparatus in the blockchain disclosed in the embodiment of the present application. It is a block diagram of the electronic device disclosed in the Embodiment of this application.

以下、図面を参照し、本開示の例示的な実施形態を説明し、理解を容易にするために本開示の実施形態の様々な詳細を含んでいるが、これらは単に例示的なものとみなされるべきである。したがって、当業者は、本開示の範囲および要旨から逸脱することなく、本明細書に記載された実施形態に様々な変更および修正を加えることができることを認識すべきである。同様に、以下の説明では、明瞭で簡潔にするために、既知の機能と構造の説明を省略している。 Hereinafter, with reference to the drawings, exemplary embodiments of the present disclosure will be described and various details of the embodiments of the present disclosure will be included for ease of understanding, but these are considered merely exemplary. Should be. Therefore, one of ordinary skill in the art should be aware that various changes and modifications can be made to the embodiments described herein without departing from the scope and gist of the present disclosure. Similarly, the following description omits a description of known features and structures for clarity and brevity.

図1は、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理方法のフローチャートであり、簿記権(またはブロックアウト権と呼ばれる)を有するブロックチェーンノードが、ブロック生成過程において如何に待処理のトランザクション要求を合理的かつ効率的に選択する場合に適用可能であり、且つ、本願の実施形態に開示された方案は、好ましくは、競合するブロックアウトを有するコンセンサスメカニズムをデプロイするブロックチェーンネットワークに適用可能である。チェーンネットワークにおいて、コンソーシアムチェーンネットワーク、パブリックチェーンネットワークなどが含まれるが、これらに限定されるものではない。本願の実施形態に開示された方法は、ブロックチェーン内のトランザクション要求処理装置によって実行されてもよく、該装置は、ソフトウェアおよび/またはハードウェアで実装されてもよく、ブロックチェーンノード上に統合されてもよく、ブロックチェーンノードは、計算能力を有する任意の電子デバイス上にデプロイされてもよい。 FIG. 1 is a flowchart of a transaction request processing method in a blockchain disclosed in an embodiment of the present application, and how a blockchain node having a bookkeeping right (or a blockout right) waits in a block generation process. The alternatives that are applicable in the rational and efficient selection of transactional requirements and disclosed in embodiments of the present application are preferably for blockchain networks that deploy consensus mechanisms with competing blockouts. Applicable. Chain networks include, but are not limited to, consortium chain networks, public chain networks, and the like. The method disclosed in the embodiments of the present application may be performed by a transaction request processing device in the blockchain, which device may be implemented in software and / or hardware and integrated on the blockchain node. The blockchain node may be deployed on any electronic device having computing power.

図1に示すように、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理方法は、以下を含んでもよい。 As shown in FIG. 1, the transaction request processing method in the blockchain disclosed in the embodiment of the present application may include the following.

S101では、ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得る。 In S101, the selected transaction requests having the dependency in the blockchain network are aggregated to obtain at least one transaction request set.

ここで、トランザクション要求間の依存関係とは、ブロックチェーンノードが特定のトランザクション要求を実行する過程で他のトランザクション要求の処理結果に依存する必要がある状況、または他のトランザクション要求を実行する過程で現在のトランザクション要求の処理結果に依存する必要がある状況を指す。選択対象トランザクション要求とは、ブロックチェーンネットワーク内のブロックチェーンノードに選択されない、ブロック生成過程に参加するかどうかを決定していないトランザクション要求を指す。ブロックチェーンネットワーク内の依存関係を有する選択対象トランザクション要求を集約して、各トランザクション要求集合内の少なくとも1つのトランザクション要求が互いに依存関係を有する、少なくとも1つのトランザクション要求集合(またはトランザクション要求シーケンスと呼ぶ)を得る。各トランザクション要求集合に含まれるトランザクション要求の数は状況によって異なる。 Here, the dependency between transaction requests is a situation in which a blockchain node needs to depend on the processing result of another transaction request in the process of executing a specific transaction request, or in the process of executing another transaction request. Refers to a situation where you need to depend on the processing result of the current transaction request. A selected transaction request is a transaction request that is not selected by a blockchain node in the blockchain network and has not decided whether to participate in the block generation process. At least one transaction request set (or called a transaction request sequence) in which at least one transaction request in each transaction request set has a dependency on each other by aggregating selected transaction requests having dependencies in the blockchain network. To get. The number of transaction requests contained in each transaction request set depends on the situation.

図2は、例として、複数のトランザクション要求の間の1つの依存関係の模式図を示しており、本願の実施形態に対する特定の制限として解釈されるべきではない。図2に示すように、トランザクション要求Aはトランザクション要求Bに依存し、トランザクション要求Bはトランザクション要求Cに依存し、トランザクション要求A、トランザクション要求B及びトランザクション要求Cは一つのトランザクション要求集合1を形成してもよい。トランザクション要求Dは他のトランザクション要求に依存しない、独立したトランザクション要求であり、トランザクション要求Dは単独で一つのトランザクション要求集合2を形成してもよい。トランザクション要求Eはトランザクション要求Fに依存し、トランザクション要求Fはトランザクション要求Hに依存し、トランザクション要求Gも同様にトランザクション要求Hに依存し、したがって、トランザクション要求E、トランザクション要求F、トランザクション要求H及びトランザクション要求Gは、一つのトランザクション要求集合3を形成することができる。 FIG. 2 shows, by way of example, a schematic diagram of one dependency between multiple transaction requests and should not be construed as a particular limitation on embodiments of the present application. As shown in FIG. 2, transaction request A depends on transaction request B, transaction request B depends on transaction request C, and transaction request A, transaction request B, and transaction request C form one transaction request set 1. You may. The transaction request D is an independent transaction request that does not depend on other transaction requests, and the transaction request D may independently form one transaction request set 2. Transaction request E depends on transaction request F, transaction request F depends on transaction request H, and transaction request G also depends on transaction request H, and thus transaction request E, transaction request F, transaction request H and transaction. Request G can form one transaction request set 3.

S102では、トランザクション要求集合が属する候補因子間隔を決定し、その中に、因子間隔は、トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用される。 In S102, the candidate factor interval to which the transaction request set belongs is determined, in which the factor interval is used to measure the probability that the transaction request set will participate in the block generation process.

本願の実施形態では、複数の候補因子間隔を予め設定でき、それらの候補因子間隔は、例えば、(0,N]、(N,2N]、...、(x・N,(x+1)・N)]のように表現されてもよく、xとNの値は、実際の状況に応じて設定されてもよい。各候補因子間隔の間には上限または下限は重複がなく、且つ、間隔の上限または下限の値が大きいほど、該間隔内のトランザクション要求集合がブロック生成過程に参加するために選択される確率が高いことを示す。そして、各トランザクション要求集合の属性に基づいて、各トランザクション要求集合が属する候補因子間隔を決定する。トランザクション要求集合の属性は、トランザクション要求集合がブロック生成過程に参加するために選択されたかどうかを測定するために使用できる任意の特性情報であってもよく、例えば、トランザクション要求集合の属性は、集合に含まれるトランザクション要求の数、トランザクション要求に対する支払証書情報、トランザクション要求の空間占有量(サイズ)、トランザクション要求の優先度などの因素の1つ以上を含んでいてもよい。例示的には、各トランザクション要求集合のためのインセンティブ因子、すなわちトランザクション要求集合に対する評価値が、トランザクション要求集合の属性に基づいて決定されてもよく、次いで、そのインセンティブ因子に基づいて、各トランザクション要求集合が属する候補因子間隔が決定されてもよい。 In the embodiment of the present application, a plurality of candidate factor intervals can be preset, and the candidate factor intervals thereof are, for example, (0, N], (N, 2N], ..., (x · N, (x + 1). N)] may be expressed, and the values of x and N may be set according to the actual situation. There is no overlap between the upper and lower limits between the candidate factor intervals, and the intervals. The higher the upper or lower limit value of, the higher the probability that a transaction request set within the interval will be selected to participate in the block generation process, and each transaction based on the attributes of each transaction request set. Determines the candidate factor interval to which the request set belongs. The attributes of the transaction request set may be any characteristic information that can be used to measure whether the transaction request set has been selected to participate in the block generation process. For example, an attribute of a transaction request set contains one or more factors such as the number of transaction requests contained in the set, payment certificate information for the transaction request, the space occupancy (size) of the transaction request, and the priority of the transaction request. In the example, an incentive factor for each transaction request set, that is, an evaluation value for the transaction request set, may be determined based on the attributes of the transaction request set, and then based on the incentive factor. Therefore, the candidate factor interval to which each transaction request set belongs may be determined.

一つの考察要素を例にとると、トランザクション要求集合に含まれるトランザクション要求の数が所定の閾値間隔内にある場合、トランザクション要求集合のインセンティブ因子は、より大きい、すなわち、ブロック生成過程に参加するためにブロックチェーンノードによって選択される確率がより大きいと考えることができ、ここで、該閾値間隔は、各トランザクション要求を実行するためのブロックチェーンノードの時間コストとブロックを生成するためのパッケージングの時間コストに基づき決まれることができ、これにより、ブロックチェーンノードが、ブロック生成過程において、選択された各トランザクション要求を実行するための時間コストが妥当であるかどうかの総合的な評価を達成することを可能にする。トランザクション要求集合において、バウチャー閾値を超える支払証書情報を有するトランザクション要求の数と第1の数閾値との間の差が大きい場合には、該トランザクション要求集合のインセンティブ因子が大きいと考えることができ、ここで、トランザクション要求の支払証書情報、または処理料金は、ブロックチェーンノードがそのトランザクション要求を実行した後に得ることができる奨励または収益を表すので、トランザクション要求集合に含まれる支払証書情報が高いトランザクション要求の数が多いほど、収益性の観点からブロックチェーンノードがそのトランザクション要求集合をブロック生成過程に参加するために選択する確率が高くなる。トランザクション要求集合の中で高い優先度に属するトランザクション要求の数と第2の数閾値との差が大きい場合には、該トランザクション要求集合のインセンティブ因子が大きいほど考慮されてもよく、ここで、トランザクション要求の優先度は、トランザクション要求に関与する業務タイプ、生成時間、重要性、業務価値などの要因に応じて、ブロックチェーンシステムによって決定されてもよいし、ブロックチェーンノード自身によって指定されてもよい。本願の実施形態は具体的に限定しない。前記に関与する様々なタイプの閾値は、実用的な応用において適応的に設定することができ、本願の実施形態は特に限定されるものではない。 Taking one consideration factor as an example, if the number of transaction requests contained in the transaction request set is within a predetermined threshold interval, the incentive factor of the transaction request set is larger, that is, because it participates in the block generation process. It can be considered that the probability of being selected by the blockchain node is greater, where the threshold interval is the time cost of the blockchain node to execute each transaction request and the packaging to generate the block. It can be determined on the basis of time cost, which allows the blockchain node to achieve a comprehensive assessment of whether the time cost to execute each selected transaction request is reasonable during the block generation process. Make it possible. In the transaction request set, when the difference between the number of transaction requests having payment certificate information exceeding the voucher threshold and the first number threshold is large, it can be considered that the incentive factor of the transaction request set is large. Here, the transaction request payment certificate information, or processing fee, represents the incentive or revenue that can be obtained after the blockchain node executes the transaction request, so that the transaction request with high payment certificate information included in the transaction request set. The greater the number of, the more likely the blockchain node will choose its transaction request set to participate in the block generation process from a profitability standpoint. When the difference between the number of transaction requests belonging to a high priority in the transaction request set and the second number threshold is large, the larger the incentive factor of the transaction request set may be considered, and here, the transaction. The priority of the request may be determined by the blockchain system or specified by the blockchain node itself, depending on factors such as the business type, generation time, importance, and business value involved in the transaction request. .. The embodiment of the present application is not specifically limited. The various types of thresholds involved are adaptively set in practical applications and the embodiments of the present application are not particularly limited.

前記説明に基づいて、さらに、トランザクション要求集合のインセンティブ因子は、少なくとも2つの考慮事項に基づいて複合的に決定されてもよい。例示的に、トランザクション要求集合のインセンティブ因子は、トランザクション要求集合中にバウチャー閾値を超える支払証書情報を有するトランザクション要求集合のトランザクション要求の数と第1の数閾値との間の差、及び高い優先度に属するトランザクション要求の数と第2の数閾値との間の差に基づいて決定されてもよい。また、トランザクション要求集合に含まれた支払証書情報の高いトランザクション要求が多く、且つトランザクション要求集合に含まれた高い優先度に属するトランザクション要求が多いほど、該トランザクション要求集合のインセンティブ因子が大きくなる。一般的に、高い優先度に属するトランザクション要求は、より高い支払証書情報にも対応する。 Based on the above description, the incentive factor for the transaction request set may be determined in a complex manner based on at least two considerations. Illustratively, the incentive factor for a transaction request set is the difference between the number of transaction requests in the transaction request set and the first number threshold that have payment certificate information that exceeds the voucher threshold in the transaction request set, and high priority. It may be determined based on the difference between the number of transaction requests belonging to and the second number threshold. Further, the more transaction requests with high payment certificate information included in the transaction request set and the more transaction requests belonging to the high priority included in the transaction request set, the larger the incentive factor of the transaction request set becomes. In general, transaction requests that belong to a higher priority also correspond to higher certificate information.

また、例示的に、トランザクション要求集合のインセンティブ因子は、トランザクション要求集合におけるトランザクション要求の支払証書情報および空間占有量に基づいて決定され、これは、例えば、トランザクション要求集合における各トランザクション要求の総支払証書情報、すなわち、各トランザクション要求の支払証書情報の合計を計算する。トランザクション要求集合における各トランザクション要求の総空間占有量、すなわち、各トランザクション要求の空間占有量の合計(sum_size)を計算する。総支払証書情報と総空間占有量の商の値が、トランザクション要求集合のインセンティブ因子として使用される。この場合、該インセンティブ因子は、トランザクション要求集合の価格性能比とも言うことができ、ブロックチェーンノードに、選択された各トランザクション要求の空間占有量と、これらのトランザクション要求を実行することによって得られる収益に基づいてトレードオフを行わせて、ブロックスペースを十分に活用し、収益を可能な限り最大化するように合理化することができ、これは、ブロックチェーンノードが積極的に簿記権を争うための効果的なインセンティブにもなり、ひいては、より効果的かつ合理的なインセンティブ計算モデルがブロックチェーンネットワーク内に存在することを可能にし、ブロックの正常かつタイムリーな生成を保証する。 Also, exemplary, the incentive factor for a transaction request set is determined based on the transaction request payment certificate information and space occupancy in the transaction request set, which is, for example, the total payment certificate for each transaction request in the transaction request set. Calculate the information, that is, the sum of the payment certificate information for each transaction request. The total space occupancy of each transaction request in the transaction request set, that is, the total space occupancy of each transaction request (sum_size) is calculated. The quotient value of total certificate information and total space occupancy is used as an incentive factor for the transaction request set. In this case, the incentive factor can also be said to be the price / performance ratio of the transaction request set, and the space occupancy of each selected transaction request and the revenue obtained by executing these transaction requests are sent to the blockchain node. You can make trade-offs based on, make full use of block space, and rationalize to maximize profits as much as possible, which is for blockchain nodes to actively compete for bookkeeping rights. It also provides an effective incentive, which in turn allows a more effective and rational incentive calculation model to exist within the blockchain network, ensuring the normal and timely generation of blocks.

ブロックチェーンノードが純粋に処理料金のレベルに応じてブロック生成過程に参加するトランザクション要求を選択する場合に、トランザクション要求間の依存関係が保証されないだけでなく、処理料金が高いトランザクション要求の空間占有量が大きくなると、ブロックスペースの制限によりブロックチェーンノードが実行できるトランザクション要求の数が制限されるため、個々のトランザクション要求の処理料金は高くなるものの、ブロックブロックチェーンノードが実行できるトランザクション要求の数が少なく、最終的に得られる奨励や収益が最適値ではない可能性があるため、ブロックチェーンノードによるトランザクション要求の選択は依然として不合理である場合があり、すなわち、収益の観点から、ブロック生成に参加するブロックチェーンノードに対する効果的なインセンティブ効果が得られない。処理料金の量のみに基づいてトランザクション要求を選択するという不合理な問題は、トランザクション要求の支払証書情報および空間占有量を考慮に総合的に入れることによって解決される。 When a blockchain node chooses a transaction request that participates in the block generation process purely according to the level of processing charges, not only is the dependency between the transaction requests not guaranteed, but the space occupancy of the transaction request with a high processing charge is not guaranteed. As the block space limit increases, the number of transaction requests that can be executed by the blockchain node is limited, so the processing fee for each transaction request is high, but the number of transaction requests that can be executed by the blockchain node is small. The choice of transaction request by the blockchain node may still be unreasonable, as the final incentive or revenue may not be optimal, i.e. participate in block generation from a revenue perspective. No effective incentive effect for blockchain nodes can be obtained. The unreasonable problem of choosing a transaction request based solely on the amount of processing charges is solved by taking into account the payment certificate information and space occupancy of the transaction request comprehensively.

さらに、上記技術案に基づいて、トランザクション要求集合が属する候補因子間隔を決定するステップは、
トランザクション要求集合のインセンティ因子に基づいて、作成された因子間隔の上限と下限をトラバースすることにより、前記トランザクション要求集合が属する候補因子間隔をマッチするステップであって、前記インセンティ因子は、ブロックチェーンノードがトランザクション要求集合内のトランザクション要求を実行することによって得られる奨励を特徴付けるために使用されるか、またはトランザクション要求集合がブロック生成過程に参加する確率を特徴付けるために使用されるステップと、
マッチしない場合、トランザクション要求集合が属する候補因子間隔を再構築するステップとを含む。すなわち、候補因子間隔は、トランザクション要求集合の生成に応じて動的に変化できる。
Further, based on the above technical proposal, the step of determining the candidate factor interval to which the transaction request set belongs is
A step of matching the candidate factor interval to which the transaction request set belongs by traversing the upper and lower limits of the created factor interval based on the incentive factor of the transaction request set, wherein the incentive factor is a blockchain node. Is used to characterize the incentives obtained by executing a transactional request within a transactional request set, or to characterize the probability that a transactional request set will participate in the block generation process, and
If they do not match, it involves reconstructing the candidate factor interval to which the transaction request set belongs. That is, the candidate factor interval can change dynamically according to the generation of the transaction request set.

S103では、候補因子間隔から現在の目標因子間隔を選択し、現在の目標因子間隔に対応する候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択する。 In S103, the current target factor interval is selected from the candidate factor intervals, and the current target transaction request set participating in the block generation process is selected from the candidate transaction request sets corresponding to the current target factor intervals.

トランザクション要求集合が属する候補因子間隔を決定した後、予め設定された間隔選択戦略に基づいて、まず、複数の候補因子間隔から、現在の目標因子間隔を選択でき、例えば間隔の上限値または間隔の下限値が最も大きい候補因子間隔を優先的に選択できる。次に、現在の目標因子間隔に対応する複数の候補トランザクション要求集合の中から、集合選択戦略に基づいて、現在の目標トランザクション要求集合を選択し、例えば、複数の候補トランザクション要求集合の中でトランザクション要求の空間占有量が最も大きい集合を現在の目標トランザクション要求集合として優先的に選択する。ここで、集合選択戦略は、業務処理過程におけるトランザクション要求集合の属性に対する特定のニーズにより決まれてもよく、すなわち、候補トランザクション要求集合に含まれるトランザクション要求の数、トランザクション要求の支払証書情報、トランザクション要求の空間占有量、トランザクション要求の優先度などの因素のいずれかを、現在の業務ニーズに基づいて、現在の目標セットのトランザクション要求の選択因子として使用してもよい。 After determining the candidate factor spacing to which the transaction request set belongs, the current target factor spacing can be selected from multiple candidate factor spacings, eg, the upper bound of the spacing or the spacing, based on a preset spacing selection strategy. The candidate factor interval with the largest lower limit can be preferentially selected. Next, the current target transaction request set is selected from a plurality of candidate transaction request sets corresponding to the current target factor interval based on the set selection strategy. For example, a transaction is performed in a plurality of candidate transaction request sets. The set with the largest space occupancy of requests is preferentially selected as the current target transaction request set. Here, the set selection strategy may be determined by the specific needs for the attributes of the transaction request set in the business processing process, that is, the number of transaction requests contained in the candidate transaction request set, the transaction request payment certificate information, and the transaction request. Any of the factors such as the space occupancy of the transaction request, the priority of the transaction request, etc. may be used as the selection factor of the transaction request of the current goal set based on the current business needs.

さらに、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択した後、本願の実施形態に開示された方法は、さらに次の内容を含んでもよい。 Furthermore, after selecting the current target transaction request set to participate in the block generation process, the method disclosed in the embodiments of the present application may further include:

現在の目標トランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合との総空間占有量を計算する。 Calculates the total space occupancy between the current target transaction request set and the target transaction request set selected in the current block generation cycle.

得られた総空間占有量がブロック空間閾値未満である場合には、残りの選択対象トランザクション要求の間の依存関係に基づいて少なくとも1つの新しいトランザクション要求集合を決定し、且つ、新しいトランザクション要求集合に基づいて新しい現在の目標トランザクション要求集合の決定操作を実行し、すなわち、S101〜S103の動作を繰り返す。 If the total space occupancy obtained is less than the block space threshold, at least one new transaction request set is determined based on the dependencies between the remaining selected transaction requests, and the new transaction request set Based on this, the determination operation of the new current target transaction request set is executed, that is, the operations of S101 to S103 are repeated.

ここで、ブロック空間閾値は、ブロックチェーンネットワーク内のブロックの空間サイズに関連しており、ブロックの空間サイズの上限を反映するために使用されてもよい。残りの選択対象トランザクション要求は、ブロックチェーンネットワーク内のトランザクション要求であって、現在の目標トランザクション要求集合、及び現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合内のトランザクション要求を除く。 Here, the block space threshold is related to the space size of the block in the blockchain network and may be used to reflect the upper limit of the space size of the block. The remaining selected transaction requests are transaction requests in the blockchain network, excluding the current target transaction request set and the transaction requests in the target transaction request set selected in the current block generation cycle.

目標トランザクション要求集合の少なくとも1つの循環選択を経て、最終的に累積的に決定されたトランザクション要求がブロック生成条件を満たす場合、ブロックチェーンノードは、選択された個々のトランザクション要求を実行し、現在のブロックを生成し、ブロックチェーンに追加することができる。 If, after at least one circular selection of the target transaction request set, the finally cumulatively determined transaction request satisfies the block generation condition, the blockchain node executes the selected individual transaction request and the current one. You can generate blocks and add them to the blockchain.

本願の実施形態の技術案によれば、目標トランザクション要求集合の各循環選択過程において、まず、選択対象トランザクション要求の間の依存関係に従って複数のトランザクション要求集合が得られ、トランザクション要求集合が属する候補因子間隔に従ってトランザクション要求集合が分類され、次に、複数の候補因子間隔の中から現在の目標因子間隔が選択され、且つ、現在の目標因子間隔に対応する候補トランザクション要求集合から現在の目標トランザクション要求集合が選択され、ブロック生成過程に参加する。これは、既存の方案ではトランザクション要求間の依存関係を分割することでブロックチェーンノードがブロック生成過程に参加するトランザクション要求を不合理に選択してしまい、ブロック生成効率に影響を与えるという問題を解決し、ブロックチェーンノードがブロック生成過程においてトランザクション要求を選択する際の合理性と選択効率を向上させ、ブロックアウト効率を向上させる。 According to the technical proposal of the embodiment of the present application, in each cyclic selection process of the target transaction request set, first, a plurality of transaction request sets are obtained according to the dependency between the selected transaction requests, and the candidate factor to which the transaction request set belongs is obtained. The transaction request set is categorized according to the interval, then the current target factor interval is selected from multiple candidate factor intervals, and the current target transaction request set is selected from the candidate transaction request sets corresponding to the current target factor interval. Is selected and participates in the block generation process. This solves the problem that the existing plan divides the dependency between transaction requests so that the blockchain node unreasonably selects the transaction request that participates in the block generation process, which affects the block generation efficiency. However, the rationality and selection efficiency when the blockchain node selects a transaction request in the block generation process are improved, and the blockout efficiency is improved.

上記の技術案に基づいて、任意に、ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して、少なくとも1つのトランザクション要求集合を得るステップは、
ブロックチェーンネットワーク内の選択対象トランザクション要求間の依存関係に基づいて、選択対象トランザクション要求間の有向非循環グラフを構築するステップと、
有向非循環グラフを使用して、依存関係を有する選択対象トランザクション要求を集約して、少なくとも1つのトランザクション要求集合を取得するステップとを含む。
Based on the above technical proposal, the step of optionally aggregating the selected transaction requests having a dependency in the blockchain network to obtain at least one transaction request set is
Steps to build a directed acyclic graph between selected transaction requests based on the dependencies between selected transaction requests in the blockchain network,
A directed acyclic graph is used to include a step of aggregating selected transaction requests with dependencies to obtain at least one transaction request set.

具体的には、各選択対象トランザクション要求は、有向非循環グラフのノードとして機能し、選択対象トランザクション要求間の依存関係は、有向非循環グラフの辺として機能してもよい。有向非循環グラフを構築することで、各選択対象トランザクション要求間の依存関係を整然と管理することができ、且つ有向非循環グラフは拡張性が高く、選択対象トランザクション要求の増減に応じてすべてが柔軟に変更することができる。さらに、トランザクション要求集合は、リーフトランザクション要求と、リーフトランザクション要求が依存する各非リーフトランザクション要求とを含み、異なるトランザクション要求集合におけるリーフトランザクション要求は異なる。 Specifically, each selected transaction request may function as a node of the directed acyclic graph, and the dependency between the selected transaction requests may function as an edge of the directed acyclic graph. By constructing a directed acyclic graph, the dependencies between each selected transaction request can be managed in an orderly manner, and the directed acyclic graph is highly extensible, and all according to the increase or decrease of the selected transaction request. Can be changed flexibly. Further, the transaction request set includes a leaf transaction request and each non-leaf transaction request on which the leaf transaction request depends, and the leaf transaction requests in different transaction request sets are different.

例1においては、図2に示す複数のトランザクション要求間の依存関係を一例として、以下のような3つのトランザクション要求集合を決定することができる。
トランザクション要求集合1:トランザクション要求A→トランザクション要求B→トランザクション要求C;
トランザクション要求集合2:トランザクション要求D;
トランザクション要求集合3:トランザクション要求E→トランザクション要求F→トランザクション要求H、及びトランザクション要求G→トランザクション要求H。
In Example 1, the following three transaction request sets can be determined by taking the dependency relationship between the plurality of transaction requests shown in FIG. 2 as an example.
Transaction request set 1: Transaction request A → transaction request B → transaction request C;
Transaction request set 2: Transaction request D;
Transaction request set 3: Transaction request E → transaction request F → transaction request H, and transaction request G → transaction request H.

ここで、トランザクション要求集1において、トランザクション要求Aはリーフトランザクション要求であり、トランザクション要求Bおよびトランザクション要求Cはリーフトランザクション要求が依存する非リーフトランザクション要求である。 Here, in the transaction request collection 1, transaction request A is a leaf transaction request, and transaction request B and transaction request C are non-leaf transaction requests on which the leaf transaction request depends.

トランザクション要求集2では、トランザクション要求Dは独立したトランザクション要求である。
トランザクション要求集合3において、トランザクション要求Eとトランザクション要求Gはリーフトランザクション要求であり、トランザクション要求Fとトランザクション要求Hはリーフトランザクション要求Eが依存する非リーフトランザクション要求であり、トランザクション要求Hはリーフトランザクション要求Gが依存する非リーフトランザクション要求である。
In transaction request collection 2, transaction request D is an independent transaction request.
In the transaction request set 3, transaction request E and transaction request G are leaf transaction requests, transaction request F and transaction request H are non-leaf transaction requests on which leaf transaction request E depends, and transaction request H is leaf transaction request G. Is a non-leaf transaction request that depends on.

例2においては、選択対象トランザクション要求がトランザクションに対応できると仮定すると、複数の取引の間に以下の依存関係が存在するとする:取引2は取引1に依存し、取引3は取引2に依存し、取引4は取引3に依存する。そして、トランザクション要求集合または取引シーケンスは、以下のように表現することができる。 In Example 2, assuming that the selected transaction request can correspond to a transaction, the following dependencies exist between multiple transactions: transaction 2 depends on transaction 1 and transaction 3 depends on transaction 2. , Transaction 4 depends on transaction 3. Then, the transaction request set or transaction sequence can be expressed as follows.

取引シーケンス1:取引1。
取引シーケンス2:取引2→取引1。
取引シーケンス3:取引3→取引2→取引1。
取引シーケンス4:取引4→取引3→取引2→取引1。
ここで、取引シーケンス1では、取引1は独立した取引である。
Transaction sequence 1: Transaction 1.
Transaction sequence 2: Transaction 2 → Transaction 1.
Transaction sequence 3: Transaction 3 → Transaction 2 → Transaction 1.
Transaction sequence 4: Transaction 4 → Transaction 3 → Transaction 2 → Transaction 1.
Here, in the transaction sequence 1, transaction 1 is an independent transaction.

取引シーケンス2において、取引2はリーフ取引であり、取引1は非リーフ取引(または祖先取引と呼ばれる)である。
取引シーケンス3において、取引3はリーフ取引であり、取引2と取引1は非リーフ取引である。
取引シーケンス4において、取引4はリーフ取引であり、取引3、取引2、取引1は非リーフ取引である。
In transaction sequence 2, transaction 2 is a leaf transaction and transaction 1 is a non-leaf transaction (or referred to as an ancestor transaction).
In the transaction sequence 3, transaction 3 is a leaf transaction, and transaction 2 and transaction 1 are non-leaf transactions.
In the transaction sequence 4, transaction 4 is a leaf transaction, and transaction 3, transaction 2, and transaction 1 are non-leaf transactions.

そして、上記の例からも分かるように、複数の選択対象トランザクション要求の間に同一の依存関係が存在する場合には、各トランザクション要求集合には、最初期の依存トランザクション要求(または最も古い祖先トランザクション要求と呼ばれる)が含まれる。例えば、上記の例では、取引シーケンス2−取引シーケンス4の全てに、最も古い祖先取引:取引1が含まれている。 And, as can be seen from the above example, if the same dependency exists between multiple selected transaction requests, each transaction request set will contain the earliest dependent transaction request (or the oldest ancestor transaction). (Called a request) is included. For example, in the above example, all of the transaction sequence 2-transaction sequence 4 includes the oldest ancestor transaction: transaction 1.

現在の目標トランザクション要求集合の選択循環が終了した後、現在の目標トランザクション要求集合に含まれるトランザクション要求を、現在のブロックチェーンネットワーク内の選択対象トランザクション要求から削除し、残りの選択対象トランザクション要求を取得でき、その後、残りの選択対象トランザクション要求間の依存関係に基づいて、有向非循環グラフを再構築し、新たな現在の目標トランザクション要求集合を決定するために使用される。 After the selection cycle of the current target transaction request set is completed, the transaction requests contained in the current target transaction request set are deleted from the selected transaction requests in the current blockchain network, and the remaining selected transaction requests are acquired. It can then be used to reconstruct the directed non-circular graph based on the dependencies between the remaining selected transaction requests and determine a new current target transaction request set.

図3は、本願の実施形態に開示された別のブロックチェーン内のトランザクション要求処理方法のフローチャートであり、上記の技術案に基づいてさらに最適化され、拡張されており、上記の任意の実施形態の各々と組み合わせてもよい。図3に示すように、該方法は、以下のステップを含む。 FIG. 3 is a flowchart of a transaction request processing method in another blockchain disclosed in the embodiment of the present application, which is further optimized and extended based on the above technical proposal, and is further optimized and extended based on the above-mentioned technical proposal. May be combined with each of. As shown in FIG. 3, the method includes the following steps.

S301では、ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得る。
S302では、トランザクション要求集合が属する候補因子間隔を決定し、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用される。
In S301, the selected transaction requests having the dependency in the blockchain network are aggregated to obtain at least one transaction request set.
In S302, the candidate factor interval to which the transaction request set belongs is determined, and the factor interval is used to measure the probability that the transaction request set participates in the block generation process.

ここで、トランザクション要求集合におけるトランザクション要求の支払証書情報および空間占有量に基づいてトランザクション要求集合のインセンティブ因子を決定してもよく、その場合、該インセンティブ因子はまた、トランザクション要求集合の価格性能比も呼ばれ、ブロックチェーンノードがトランザクション要求集合を実行することによって得られる奨励を特徴付けるために用いられる。そして、トランザクション要求集合のインセンティ因子に基づいて、作成された因子間隔の上限と下限をトラバースすることにより、トランザクション要求集合が属する候補因子間隔をマッチする。マッチしない場合、トランザクション要求集合が属する候補因子間隔を再構築する。すなわち、候補因子間隔は、トランザクション要求集の生成に応じて動的に変化できる。 Here, the incentive factor of the transaction request set may be determined based on the payment certificate information and the space occupancy of the transaction request in the transaction request set, in which case the incentive factor also also determines the price / performance ratio of the transaction request set. Called and used to characterize the incentives that a blockchain node obtains by executing a set of transaction requests. Then, by traversing the upper and lower limits of the created factor interval based on the incentive factor of the transaction request set, the candidate factor interval to which the transaction request set belongs is matched. If they do not match, reconstruct the candidate factor interval to which the transaction request set belongs. That is, the candidate factor interval can be dynamically changed according to the generation of the transaction request collection.

S303では、候補因子間隔の間隔値に応じて、現在の因子間隔を選択する。
例えば、現在の因子間隔として、間隔上限値または間隔下限値が最も大きい候補因子間隔を優先的に選択してもよい。
In S303, the current factor interval is selected according to the interval value of the candidate factor interval.
For example, as the current factor interval, the candidate factor interval having the largest interval upper limit value or interval lower limit value may be preferentially selected.

S304では、現在の因子間隔に対応する候補トランザクション要求集合から、現在の因子間隔に対応する候補トランザクション要求集合による空間占有量に応じて、現在のトランザクション要求集合を選択する。 In S304, the current transaction request set is selected from the candidate transaction request sets corresponding to the current factor interval according to the space occupancy of the candidate transaction request set corresponding to the current factor interval.

具体的には、現在の因子間隔に対応する候補トランザクション要求集合において、候補トランザクション要求集合の空間占有量を並べ替えることにより、並べ替えの結果に基づいて現在のトランザクション要求集合を決定して、例えば、候補トランザクション要求集合の空間占有量に応じて、最大から最小に並べ替え、好ましくは、1位の候補トランザクション要求集合を現在のトランザクション要求集合として用いる。あるいは、現在の因子間隔に対応する候補トランザクション要求集合のうち、空間占有量が空間占有閾値よりも大きい候補トランザクション要求集合を現在のトランザクション要求集合として決定し、空間占有閾値は柔軟に設定されてもよく、例えば、空間占有閾値に基づいて、空間占有量が最も大きい候補トランザクション要求集合を現在のトランザクション要求集合として選択してもよい。 Specifically, in the candidate transaction request set corresponding to the current factor interval, the space occupancy of the candidate transaction request set is sorted to determine the current transaction request set based on the sorting result, for example. , Sort from maximum to minimum according to the space occupancy of the candidate transaction request set, preferably the first-ranked candidate transaction request set is used as the current transaction request set. Alternatively, among the candidate transaction request sets corresponding to the current factor interval, the candidate transaction request set whose space occupancy is larger than the space occupancy threshold is determined as the current transaction request set, and the space occupancy threshold is flexibly set. Often, for example, the candidate transaction request set with the largest space occupancy may be selected as the current transaction request set based on the space occupancy threshold.

ブロックチェーン上の各間隔の空間サイズは比較的に固定されており、候補トランザクション要求集合の空間占有量に応じて現在のトランザクション要求集合を選択することで、空間占有量が比較的に大きい候補トランザクション要求集合に対する優先的な選択を実現することができ、ブロック空間を最大限に活用することで、ブロック生成過程に参加するトランザクション要求の選択の回数をある程度減らすことができ、さらに、ブロックチェーンノードがトランザクション要求を選択するための時間コスト(計算能力)を節約することができ、これにより、ノードの収益と計算能力の消費をバランスさせることができ、競合するブロックアウトを有するコンセンサスメカニズムをデプロイするブロックチェーンネットワークに対して、ブロックチェーンノードに十分な計算能力を持たせ、簿記権を競い、このために、トランザクション要求を選択する際の計算能力の消費量が大きいので簿記の権利を競うことに失敗しないことを回避できる。さらに、トランザクション要求集合の選択数が減少し、相対的に、累積的に選択されたトランザクション要求の総数を相対的に減少させることができ、その結果、ブロックチェーンノードがブロックを生成するために消費する計算能力も減少させることができる。 The space size of each interval on the blockchain is relatively fixed, and by selecting the current transaction request set according to the space occupancy of the candidate transaction request set, the candidate transaction with a relatively large space occupancy Priority selection for the request set can be achieved, and by maximizing the block space, the number of transaction request selections that participate in the block generation process can be reduced to some extent, and the blockchain node can reduce the number of selections. A block that can save time cost (computational power) to select a transaction request, thereby balancing node revenue and computational power consumption and deploying a consensus mechanism with competing blockouts. For the chain network, the blockchain node has sufficient computing power and competes for bookkeeping rights. Therefore, the consumption of computing power when selecting a transaction request is large, and the competition for bookkeeping rights fails. You can avoid not doing it. In addition, the number of transaction request sets selected is reduced, and the total number of transaction requests selected cumulatively can be relatively reduced, resulting in the blockchain node consuming to generate blocks. The computing power to do can also be reduced.

S305では、現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合に基づいて、現在のトランザクション要求集合を検証する。
S306では、検証結果に基づいて、現在の目標因子間隔および現在の目標トランザクション要求集合を決定する。
In S305, the current transaction request set is verified based on the current transaction request set and the target transaction request set selected in the current block generation cycle.
In S306, the current target factor interval and the current target transaction request set are determined based on the verification result.

具体的には、これまでにブロックチェーンノードによって累積的に選択されたトランザクション要求集合の数またはブロックチェーンノードによって累積的に選択されたトランザクション要求の数が対応する数の閾値を超えるかどうか、またはブロックチェーンノードによって累積的に選択されたトランザクション要求集合の総空間占有量がブロック空間閾値を超えるかどうかなどの所定の検証戦略に基づいて、現在のトランザクション要求集合が検証されてもよい。ここで、ブロック空間閾値は、ブロックチェーンネットワーク内のブロックの空間サイズに関連しており、ブロックの空間サイズの上限を反映するために使用されてもよい。 Specifically, whether the number of transaction request sets cumulatively selected by the blockchain node or the number of transaction requests cumulatively selected by the blockchain node so far exceeds the corresponding number threshold, or The current transaction request set may be validated based on a given validation strategy, such as whether the total space occupancy of the transaction request set cumulatively selected by the blockchain node exceeds the block space threshold. Here, the block space threshold is related to the space size of the block in the blockchain network and may be used to reflect the upper limit of the space size of the block.

例示的には、現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合に基づいて、現在のトランザクション要求集合を検証するステップは、
現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合との総空間占有量を計算するステップと、
総空間占有量とブロック空間閾値との関係に基づいて、現在のトランザクション要求集合を検証するステップとを含む。
Illustratively, the step of validating the current transaction request set based on the current transaction request set and the target transaction request set selected in the current block generation cycle is
Steps to calculate the total space occupancy between the current transaction request set and the target transaction request set selected in the current block generation cycle,
It includes a step of verifying the current transaction request set based on the relationship between the total space occupancy and the block space threshold.

これまでに、ブロックチェーンノードによって累積的に選択されたトランザクション要求集合の数またはブロックチェーンノードによって累積的に選択されたトランザクション要求の数が対応する数の閾値を超えない場合、またはブロックチェーンノードによって累積的に選択されたトランザクション要求集合の空間占有量の合計がブロック空間閾値を超えない場合などに、検証は合格とみなされ、現在の因子間隔が現在の目標因子間隔として使用され、現在のトランザクション要求集合が現在の目標トランザクション要求集合として使用される。検証に失敗した場合には、ブロック生成条件が成立するまで、現在の目標因子間隔に対応する残りの候補トランザクション要求集合または残りの候補因子間隔に基づいて、現在の目標因子間隔および現在の目標トランザクション要求集合の決定操作を再度実行する必要がある。ここで、現在の因子間隔に対応する残りの候補トランザクション要求集合は、検証に失敗したトランザクション要求集合以外の現在の因子間隔に対応するトランザクション要求集合を含み、残りの候補因子間隔は、現在の因子間隔以外の候補因子間隔を含む。 So far, if the number of transaction request sets cumulatively selected by the blockchain node or the number of transaction requests cumulatively selected by the blockchain node does not exceed the corresponding number threshold, or by the blockchain node. Validation is considered pass, the current factor interval is used as the current target factor interval, and the current transaction, for example, if the sum of the spatial occupancy of the cumulatively selected transaction request set does not exceed the block space threshold. The request set is used as the current target transaction request set. If validation fails, the current target factor interval and the current target transaction are based on the remaining candidate transaction request set or the remaining candidate factor interval corresponding to the current target factor interval until the block generation condition is met. The request set decision operation needs to be performed again. Here, the remaining candidate transaction request set corresponding to the current factor interval includes the transaction request set corresponding to the current factor interval other than the transaction request set whose validation failed, and the remaining candidate factor interval is the current factor. Includes candidate factor intervals other than intervals.

本願の実施形態の技術案によれば、目標トランザクション要求集合の各循環選択の過程において、トランザクション要求集合が属する候補因子間隔の間隔値に従って現在の因子間隔を選択し、且つ、現在の因子間隔に対応する候補トランザクション要求集合から、現在の因子間隔に対応する候補トランザクション要求集合の空間占有量に基づいて現在のトランザクション要求集合を選択した後に、これまでに累積的に選択されたトランザクション要求集合に基づいて現在のトランザクション要求集合を検証することにより、検証結果に基づいて、現在の目標因子間隔と現在の目標トランザクション要求集合を決定する。これは、既存の方案ではトランザクション要求間の依存関係を分割することでブロックチェーンノードがブロック生成過程に参加するトランザクション要求を不合理に選択してしまい、さらにブロック生成効率に影響を与えるという問題を解決し、ブロックチェーンノードがブロック生成過程においてトランザクション要求を選択する際の選択効率を向上させ、毎回の循環選択処理において目標トランザクション要求集合を選択する合理性が確保される。特に、まず、トランザクション要求集合内のトランザクション要求の支払証書情報と空間占有量に基づいて、トランザクション要求集合が属する候補因子間隔を決定し、次に、これまでにブロックチェーンノードによって累積的に選択されているトランザクション要求集合の総空間占有量がブロック空間閾値を超えているかどうかに基づいて、現在に選択されたトランザクション要求集合を検証し、ブロックチェーンノードの収益を十分に考慮した上でブロック空間を十分に利用できる効果を実現できる。 According to the technical proposal of the embodiment of the present application, in the process of each circular selection of the target transaction request set, the current factor interval is selected according to the interval value of the candidate factor interval to which the transaction request set belongs, and the current factor interval is set to the current factor interval. Based on the transaction request set that has been cumulatively selected so far after selecting the current transaction request set from the corresponding candidate transaction request sets based on the space occupancy of the candidate transaction request set that corresponds to the current factor interval. By verifying the current transaction request set, the current target factor interval and the current target transaction request set are determined based on the verification result. This is a problem that the existing plan divides the dependency between transaction requests so that the blockchain node unreasonably selects the transaction request to participate in the block generation process, which further affects the block generation efficiency. It solves the problem, improves the selection efficiency when the blockchain node selects the transaction request in the block generation process, and ensures the rationality of selecting the target transaction request set in each circular selection process. In particular, it first determines the candidate factor interval to which the transaction request set belongs, based on the transaction request payment certificate information and space occupancy in the transaction request set, and then is cumulatively selected by the blockchain nodes so far. Based on whether the total space occupancy of the transaction request set is exceeding the block space threshold, the currently selected transaction request set is verified, and the block space is determined after fully considering the profit of the blockchain node. A fully usable effect can be achieved.

前記技術案に基づいて、好ましくは、検証結果に基づいて、現在の目標因子間隔および現在の目標トランザクション要求集合を決定することを含む。 Based on the above-mentioned technical proposal, preferably, the current target factor interval and the current target transaction request set are determined based on the verification result.

現在のトランザクション要求集合の検証が失敗した場合、現在の因子間隔を現在の目標因子間隔として使用し、現在の因子間隔に対応する残りの候補トランザクション要求集合に基づいて、現在の目標トランザクション要求集合を決定する操作を実行する。ここで、残りの候補トランザクション要求集合は、検証に失敗したトランザクション要求集合以外の現在の因子間隔に対応するトランザクション要求集合を含む。例示的に、残りの候補トランザクション要求集合は、トランザクション要求集合の空間占有量に応じて、最も大きいものから最も小さいものまで、順番に考慮されてもよい。 If validation of the current transaction request set fails, use the current factor interval as the current target factor interval and base the current target transaction request set on the remaining candidate transaction request sets that correspond to the current factor interval. Perform the decision operation. Here, the remaining candidate transaction request sets include transaction request sets corresponding to the current factor intervals other than the transaction request sets for which validation failed. Illustratively, the remaining candidate transaction request sets may be considered in order, from largest to smallest, depending on the space occupancy of the transaction request set.

さらに、検証結果に基づいて、現在の目標因子間隔および現在の目標トランザクション要求集合を決定するステップはまた、
現在の因子間隔に対応する残りの候補トランザクション要求集合から、現在の目標トランザクション要求集合を決定できないと、残りの候補因子間隔に基づいて現在の目標因子間隔の決定操作を実行し、新たに決定された現在の目標因子間隔に対応する候補トランザクション要求集合に基づいて現在の目標トランザクション要求集合の決定操作を実行するステップを含み、ここで、残りの候補因子間隔が、現在の因子間隔以外の候補因子間隔を含む。例示的に、残りの候補因子間隔は、間隔の上限値又は間隔の下限値が順に減少する順序に従い考えられてもよい。
In addition, the steps to determine the current target factor interval and the current target transaction request set based on the validation results are also
If the current target transaction request set cannot be determined from the remaining candidate transaction request sets corresponding to the current factor interval, the current target factor interval determination operation is executed based on the remaining candidate factor intervals to determine a new one. Includes the step of performing a decision operation on the current target transaction request set based on the candidate transaction request set corresponding to the current target factor interval, where the remaining candidate factor intervals are candidate factors other than the current factor interval. Includes intervals. Illustratively, the remaining candidate factor intervals may be considered in the order in which the upper limit of the interval or the lower limit of the interval decreases in order.

すなわち、目標トランザクション要求集合の循環的な決定処理において、複数回の選択と検証を経て、現在の目標因子間隔に対応する候補トランザクション要求集合の中から現在の目標トランザクション要求集合を決定することが好ましく、次に、残りの候補因子間隔に対応する候補トランザクション要求集合の中から現在の目標トランザクション要求集合を決定することが考えられ、これにより、ブロックチェーンノードが現在の目標トランザクション要求集合を決定するために複数の選択を通過する必要がある場合でも、高い選択効率を維持できる。また、トランザクション要求集合のインセンティ因子は、ブロックチェーンノードがトランザクション要求集合内のトランザクション要求を実行することによって得られる奨励を特徴付けるために使用することができる例を取ると、間隔の上限値または間隔の下限値が最大の候補因子間隔に対応する候補トランザクション要求集合は、ブロックチェーンノードに比較的大きな収益をもたらし、現在の目標因子間隔、残りの候補因子間隔のような優先順位で現在の目標トランザクション要求集合を選択することができる。これは、ブロックチェーンノードの合理的な収益の最大化を確保でき、収益の損失を最大限に減少できる。 That is, in the cyclic determination process of the target transaction request set, it is preferable to determine the current target transaction request set from the candidate transaction request sets corresponding to the current target factor interval through multiple selections and verifications. Then, it is conceivable to determine the current target transaction request set from among the candidate transaction request sets corresponding to the remaining candidate factor intervals, so that the blockchain node determines the current target transaction request set. High selection efficiency can be maintained even when it is necessary to pass multiple selections. Also, the incentive factor for a transactional request set can be used to characterize the incentives that a blockchain node obtains by executing a transactional request within a transactional request set. The candidate transaction request set corresponding to the candidate factor interval with the highest lower limit yields a relatively large profit to the blockchain node, and the current target transaction request in priority order such as the current target factor interval and the remaining candidate factor interval. You can select a set. This can ensure the reasonable maximization of revenue of the blockchain node and can reduce the loss of revenue to the maximum.

上記の技術案に基づいて、トランザクション要求集合のインセンティ因子が、トランザクション要求集合内のトランザクション要求の支払証書情報と空間占有量に基づいて決定される場合、該インセンティ因子は、トランザクション要求集合の価格性能比と呼ばれてもよく、したがって、図4は例として、価格性能比の順序付きグラフ及び候補トランザクション要求集合の順序付きグラフの模式図を示しており、本願の実施形態の具体的な限定として解釈されるべきではない。ここで、価格性能比の順序付きグラフとは、トランザクション要求集合の候補因子間隔を上限値や下限値などの間隔値に従って並べ替えて、例えば候補因子間隔1、2、......Nまたは価格性能比間隔1、2、......Nを含む間隔の順序付きグラフを得ることを意味しており、Nは整数である。候補因子間隔とそれに対応する候補トランザクション要求集合は、例えば候補因子間隔をキーとして、候補因子間隔に対応する候補トランザクション要求集合をキー値として使用するなど、キー値対(key−value)の関係に従って格納されてもよい。さらに、各候補因子間隔Nまたは価格性能比間隔Nに対応する複数の候補トランザクション要求集合を、各候補トランザクション要求集合の空間占有量に応じて、大きい方から小さい方へ並べ替えて、候補トランザクション要求集合の順序付きグラフNを取得してもよい。各候補トランザクション要求集合の順序付きグラフは同様にキー値対の形で格納されてもよく、例えば、同一の候補因子間隔内において、各候補トランザクション要求集合の集合シーケンスまたは番号をキーとし、候補トランザクション要求集合の空間占有量をキー値として格納できる。新たな候補因子間隔や価格性能比間隔が作成されたり、間隔内の候補トランザクション要求集合が変更されたりするたびに、該間隔に現在に対応する候補トランザクション要求集合が集合の空間占有量に応じて並べ替えられ、候補トランザクション要求集合の順序付きグラフが得られる。 If the incentive factor of the transaction request set is determined based on the payment certificate information and the space occupancy of the transaction request in the transaction request set based on the above technical proposal, the incentive factor is the price performance of the transaction request set. It may also be referred to as a ratio, and therefore FIG. 4 shows, as an example, a schematic diagram of an ordered graph of price / performance ratios and an ordered graph of candidate transaction request sets, as a specific limitation of embodiments of the present application. Should not be interpreted. Here, the ordered graph of the price / performance ratio means that the candidate factor intervals of the transaction request set are rearranged according to the interval values such as the upper limit value and the lower limit value, and the candidate factor intervals 1, 2, ... .. .. .. .. .. N or price / performance ratio interval 1, 2, ... .. .. .. .. .. It means to get an ordered graph of intervals including N, where N is an integer. The candidate factor interval and the corresponding candidate transaction request set follow a key-value pair (key-value) relationship, for example, using the candidate factor interval as a key and the candidate transaction request set corresponding to the candidate factor interval as a key value. It may be stored. Further, a plurality of candidate transaction request sets corresponding to each candidate factor interval N or price / performance ratio interval N are rearranged from the larger one to the smaller one according to the space occupancy of each candidate transaction request set, and the candidate transaction request is requested. You may get the ordered graph N of the set. The ordered graph of each candidate transaction request set may also be stored in the form of a key-value pair, for example, within the same candidate factor interval, keyed by the set sequence or number of each candidate transaction request set, and the candidate transaction. The space occupancy of the request set can be stored as a key value. Whenever a new candidate factor interval or price / performance ratio interval is created, or the candidate transaction request set within the interval is changed, the candidate transaction request set currently corresponding to that interval depends on the space occupancy of the set. It is sorted to give an ordered graph of the candidate transaction request set.

価格性能比の順序付きグラフと候補トランザクション要求集合の順序付きグラフとを総合的に利用することで、目標トランザクション要求集合の選択処理において選択対象トランザクション要求を効率的に管理することができ、目標トランザクション要求集合を効率的に選択するための基盤を築くことができる。 By comprehensively using the ordered graph of the price / performance ratio and the ordered graph of the candidate transaction request set, it is possible to efficiently manage the selected transaction request in the selection process of the target transaction request set, and the target transaction. It can lay the foundation for efficient selection of request sets.

図5は、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理のアーキテクチャの模式図である。図5に示すように、現在のブロック生成サイクルの間、ブロックチェーンネットワーク内で選択対象トランザクション要求は、選択対象トランザクション要求リストの形で格納されてもよく、選択対象トランザクション要求集合間の依存関係に基づいて有向非循環グラフが構築され、少なくとも1つのトランザクション要求集合が決定される。次いで、トランザクション要求集合が属する候補因子間隔がトランザクション要求集合のインセンティブ因子に基づいて決定される。次いで、構築された価格性能比の順序付きグラフを用いて現在の目標因子間隔を決定し、候補トランザクション要求集合の順序付きグラフを用いて現在の目標トランザクション要求集合を決定することにより、ブロックチェーンノードがブロック生成過程に参加するトランザクション要求集合を選択する際の効率を向上させることができる。さらに、現在の目標トランザクション要求集合の決定に伴い、有向非循環グラフ、価格性能比の順序付きグラフ、および候補トランザクション要求集合の順序付きグラフは、ブロックチェーンネットワーク内の残りの選択対象トランザクション要求に応じて適応的に変更することができる。 FIG. 5 is a schematic diagram of the transaction request processing architecture in the blockchain disclosed in the embodiment of the present application. As shown in FIG. 5, during the current block generation cycle, selected transaction requests may be stored in the blockchain network in the form of a selected transaction request list, depending on the dependency between the selected transaction request sets. Based on this, a directed acyclic graph is constructed and at least one transaction request set is determined. The candidate factor interval to which the transaction request set belongs is then determined based on the incentive factor of the transaction request set. The blockchain node is then used to determine the current target factor interval using the constructed price-performance ratio ordered graph and the current target transaction request set using the ordered graph of the candidate transaction request sets. Can improve the efficiency of selecting a transaction request set that participates in the block generation process. In addition, as the current target transaction request set is determined, the directed acyclic graph, the price / performance ratio ordered graph, and the candidate transaction request set ordered graph become the remaining selected transaction requests in the blockchain network. It can be changed adaptively accordingly.

図6は、本願の実施形態に開示された別のブロックチェーン内の
トランザクション要求処理方法のフローチャートであり、上記の技術案に基づいてさらに最適化され、拡張されており、上記の任意の実施形態の各々と組み合わせてもよい。具体的には、図6は、有限回数の循環の実行過程を例として、本願の実施形態における現在の目標トランザクション要求集合を選択する過程を例示的に説明しており、本願の実施形態の特定の制限として解釈されるべきではない。図6に示すように、当該方法は、以下を含んでもよい。
FIG. 6 is a flowchart of a transaction request processing method in another blockchain disclosed in the embodiment of the present application, which is further optimized and extended based on the above technical proposal, and is further optimized and extended based on the above-mentioned technical proposal. May be combined with each of. Specifically, FIG. 6 illustrates the process of selecting the current target transaction request set in the embodiment of the present application by exemplifying the execution process of a finite number of cycles, and specifies the embodiment of the present application. Should not be construed as a limitation of. As shown in FIG. 6, the method may include:

S601では、現在の最高価格性能比間隔に対応する候補トランザクション要求集合の順序付きグラフを選択する。
S602では、候補トランザクション要求集合の順序付きグラフにおいて空間占有量が最も大きい候補トランザクション要求集合を選択する。
In S601, an ordered graph of the candidate transaction request set corresponding to the current highest price / performance ratio interval is selected.
In S602, the candidate transaction request set having the largest space occupancy in the ordered graph of the candidate transaction request set is selected.

なお、現在の最高価格性能比間隔に対応する候補トランザクション要求集合の順序付きグラフにおいて、ブロックチェーンノードがトランザクション要求を選択するための時間コストを削減し、収益と時間コスト(計算能力)のバランスを取り、自分の簿記権を確保するために、空間占有量が最も大きい候補トランザクション要求集合が、現在の目標トランザクション要求集合として第1優先的に選択される。なぜなら、同じ価格性能比間隔で毎回最大の価格性能比を持つ候補トランザクション要求集合が選択されると、最大の収益を保証できるものの、処理コストが高くなるリスクがあるため、例えば、ブロックチェーンノードが区間占有量が非常に小さいトランザクションを100件処理した場合、総収益は100であり、一方、空間占有量が最も大きいトランザクションを処理した場合、総収益は99であるが、その空間占有量が最も大きいトランザクションのコストの処理は、時間コストの点で前者の1%に過ぎない。ブロックアウトを競合させるシナリオでは、ブロックチェーンノードが最大の収益を持つ最適なトランザクションを見つけることに時間コストのすべてを費やしてしまうと、簿記権を掴めなくなる可能性があるため、収益と時間コストの両方のバランスを取る必要があり、両方を考慮した効果を達成する。 In the ordered graph of the candidate transaction request set corresponding to the current highest price performance ratio interval, the time cost for the blockchain node to select the transaction request is reduced, and the balance between revenue and time cost (computational capacity) is balanced. In order to secure its own bookkeeping right, the candidate transaction request set having the largest space occupancy is selected as the current target transaction request set as the first priority. This is because if the candidate transaction request set with the highest price / performance ratio is selected at the same price / performance ratio interval each time, the maximum profit can be guaranteed, but there is a risk that the processing cost will be high. When processing 100 transactions with a very small interval occupancy, the total revenue is 100, while when processing the transaction with the largest space occupancy, the total revenue is 99, but the space occupancy is the largest. Processing the cost of large transactions is only 1% of the former in terms of time cost. In a blockout competing scenario, if the blockchain node spends all of its time cost finding the best transaction with the highest profit, it may lose its bookkeeping rights, so the revenue and time cost Both need to be balanced and the effect is achieved with both in mind.

S603では、積算空間占有量によってブロック空間閾値を超えるかどうかを判断する。
YESの場合は、ステップS604が実行され、NOの場合は、ステップS607が実行される。
In S603, it is determined whether or not the block space threshold value is exceeded based on the integrated space occupancy.
If YES, step S604 is executed, and if NO, step S607 is executed.

S604では、現在の候補トランザクション要求集合の順序付けグラフにおいて、選択可能な空間占有量が小さいトランザクション要求の候補集合があるか否かを判断する。 In S604, in the ordering graph of the current candidate transaction request set, it is determined whether or not there is a transaction request candidate set having a small selectable space occupancy.

YESの場合はステップS606を実行し、NOの場合はステップS605を実行する。
S605では、二番目に高い価格性能比間隔に対応する候補トランザクション要求集合の順序付きグラフを選択する。
If YES, step S606 is executed, and if NO, step S605 is executed.
In S605, an ordered graph of the candidate transaction request set corresponding to the second highest price / performance ratio interval is selected.

S606では、現在の候補トランザクション要求集合の順序付きグラフにおいて空間占有量が比較的に小さい候補トランザクション要求集合を選択する。 In S606, the candidate transaction request set having a relatively small space occupancy is selected in the ordered graph of the current candidate transaction request set.

具体的には、現在の最高価格性能比間隔に対応する候補トランザクション要求集合の順序付きグラフにおいて、空間占有量が二番目に大きい候補トランザクション要求集合を選択し、ステップS603を返し、累積空間占有量がブロック空間閾値を超えるか否かを再度判断し、ブロック生成過程に参加可能な候補トランザクション要求集合が選択されるまで循環実行を行う。これにより、累積的に選択された集合の空間占有量がブロック空間閾値を超えないようにする。 Specifically, in the ordered graph of the candidate transaction request set corresponding to the current highest price performance ratio interval, the candidate transaction request set having the second largest space occupancy is selected, step S603 is returned, and the cumulative space occupancy is accumulated. Determines again whether or not exceeds the block space threshold, and performs cyclic execution until a candidate transaction request set that can participate in the block generation process is selected. This ensures that the spatial occupancy of the cumulatively selected set does not exceed the block space threshold.

S607では、空間占有量が最も大きい候補トランザクション要求集合をブロックに追加できると判断し、当該候補トランザクション要求集合を削除し、且つ、対応する候補トランザクション要求集合の順序付きグラフが空であれば、その対応する候補トランザクション要求集合の順序付きグラフ及び対応する価格性能比間隔を削除する。 In S607, if it is determined that the candidate transaction request set having the largest space occupancy can be added to the block, the candidate transaction request set is deleted, and the ordered graph of the corresponding candidate transaction request set is empty, the candidate transaction request set is deleted. Delete the ordered graph of the corresponding candidate transaction request set and the corresponding price-performance ratio interval.

複数回の循環選択を経て、累積的に選択された目標トランザクション要求集合がブロック生成条件を満たす場合、例えば、これまでに、累積的に選択された目標トランザクション要求集合の総空間占有量がブロック空間閾値に達して、すなわち、ブロック空間が十分に利用されていると考えられることができ、累積的に選択されたトランザクション要求を実行してブロックを生成することができる。 If the cumulatively selected target transaction request set satisfies the block generation condition after multiple circular selections, for example, the total space occupancy of the cumulatively selected target transaction request set is the block space. It can be considered that the threshold has been reached, i.e., the block space is fully utilized, and a cumulatively selected transaction request can be executed to generate a block.

本願の実施形態の技術案によれば、目標トランザクション要求集合を選択する過程において、価格性能比の順序付きグラフと候補トランザクション要求集合の順序付きグラフを総合的に活用することで、選択対象トランザクション要求に対する効果的な管理を実現しただけではなく、ブロック生成過程におけるブロックチェーンノードによるトランザクション要求の選択の合理性を向上させるとともに、選択効率を向上させ、ブロックアウト効率を向上させることができ、同時に、収益獲得の観点から、簿記権を有するブロックチェーンノードの収益を効果的に保証することができ、簿記権を積極的に獲得しようとするブロックチェーンノードのインセンティブ戦略としても効果的である。 According to the technical proposal of the embodiment of the present application, in the process of selecting the target transaction request set, the transaction request to be selected is selected by comprehensively utilizing the ordered graph of the price / performance ratio and the ordered graph of the candidate transaction request set. In addition to achieving effective management of transactions, it is possible to improve the rationality of transaction request selection by blockchain nodes in the block generation process, improve selection efficiency, and improve blockout efficiency, and at the same time. From the viewpoint of earning profits, it is possible to effectively guarantee the profits of blockchain nodes that have bookkeeping rights, and it is also effective as an incentive strategy for blockchain nodes that actively seek to acquire bookkeeping rights.

図7は、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理装置の構造の模式図であり、本願の実施形態はブロックチェーンノードが如何にブロック生成過程で待処理のトランザクション要求を合理的かつ効率的に選択する場合に適用可能である。本願の実施形態に開示された装置は、ソフトウェアおよび/またはハードウェアで実装されてもよく、ブロックチェーンノード上に統合されてもよく、このブロックチェーンノードは、計算能力を有する任意の電子デバイス上にデプロイされてもよい。 FIG. 7 is a schematic diagram of the structure of the transaction request processing device in the blockchain disclosed in the embodiment of the present application. In the embodiment of the present application, how the blockchain node rationalizes the transaction request for waiting processing in the block generation process. It is applicable when selecting objectively and efficiently. The devices disclosed in the embodiments of the present application may be implemented in software and / or hardware and may be integrated on a blockchain node, which blockchain node is on any electronic device capable of computing power. May be deployed in.

図7に示すように、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理装置700は、トランザクション要求集合決定モジュール701、候補因子間隔決定モジュール702、およびトランザクション要求集合選択モジュール703を含んでもよい。 As shown in FIG. 7, the transaction request processing device 700 in the blockchain disclosed in the embodiment of the present application includes the transaction request set determination module 701, the candidate factor interval determination module 702, and the transaction request set selection module 703. Good.

トランザクション要求集合決定モジュール701は、ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得る。 The transaction request set determination module 701 aggregates the selected transaction requests having a dependency in the blockchain network to obtain at least one transaction request set.

候補因子間隔決定モジュール702は、トランザクション要求集合が属する候補因子間隔を決定して、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用される。 The candidate factor interval determination module 702 determines the candidate factor interval to which the transaction request set belongs, and the factor interval is used to measure the probability that the transaction request set will participate in the block generation process.

トランザクション要求集合選択モジュール703は、候補因子間隔から現在の目標因子間隔を選択し、現在の目標因子間隔に対応する候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択する。
好ましくは、候補因子間隔決定モジュール702は、
トランザクション要求集合のインセンティ因子に基づいて、作成された因子間隔の上限と下限をトラバースすることにより、トランザクション要求集合が属する候補因子間隔をマッチするマッチユニットであって、インセンティ因子は、ブロックチェーンノードがトランザクション要求集合内のトランザクション要求を実行することによって得られる奨励を特徴付けるために使用されるマッチユニットと、
マッチしない場合、トランザクション要求集合が属する候補因子間隔を再構築する再構築ユニットとを含む。
The transaction request set selection module 703 selects the current target factor interval from the candidate factor intervals and selects the current target transaction request set to participate in the block generation process from the candidate transaction request sets corresponding to the current target factor intervals. ..
Preferably, the candidate factor spacing module 702
A match unit that matches the candidate factor interval to which the transaction request set belongs by traversing the upper and lower limits of the created factor interval based on the incentive factor of the transaction request set. The incentive factor is a blockchain node. With the match unit used to characterize the incentives obtained by executing a transaction request in a transaction request set,
If it does not match, it contains a restructuring unit that reconstructs the candidate factor interval to which the transaction request set belongs.

好ましくは、トランザクション要求収集選択モジュール703は、
候補因子間隔の間隔値に応じて現在の因子間隔を選択する間隔選択ユニットと、
現在の因子間隔に対応する候補トランザクション要求集合から、現在の因子間隔に対応する候補トランザクション要求集合による空間占有量に応じて、現在のトランザクション要求集合を選択する集合選択ユニットと、
現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合に基づいて、現在のトランザクション要求集合を検証する検証ユニットと、
検証結果に基づいて、現在の目標因子間隔および現在の目標トランザクション要求集合を決定する決定ユニットとを含む。
Preferably, the transaction request collection selection module 703
An interval selection unit that selects the current factor interval according to the interval value of the candidate factor interval, and
A set selection unit that selects the current transaction request set from the candidate transaction request set corresponding to the current factor interval according to the space occupancy of the candidate transaction request set corresponding to the current factor interval.
A validation unit that validates the current transaction request set based on the current transaction request set and the target transaction request set selected in the current block generation cycle.
Includes a decision unit that determines the current target factor interval and the current target transaction request set based on the validation results.

好ましくは、検証ユニットは、
現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合との総空間占有量を計算する計算サブユニットと、
総空間占有量とブロック空間閾値との関係に基づいて、現在のトランザクション要求集合を検証する検証サブユニットとを含む。
Preferably, the verification unit is
A computational subunit that calculates the total space occupancy of the current transaction request set and the target transaction request set selected in the current block generation cycle.
Includes a validation subunit that validates the current set of transaction requests based on the relationship between total space occupancy and block space threshold.

好ましくは、決定ユニットは、
現在のトランザクション要求集合に対する検証が失敗すると、現在の因子間隔を現在の目標因子間隔とし、現在の因子間隔に対応する残りの候補トランザクション要求集合に基づいて、現在の目標トランザクション要求集合の決定操作を実行する第1の決定サブユニットを含み、
ここで、残りの候補トランザクション要求集合は、検証に失敗したトランザクション要求集合以外の、現在の因子間隔に対応するトランザクション要求集合を含み、
第1の決定サブユニットは、現在のトランザクション要求集合に対する検証に合格した場合、現在の因子間隔を現在の目標因子間隔として、現在のトランザクション要求集合を現在の目標トランザクション要求集合として使用する。
Preferably, the decision unit is
If validation against the current transaction request set fails, the current factor interval is taken as the current target factor interval, and the decision operation of the current target transaction request set is performed based on the remaining candidate transaction request sets corresponding to the current factor interval. Contains the first decision subunit to perform
Here, the remaining candidate transaction request sets include transaction request sets corresponding to the current factor interval other than the transaction request sets for which validation failed.
If the first decision subunit passes validation against the current transaction request set, it uses the current factor interval as the current target factor interval and the current transaction request set as the current target transaction request set.

好ましくは、決定ユニットはさらに、
現在の因子間隔に対応する残りの候補トランザクション要求集合から、現在の目標トランザクション要求集合を決定できないと、残りの候補因子間隔に基づいて現在の目標因子間隔の決定操作を実行し、新たに決定された現在の目標因子間隔に対応する候補トランザクション要求集合に基づいて現在の目標トランザクション要求集合の決定操作を実行する第2の決定サブユニットを含み、
ここで、残りの候補因子間隔が、現在の因子間隔以外の候補因子間隔を含む。
Preferably, the decision unit is further
If the current target transaction request set cannot be determined from the remaining candidate transaction request sets corresponding to the current factor interval, the current target factor interval determination operation is executed based on the remaining candidate factor intervals to determine a new one. Contains a second decision subsystem that performs a decision operation on the current target transaction request set based on the candidate transaction request set corresponding to the current target factor interval.
Here, the remaining candidate factor intervals include candidate factor intervals other than the current factor interval.

好ましくは、セット選択ユニットは、具体的には、以下のように使用される。
現在の因子間隔に対応する候補トランザクション要求集合の中から、候補トランザクション要求集合の空間占有量を並べ替えることにより、並べ替えの結果に基づいて現在のトランザクション要求集合を決定する;又は
現在の因子間隔に対応する候補トランザクション要求集合の中から、現在のトランザクション要求集合として、空間占有量が空間占有閾値よりも大きい候補トランザクション要求集合を決定する。
Preferably, the set selection unit is specifically used as follows.
By sorting the space occupancy of the candidate transaction request set from the candidate transaction request sets corresponding to the current factor interval, the current transaction request set is determined based on the result of the sorting; or the current factor interval. From the candidate transaction request sets corresponding to, the candidate transaction request set whose space occupancy is larger than the space occupancy threshold is determined as the current transaction request set.

好ましくは、本願の実施形態に開示された装置はさらに、
候補因子間隔決定モジュール702が、トランザクション要求集合が属する候補因子間隔の決定操作を実行する前に、トランザクション要求集合内のトランザクション要求の支払証書情報と空間占有量に基づいて、トランザクション要求集合のインセンティブ因子を決定するためのインセンティブ因子決定モジュールを含む。
Preferably, the apparatus disclosed in the embodiments of the present application further comprises.
Candidate factor interval determination module 702 is an incentive factor for a transaction request set based on the transaction request payment certificate information and space occupancy in the transaction request set before executing the operation to determine the candidate factor interval to which the transaction request set belongs. Includes an incentive factor determination module for determining.

好ましくは、トランザクション要求収集決定モジュール701は、
ブロックチェーンネットワーク内の選択対象トランザクション要求間の依存関係に基づいて、選択対象トランザクション要求間の有向非循環グラフを構築する有向非循環グラフ構築ユニットと、
有向非循環グラフを使用して、依存関係を有する選択対象トランザクション要求を集約して、少なくとも1つのトランザクション要求集合を取得するトランザクション要求集合決定ユニットと、を含む。
Preferably, the transaction request collection decision module 701
A directed acyclic graph building unit that builds a directed acyclic graph between selected transaction requests based on the dependencies between selected transaction requests in the blockchain network.
Includes a transaction request set determination unit, which uses a directed acyclic graph to aggregate selected transaction requests with dependencies to obtain at least one transaction request set.

好ましくは、トランザクション要求集合は、リーフトランザクション要求と、リーフトランザクション要求が依存する各非リーフトランザクション要求とを含み、且つ、異なるトランザクション要求集合内のリーフトランザクション要求は、異なる。 Preferably, the transaction request set includes a leaf transaction request and each non-leaf transaction request on which the leaf transaction request depends, and the leaf transaction requests in different transaction request sets are different.

好ましくは、ブロックアウトを競合させるためのコンセンサスメカニズムがブロックチェーンネットワークにデプロイされている。 Preferably, a consensus mechanism for competing blockouts is deployed on the blockchain network.

本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理装置700は、本願の実施形態に開示されたブロックチェーン内のトランザクション要求処理方法のいずれかを実行でき、実行方法に対応する機能モジュールおよび有益な効果を有する。本願の装置の実施形態において詳細に記載されていないことは、本願の任意の方法の実施形態における記述を参照できる。 The transaction request processing device 700 in the blockchain disclosed in the embodiment of the present application can execute any of the transaction request processing methods in the blockchain disclosed in the embodiment of the present application, and the functional module corresponding to the execution method and the function module corresponding to the execution method. Has a beneficial effect. Not described in detail in embodiments of the apparatus of the present application can be referred to in the embodiments of any method of the present application.

本願の実施形態によれば、本願の実施形態はまた、電子デバイス及び可読記憶媒体を提供する。
図8に示すように、図8は、本願の実施形態のブロックチェーン内のトランザクション要求処理方法を実施するための電子デバイスのブロック図である。電子デバイスは、様々な形態のデジタルコンピュータ、例えば、ラップトップコンピュータ、デスクトップコンピュータ、ワークステーション、パーソナルデジタルアシスタント、サーバ、ブレードサーバ、メインフレームコンピュータ、及び他の好適なコンピュータを表すことが意図されている。また、電子デバイスはまた、様々な形態のモバイルデバイス、例えば、パーソナルデジタル処理、携帯電話、スマートフォン、ウェアラブルデバイス、及び他の類似のコンピューティングデバイスを表すことができる。本明細書に示されたコンポーネント、それらの接続及び関係、ならびにそれらの機能は、例としてのみ意図されており、本明細書に記載及び/又は請求された本願の実施形態の実現を限定することを意図するものではない。
According to embodiments of the present application, embodiments of the present application also provide electronic devices and readable storage media.
As shown in FIG. 8, FIG. 8 is a block diagram of an electronic device for implementing the transaction request processing method in the blockchain according to the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. .. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, mobile phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are intended by way of example only and limit the realization of the embodiments of the present application described and / or claimed herein. Is not intended.

図8に示すように、電子デバイスは、1つ以上のプロセッサ801、メモリ802、及び各コンポーネントを接続するための、高速インタフェース及び低速インタフェースを含むインタフェースを有する。様々なコンポーネントは、異なるバスを用いて相互に接続されており、共通のマザーボード上に実装されてもよいし、所望のように他の形態で実装されてもよい。プロセッサは、電子デバイス内で実行するための命令を処理してもよく、当該命令はメモリに記憶された命令またはメモリで外部入出力装置(例えば、インターフェースに結合されたディスプレイ装置)にグラフィカルユーザインターフェース(Graphical User Interface、GUI)のグラフィカル情報を表示させるための命令を含む。他の実施形態では、複数のプロセッサ及び/又は複数のバス及び複数のメモリが、所望に応じて、複数のメモリと一緒に使用されてもよい。同様に、複数の電子デバイスが接続されていてもよく、個々のデバイスが必要な操作の一部を提供しており、例えば、サーバアレイ、ブレードサーバのグループ、またはマルチプロセッサシステムとする。一つのプロセッサ801を一例として図8に示す。 As shown in FIG. 8, the electronic device has one or more processors 801 and memory 802, and an interface including a high speed interface and a low speed interface for connecting each component. The various components are interconnected using different buses and may be mounted on a common motherboard or in other forms as desired. The processor may process instructions for execution within an electronic device, which may be a memory-stored instruction or a memory graphical user interface to an external input / output device (eg, a display device coupled to an interface). Includes instructions for displaying graphical information of (Graphical User Interface, GUI). In other embodiments, a plurality of processors and / or a plurality of buses and a plurality of memories may be used together with the plurality of memories, if desired. Similarly, multiple electronic devices may be connected and each device provides some of the required operations, eg, a server array, a group of blade servers, or a multiprocessor system. One processor 801 is shown in FIG. 8 as an example.

メモリ802は、本願の実施形態によって提供される非瞬時コンピュータ可読記憶媒体である。ここで、前記メモリは、本願の実施形態に提供されるブロックチェーン内のトランザクション要求処理方法を前記少なくとも1つのプロセッサに実行させるために、前記少なくとも1つのプロセッサにより実行可能な命令を記憶している。本願の非瞬時コンピュータ可読記憶媒体は、本願の実施形態によって提供されるブロックチェーン内のトランザクション要求処理方法をコンピュータに実行させるために使用されるコンピュータ命令を記憶している。 The memory 802 is a non-instantaneous computer-readable storage medium provided by an embodiment of the present application. Here, the memory stores an instruction that can be executed by the at least one processor in order to cause the at least one processor to execute the transaction request processing method in the blockchain provided in the embodiment of the present application. .. The non-instantaneous computer-readable storage medium of the present application stores computer instructions used to cause a computer to execute a transaction request processing method in a blockchain provided by an embodiment of the present application.

メモリ802は、非瞬時コンピュータ可読記憶媒体として、非瞬間的なソフトウェアプログラム、非瞬間的なコンピュータ実行可能プログラム、及びモジュール、例えば、本願の実施形態におけるブロックチェーン内のトランザクション要求処理方法に対応するプログラム命令/モジュール、例えば、添付の図7に示すトランザクション要求集合決定モジュール701、候補因子間隔決定モジュール702、およびトランザクション要求集合選択モジュール703を格納するために使用することができる。プロセッサ801は、メモリ802に記憶された非瞬間的なソフトウェアプログラム、命令、及びモジュールを実行することにより、電子デバイスの各種機能アプリケーション及びデータ処理を実行して、上述した方法の実施形態におけるブロックチェーン内のトランザクション要求処理方法を実施する。 The memory 802 is a non-instantaneous computer-readable storage medium such as a non-instantaneous software program, a non-instantaneous computer-executable program, and a module, for example, a program corresponding to a transaction request processing method in a blockchain according to an embodiment of the present application. It can be used to store instructions / modules such as the transaction request set determination module 701, the candidate factor interval determination module 702, and the transaction request set selection module 703 shown in the attached FIG. 7. The processor 801 executes various functional applications and data processing of the electronic device by executing non-instantaneous software programs, instructions, and modules stored in the memory 802, and the blockchain in the embodiment of the method described above. Implement the transaction request processing method in.

メモリ802は、プログラム記憶領域とデータ記憶領域とを含んでもよく、プログラム記憶領域は、オペレーティングシステム、少なくとも1つの機能に必要なアプリケーションプログラムを格納してもよく、データ記憶領域は、電子デバイスの使用により作成されたデータなどを格納してもよい。さらに、メモリ802は、高速ランダムアクセスメモリを含んでもよく、また、少なくとも1つのディスクメモリ装置、フラッシュメモリ装置、または他の非瞬間的な固体状態のメモリ装置などの非瞬間的なメモリを含んでもよい。いくつかの実施形態では、メモリ802は、好ましくは、プロセッサ801に対して相対的に遠隔に配置されたメモリを含み、これらの遠隔メモリは、ネットワークを介して、本願の実施形態のブロックチェーン内のトランザクション要求処理方法を実装するための電子デバイスに接続されてもよい。前記ネットワークの例としては、インターネット、企業のイントラネット、ローカルエリアネットワーク、移動体通信ネットワーク、及びそれらの組合せが挙げられるが、これらに限定されるものではない。 The memory 802 may include a program storage area and a data storage area, the program storage area may store an operating system, an application program required for at least one function, and the data storage area may be used by an electronic device. The data created by the above may be stored. Further, the memory 802 may include fast random access memory, or may include non-momentary memory such as at least one disk memory device, flash memory device, or other non-momentary solid state memory device. Good. In some embodiments, the memory 802 preferably includes memory located relatively remote to the processor 801 and these remote memories are within the blockchain of the embodiment of the present application via a network. It may be connected to an electronic device for implementing the transaction request processing method of. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

本願の実施形態中のブロックチェーン内のトランザクション要求処理方法を実装するための電子デバイスはまた、入力装置803と出力装置804を含んでもよい。プロセッサ801、メモリ802、入力装置803および出力装置804は、バスを介して接続されていてもよく、他の形態で接続されていてもよく、図8ではバスを介した接続を例に挙げている。 The electronic device for implementing the transaction request processing method in the blockchain in the embodiment of the present application may also include an input device 803 and an output device 804. The processor 801 and the memory 802, the input device 803, and the output device 804 may be connected via a bus or may be connected in other forms. In FIG. 8, the connection via the bus is taken as an example. There is.

入力装置803は、入力された数値情報または文字情報を受信するとともに、本願の実施形態中のブロックチェーン内のトランザクション要求処理方法を実現するための電子デバイスのユーザ設定及び機能制御に関連するキー信号入力を生成してもよく、例えば、タッチスクリーン、キーパッド、マウス、トラックパッド、タッチパッド、インジケータスティック、1つ以上のマウスボタン、トラックボール、ジョイスティックなどの入力装置などが挙げられる。出力装置804は、表示装置、補助照明装置、ハプティックフィードバック装置などを含んでもよく、ここで、補助照明装置は、例えば、発光ダイオード(Light Emitting Diode,LED)であり、ハプティックフィードバック装置は、例えば、振動モータなどである。当該表示装置としては、液晶ディスプレイ(Liquid Crystal Display,LCD)、LEDディスプレイ、プラズマディスプレイなどが挙げられるが、これらに限定されるものではない。いくつかの実施形態では、表示装置はタッチスクリーンであってもよい。 The input device 803 receives the input numerical information or character information, and also receives key signals related to user setting and function control of the electronic device for realizing the transaction request processing method in the blockchain according to the embodiment of the present application. Inputs may be generated, such as input devices such as touch screens, keypads, mice, trackpads, touchpads, indicator sticks, one or more mouse buttons, trackballs, joysticks, and the like. The output device 804 may include a display device, an auxiliary lighting device, a haptic feedback device, and the like. Here, the auxiliary lighting device is, for example, a light emitting diode (LED), and the haptic feedback device is, for example, a light emitting diode (LED). It is a vibration motor or the like. Examples of the display device include, but are not limited to, a liquid crystal display (LCD), an LED display, and a plasma display. In some embodiments, the display device may be a touch screen.

本明細書に記載されたシステム及び技術の様々な実施形態は、デジタル電子回路システム、集積回路システム、専用集積回路(Application Specific Integrated Circuit,ASIC)、コンピュータハードウェア、ファームウェア、ソフトウェア、及び/又はそれらの組合せで実施することができる。これらの様々な実施形態は、以下を含み得る:1つ以上のコンピュータプログラムで実施し、当該1つ以上のコンピュータプログラムは、少なくとも1つのプログラマブルプロセッサを含むプログラマブルシステム上で実行および/又は解釈され、当該プログラマブルプロセッサは、記憶システム、少なくとも1つの入力装置、および少なくとも1つの出力装置からデータおよび指示を受信し、且つデータ及び指示を当該記憶システム、当該少なくとも1つの入力装置、及び当該少なくとも1つの出力装置へ転送することができる専用または汎用のプログラマブルプロセッサであってもよい。 Various embodiments of the systems and techniques described herein include digital electronic circuit systems, integrated circuit systems, application specific integrated circuits (ASICs), computer hardware, firmware, software, and / or them. It can be carried out in combination of. These various embodiments may include: Implemented in one or more computer programs, the one or more computer programs being executed and / or interpreted on a programmable system including at least one programmable processor. The programmable processor receives data and instructions from the storage system, at least one input device, and at least one output device, and outputs the data and instructions to the storage system, the at least one input device, and the at least one output device. It may be a dedicated or general purpose programmable processor that can be transferred to the device.

これらのコンピュータプログラムはプログラム、ソフトウェア、ソフトウェアアプリケーション、またはコードとも呼ばれ、プログラマブルプロセッサのための機械命令を含み、高レベル手順及び/又はオブジェクト指向のプログラミング言語、及び/又はアセンブリ/機械語を使用してこれらのコンピュータプログラムを実装することができる。本明細書で使用されるように、「機械可読媒体」及び「コンピュータ可読媒体」という用語は、機械命令及び/又はデータをプログラマブルプロセッサに提供するために使用される任意のコンピュータプログラム製品、デバイス、及び/又は装置、例えば、磁気ディスク、光ディスク、メモリ、プログラマブルロジックデバイス(Programmable Logic Device,PLD)を指し、機械読取信号である機械命令を受け取る機械読取媒体を含む。「機械可読信号」という用語は、機械命令及び/又はデータをプログラマブルプロセッサに提供するために使用される任意の信号を指す。 These computer programs, also called programs, software, software applications, or code, include machine instructions for programmable processors and use high-level procedure and / or object-oriented programming languages and / or assembly / machine language. These computer programs can be implemented. As used herein, the terms "machine readable medium" and "computer readable medium" are any computer program products, devices, used to provide machine instructions and / or data to a programmable processor. And / or a device, such as a magnetic disk, an optical disk, a memory, a programmable logic device (PLD), including a machine-reading medium that receives a machine command, which is a machine-reading signal. The term "machine readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.

ユーザとの相互作用を提供するために、本明細書に記載されているシステム及び技術は、ユーザに情報を表示するための表示装置(例えば、陰極線管(Cathode Ray Tube,CRT)またはLCDモニタ)と、ユーザがコンピュータに入力を提供するためのキーボード及びポインティング装置(例えば、マウスまたはトラックボール)とを有するコンピュータ上に実装されてもよい。他の種類の装置もまた、ユーザとの相互作用を提供するために使用されてもよく、例えば、ユーザに提供されるフィードバックは、任意の形態の感覚フィードバック、例えば、視覚フィードバック、聴覚フィードバック、またはハプティックフィードバックであってもよく、ユーザからの入力は、任意の形態、例えば、音響入力、音声入力、またはハプティック入力などで受信されてもよい。 To provide interaction with the user, the systems and techniques described herein are display devices for displaying information to the user (eg, a Cathode Ray Tube (CRT) or LCD monitor). And may be implemented on a computer having a keyboard and a pointing device (eg, a mouse or trackball) for the user to provide input to the computer. Other types of devices may also be used to provide interaction with the user, for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or. It may be haptic feedback, and the input from the user may be received in any form, such as acoustic input, voice input, or haptic input.

本明細書に記載されているシステム及び技術は、バックエンドコンポーネントを含むコンピューティングシステム(例えば、データサーバー)、ミドルウェアコンポーネントを含むコンピューティングシステム(例えば、アプリケーションサーバー)、またはフロントエンドコンポーネントを含むコンピューティングシステム(例えば、グラフィカルユーザーインターフェイスまたはWebブラウザーを備えたユーザーコンピューターである。ユーザーは当該グラフィカルユーザーインターフェイスまたは当該Webブラウザーを介して、ここで説明するシステムおよび技術の実施形態と対話できる)、又はそのようなバックエンドコンポーネント、ミドルウェアコンポーネント、またはフロントエンドコンポーネントの任意の組合せを含むコンピューティングシステムで実装されてもよい。システムのコンポーネントは、任意の形態または媒体のデジタルデータ通信、例えば、通信ネットワークを介して相互に接続されていてもよい。通信ネットワークの例としては、ローカルエリアネットワーク(Local Area Network,LAN)、ワイドエリアネットワーク(Wide Area Network,WAN)、インターネット、ブロックチェーンネットワークなどがある。 The systems and technologies described herein are computing systems that include back-end components (eg, data servers), computing systems that include middleware components (eg, application servers), or computing that includes front-end components. A system (eg, a user computer with a graphical user interface or web browser; the user can interact with embodiments of the systems and techniques described herein through the graphical user interface or web browser), or as such. It may be implemented in a computing system that includes any combination of back-end components, middleware components, or front-end components. The components of the system may be interconnected via any form or medium of digital data communication, such as a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

コンピュータシステムは、クライアントとサーバを含むことができる。クライアントとサーバは一般的に互いに遠隔地にあり、通常は通信ネットワークを介して相互に作用する。クライアント−サーバ関係は、対応するコンピュータ上で実行され、互いにクライアント−サーバ関係を有するコンピュータプログラムによって生成される。 A computer system can include a client and a server. Clients and servers are generally remote from each other and usually interact over a communication network. The client-server relationship runs on the corresponding computers and is generated by computer programs that have a client-server relationship with each other.

本願の実施形態の技術案によれば、現在の目標因子間隔を選択し、現在の目標因子間隔に対応する候補トランザクション要求集合から現在の目標トランザクション要求集合を選択するという循環論理に従って、ブロック生成過程に参加する目標トランザクション要求集合は、少なくとも1つの循環選択の後に累積的に決定され、最終的に、累積的に決定された目標トランザクション要求集合内のトランザクション要求を実行することによってブロックが生成され、ここで、目標トランザクション要求集合内のトランザクション要求間には依存関係が存在し、ブロック生成過程におけるブロックチェーンノードによってトランザクション要求を選択する合理性と選択効率を向上させ、且つ、ブロックアウト効率を向上させることができる。 According to the technical proposal of the embodiment of the present application, the block generation process is performed according to the cyclic logic of selecting the current target factor interval and selecting the current target transaction request set from the candidate transaction request sets corresponding to the current target factor interval. The target transaction request set that participates in is cumulatively determined after at least one circular selection, and finally blocks are generated by executing the transaction requests in the cumulatively determined target transaction request set. Here, there is a dependency between the transaction requests in the target transaction request set, and the rationality and selection efficiency of selecting the transaction request by the blockchain node in the block generation process are improved, and the blockout efficiency is improved. be able to.

上述した処理の様々な実施形態を用いて、順序を変えたり、ステップを追加/削除したりすることができることが理解されるべきである。例えば、本願に開示された技術案の所望の結果が達成される限り、本願に記載された各ステップは、本明細書に限定されるものではなく、並行して実行されてもよいし、順次実行されてもよいし、異なる順序で実行されてもよい。 It should be understood that various embodiments of the process described above can be used to change the order and add / remove steps. For example, as long as the desired results of the proposed techniques disclosed in the present application are achieved, the steps described in the present application are not limited to this specification and may be performed in parallel or sequentially. It may be executed or it may be executed in a different order.

上記の具体的な実施形態は、本開示の保護範囲の制限を構成するものではない。設計要件および他の要因に応じて、様々な変更、組み合わせ、サブ組み合わせおよび置換が行われ得ることは、当業者によって理解されるべきである。本開示の要旨および原則の範囲内で行われた修正、同等の代替、改良等は、本開示の保護範囲に含まれるものとする。 The specific embodiments described above do not constitute a limitation of the scope of protection of the present disclosure. It should be understood by those skilled in the art that various changes, combinations, sub-combinations and substitutions may be made depending on the design requirements and other factors. Any amendments, equivalent substitutions, improvements, etc. made within the gist of this disclosure and the principles shall be included in the scope of protection of this disclosure.

Claims (14)

ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得るステップと、
前記トランザクション要求集合が属する候補因子間隔を決定するステップであって、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用されるステップと、
前記候補因子間隔から現在の目標因子間隔を選択し、前記現在の目標因子間隔に対応する前記候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択するステップとを含む、ことを特徴とするブロックチェーン内のトランザクション要求処理方法。
A step of aggregating selected transaction requests that have dependencies in the blockchain network to obtain at least one transaction request set.
A step of determining the candidate factor interval to which the transaction request set belongs, the factor interval is a step used to measure the probability that the transaction request set participates in the block generation process, and
A step of selecting the current target factor interval from the candidate factor interval and selecting the current target transaction request set participating in the block generation process from the candidate transaction request set corresponding to the current target factor interval. A transaction request processing method within a blockchain that is characterized by this.
前記トランザクション要求集合が属する候補因子間隔を決定するステップは、
前記トランザクション要求集合のインセンティ因子に基づいて、作成された因子間隔の上限と下限をトラバースすることにより、前記トランザクション要求集合が属する候補因子間隔をマッチするステップであって、前記インセンティ因子は、ブロックチェーンノードが前記トランザクション要求集合内のトランザクション要求を実行することによって得られる奨励を特徴付けるために使用されるステップと、
マッチしない場合、トランザクション要求集合が属する候補因子間隔を再構築するステップとを含む、ことを特徴とする請求項1に記載の方法。
The step of determining the candidate factor interval to which the transaction request set belongs is
A step of matching the candidate factor interval to which the transaction request set belongs by traversing the upper and lower limits of the created factor interval based on the incentive factor of the transaction request set, wherein the incentive factor is a blockchain. The steps used by a node to characterize the incentives obtained by executing a transaction request in the transaction request set, and
The method of claim 1, further comprising reconstructing the candidate factor interval to which the transaction request set belongs if there is no match.
前記候補因子間隔から現在の目標因子間隔を選択し、前記現在の目標因子間隔に対応する前記候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択するステップは、
前記候補因子間隔の間隔値に応じて現在の因子間隔を選択するステップと、
前記現在の因子間隔に対応する候補トランザクション要求集合から、前記現在の因子間隔に対応する候補トランザクション要求集合による空間占有量に応じて、現在のトランザクション要求集合を選択するステップと、
前記現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合に基づいて、前記現在のトランザクション要求集合を検証するステップと、
前記検証結果に基づいて、前記現在の目標因子間隔および前記現在の目標トランザクション要求集合を決定するステップとを含む、ことを特徴とする請求項1に記載の方法。
The step of selecting the current target factor interval from the candidate factor interval and selecting the current target transaction request set participating in the block generation process from the candidate transaction request set corresponding to the current target factor interval is
A step of selecting the current factor interval according to the interval value of the candidate factor interval, and
A step of selecting the current transaction request set from the candidate transaction request set corresponding to the current factor interval according to the space occupancy of the candidate transaction request set corresponding to the current factor interval.
A step of validating the current transaction request set based on the current transaction request set and the target transaction request set selected in the current block generation cycle.
The method of claim 1, wherein the method comprises the steps of determining the current target factor interval and the current target transaction request set based on the verification results.
前記現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合に基づいて、前記現在のトランザクション要求集合を検証するステップは、
前記現在のトランザクション要求集合と、現在のブロック生成サイクルにおいて選択された目標トランザクション要求集合との総空間占有量を計算するステップと、
前記総空間占有量と前記ブロック空間閾値との関係に基づいて、前記現在のトランザクション要求集合を検証するステップとを含む、ことを特徴とする請求項3に記載の方法。
The step of validating the current transaction request set based on the current transaction request set and the target transaction request set selected in the current block generation cycle is
A step of calculating the total space occupancy of the current transaction request set and the target transaction request set selected in the current block generation cycle.
The method according to claim 3, further comprising a step of verifying the current transaction request set based on the relationship between the total space occupancy and the block space threshold.
前記検証結果に基づいて、前記現在の目標因子間隔および前記現在の目標トランザクション要求集合を決定するステップは、
前記現在のトランザクション要求集合に対する検証が失敗すると、前記現在の因子間隔を前記現在の目標因子間隔とし、前記現在の因子間隔に対応する残りの候補トランザクション要求集合に基づいて、前記現在の目標トランザクション要求集合の決定操作を実行するステップを含み、
前記残りの候補トランザクション要求集合は、前記検証に失敗したトランザクション要求集合以外の、前記現在の因子間隔に対応するトランザクション要求集合を含む、ことを特徴とする請求項3又は4に記載の方法。
Based on the verification result, the step of determining the current target factor interval and the current target transaction request set is
If the validation against the current transaction request set fails, the current factor interval is taken as the current target factor interval, and the current target transaction request is based on the remaining candidate transaction request sets corresponding to the current factor interval. Includes steps to perform set determination operations
The method according to claim 3 or 4, wherein the remaining candidate transaction request set includes a transaction request set corresponding to the current factor interval other than the transaction request set that failed the verification.
前記検証結果に基づいて、前記現在の目標因子間隔および前記現在の目標トランザクション要求集合を決定するステップはまた、
前記現在の因子間隔に対応する残りの候補トランザクション要求集合から、前記現在の目標トランザクション要求集合を決定できないと、残りの候補因子間隔に基づいて前記現在の目標因子間隔の決定操作を実行し、新たに決定された現在の目標因子間隔に対応する候補トランザクション要求集合に基づいて前記現在の目標トランザクション要求集合の決定操作を実行するステップを含み、
前記残りの候補因子間隔が、前記現在の因子間隔以外の候補因子間隔を含む、ことを特徴とする請求項5に記載の方法。
The steps to determine the current target factor interval and the current target transaction request set based on the verification results are also
If the current target transaction request set cannot be determined from the remaining candidate transaction request sets corresponding to the current factor interval, the current target factor interval determination operation is executed based on the remaining candidate factor intervals, and a new operation is performed. Includes the step of performing the determination operation of the current target transaction request set based on the candidate transaction request set corresponding to the current target factor interval determined in.
The method according to claim 5, wherein the remaining candidate factor spacing includes a candidate factor spacing other than the current factor spacing.
前記現在の因子間隔に対応する候補トランザクション要求集合から、前記現在の因子間隔に対応する候補トランザクション要求集合による空間占有量に応じて、現在のトランザクション要求集合を選択するステップは、
前記現在の因子間隔に対応する候補トランザクション要求集合の中から、前記候補トランザクション要求集合の空間占有量を並べ替えることにより、並べ替えの結果に基づいて前記現在のトランザクション要求集合を決定するステップ、又は
前記現在の因子間隔に対応する候補トランザクション要求集合の中から、前記現在のトランザクション要求集合として、空間占有量が空間占有閾値よりも大きい候補トランザクション要求集合を決定するステップを含む、ことを特徴とする請求項3に記載の方法。
The step of selecting the current transaction request set from the candidate transaction request set corresponding to the current factor interval according to the space occupied by the candidate transaction request set corresponding to the current factor interval is
A step of determining the current transaction request set based on the result of sorting by rearranging the space occupancy of the candidate transaction request set from the candidate transaction request sets corresponding to the current factor interval, or It is characterized by including a step of determining a candidate transaction request set whose space occupancy is larger than the space occupancy threshold as the current transaction request set from the candidate transaction request sets corresponding to the current factor interval. The method according to claim 3.
前記トランザクション要求集合が属する候補因子間隔を決定する前に、前記方法は、さらに
前記トランザクション要求集合におけるトランザクション要求の支払証書情報および空間占有量に基づいて、前記トランザクション要求集合のインセンティブ因子を決定するステップを含む、ことを特徴とする請求項2に記載の方法。
Before determining the candidate factor interval to which the transaction request set belongs, the method further determines the incentive factor for the transaction request set based on the transaction request payment certificate information and space occupancy in the transaction request set. The method according to claim 2, wherein the method comprises.
前記ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得るステップは、
前記ブロックチェーンネットワーク内の前記選択対象トランザクション要求間の前記依存関係に基づいて、前記選択対象トランザクション要求間の有向非循環グラフを構築するステップと、
前記有向非循環グラフを使用して、依存関係を有する選択対象トランザクション要求を集約して、前記少なくとも1つのトランザクション要求集合を取得するステップとを含む、ことを特徴とする請求項1に記載の方法。
The step of aggregating selected transaction requests having a dependency in the blockchain network to obtain at least one transaction request set is
A step of constructing a directed acyclic graph between the selected transaction requests based on the dependency between the selected transaction requests in the blockchain network.
The first aspect of claim 1, wherein the directed acyclic graph is used to aggregate selected transaction requests having a dependency to obtain the at least one transaction request set. Method.
前記ブロックの生成を競合させるためのコンセンサス機構を前記ブロックチェーンネットワークにデプロイしている、ことを特徴とする請求項1に記載の方法。 The method according to claim 1, wherein a consensus mechanism for competing for the generation of the blocks is deployed in the blockchain network. ブロックチェーンネットワーク内で依存関係を有する選択対象トランザクション要求を集約して少なくとも1つのトランザクション要求集合を得るトランザクション要求集合決定モジュールと、
前記トランザクション要求集合が属する候補因子間隔を決定する候補因子間隔決定モジュールであって、前記因子間隔は、前記トランザクション要求集合がブロック生成過程に参加する確率を測定するために使用される候補因子間隔決定モジュールと、
前記候補因子間隔から現在の目標因子間隔を選択し、前記現在の目標因子間隔に対応する前記候補トランザクション要求集合から、ブロック生成過程に参加する現在の目標トランザクション要求集合を選択するトランザクション要求集合選択モジュールとを有する、ことを特徴とするブロックチェーン内のトランザクション要求処理装置。
A transaction request set determination module that aggregates selected transaction requests that have dependencies in a blockchain network to obtain at least one transaction request set, and a transaction request set determination module.
A candidate factor interval determination module that determines the candidate factor interval to which the transaction request set belongs, wherein the factor interval is used to measure the probability that the transaction request set will participate in the block generation process. Modules and
A transaction request set selection module that selects the current target factor interval from the candidate factor intervals and selects the current target transaction request set that participates in the block generation process from the candidate transaction request sets corresponding to the current target factor interval. A transaction request processor in a blockchain comprising and.
少なくとも1つのプロセッサと、
前記少なくとも1つのプロセッサに通信可能に接続されたメモリとを有し、
前記メモリは、前記少なくとも1つのプロセッサによって実行可能な命令を記憶し、前記命令は、前記少なくとも1つのプロセッサが請求項1〜10のいずれか1項に記載のブロックチェーン内のトランザクション要求処理方法を実行することを可能にするように前記少なくとも1つのプロセッサによって実行される、ことを特徴とする電子デバイス。
With at least one processor
It has a memory connected to the at least one processor so as to be communicable.
The memory stores an instruction that can be executed by the at least one processor, and the instruction uses the transaction request processing method in the blockchain according to any one of claims 1 to 10 by the at least one processor. An electronic device, characterized in that it is executed by at least one processor such that it can be performed.
コンピュータに請求項1〜10のいずれか1項に記載のブロックチェーン内のトランザクション要求処理方法を実行させるためのコンピュータ命令を格納した非瞬時コンピュータ可読記憶媒体。 A non-instantaneous computer-readable storage medium containing computer instructions for causing a computer to execute the transaction request processing method in the blockchain according to any one of claims 1 to 10. コンピュータにおいて、プロセッサにより実行されると、請求項1〜10のいずれか1項に記載のブロックチェーン内のトランザクション要求処理方法を実現ことを特徴とするプログラム。 A program according to any one of claims 1 to 10 that realizes a transaction request processing method in a block chain when executed by a processor in a computer.
JP2021049434A 2020-05-22 2021-03-24 Transaction request processing method, apparatus, device, medium, and program in blockchain Active JP7158522B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010443579.4 2020-05-22
CN202010443579.4A CN111640020B (en) 2020-05-22 2020-05-22 Transaction request processing method, device, equipment and medium in blockchain

Publications (2)

Publication Number Publication Date
JP2021103559A true JP2021103559A (en) 2021-07-15
JP7158522B2 JP7158522B2 (en) 2022-10-21

Family

ID=72331530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021049434A Active JP7158522B2 (en) 2020-05-22 2021-03-24 Transaction request processing method, apparatus, device, medium, and program in blockchain

Country Status (5)

Country Link
US (1) US11769125B2 (en)
EP (1) EP3832574A3 (en)
JP (1) JP7158522B2 (en)
KR (1) KR102620191B1 (en)
CN (1) CN111640020B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764887B (en) * 2021-01-15 2023-10-13 北京百度网讯科技有限公司 Method, device, equipment and storage medium for constructing transaction request
CN113434264B (en) * 2021-07-14 2022-08-05 上海浦东发展银行股份有限公司 Intelligent processing method, device, equipment and storage medium for task components
CN115617806B (en) * 2022-10-31 2023-07-04 哈尔滨工业大学(深圳) Block packing method and device, electronic equipment and storage medium
CN115604354B (en) * 2022-12-09 2023-03-28 北京百度网讯科技有限公司 Transaction processing method, device and equipment based on block chain and storage medium
CN115952237B (en) * 2023-01-28 2023-06-09 北京星途探索科技有限公司 Multi-terminal data fusion system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170212781A1 (en) * 2016-01-26 2017-07-27 International Business Machines Corporation Parallel execution of blockchain transactions
WO2019072303A2 (en) * 2018-12-28 2019-04-18 Alibaba Group Holding Limited Parallel execution of transactions in a blockchain network

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509370B1 (en) * 2008-05-15 2009-03-24 International Business Machines Corporation Method for optimizing parallel processing of backend transactions by prioritizing related transactions
US10291627B2 (en) * 2016-10-17 2019-05-14 Arm Ltd. Blockchain mining using trusted nodes
US20180158034A1 (en) * 2016-12-07 2018-06-07 International Business Machines Corporation Dynamic reordering of blockchain transactions to optimize performance and scalability
US10679210B2 (en) * 2017-06-26 2020-06-09 International Business Machines Corporation Blockchain transaction commitment ordering
WO2019005098A1 (en) * 2017-06-30 2019-01-03 Go Logic Decision Time, Llc Methods and systems of assertional projective simulation
CN107688999B (en) 2017-08-11 2020-11-13 杭州溪塔科技有限公司 Block chain-based parallel transaction execution method
US10873625B2 (en) * 2018-02-26 2020-12-22 International Business Machines Corpora ! Ion Service management for the infrastructure of blockchain networks
CN109166037B (en) * 2018-07-25 2022-01-25 上海魅联信息技术有限公司 Consensus method of block chains
CN109214795A (en) 2018-09-18 2019-01-15 北京物链互联科技有限公司 A kind of block chain mixing common recognition method based on DAG algorithm
CN109472566B (en) * 2018-09-26 2023-09-29 平安科技(深圳)有限公司 Block dynamic generation method, device, computer equipment and storage medium
CN109492566B (en) * 2018-10-31 2022-09-16 奇瑞汽车股份有限公司 Lane position information acquisition method, device and storage medium
CN110431579A (en) 2019-01-08 2019-11-08 张季恒 Transaction allocation method and apparatus based on structuring directed acyclic graph
CA3055108C (en) * 2019-03-28 2021-10-05 Alibaba Group Holding Limited System and method for parallel-processing blockchain transactions
US11249985B2 (en) * 2019-06-15 2022-02-15 Facebook, Inc. Scalable, secure, efficient, and adaptable distributed digital ledger transaction network
CN110619582B (en) 2019-09-18 2023-07-14 深圳前海微众银行股份有限公司 Block chain transaction method, device, equipment and computer storage medium
CN110806923B (en) * 2019-10-29 2023-02-24 百度在线网络技术(北京)有限公司 Parallel processing method and device for block chain tasks, electronic equipment and medium
CN111147242B (en) * 2019-12-31 2023-10-17 百度在线网络技术(北京)有限公司 Block generation method, device, electronic equipment and storage medium
CN111506783B (en) * 2020-04-08 2023-12-22 百度在线网络技术(北京)有限公司 Transaction request processing method, device, equipment and medium in blockchain
CN111597077B (en) * 2020-05-13 2022-04-29 腾讯科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170212781A1 (en) * 2016-01-26 2017-07-27 International Business Machines Corporation Parallel execution of blockchain transactions
WO2019072303A2 (en) * 2018-12-28 2019-04-18 Alibaba Group Holding Limited Parallel execution of transactions in a blockchain network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
アンドレアス・M・アントノプロス, ビットコインとブロックチェーン, vol. 第1版, JPN6022022221, 18 April 2018 (2018-04-18), JP, pages 12 - 44, ISSN: 0004788991 *

Also Published As

Publication number Publication date
JP7158522B2 (en) 2022-10-21
KR20210040299A (en) 2021-04-13
EP3832574A2 (en) 2021-06-09
CN111640020A (en) 2020-09-08
KR102620191B1 (en) 2024-01-03
US11769125B2 (en) 2023-09-26
EP3832574A3 (en) 2021-09-15
CN111640020B (en) 2023-09-19
US20210209567A1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
JP2021103559A (en) Transaction request processing method in block chain, apparatus, device, medium, and program
KR102482122B1 (en) Method for processing tasks in paralall, device and storage medium
Hu et al. Characterization and prediction of deep learning workloads in large-scale gpu datacenters
US9727383B2 (en) Predicting datacenter performance to improve provisioning
JP7266629B2 (en) Blockchain transaction request processing method, device, equipment, storage medium, and program
US9852173B1 (en) Systems and methods for using a reaction-based approach to managing shared state storage associated with a distributed database
US10666716B1 (en) Optimization of application parameters
Liu et al. PMAX: Tenant placement in multitenant databases for profit maximization
US20140101298A1 (en) Service level agreements for a configurable distributed storage system
CN101587491A (en) Hybrid database system using runtime reconfigurable hardware
US20210264415A1 (en) Method for processing transaction in blockchain and device
CN105359057A (en) Setting computer parameters to operate the power supply within a range based on a peak power efficiency of the power supply
Barbierato et al. Modeling apache hive based applications in big data architectures
Barzegar et al. EATSDCD: A green energy-aware scheduling algorithm for parallel task-based application using clustering, duplication and DVFS technique in cloud datacenters
US9875174B1 (en) Optimizing the execution of an application executing on a programmable execution service
CN115698958A (en) Power-performance based system management
Culhane et al. Optimal communication structures for big data aggregation
Lin et al. Impact of MapReduce policies on job completion reliability and job energy consumption
US20220188148A1 (en) Optimization for scheduling of batch jobs
Yang et al. Tear up the bubble boom: Lessons learned from a deep learning research and development cluster
Xu et al. A novel data set importance based cost-effective and computation-efficient storage strategy in the cloud
Chandrakala et al. Efficient Heuristic Replication Techniques for High Data Availability in Cloud.
US20230350733A1 (en) Virtual machine cluster placement in a cloud environment
WO2024066847A1 (en) Multi-die-based computation method and related device
US20220413986A1 (en) Tenant database placement in oversubscribed database-as-a-service cluster

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220601

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220830

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221011

R150 Certificate of patent or registration of utility model

Ref document number: 7158522

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150