WO2020019343A1 - Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations - Google Patents

Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations Download PDF

Info

Publication number
WO2020019343A1
WO2020019343A1 PCT/CN2018/097650 CN2018097650W WO2020019343A1 WO 2020019343 A1 WO2020019343 A1 WO 2020019343A1 CN 2018097650 W CN2018097650 W CN 2018097650W WO 2020019343 A1 WO2020019343 A1 WO 2020019343A1
Authority
WO
WIPO (PCT)
Prior art keywords
application server
ring
message
server cluster
management
Prior art date
Application number
PCT/CN2018/097650
Other languages
English (en)
Chinese (zh)
Inventor
袁振南
孟天晖
Original Assignee
袁振南
区链通网络有限公司
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 袁振南, 区链通网络有限公司 filed Critical 袁振南
Priority to PCT/CN2018/097650 priority Critical patent/WO2020019343A1/fr
Priority to CN201880002403.6A priority patent/CN109496407B/zh
Publication of WO2020019343A1 publication Critical patent/WO2020019343A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/042Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
    • 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

Definitions

  • the present invention relates to the field of blockchain, and in particular, to a method, device, and storage medium for message transmission in a blockchain system.
  • Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithms.
  • Blockchain technology uses a blockchain-type data structure to verify and store data, and uses distributed node consensus algorithms to generate A new distributed infrastructure and computing method that updates and updates data, uses cryptography to ensure data transmission and access security, and uses smart contracts composed of automated script code to program and manipulate data.
  • server nodes in a blockchain network system are responsible for processing business logic and managing resource logic at the same time. Each server node broadcasts the messages it receives to other server nodes. Higher network delays often cause messages to fail to be fast.
  • the present invention provides a message management method in a blockchain system.
  • the blockchain system includes: a management ring, which is composed of a plurality of application server clusters that are used to run a blockchain program.
  • a worker ring consisting of several resource server clusters, which are used to provide resources and forward data;
  • the message transmission method includes:
  • a plurality of application server clusters are logically formed into a management ring structure with a ring structure, and the management ring is divided into a plurality of management ring fragments; a plurality of resource server clusters are logically formed into a worker ring with a ring structure, and The worker ring is divided into several worker ring fragments; the management ring fragment manages the corresponding worker ring fragments;
  • the resource server cluster in the worker ring shard sends a message of the blockchain system to the application server cluster that manages the ring shard of the worker ring shard;
  • the application server cluster running the blockchain program receives the message of the blockchain system, and sends the message to other application server clusters that manage the ring segment corresponding to the application server cluster; and sends the message to each other Is an application server cluster of a peer node, the application server clusters that are peer nodes send the message to other application server clusters of the corresponding management ring segment.
  • the dividing the management ring into a plurality of management ring fragments includes:
  • the number of application server clusters sharded per management ring is Divide the management ring into Management ring shards; wherein the number of application server clusters is N, and Is a positive integer.
  • the application server cluster running a blockchain program receives a message of the blockchain system
  • the application server cluster is a slice header application server cluster that manages ring shards and is spaced from the slice header in the same direction
  • the distance of the application server cluster is 1 to Of application server clusters belong to the same management ring shard.
  • the resource server cluster in the worker ring shard sends a message of the blockchain system to the application server cluster that manages the management ring shard of the worker ring shard, including:
  • the resource server cluster determines the service type of the message of the blockchain system, and sends the message with the corresponding service type to the application server cluster that manages the ring segment of the worker ring segment.
  • the application server cluster that is a peer node sends the message to other application server clusters corresponding to the management ring segment, and include:
  • the application server cluster stores the message into a block, and the application server cluster on the management ring generates the block from the block chain.
  • the present invention provides a message transmission method in a blockchain system from the perspective of a single application server cluster, including:
  • the application server cluster on the management ring receives the message of the blockchain system sent by the resource server cluster managed by the worker ring shard;
  • the application server cluster when the application server cluster receives a message from the resource server cluster that manages the worker ring shards and sends a blockchain system message, the application server cluster is a header application server cluster in the management ring shards.
  • the sending the message to an application server cluster that is a peer node with the application server cluster so that the application server cluster that is a peer node sends the message to a corresponding management ring branch.
  • the cluster of other application servers it also includes:
  • the message is stored in a block, and the other application server clusters on the management ring generate the block chain with the block.
  • the present invention also provides a message transmission device in a blockchain system, including:
  • Receiving module used to receive the message of the blockchain system sent by the resource server cluster managed by the worker ring shard;
  • a transmission module for sending the message to other application server clusters of the management ring shard corresponding to the application server cluster; and sending the message to the application server cluster that is a peer node with the application server cluster,
  • the application server clusters that are peer nodes to each other send the message to other application server clusters of the corresponding management ring segment.
  • the present invention also provides a computer-readable storage medium.
  • the computer-readable storage medium stores a computer program, and the computer program implements the above-mentioned message transmission method in the blockchain system when executed by a processor. .
  • the present invention has the following beneficial effects:
  • the invention divides the server cluster in the blockchain system according to the application server cluster and the resource server cluster, and logically forms the application server cluster into several management ring fragments, and logically forms the resource server cluster after the ring.
  • the server cluster on the ring can realize point-to-point, point-to-multipoint transmission of messages, while managing worker ring fragments based on management ring fragments, and synchronously receiving the management ring fragments to the management ring fragments.
  • the server cluster on the management ring shard After receiving the message, receives the message and transmits the message based on each management ring shard, so that the messages on the management ring shard can be quickly transmitted to the application server cluster on the management ring, improving the blockchain system.
  • each server cluster can be used as the slice header server cluster, so that the shards that make up the ring can be dynamically changed to complete management more flexibly.
  • the fragmentation of ring and worker ring greatly improves the efficiency of message transmission.
  • FIG. 1 is a schematic flowchart of an embodiment of a message transmission method in a blockchain system of the present invention
  • FIG. 2 is a schematic structural diagram of an embodiment of a management ring and a worker ring in a blockchain system of the present invention
  • FIG. 3 is a three-dimensional structure diagram of an embodiment of a management ring and a worker ring in a blockchain system of the present invention
  • FIG. 4 is a schematic flowchart of another embodiment of a message transmission method in a blockchain system of the present invention.
  • FIG. 5 is a schematic diagram of an embodiment of a message transmission device in a blockchain system of the present invention.
  • FIG. 6 is a schematic structural diagram of an embodiment of a server according to the present invention.
  • the present invention describes a message transmission method in a blockchain system provided by the present invention from the whole of the blockchain system.
  • the message includes a transaction message, and the method is applied to the blockchain system.
  • the blockchain system includes: a management ring, which is composed of several application server clusters, which are used to run a blockchain program; a worker ring, which is composed of several resource server clusters, the resource server cluster Used to provide resources and forward data; as shown in Figure 1, the method includes the following steps:
  • S10 logically forming a plurality of application server clusters into a management ring structure with a ring structure, dividing the management ring into a plurality of management ring fragments; logically forming a plurality of resource server clusters into a worker ring with a ring structure, The worker ring is divided into several worker ring fragments; the management ring fragment manages the corresponding worker ring fragments.
  • the most demanded resource of the blockchain system is computing power.
  • Platforms equipped with the blockchain system require a large number of servers for transaction calculation and information transmission.
  • a specific number of servers are combined into a server cluster.
  • Several server clusters (shown as Untiy in Figure 2) logically form a ring network with a ring structure.
  • the blockchain system operates in a management ring (shown by Ring 0 in FIG. 2 and FIG. 3) and a worker ring (shown by Ring 1 in FIG. 2 and FIG. 3).
  • the management ring is logically established through forwarding rules based on the IEEE 802.1 specification, and the server cluster on the management ring supports point-to-point messages. , Multipoint-to-multipoint, and point-to-multipoint transmission.
  • the message transmission is preferably performed in a point-to-point and point-to-multipoint manner.
  • the worker ring is a number of resource servers.
  • the cluster is logically established based on the forwarding rules of the IEEE 802.1 specification. Messages from the server cluster on the worker ring support point-to-point, multipoint-to-multipoint, and point-to-multipoint transmission.
  • the management ring is divided into several management ring fragments, the worker ring is divided into several worker ring fragments, and then The management ring shard manages the corresponding worker ring shard.
  • the management ring shard management worker ring shard is the application resource server on the management ring corresponding to one or more shards on the management ring.
  • the index information on the shards is used to synchronize the messages received by the worker ring.
  • Group in Figure 2 shows a shard on the management ring.
  • the resource server cluster in the worker ring shard sends a message of the blockchain system to the application server cluster that manages the management ring shard of the worker ring shard.
  • the application server cluster on the management ring shard all receives the message.
  • the application server cluster on the management ring shard manages one or more worker ring shards on the worker ring, and one worker ring
  • the sharding also includes several resource server clusters.
  • the resource server cluster of the worker ring shard is responsible for receiving messages generated by the blockchain system, and then synchronizing the messages to the application server cluster that manages the ring shards of the worker ring shards. That is, the resource server cluster sends messages to the corresponding application server cluster.
  • the application server cluster S1 on the management ring shard GROUP1 manages the worker ring shards GROUPA and GROUPB.
  • the worker ring shards GROUPA and GROUP After any resource server cluster on B receives a message from the blockchain system, it sends the message to the application server cluster S1.
  • the application server cluster running the blockchain program receives the message of the blockchain system, and sends the message to other application server clusters of the management ring segment corresponding to the application server cluster; and, sends the message To the application server clusters that are peer nodes to each other, the application server clusters that are peer nodes to each other send the message to other application server clusters of the corresponding management ring segment.
  • the management ring provides logical computing power for processing blockchain business, and there is no distinction between blockchain business.
  • the logical operation of the blockchain business provided by the blockchain system It is processed by the application server cluster on the management ring.
  • the blockchain program runs on the application server cluster on the management ring and enjoys the computing power of the application server cluster.
  • the application server cluster running the blockchain program When sending a message to the blockchain system sent by the resource server cluster in the managed worker ring shard, the message is sent to other application server clusters in the management ring shard corresponding to the application server cluster, such as the management ring Divided into six management ring segments GROUP1, GROUP2, ..., GROUP6, GROUP1 contains application server clusters S1, S2, S3, S4, S5, S6, and GROUP2 contains application server clusters S7, S8, S9, S10, S11, S12; when the application server cluster S1 receives the message of the blockchain system sent by the resource server in the managed resource server allocation, due to the management loop
  • the application server cluster on the logical loop can provide a point-to-many information transmission function.
  • the application server cluster S1 sends the message to other application server clusters S2, S3, S4, and S5 of the corresponding management ring segment GROUP1.
  • S6 the application server cluster that received the message sends the message to the application server clusters that are peer nodes to each other.
  • the application server clusters at the same position in the two management ring segments interact with each other. Is a peer node (Counterpart shown in FIG. 2 is two application server clusters that are peer nodes to each other), and then the application server cluster that is a peer node sends the message to the corresponding application server cluster.
  • application server cluster S1 in GROUP1 and application server cluster S7 in GROUP2 are peer nodes to each other, and the application server cluster S1 sends the message to applications that are peer nodes to each other Server cluster S7, and then the application server cluster S7 that is a peer node sends the message to the corresponding management ring segment GROUP2
  • other management ring segments GROUP3, ..., GROUP6 pass messages in this way to complete all the blockchain program running on the management ring segment Application server cluster message delivery.
  • the server cluster in the blockchain system is separated according to the application server cluster and the resource server cluster, and the application server cluster is logically divided into several management ring fragments, and the resource server cluster is logically formed into a ring. It is divided into several worker ring fragments.
  • the server cluster on the ring can realize the point-to-point and point-to-multipoint transmission of messages.
  • the worker ring fragments are managed based on the management ring fragments, and the management ring fragments are synchronized to the management ring fragments.
  • the server cluster on the management ring shard After receiving the message, the server cluster on the management ring shard transmits the message based on each management ring shard after receiving the message, so that the messages on the management ring shard can be quickly transmitted to the application server cluster on the management ring, improving the blockchain Messaging efficiency in the system; Also, the role of each server cluster on the ring is the same, and each server cluster can be used as the slice header server cluster, so that the shards that make up the ring can be dynamically changed and completed more flexibly. The fragmentation of the management ring and the worker ring greatly improves the efficiency of message transmission.
  • the dividing the management ring into a plurality of management ring fragments includes:
  • the number of application server clusters sharded per management ring is Divide the management ring into Management ring shards; wherein the number of application server clusters is N, and Is a positive integer.
  • the number of application server clusters for each management ring shard is Dividing the management ring into Management ring sharding to ensure that the number of management ring shards is equal to the number of application server clusters in each management ring shard, thereby facilitating dynamic shard management of the management ring.
  • the number of application server clusters is N, and the Is a positive integer, for example, if there are 36 application server clusters on the management ring, the management ring is divided into Management ring shards, each management ring shard includes 6 application server clusters.
  • each worker ring shard includes A resource server cluster is convenient to manage ring shards to manage workers' ring shards.
  • an embodiment of the present invention when the application server cluster running a blockchain program receives a message from the blockchain system, the application server cluster is a management ring fragment Title application server cluster, the distance from the title application server cluster in the same direction is 1 to Of application server clusters belong to the same management ring shard.
  • the management ring performs sharding based on a dynamic sharding paradigm.
  • the roles of application server clusters on the management ring are the same, and each application server cluster can be regarded as a management ring shard.
  • the slice header of a management ring segment is defined as the slice header application server cluster.
  • an application server cluster running a blockchain program receives a message from the blockchain system, the application server cluster is now a management node.
  • the other application server clusters are siblings of the slice application server cluster and belong to the same management ring slice as the slice application server cluster.
  • the management ring shard includes 4 management ring shards, and each management ring shard has 4 application server clusters.
  • the application server cluster S3 receives a message from the blockchain system, at this time, the application server cluster S3 is It is a slice application server cluster that manages the ring slice, and other application server clusters S4, S5, and S6 that are at a distance of 1 to 3 from the slice application server cluster S3 in the same direction are sibling nodes of the slice application server cluster S3.
  • S3, S4, S5, and S6 belong to the same management ring segment.
  • S7, S8, S9, and S10 also belong to the same management ring segment
  • S11, S12, S13, and S14 also belong to the same management ring segment
  • S15, S16, S1, and S2 also belong to the same management ring segment.
  • S7, S11, and S15 are the application server clusters of the corresponding management ring shards.
  • S3, S7, S11, and S15 are peer nodes to each other.
  • the application server cluster S6 is a slice application server cluster that manages the ring segment
  • the application server cluster S7, S8, S9 is the slice application server The siblings of cluster S6.
  • S6, S7, S8, and S9 belong to the same management ring segment.
  • each application server cluster can be a slice application server cluster of management ring fragments, and the subsequent nodes are regarded as sibling nodes of the same management ring fragment. The fragmentation situation from the perspective of different application server clusters It is different, so as to achieve flexible changes in management ring shards.
  • a resource server cluster in the worker ring shard sends a message of a blockchain system to an application server cluster that manages the ring shard of the worker ring shard, including:
  • the resource server cluster determines the service type of the message of the blockchain system, and sends the message with the corresponding service type to the application server cluster that manages the ring segment of the worker ring segment.
  • the management ring only performs logical operations on services and does not distinguish between services
  • the resource server cluster of the worker ring determines and verifies the service type of the message, and then, Send the message with the corresponding service type to the application server cluster that manages the ring segment of the worker ring segment.
  • the message received by the application server cluster does not need to judge the service type of the message, only the message is required. Pass in the blockchain program on the management ring to store the message in the storage directory under the corresponding business type in the blockchain program.
  • the message is sent to an application server cluster that is a peer node, and the application server cluster that is a peer node is to send the message to other applications in the corresponding management ring segment.
  • the server cluster After the server cluster, it also includes:
  • the application server cluster stores the information in a block, and the application server cluster on the management ring generates the block into a blockchain.
  • the blockchain program of the application server cluster running on the management ring After receiving the message, the blockchain program of the application server cluster running on the management ring stores the message in the block of the server cluster. When all the application server clusters on the management ring store the message to After the block is connected, the block is linked into a block chain and added to the block chain system. Once the message is verified and added to the block chain system, it will be permanently stored unless it can be controlled in the system at the same time. More than half of the server cluster agree to modify and delete the transaction information, otherwise the modification of the message by a single server cluster is invalid, thereby improving the data system stability and reliability of the blockchain.
  • the present invention describes a message transmission method in a blockchain system provided by the present invention from the perspective of a single application server cluster in the blockchain system, including:
  • the application server cluster on the management ring receives the message of the blockchain system sent by the resource server cluster managed by the worker ring shard;
  • S200 Send the message to other application server clusters in the management ring segment corresponding to the application server cluster; and send the message to the application server cluster that is a peer node with the application server cluster so that all The application server clusters described as peer nodes send the message to other application server clusters of the corresponding management ring segment.
  • the logical operations of the blockchain business provided by the blockchain system are processed by the application server cluster on the management ring.
  • the blockchain program runs on the application server cluster on the management ring and enjoys the computing power of the application server cluster.
  • the application server cluster running the blockchain program on the ring receives the message of the blockchain system sent by the resource server cluster in the managed worker ring shard.
  • the point-to-many information transmission function sends the message to other application server clusters of the management ring shard corresponding to the application server cluster; at the same time, the application server clusters at the same position in the two management ring shards are peer to each other Node, the application server cluster that received the message sends the message to the application server cluster that is a peer node with the application server cluster, so that the application server cluster that is a peer node sends the message to the corresponding node Management ring sharding of other application server clusters; thus distributing messages to the blockchain system Server clusters.
  • the application server cluster when the application server cluster receives a message from the resource server cluster that manages the worker ring shards and sends a blockchain system message, the application server cluster is a header application in the management ring shards. Server cluster.
  • the number of application server clusters in the management ring according to each management ring is Dividing the management ring into Management ring shards, and It is a positive integer.
  • the application server cluster running a blockchain program receives a message from the blockchain system, the application server cluster is a pre-application server cluster that manages ring shards and is spaced from the The headline application server cluster distance is 1 to Of application server clusters belong to the same management ring shard.
  • the sending the message to an application server cluster that is a peer node with the application server cluster, so that the application server cluster that is a peer node sends the message After reaching other application server clusters corresponding to the management ring shard it also includes:
  • the message is stored in a block, and the other application server clusters on the management ring generate the block chain with the block.
  • the blockchain program of the application server cluster running on the management ring After receiving the message, the blockchain program of the application server cluster running on the management ring stores the message in the block of the server cluster. When all the application server clusters on the management ring store the message to After the block is connected, the block is linked into a block chain and added to the block chain system. Once the message is verified and added to the block chain system, it will be permanently stored unless it can be controlled in the system at the same time. More than half of the server cluster agree to modify and delete the transaction information, otherwise the modification of the message by a single server cluster is invalid, thereby improving the data system stability and reliability of the blockchain.
  • the present invention provides a message passing device in a blockchain system, including:
  • Receiving module 100 for receiving a message of a blockchain system sent by a resource server cluster managed by a worker ring segment;
  • Transmission module 200 sending the message to other application server clusters of the management ring shard corresponding to the application server cluster; and sending the message to the application server cluster that is a peer node with the application server cluster To enable the application server clusters that are peer nodes to send the message to other application server clusters of the corresponding management ring segment.
  • the present invention provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium. When the program is executed by a processor, the program is implemented in the blockchain system described in the foregoing embodiment. Message transmission method.
  • the computer-readable storage medium includes, but is not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory, read-only memory), and RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or Rays card.
  • the storage device includes any medium that stores or transmits information in a readable form by a device (for example, a computer, a mobile phone), and may be a read-only memory, a magnetic disk, or an optical disk.
  • a computer-readable storage medium provided by an embodiment of the present invention can implement a plurality of application server clusters to logically form a management ring of a ring structure, divide the management ring into a plurality of management ring fragments, and divide several
  • the resource server cluster logically forms a worker ring in a ring structure, and divides the worker ring into a plurality of worker ring fragments; the management ring fragment manages the corresponding worker ring fragments; the resource server in the worker ring fragment
  • the cluster sends the message of the blockchain system to the application server cluster that manages the ring segment of the worker ring segment; the application server cluster that runs the blockchain program receives the message of the blockchain system and sends the message Sending a message to other application server clusters that manage ring shards corresponding to the application server cluster; and sending the message to the application server clusters that are peer nodes, and the application server clusters that are peer nodes The message is sent to other application server clusters corresponding to the management ring s
  • the application server cluster is logically divided into several management ring fragments
  • the resource server cluster is logically divided into several management ring fragments.
  • Worker ring sharding The server cluster on the ring can realize point-to-point and point-to-multipoint transmission of messages.
  • the management of the worker ring shard is based on the management ring shard.
  • the management ring shard is synchronized to the management ring shard.
  • the server cluster on the management ring shard After receiving the message, the server cluster on the management ring shard transmits the message based on each management ring shard, so that the messages on the management ring shard can be quickly transmitted to the application server cluster on the management ring, which improves the performance of the blockchain system. Messaging efficiency;
  • the role of each server cluster on the ring is the same, and each server cluster can be used as a slice header server cluster, so that the shards that form the ring can be dynamically changed, and the management ring and the ring can be more flexibly completed. The fragmentation of the worker ring greatly improves the efficiency of message transmission.
  • the computer-readable storage medium provided by the embodiment of the present invention can implement the embodiment of the message transmission method in the above-mentioned blockchain system.
  • the present invention also provides a server, which is composed of an application server cluster on a management ring and a resource server cluster on a worker ring as shown in FIG. 2 and FIG. 3.
  • the server includes devices such as a processor 603 and a memory 605.
  • the structural device shown in FIG. 6 does not constitute a limitation on all servers, and may include more or fewer components than shown in the figure, or combine some components.
  • the memory 605 may be used to store a computer program 601 and various functional modules, and the processor 603 runs the computer program 601 stored in the memory 605 to execute various functional applications and data processing of the device.
  • the memory 605 may be an internal memory or an external memory, or include both an internal memory and an external memory.
  • the internal memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory.
  • External storage may include hard disks, floppy disks, ZIP disks, U disks, magnetic tapes, and so on.
  • the memory disclosed by the present invention includes, but is not limited to, these types of memory.
  • the memory 605 disclosed in the present invention is only an example and not a limitation.
  • the one or more processors 603 shown in FIG. 6 can execute and implement the functions of the receiving module 100 and the transmitting module 200 shown in FIG. 5.
  • the server includes one or more processors 603, and one or more memories 605, one or more computer programs 601, wherein the one or more computer programs 601 are stored in the memory 605 And is configured to be executed by the one or more processors 603, and the one or more computer programs 601 are configured to execute the message transmission method in the blockchain system described in the above embodiments.
  • a server provided by an embodiment of the present invention may form a server cluster, and implement a logical management ring structure of a plurality of application server clusters, and divide the management ring into a plurality of management ring fragments.
  • Each resource server cluster logically forms a worker ring of a ring structure, and divides the worker ring into several worker ring fragments; the management ring fragment manages the corresponding worker ring fragments; the resources in the worker ring fragments
  • the server cluster sends the message of the blockchain system to the application server cluster that manages the worker ring shards; the application server cluster that runs the blockchain program receives the message from the blockchain system and sends all the The message is sent to other application server clusters in the management ring segment corresponding to the application server cluster; and, the message is sent to the application server clusters that are peer nodes, and the application server clusters that are peer nodes The above message is sent to other application server clusters corresponding to the management ring shard.
  • the application server cluster is logically divided into several management ring fragments
  • the resource server cluster is logically divided into several management ring fragments.
  • Worker ring sharding The server cluster on the ring can realize point-to-point and point-to-multipoint transmission of messages.
  • the management of the worker ring shard is based on the management ring shard.
  • the server cluster on the management ring shard After receiving the message, the server cluster on the management ring shard transmits the message based on each management ring shard, so that the messages on the management ring shard can be quickly transmitted to the application server cluster on the management ring, which improves the performance of the blockchain system.
  • each server cluster on the ring is the same, and each server cluster can be used as a slice header server cluster, so that the shards that form the ring can be dynamically changed, and the management ring and the ring can be more flexibly completed.
  • the fragmentation of the worker ring greatly improves the efficiency of message transmission.
  • the server provided by the embodiment of the present invention can implement the embodiment of the message transmission method in the blockchain system provided above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

La présente invention concerne un procédé et un appareil de transmission de message dans un système de chaîne de blocs, et un support d'informations. Le procédé consiste à : former de manière logique un anneau de gestion par des grappes de serveurs d'application, et diviser l'anneau de gestion en une pluralité de fragments d'anneau de gestion; former de manière logique un anneau de travail par des grappes de serveurs de ressources, et diviser l'anneau de travail en une pluralité de fragments d'anneau de travail, les fragments d'anneau de gestion gérant les fragments d'anneau de travail correspondants; les grappes de serveurs de ressources dans les fragments d'anneau de travail envoient un message du système de chaîne de blocs aux groupes de serveurs d'application des fragments d'anneau de gestion gérant les fragments d'anneau de travail; les grappes de serveurs d'applications exécutant un programme de chaîne de blocs reçoivent le message du système de chaîne de blocs, envoient le message à d'autres grappes de serveurs d'application du fragment d'anneau de gestion, et envoient le message à des grappes de serveurs d'application qui sont des nœuds homologues les uns aux autres, les grappes de serveurs d'applications qui sont des nœuds homologues les uns aux autres envoyant le message à d'autres grappes de serveurs d'applications correspondant aux fragments d'anneaux de gestion.
PCT/CN2018/097650 2018-07-27 2018-07-27 Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations WO2020019343A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/097650 WO2020019343A1 (fr) 2018-07-27 2018-07-27 Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations
CN201880002403.6A CN109496407B (zh) 2018-07-27 2018-07-27 区块链系统中的消息传输方法、装置及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/097650 WO2020019343A1 (fr) 2018-07-27 2018-07-27 Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations

Publications (1)

Publication Number Publication Date
WO2020019343A1 true WO2020019343A1 (fr) 2020-01-30

Family

ID=65713876

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097650 WO2020019343A1 (fr) 2018-07-27 2018-07-27 Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations

Country Status (2)

Country Link
CN (1) CN109496407B (fr)
WO (1) WO2020019343A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405074A (zh) * 2020-06-08 2020-07-10 南京邮电大学 一种基于混合链的数据中心网络故障诊断和自动配置方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110009498A (zh) * 2019-03-29 2019-07-12 阿里巴巴集团控股有限公司 基于区块链的资源分配方法和装置
CN113612810B (zh) * 2021-05-18 2023-06-27 中国信息通信研究院 基于dht的集群节点间性能优化方法、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677328A (zh) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 一种基于内容分片的多媒体分发系统和方法
CN101853186A (zh) * 2008-12-31 2010-10-06 Sap股份公司 分布式事务恢复系统和方法
CN101969468A (zh) * 2010-10-14 2011-02-09 广州从兴电子开发有限公司 查询服务器集群系统及查询方法
CN104780221A (zh) * 2015-04-29 2015-07-15 温州中普知识产权有限公司 中小企业知识产权综合服务平台系统
US20170346693A1 (en) * 2016-05-27 2017-11-30 Mastercard International Incorporated Method and system for efficient distribution of configuration data utilizing permissioned blockchain technology
CN107896157A (zh) * 2017-08-31 2018-04-10 上海壹账通金融科技有限公司 黑名单数据交换方法及应用服务器

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677328A (zh) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 一种基于内容分片的多媒体分发系统和方法
CN101853186A (zh) * 2008-12-31 2010-10-06 Sap股份公司 分布式事务恢复系统和方法
CN101969468A (zh) * 2010-10-14 2011-02-09 广州从兴电子开发有限公司 查询服务器集群系统及查询方法
CN104780221A (zh) * 2015-04-29 2015-07-15 温州中普知识产权有限公司 中小企业知识产权综合服务平台系统
US20170346693A1 (en) * 2016-05-27 2017-11-30 Mastercard International Incorporated Method and system for efficient distribution of configuration data utilizing permissioned blockchain technology
CN107896157A (zh) * 2017-08-31 2018-04-10 上海壹账通金融科技有限公司 黑名单数据交换方法及应用服务器

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405074A (zh) * 2020-06-08 2020-07-10 南京邮电大学 一种基于混合链的数据中心网络故障诊断和自动配置方法
CN111405074B (zh) * 2020-06-08 2020-09-08 南京邮电大学 一种基于混合链的数据中心网络故障诊断和自动配置方法

Also Published As

Publication number Publication date
CN109496407B (zh) 2020-07-24
CN109496407A (zh) 2019-03-19

Similar Documents

Publication Publication Date Title
Keidar et al. All you need is dag
US11190525B2 (en) Blockchain system and permission management method thereof
US10284383B2 (en) Aggregation protocol
CN110245956B (zh) 一种基于异步多链的区块链交易确认方法及系统
JP7154234B2 (ja) ブロックチェーン・ネットワークにおける高速伝搬のための方法及び特殊ネットワーク・ノード
JP2021508877A (ja) 高性能分散型記録システム
WO2018076760A1 (fr) Procédé et système de traitement de transaction basé sur une chaîne de blocs, dispositif électronique et support de stockage
CN112041872A (zh) 在分区区块链网络中维护区块链的区块
WO2021174787A1 (fr) Système de chaîne de blocs, procédé de traitement de données, dispositif informatique et support de stockage
WO2020019343A1 (fr) Procédé et appareil de transmission de message dans un système de chaîne de blocs et support d'informations
CN110868439A (zh) 一种区块链系统
WO2020019342A1 (fr) Procédé de distribution de message dans un groupe de serveurs, dispositif et support d'informations
Tennakoon et al. Dynamic blockchain sharding
CN113259460A (zh) 跨链交互方法及装置
KR20200081533A (ko) 사물 인터넷 환경을 위한 동적 블라인드 투표기반의 블록체인 합의방법
CN116668313A (zh) 基于分片的可拓展区块链网络模型
CN114745140B (zh) 基于聚合加密的城市规划领域区块链共识验证方法及系统
EP4022843A1 (fr) Procédés et dispositifs pour minage symbiotique sécurisé
Kleinrock et al. Proof-of-reputation blockchain with nakamoto fallback
CN111798234A (zh) 一种轻量级区块链系统及构造方法
CN113157450B (zh) 在区块链系统中执行区块的方法及装置
WO2020037580A1 (fr) Procédé et dispositif de gestion de grappe de serveurs en forme d'anneau et support d'informations informatique
Tzeng et al. Distributed shared memory systems with improved barrier synchronization and data transfer
CN116095081A (zh) 基于区块链系统的事件处理方法及装置、设备、介质
Chen et al. Thinkey: A scalable blockchain architecture

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18927449

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18927449

Country of ref document: EP

Kind code of ref document: A1