[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109413202B - System and method for sorting block chain transaction information - Google Patents

System and method for sorting block chain transaction information Download PDF

Info

Publication number
CN109413202B
CN109413202B CN201811443520.4A CN201811443520A CN109413202B CN 109413202 B CN109413202 B CN 109413202B CN 201811443520 A CN201811443520 A CN 201811443520A CN 109413202 B CN109413202 B CN 109413202B
Authority
CN
China
Prior art keywords
cluster
blocks
node
sorting
sequencing
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.)
Active
Application number
CN201811443520.4A
Other languages
Chinese (zh)
Other versions
CN109413202A (en
Inventor
张全志
孙海波
刘春伟
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201811443520.4A priority Critical patent/CN109413202B/en
Publication of CN109413202A publication Critical patent/CN109413202A/en
Application granted granted Critical
Publication of CN109413202B publication Critical patent/CN109413202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a system and a method for sequencing block chain transaction information, wherein the system comprises: the system comprises a sequencing cluster, a verification node cluster and a sequencing distribution center ODC, wherein the ODC is used for determining at least one target sequencing node in the sequencing cluster according to a preset standard and then transmitting information of the at least one target sequencing node to a client cluster, the at least one target sequencing node is used for generating M corresponding blocks from the received N transaction information, transmitting description information of the M blocks to the ODC, sequencing the M blocks and transmitting the M blocks to the verification node cluster. The system and the method for sorting the block chain transaction information improve the efficiency of sorting the block chain transaction information.

Description

System and method for sorting block chain transaction information
Technical Field
The present invention relates to a blockchain technology, and more particularly, to a system and method for sorting blockchain transaction information.
Background
The super account book technology is a technology for sequencing transaction information in a blockchain, aiming at the transaction information generated in the blockchain production process, and sequencing service for the blockchain provided by the existing super account book is mainly in a card mode. After transaction information is processed by all nodes in a sequencing cluster deployed on a server, all transaction information is sequenced by a main node in the sequencing cluster.
However, in the prior art, although there are multiple nodes in the sorting cluster of the super ledger, the sorting service can be performed only by the master node in the sorting cluster. When the sequencing cluster needs to sequence a large amount of transaction information, if the processing performance of the master node in the sequencing cluster is poor and the sequencing speed is slow, the efficiency of sequencing the large amount of transaction information is affected. Therefore, how to improve the efficiency of sorting the block chain transaction information by the super ledger is a technical problem to be solved urgently at present.
Disclosure of Invention
The invention provides a system and a method for sorting block chain transaction information, which improve the efficiency of sorting the block chain transaction information.
The invention provides a system for sorting block chain transaction information in a first aspect, which comprises:
the system comprises a sequencing cluster, a verification node cluster and a sequencing distribution center ODC;
the ODC is used for determining at least one target sorting node in the sorting cluster according to a preset standard;
the at least one target sorting node is used for generating M corresponding blocks from the received N transaction information, transmitting description information of the M blocks to the ODC, sorting the M blocks, and transmitting the M blocks to the verification node cluster;
the ODC is further configured to determine sequence numbers of the M blocks and transmit the sequence numbers of the M blocks to the verification node cluster;
the cluster of verification nodes is to add the M blocks to a first chain of blocks according to the M blocks and sequence numbers of the M blocks.
In an embodiment of the first aspect of the invention, the ODC is further adapted to,
acquiring a registration request of each sequencing node in the sequencing cluster;
and registering and recording the information of each sequencing node in the sequencing cluster.
In an embodiment of the first aspect of the present invention, the cluster of verification nodes is specifically configured to,
and sequentially adding the M blocks into the first block chain according to the sequence of the sequence numbers of the M blocks.
In an embodiment of the first aspect of the present invention, the preset criteria include: and at least one sequencing node with the lightest load in the sequencing cluster is the at least one target sequencing node.
In an embodiment of the first aspect of the present invention, the preset criteria include: and at least one sorting node closest to the geographic position of the client cluster in the sorting cluster is the at least one target sorting node.
The second aspect of the present invention provides a method for sorting blockchain transaction information, including:
after at least one target sorting node in the sorting cluster is determined according to a preset standard;
generating M corresponding blocks from the received N transaction information through the at least one target sorting node, transmitting description information of the M blocks to the ODC, sorting the M blocks, and transmitting the M blocks to the verification node cluster;
determining sequence numbers of the M blocks;
adding the M blocks into a first block chain according to the M blocks and the sequence numbers of the M blocks.
In an embodiment of the second aspect of the present invention, before determining at least one target sorting node in the sorting cluster according to a preset criterion, the method further includes:
acquiring a registration request of each sequencing node in the sequencing cluster;
and registering and recording the information of each sequencing node in the sequencing cluster.
In an embodiment of the second aspect of the present invention, the adding the M blocks into a first block chain according to the M blocks and sequence numbers of the M blocks includes:
and sequentially adding the M blocks into the first block chain according to the sequence of the sequence numbers of the M blocks.
In an embodiment of the second aspect of the present invention, the preset criteria include: and the sequencing node with the lightest load in the sequencing cluster is the at least one target sequencing node.
In an embodiment of the second aspect of the present invention, the preset criteria include: and the sorting node closest to the geographical position of the client cluster in the sorting cluster is the at least one target sorting node.
A third aspect of the present invention provides an electronic device comprising: a processor, a memory, and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method according to any of the second aspects of the invention.
A fourth aspect of the invention provides a computer readable storage medium storing a computer program which, when executed, performs the method of any of the second aspects of the invention.
In summary, the present invention provides a system and a method for sorting blockchain transaction information, wherein the system includes: the system comprises a sequencing cluster, a verification node cluster and a sequencing distribution center ODC; the ODC is used for determining at least one target sorting node in the sorting cluster according to a preset standard; the at least one target sorting node is used for generating M corresponding blocks from the received N transaction information, transmitting description information of the M blocks to the ODC, sorting the M blocks, and transmitting the M blocks to the verification node cluster; the ODC is also used for determining the sequence numbers of the M blocks and transmitting the sequence numbers of the M blocks to the verification node cluster; the verification node cluster is used for adding the M blocks into the first block chain according to the sequence numbers of the M blocks and the M blocks. Therefore, in the system and the method for sorting blockchain transaction information provided by the invention, the ODC determines at least one target sorting node in the sorting cluster to sort the transaction information requested by the client cluster, so that the most appropriate sorting node can be determined from the sorting cluster to perform sorting service on the transaction information, and further the efficiency of sorting blockchain transaction information is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating a block chain transaction information sorting system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for sorting blockchain transaction information according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for sorting blockchain transaction information according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 is a schematic structural diagram of a system for sorting blockchain transaction information according to an embodiment of the present invention. As shown in fig. 1, the system 1 for sorting blockchain transaction information provided in this embodiment includes: a sorting node sorting cluster 4, a verification node cluster 5 and a sorting distribution Center (ODC) 3. The client cluster 2, the sorting cluster 3 and the verification node cluster 5 in the sorting system 1 are connected in pairs, and the ODC3 is respectively connected with the client cluster 2, the sorting cluster 4 and the verification node cluster 5.
As shown in fig. 1, the Client cluster 2 is a Client Group or is translated into a Client cluster, and includes a plurality of Client nodes, each Client node may be a terminal initiating a transaction, and the number of the Client nodes included in the Client cluster is not limited. The client cluster is a cluster concept abstracted by a plurality of client nodes, and the client cluster is respectively connected with the verification node cluster 5, the sorting cluster 4 and the ODC3, which can be understood that each client node in the client cluster is connected with the verification node cluster 5, the sorting cluster 4 and the ODC 3.
Sort cluster 4 is an Orderer Group, or translates to an Orderer cluster. Likewise, the sort cluster 4 also includes a plurality of sort nodes, each of which may be an abstract node deployed on a server, each of which may be used to provide sort services in blockchain technology. The sequencing cluster 4 is connected to the verification node cluster 5, the client cluster 2 and the ODC3, respectively, it can also be understood that each sequencing node in the sequencing cluster 4 is connected to the verification node cluster 5, the client cluster 2 and the ODC 3.
The cluster of verification nodes 5 is a Peer Group or translated into a Peer cluster. The verification node cluster 5 includes a plurality of verification nodes, each of which may be an abstract node deployed on a server, and each of which may be used to provide a service for packing blocks into a blockchain in blockchain technology. The verification node cluster 5 connects the ordering cluster 4, the ODC3 and the client cluster 2, respectively, and it is also understood that each verification node in the verification node cluster 5 is connected to the ordering cluster 4, the ODC3 and the client cluster 2.
In particular, the ODC3 provided in this embodiment connects the client cluster 2, the ordering cluster 4, and the verification node cluster 5, respectively. The ODC may be any electronic device with data processing, or a node disposed on the server, and is configured to provide a management function of the sorting cluster 4, provide a suitable sorting node to provide a sorting service for the transaction information when the client cluster 2 requests the transaction information to be sorted, and provide a sorting service for the block when the verification node uploads the block of the transaction information. Specifically, in the embodiment shown in fig. 1, when the client cluster 2 needs to sort the transaction information of the initiated and processed blockchain, unlike the prior art that requests the sorting cluster 4 to provide a sorting service directly, the client cluster 2 that needs a sorting service in this embodiment requests the ODC3 to sort its N transaction information. Wherein the request may be by the client cluster 2 sending a request message to the ODC 3.
After receiving the request of the client cluster 2 for ordering the transaction information, the ODC3 determines at least one most suitable target ordering node from the ordering cluster 4 according to a preset criterion to provide the requested transaction information ordering service for the client cluster 2. And when the ODC determines at least one target sorting node, notifies the client cluster 2 requesting the transaction information sorting service of the at least one target sorting node. The notification may be performed by transmitting the relevant information of the at least one target sorting node, such as the address, name, location, etc., to the client cluster 2. Subsequently, when the client cluster 2 receives the information of the at least one target sorting node transmitted by the ODC3, the requested N transaction information are transmitted to the at least one target sorting node in the sorting cluster 4.
Optionally, in this embodiment, the target sorting node is at least one sorting node with the lightest load in the sorting cluster, for example, one sorting node with the lightest load or a plurality of sorting nodes sorted according to the lightest load. Alternatively, the target ranking node is at least one ranking node in the ranking cluster that is closest to the geographic location of the client cluster, e.g., the closest ranking node or a plurality of ranking nodes that are closest in rank by distance. Specifically, the ODC3 determines at least one target ranking node determined from the ranking cluster 4 in order to select a more appropriate at least one ranking node to rank the transaction information, so as to prevent all ranking services in the prior art ranking cluster from being burdened by the master node in the ranking cluster. And the ODC3 is at least one target ranking node determined to be most suitable from the ranking cluster 4 by a preset criterion. For example, if the client cluster 4 requests ranking of N transaction messages for a client node, the ODC3 determines at least one target ranking node that is geographically closest to the client node to provide ranking services for the N transaction messages to reduce the communication overhead between the two from a physical distance. For another example, when the client cluster 4 requests to sort N transaction information, the ODC3 determines the operating states of all sorting nodes in the sorting cluster 4, and sorts the N transaction information requested at this time by using at least one node with the least processed traffic or the least loaded traffic among the sorting nodes as at least one target sorting node, so as to improve the speed and efficiency of sorting the N transaction information.
Optionally, in order to determine the information of each sorting node in the connected sorting cluster 4 to determine the target sorting node, the ODC3 in this embodiment needs to register each sorting node in the sorting cluster 4 with the ODC 3. That is, each sequencing node may register with the ODC3 by sending a registration request to the ODC 3. Causing the ODC3 to request a registration by obtaining a registration request for each sort node in the sort cluster; then according to the registration request, registering and recording the information of each sequencing node in the sequencing cluster, wherein the information of each sequencing node at least comprises: the ID of the node, the location of the node, and the processing power of the node, etc.
Subsequently, after one or more sequencing nodes in the sequencing cluster receive the N transaction information transmitted by the client cluster 2, at least one target sequencing node generates M corresponding blocks from the N transaction information received by the sequencing cluster and sequences the M blocks, and transmits the M blocks to a relevant verification node in the verification node cluster 5, so that the relevant verification node adds the M blocks to a target block chain. Meanwhile, at least one target sorting node needs to transmit description information of the M blocks to the ODC in addition to transmitting the M blocks to the relevant verification node, so that the ODC provides a sorting service of the blocks when the relevant verification node adds the M blocks to the first block chain. Specifically, at least one target sorting node may transmit only basic information of the description information of the M tiles, such as names, positions, sorting, and the like, to the ODC3, and the ODC3 may store the order of the M tiles by recording sequence numbers of the M tiles according to the description information of the M tiles. The description information described herein should at least include basic information of each of the M blocks, where the basic information includes but is not limited to hash values of the M blocks to ensure uniqueness of the M blocks, or the basic information may also include ordering of the blocks in a block chain to ensure that the verification node clusters form a consistent block chain according to the ordering. It should be noted that the operations of at least one target sorting node transmitting the description information of the M blocks to the ODC3 and transmitting the M blocks to the corresponding verification nodes in the verification node cluster 5 may be performed simultaneously or sequentially.
Finally, the respective verification node in the cluster of verification nodes 5 adds M tiles to the first blockchain according to the M tiles received from the target sorting node and the sequence numbers of the M tiles received from the ODC 3. The first blockchain herein may refer to N blockchains to which the transaction information needs to be added correspondingly, or may be a blockchain to which a corresponding verification node in any verification node cluster 5 may be added. That is, when a tile is added to the tile chain by the corresponding verification node in the verification node cluster 5 provided in the present embodiment, only the data of M tiles is obtained from the sorting cluster 4, and the sequence numbers of the M tiles are obtained from the ODC 3. In a manner of separately managing data and sequence numbers, the sorting cluster is only responsible for processing the blocks of the transaction information, the ODC is only responsible for sorting the blocks, the sorting results of the blocks are provided by the ODC for all the sorting services requested by the client cluster 2, and the sorting results of the ODC3 are used as a sorting basis when the verification node cluster 5 adds the blocks to the block chain. Thus, finally, the corresponding verification nodes in the verification node cluster 5 sequentially add the M blocks to the first block chain according to the sequence of the sequence numbers of the M blocks.
In summary, in the system for sorting blockchain transaction information provided in this embodiment, the ODC is configured to determine at least one target sorting node in the sorting cluster according to a preset standard; the at least one target sorting node is used for generating M corresponding blocks from the N transaction information of the client cluster, sorting the M blocks, transmitting the description information of the M blocks to the ODC, and transmitting the M blocks to the verification node cluster; the ODC is also used for determining the sequence numbers of the M blocks and transmitting the sequence numbers of the M blocks to the verification node cluster; the verification node cluster is used for adding the M blocks into the first block chain according to the sequence numbers of the M blocks and the M blocks. Therefore, in the system for sorting blockchain transaction information provided by this embodiment, at least one target sorting node in the sorting cluster is determined by the ODC to sort the transaction information requested by the client cluster, so that the most appropriate sorting node can be determined from the sorting cluster to perform a sorting service on the transaction information, and the efficiency of sorting blockchain transaction information is improved.
Further, in the above embodiment, since each sequencing node in the sequencing cluster 4 can provide a sequencing service for the transaction information requested by the client cluster 2, in this implementation, a distributed parallel processing manner can be adopted to provide a sequencing service for the client cluster 2 at the same time. For example, assuming that there are 3 sort nodes in the sort cluster 4, which are denoted as a node, B node and C node, when the ODC3 first receives the sort service of N transaction information requested by the client cluster 2, the ODC3 determines the a node with the smallest load at this time among the 3 sort nodes to process the N transaction information. If the ODC3 also receives the service of ordering another P transaction messages requested by the client cluster 2, it determines the node B with the lowest load from the remaining 2 ordering nodes to process the P transaction messages. Therefore, in this embodiment, the ODC3 can determine different ranking nodes to process the ranking service requested by the client cluster, and even if the traffic requested by the client cluster is large, the processing efficiency of the ranking service for the transaction information can be further improved by a distributed processing manner.
Fig. 2 is a flowchart illustrating a method for sorting blockchain transaction information according to an embodiment of the present invention. In the embodiment shown in fig. 2, a method that may be performed by the blockchain transaction information sorting system shown in fig. 1 is shown, and includes: 1. all sequencing nodes register themselves to the ODC; 2. the client cluster requests available sequencing services to the ODC, and the ODC selects sequencing nodes with smaller load capacity from the registered sequencing nodes and returns the sequencing nodes to the client cluster according to the load of the sequencing nodes; 3. the client cluster initiates a transaction and endorses the transaction by the related verification node cluster, and checks the endorsement result; 4. the client submits the transaction information to a previous request to a sequencing node; 5. the sequencing node sequences the received transactions, forms blocks by the transactions, and transmits block information to related verification nodes in the verification node cluster; then the sequencing cluster transmits the transmitted basic block information to the ODC; 6. after receiving the basic block information transmitted by the sequencing cluster, the ODC sequences the blocks; 7. and the block sorting information is transmitted to relevant verification nodes in the verification node cluster, and the verification nodes add the received blocks into the block chain according to the sorting information.
Fig. 3 is a flowchart illustrating a method for sorting blockchain transaction information according to an embodiment of the present invention. As shown in fig. 3, the method for sorting blockchain transaction information provided in this embodiment may be applied to the system for sorting blockchain transaction information shown in fig. 1, where the method of this embodiment includes:
s101: determining at least one target sorting node in a sorting cluster according to a preset standard
S102: generating corresponding M blocks from the received N transaction information through at least one target sorting node and sorting the M blocks;
s103: determining the sequence numbers of the M blocks;
s104: the M blocks are added to the first chain of blocks according to the M blocks and their sequence numbers.
The method for sorting blockchain transaction information provided in this embodiment may be executed by the system for sorting blockchain transaction information shown in fig. 1, and the implementation manner and principle thereof are the same and will not be described again.
Optionally, in the above embodiment, before S101, the method further includes:
acquiring a registration request of each sequencing node in the sequencing cluster;
and registering and recording the information of each sequencing node in the sequencing cluster.
Alternatively, in the above embodiment, S105: adding the M blocks into the first block chain according to the M blocks and the sequence numbers of the M blocks, including:
and sequentially adding the M blocks into the first block chain according to the sequence numbers of the M blocks.
Optionally, in the above embodiment, the preset criteria include: and at least one sequencing node with the lightest load in the sequencing cluster is at least one target sequencing node.
Optionally, in the above embodiment, the preset criteria include: and at least one sorting node closest to the geographic position of the client cluster in the sorting cluster is at least one target sorting node.
The method for sorting blockchain transaction information provided in this embodiment may be executed by the system for sorting blockchain transaction information shown in the foregoing embodiments, and the implementation manner and principle thereof are the same and will not be described again.
The present application further provides a computer program product, wherein the computer program product comprises program code for implementing the method for sorting blockchain transaction information according to any of the above embodiments when the program code is executed by a processor.
The present invention also provides an electronic device comprising: a processor, a memory, and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of any of the above embodiments.
The invention also provides a computer readable storage medium storing a computer program which, when executed, implements a method as in any one of the above embodiments.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and any simple modification, equivalent change and modification made to the above embodiment according to the technical spirit of the present invention are still within the scope of the technical solution of the present invention.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A system for sorting blockchain transaction information, comprising:
the system comprises a sequencing cluster, a verification node cluster and a sequencing distribution center ODC;
the ODC is used for determining at least one target sorting node in the sorting cluster according to a preset standard;
the at least one target sorting node is used for generating M corresponding blocks from the received N transaction information, and transmitting description information of the M blocks to the ODC, and the ODC is used for sorting the M blocks and then transmitting the M blocks to the verification node cluster;
the ODC is further configured to determine sequence numbers of the M blocks and transmit the sequence numbers of the M blocks to the verification node cluster;
the cluster of verification nodes is to add the M blocks to a first chain of blocks according to the M blocks and sequence numbers of the M blocks.
2. The system in accordance with claim 1, wherein the ODC is further configured to,
acquiring a registration request of each sequencing node in the sequencing cluster;
and registering and recording the information of each sequencing node in the sequencing cluster.
3. The system of claim 1, wherein the cluster of validation nodes is specifically configured to,
and sequentially adding the M blocks into the first block chain according to the sequence of the sequence numbers of the M blocks.
4. The system according to any one of claims 1-3, wherein the preset criteria include: and at least one sequencing node with the lightest load in the sequencing cluster is the at least one target sequencing node.
5. The system according to any one of claims 1-3, wherein the preset criteria include: and at least one sorting node closest to the geographic position of the client cluster in the sorting cluster is the at least one target sorting node.
6. A method for sorting blockchain transaction information, comprising:
determining at least one target sorting node in the sorting cluster according to a preset standard;
generating the received N transaction information into corresponding M blocks through the at least one target sorting node;
sorting the M blocks;
determining sequence numbers of the M blocks;
adding the M blocks into a first block chain according to the M blocks and the sequence numbers of the M blocks.
7. The method of claim 6, wherein before determining at least one target sort node in the sort cluster according to a preset criterion, further comprising:
acquiring a registration request of each sequencing node in the sequencing cluster;
and registering and recording the information of each sequencing node in the sequencing cluster.
8. The method of claim 6, wherein adding the M blocks into a first block chain according to the M blocks and sequence numbers of the M blocks comprises:
and sequentially adding the M blocks into the first block chain according to the sequence of the sequence numbers of the M blocks.
9. The method according to any one of claims 6 to 8, wherein the preset criteria include: and at least one sequencing node with the lightest load in the sequencing cluster is the at least one target sequencing node.
10. The method according to any one of claims 6 to 8, wherein the preset criteria include: and at least one sorting node closest to the geographic position of the client cluster in the sorting cluster is the at least one target sorting node.
11. An electronic device, comprising: a processor, a memory, and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of any of claims 6-10.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed, implements the method of any of claims 6-10.
CN201811443520.4A 2018-11-29 2018-11-29 System and method for sorting block chain transaction information Active CN109413202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811443520.4A CN109413202B (en) 2018-11-29 2018-11-29 System and method for sorting block chain transaction information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811443520.4A CN109413202B (en) 2018-11-29 2018-11-29 System and method for sorting block chain transaction information

Publications (2)

Publication Number Publication Date
CN109413202A CN109413202A (en) 2019-03-01
CN109413202B true CN109413202B (en) 2021-07-09

Family

ID=65456283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811443520.4A Active CN109413202B (en) 2018-11-29 2018-11-29 System and method for sorting block chain transaction information

Country Status (1)

Country Link
CN (1) CN109413202B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380898B (en) * 2019-07-08 2022-11-15 紫光云技术有限公司 Hyperhedger Fabric-based multi-operator edge service chain arrangement strategy
US11336455B2 (en) 2019-09-25 2022-05-17 International Business Machines Corporation Consensus protocol for blockchain DAG structure
US11736456B2 (en) 2020-09-29 2023-08-22 International Business Machines Corporation Consensus service for blockchain networks
CN113708968B (en) * 2021-08-27 2023-08-11 中国互联网络信息中心 Node election control method and device for block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641342B2 (en) * 2015-02-26 2017-05-02 Skuchain, Inc. Tracking unitization occurring in a supply chain
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain
CN108769142A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Exchange information processing method and block generate node
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10565570B2 (en) * 2016-09-27 2020-02-18 The Toronto-Dominion Bank Processing network architecture with companion database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641342B2 (en) * 2015-02-26 2017-05-02 Skuchain, Inc. Tracking unitization occurring in a supply chain
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain
CN108769142A (en) * 2018-05-11 2018-11-06 中国联合网络通信集团有限公司 Exchange information processing method and block generate node
CN108810137A (en) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 A kind of alliance's block catenary system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Performance Benchmarking and Optimizing Hyperledger Fabric Blockchain Platform";Parth Thakkar,Senthil Nathan,Balaji Viswanathan;《2018 IEEE 26th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)》;20181108;全文 *
"基于动态授权的拜占庭容错共识算法的区块链性能改进研究";刘肖飞;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180131;全文 *
"超级账本hyperledger fabric第五集:共识排序及源码阅读";super_lixiang;《CSDN》;20181107;全文 *

Also Published As

Publication number Publication date
CN109413202A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109413202B (en) System and method for sorting block chain transaction information
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
CN107332876B (en) Method and device for synchronizing block chain state
CN108712488B (en) Data processing method and device based on block chain and block chain system
US9665428B2 (en) Distributing erasure-coded fragments in a geo-distributed storage system
CN109117275B (en) Account checking method and device based on data slicing, computer equipment and storage medium
CN104539681A (en) Distributed GIS accelerating system and GIS service processing method
CN102223411A (en) Method and system for downloading file by adopting P2P (Peer-to-Peer) technology and client side
CN110597922B (en) Data processing method, device, terminal and storage medium
CN107317764B (en) Traffic load balancing method, system, device and computer readable storage medium
US8880665B2 (en) Nonstop service system using voting, and information updating and providing method in the same
US20190372825A1 (en) Communication apparatus, communication method, and recording medium
CN110290168A (en) Data transmission method for uplink, device, server and storage medium
CN110321225A (en) Load-balancing method, meta data server and computer readable storage medium
KR101600717B1 (en) Method and apparatus for download virtual machine operating system image
CN110958666A (en) Network slice resource mapping method based on reinforcement learning
CN114338695A (en) Leader election method, device, equipment and storage medium based on multiple copies
CN114238703A (en) Event flow arrangement method, device and application
CN110839061B (en) Data distribution method, device and storage medium
CN112001796A (en) Method and device for processing service in block chain system
CN112100234B (en) Content addressing method and system of graph type account book based on random consensus
CN111428277B (en) Block chain data verification method, device and system
CN105335362A (en) Real-time data processing method and system, and instant processing system
US9727655B2 (en) Searching system, method and P2P device for P2P device community
CN111209100B (en) Service processing and data source determining method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant