Blockchain event processing method and related devices, equipment, platform and storage medium
By introducing message relay equipment into the blockchain platform, a multi-centered and decentralized architecture is achieved, which solves the management ownership and reliability issues under the traditional centralized architecture, ensures the isolation of private data and user experience, and realizes Distributed data storage and computing.
Patent Information
- Application Number
- CN202210489644.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-06
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-06
AI Technical Summary
The traditional enterprise-level blockchain BaaS platform is based on a centralized architecture, which leads to management ownership issues and system reliability issues, and cannot guarantee the isolation of private data.
By introducing message transfer equipment, event and data synchronization between blockchain platforms is achieved, and a multi-centered and decentralized architecture design is adopted. Each blockchain platform independently manages resources and distributes data storage to ensure the isolation of private data.
It solves the problems of blockchain platform management ownership and system reliability, improves user experience, realizes distributed accounting and storage of blockchain data, and ensures the security of private data.
Smart Images

Figure CN115086353B
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a blockchain event processing method and related devices, equipment, platforms and storage media. Background Art
[0002] The traditional enterprise-level blockchain BaaS (Blockchain as a Service) platform is designed based on a centralized architecture. Different enterprises or institutions need to access the platform to apply for resources, resource allocation, blockchain application, blockchain creation, blockchain management, service orchestration, and subsequent monitoring, operation and maintenance management. However, in this blockchain open service platform based on a centralized management model, many blockchain participants only use one set of blockchain BaaS platforms, which not only has the ownership problem of platform management and maintenance, but also the system reliability problem brought about by the centralized storage of platform management and operation data. In addition, due to the excessive authority of the platform administrator, it is impossible to ensure that the private data of each alliance member can be completely isolated and not known by outsiders. Summary of the invention
[0003] The main technical problem solved by this application is to provide a blockchain event processing method and related devices, equipment, platform and storage medium, which can solve the ownership issues of blockchain platform management and maintenance and can solve the system reliability issues brought about by centralized storage.
[0004] In order to solve the above technical problems, the first aspect of the present application provides a blockchain event processing method, the method comprising: forwarding an event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event recipient; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator participates; forwarding a data synchronization request sent by the blockchain platform of the event recipient to the blockchain platform of a participant participating in the target blockchain; wherein the blockchain platform of the event recipient sends a data synchronization request in response to changes in relevant data of the event recipient on the target blockchain after processing the pending blockchain event.
[0005] In order to solve the above-mentioned technical problems, the second aspect of the present application provides a blockchain event processing method, which includes: sending an event initiation request to a message transfer device; wherein the event initiation request includes a pending blockchain event, the pending blockchain event is related to the target blockchain in which the event initiator sending the event initiation request participates, and the event initiation request is forwarded by the message transfer device to the blockchain platform of the event recipient; receiving a data synchronization request forwarded by the message transfer device; wherein the data synchronization request is sent to the message transfer device by the blockchain platform of the event recipient in response to changes in relevant data of the event recipient on the target blockchain after processing the pending blockchain event, and is forwarded by the message transfer device to the blockchain platform of the participant participating in the target blockchain.
[0006] In order to solve the above-mentioned technical problems, the third aspect of the present application provides a blockchain event processing method, which includes: receiving an event initiation request forwarded by a message transfer device; wherein the event initiation request includes a blockchain event to be processed, and the blockchain event to be processed is related to the target blockchain in which the event initiator who sends the event initiation request participates; in response to changes in relevant data of the event recipient of the blockchain event to be processed in the target blockchain after the blockchain event to be processed is processed, a data synchronization request is sent to the message transfer device; wherein the message transfer device forwards the data synchronization request to the blockchain platform of the participant participating in the target blockchain.
[0007] In order to solve the above technical problems, the fourth aspect of the present application provides a blockchain event processing device, which includes: an event initiation forwarding module, which is used to forward the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event recipient; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator participates; a data synchronization forwarding module, which is used to forward the data synchronization request sent by the blockchain platform of the event recipient to the blockchain platforms of each participant participating in the target blockchain; wherein the blockchain platform of the event recipient sends a data synchronization request in response to changes in relevant data of the event recipient in the target blockchain after processing the pending blockchain event.
[0008] In order to solve the above technical problems, the fifth aspect of the present application provides a blockchain event processing device, which includes: an event initiation and sending module, which is used to send an event initiation request to a message transfer device; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator who sends the event initiation request participates, and the event initiation request is forwarded by the message transfer device to the blockchain platform of the event recipient; a data synchronization receiving module, which is used to receive the data synchronization request forwarded by the message transfer device; wherein the data synchronization request is sent to the message transfer device by the blockchain platform of the event recipient in response to changes in the relevant data of the event recipient in the target blockchain after the pending blockchain event is processed, and is forwarded by the message transfer device to the blockchain platforms of each participant participating in the target blockchain.
[0009] In order to solve the above technical problems, the sixth aspect of the present application provides a blockchain event processing device, which includes: an event initiation receiving module, which is used to receive an event initiation request forwarded by a message transfer device; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator who sends the event initiation request participates; a data synchronization sending module, which is used to send a data synchronization request to the message transfer device in response to changes in relevant data of the event recipient of the pending blockchain event in the target blockchain after the pending blockchain event is processed; wherein the message transfer device forwards the data synchronization request to the blockchain platform of each participant participating in the target blockchain.
[0010] In order to solve the above-mentioned technical problems, the seventh aspect of the present application provides a message transfer device, which includes a communication circuit, a memory and a processor. The communication circuit and the memory are respectively coupled to the processor. The memory stores program instructions, and the processor is used to execute the program instructions to implement the blockchain event processing method of the first aspect mentioned above.
[0011] In order to solve the above-mentioned technical problems, the eighth aspect of the present application provides a blockchain platform, which includes a communication circuit, a memory and a processor, the communication circuit and the memory are respectively coupled to the processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the blockchain event processing method of the second and third aspects above.
[0012] In order to solve the above-mentioned technical problems, the ninth aspect of the present application provides a blockchain platform system, which includes a message transfer device and blockchain platforms belonging to various parties. The message transfer device is respectively communicated with each blockchain platform and is used to synchronize data between each blockchain platform; wherein the parties include an event initiator and an event receiver, the message transfer device is used to execute the blockchain event processing method of the first aspect, the blockchain platform of the event initiator is used to execute the blockchain event processing method of the second aspect, and the blockchain platform of the event receiver is used to execute the blockchain event processing method of the third aspect.
[0013] In order to solve the above technical problems, the tenth aspect of the present application provides a computer-readable storage medium, which stores program instructions that can be executed by a processor, and the program instructions are used to implement the above-mentioned blockchain event processing method.
[0014] The above scheme forwards the pending blockchain events related to the target blockchain in which the event initiator participates, which are sent by the blockchain platform of the event initiator, to the blockchain platform of the event receiver, and forwards the data synchronization request sent by the blockchain platform of the event receiver to the blockchain platform of the participants participating in the target blockchain. Therefore, the data between each independent blockchain platform is transferred and transmitted through a centrally deployed message middleware, so as to realize the processing of message events and data synchronization between each blockchain platform. In addition, each blockchain platform is independent and can independently control the resource configuration, deployment and construction of its own blockchain, as well as the management, monitoring, maintenance and other functions of the blockchain, thus realizing multi-centralization and decentralization, and each blockchain platform has an independent data storage service, realizing distributed accounting and storage of blockchain data, and reducing the system reliability problems caused by the centralized storage of management and operation data to a certain extent, while making the private data of each blockchain participant completely isolated and not known to outsiders, thus improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a structural diagram of an embodiment of a blockchain platform system provided by this application;
[0016] Figure 2 This is an interaction diagram of an embodiment of an event initiator initiating a chain invitation provided by the present application;
[0017] Figure 3 This is an interaction diagram of an embodiment of an event receiver processing chain invitation provided by the present application;
[0018] Figure 4 It is an interaction diagram of an embodiment of an event receiver joining a blockchain provided by the application;
[0019] Figure 5It is a structural diagram of an embodiment of a blockchain platform provided by this application;
[0020] Figure 6 It is a structural diagram of an embodiment of a message transfer device provided by the present application;
[0021] Figure 7 This is a flowchart of an embodiment of a blockchain event processing method provided by this application;
[0022] Figure 8 It is a flowchart of another embodiment of the blockchain event processing method provided by the present application;
[0023] Fig. 9 It is a flowchart of another embodiment of the blockchain event processing method provided by the present application;
[0024] Fig.10 It is a structural diagram of an embodiment of a blockchain event processing device provided by the present application;
[0025] Fig.11 It is a structural diagram of another embodiment of the blockchain event processing device provided by the present application;
[0026] Fig.12 It is a structural diagram of another embodiment of the blockchain event processing device provided by the present application;
[0027] Fig.13 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0028] The scheme of the embodiment of the present application is described in detail below in conjunction with the drawings of the specification.
[0029] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.
[0030] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, can mean including any one or more elements selected from the set consisting of A, B, and C.
[0031] See also Figure 1 , Figure 1It is a structural diagram of an embodiment of a blockchain platform system provided by the present application. The present application provides a blockchain platform system 10, and the blockchain platform system 10 includes blockchain platforms 20 belonging to each party. That is to say, when there are multiple blockchain participants, each party deploys and maintains a set of independent and related blockchain platforms 20, which can realize the resource configuration, deployment and construction of different blockchain participants and the management, monitoring, maintenance and other functions of blockchains, that is, the blockchain platform system 10 provided by the present application is a multi-centralized and decentralized blockchain platform system 10. Compared with the traditional blockchain platform system 10 based on the centralized architecture design, on the one hand, since different blockchain participants autonomously control their own blockchain platforms 20 and have independent front-end and back-end services, the ownership problem of the management and maintenance of the blockchain platform system 10 is solved; on the other hand, due to the multi-centralized and decentralized architecture design of the blockchain platform system 10, each blockchain platform 20 has an independent data storage service, which realizes distributed accounting and storage of blockchain data, and reduces the system reliability problem caused by the centralized storage of the management and operation data to a certain extent, and at the same time, the private data of each blockchain participant can be completely isolated and not known by outsiders, which improves the user experience.
[0032] Among them, the above-mentioned parties include the event initiator and the event receiver. The blockchain platform 20 of the event initiator is used to process the blockchain events of the corresponding event initiator, for example, the blockchain platform 20 of the event initiator sends chain invitations, ledger invitations, chain exits and waits for processing blockchain events; the blockchain platform 20 of the event receiver is used to process the blockchain events of the corresponding event receiver, for example, the blockchain platform 20 of the event receiver receives chain invitations, ledger invitations and waits for processing blockchain events, etc.
[0033] The blockchain platform system 10 also includes a message transfer device 30, which is used to process the blockchain events of the corresponding event receiver and event initiator. The message transfer device 30 is respectively connected to each blockchain platform 20 for synchronizing data between each blockchain platform 20. For example, the blockchain platform 20 of the event initiator sends a chain invitation, a ledger invitation, and a waiting blockchain event to be processed to the message transfer device 30, and the message transfer device 30 forwards the chain invitation, the ledger invitation, and the waiting blockchain event sent by the blockchain platform 20 of the event initiator to the blockchain platform 20 of the event receiver. Since the blockchain platform system 10 provided in the present application is based on a multi-centralized and decentralized architecture design, the message transfer device 30 is introduced, so that the data between each independent blockchain platform 20 will be transferred and propagated through a centrally deployed message middleware, so as to realize the processing of message events and data synchronization between each blockchain platform 20 deployed in the multi-center in the blockchain platform system 10, that is, the setting of the message transfer device 30 realizes the message transmission and information sharing between each blockchain platform 20.
[0034] For example, the specific operation process of the blockchain platform system 10 is specifically described by taking the blockchain event to be processed as a chain invitation as an example. Figure 2 As shown, Figure 2 It is an interactive diagram of an embodiment of an event initiator initiating a chain invitation provided by the present application. The blockchain platform management system (leader) is the blockchain platform 20 of the event initiator, the message middleware is the message transfer device 30, and the blockchain platform management system (member) is the blockchain platform 20 of a certain event receiver; specifically, the blockchain platform management system (leader) performs user authority configuration, and a new chain administrator is added. Figure 2The chain administrator creates a blockchain and completes the corresponding chain basic information configuration, where the chain basic information may include the blockchain name, encryption algorithm type (for example, conventional algorithm, national secret algorithm, etc.), chain creation party information, participant information, blockchain node, account book information, etc. After completing the creation of a blockchain, server selection, port allocation, and deployment path setting, the chain administrator can realize automatic deployment of blockchain nodes and full-process deployment log query; the chain administrator can invite other blockchain platforms 20 to join the newly added blockchain. At this time, the blockchain platform management system (leader) generates a certificate for the invited organization (the certificate of the invited organization) Request); then, the blockchain platform management system (leader) sends the chain invitation information to the message middleware, where the chain invitation information includes chain information (such as the initiator of the chain invitation event, chain administrator information, blockchain status information and time information, etc.), ledger information and the certificate of the invited organization, etc.; then, the message middleware forwards the chain invitation information sent by the blockchain platform management system (leader) to the blockchain platform management system (member); then, the blockchain platform management system (member) receives the chain invitation information forwarded by the message middleware, and writes the received chain invitation information into the database for subsequent review and processing by the platform administrator.
[0035] like Figure 3 As shown, Figure 3 This is an interaction diagram of an embodiment of an event receiver processing chain invitation provided by the present application, wherein the blockchain platform management system (member) is the blockchain platform 20 of a certain event receiver, the message middleware is the message transfer device 30, and the blockchain platform management system (leader) is the blockchain platform 20 of the event initiator; specifically, the alliance member of the blockchain platform management system (member), namely the platform administrator, processes the chain invitation information to determine whether to join the newly added blockchain; then, the blockchain platform management system (member) sends the processing result to the message middleware; then, the message middleware forwards the chain invitation processing result sent by the blockchain platform management system (member) to the blockchain platform management system (leader); then, the blockchain platform management system (leader) determines whether the blockchain platform management system (member) joins the newly added blockchain according to the chain invitation processing result, and after determining that the blockchain platform management system (member) joins the newly added blockchain, updates the chain member data.
[0036] Among them, Figure 4 As shown, Figure 4It is an interactive diagram of an embodiment of an event receiver joining a blockchain provided by the application. The blockchain platform management system (member) and the blockchain platform management system (other members) are the blockchain platform 20 of the event receiver, the message middleware is the message transfer device 30, and the blockchain platform management system (leader) is the blockchain platform 20 of the event initiator; specifically, after the blockchain platform management system (member) agrees to join the newly added blockchain, the chain administrator corresponding to the newly added blockchain, i.e. Figure 4 For alliance members, the chain administrator inputs the node information, the blockchain platform management system (member) generates the organization certificate, node certificate, deployment package and private key, etc. and updates the node data of the organization to complete the visual blockchain node addition; then, since the relevant data of the newly added blockchain has changed in the blockchain platform management system (member), a node information synchronization request is sent to the message middleware; then, the message middleware forwards the node information synchronization request sent by the blockchain platform management system (member) to the blockchain platform management system (leader); then, the blockchain platform management system (leader) receives the node information synchronization request forwarded by the message middleware, and updates the chain and node data; then, the blockchain platform management system (leader) sends a node information update request to the message middleware; then, the message middleware forwards the node information update request sent by the blockchain platform management system (leader) to the blockchain platform management system (other members); then, the blockchain platform management system (other members) receives the node information update request and updates the chain and node data. Based on the above Figure 2 , Figure 3 and Figure 4 During the interactive process, the blockchain platform management system (leader) completes the member invitation of the blockchain.
[0037] In the above implementation mode, each party deploys and maintains an independent and related blockchain platform 20, which can realize the resource configuration, deployment and construction of different blockchain participants and the management, monitoring and maintenance of their own blockchains, thereby realizing the decentralization of the blockchain platform system 10. On the one hand, since different blockchain participants autonomously control their own blockchain platforms 20 and have independent front-end and back-end services, the ownership problem of the management and maintenance of the blockchain platform system 10 is solved; on the other hand, each blockchain platform 20 has an independent data storage service, which realizes distributed accounting and storage of blockchain data, and reduces the system reliability problem caused by the centralized storage of the management and operation data to a certain extent, and at the same time, the private data of each blockchain participant can be completely isolated and not known by outsiders, thereby improving the user experience. In addition, by introducing a message transfer device 30 in the blockchain platform system 10, the data between each independent blockchain platform 20 will be transferred and propagated through a centrally deployed message middleware, so as to realize the message event and data synchronization between each blockchain platform 20 deployed in multiple centers in the blockchain platform system 10.
[0038] See also Figure 5 , Figure 5 1 is a schematic diagram of a block chain platform embodiment provided by the present application. The present application provides a block chain platform 20, the block chain platform 20 includes a communication circuit 21, a memory 22 and a processor 23, the communication circuit 21 and the memory 22 are respectively coupled to the processor 23, and the processor 23 is used to execute the program instructions stored in the memory 22 to implement the steps of the block chain event processing method embodiment corresponding to any of the following block chain platforms 20 as the execution subject.
[0039] Specifically, the processor 23 is used to control itself and the memory 22 to implement the steps of the following blockchain event processing method embodiment corresponding to any blockchain platform 20 as the execution subject. The processor 23 can also be called a CPU (Central Processing Unit). The processor 23 may be an integrated circuit chip with signal processing capabilities. The processor 23 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 23 can be implemented by an integrated circuit chip.
[0040] In the above implementation mode, different blockchain participants independently control their own blockchain platforms 20 and have independent front-end and back-end services, which solves the ownership problem of the management and maintenance of the blockchain platform system 10; on the other hand, each blockchain platform 20 has an independent data storage service, which realizes distributed accounting and storage of blockchain data, and to a certain extent reduces the system reliability problems caused by the centralized storage of management and operation data, and at the same time enables the private data of each blockchain participant to be completely isolated and not known to outsiders, thereby improving the user experience.
[0041] In one embodiment, the blockchain platform 20 includes at least a message synchronization module, and the message synchronization module is communicatively connected to the message transfer device 30. That is to say, since the blockchain platform system 10 provided in the present application is based on a multi-centralized and decentralized architecture design, the blockchain platforms 20 of each party included in the blockchain platform system 10 realize message transmission and data synchronization through the message transfer device 30, so by configuring the message synchronization module in the blockchain platform 20, the communication connection between the blockchain platform 20 and the message transfer device 30 is realized, and then the message transmission and data synchronization between each blockchain platform 20 is realized through the message transfer device 30.
[0042] In a specific implementation, the message synchronization module can forward the invitation message for establishing a blockchain network of the blockchain platform 20, namely, the chain invitation message, the invitation message for establishing a group network, the message for exiting the alliance chain, namely, the chain exit message, and the message for exiting the group to the message transfer device 30, and the message transfer device 30 forwards the message to the corresponding blockchain platform 20, thereby enabling the message synchronization module to handle the message transmission between each independent blockchain platform 20; in addition, the message synchronization module can also forward the synchronization request of the relevant data of the blockchain platform 20 (for example, node status, account book status, platform administrator, chain administrator or application administrator, etc.) to the message transfer device 30, and the message transfer device 30 forwards the data synchronization request to the corresponding blockchain platform 20, thereby enabling the message synchronization module to handle the data synchronization between each independent blockchain platform.
[0043] Since the blockchain platform 20 is mainly used for the configuration, deployment, application development, management, service arrangement and subsequent monitoring, operation and maintenance management of the blockchain, in one embodiment, the blockchain platform 20 also includes a configured account system management module, a certificate management module, a resource management module, a blockchain management module, a contract development module, a contract management module, an application management module, a monitoring and operation module and a data archiving module. Among them, the blockchain platform 20 provides a multi-tenant design mode to implement a three-level account management system at the platform level, the tenant level and the application level, that is, the account system management module of the blockchain platform 20 is specifically divided into three levels: platform administrator, chain administrator and application administrator. The functions of the certificate management module include the application, issuance and display management of certificates; among them, the certificate system mainly includes two layers, namely blockchain root certificate management and user private key management. The functions of the resource management module include server host resource application, access, node host resource allocation, etc.; it supports access to self-added servers or access to the blockchain platform, and realizes dynamic allocation and automatic deployment of blockchain nodes through resource management configuration. The functions of the blockchain management module include chain initialization functions such as blockchain creation, blockchain invitation, node configuration, and automatic deployment; in addition, the blockchain management module also provides blockchain information overview, blockchain information details, organization management, ledger management, node management, contract management, private key management, and management functions of block information and transaction information. The contract development module provides online smart contract writing, temporary storage, debugging, security scanning, deployment, upgrade, freezing and deletion functions. The contract management module provides the functions of creating, deploying, upgrading, freezing and deleting smart contracts. The application management module provides the functions of creating, reviewing, resetting application keys, modifying and deleting blockchain applications. The monitoring and operation module provides blockchain node resource monitoring, performance monitoring, alarm information processing, and blockchain node log query functions, realizing multi-dimensional monitoring and alarm mechanisms from the server resource layer to the blockchain network layer and then to the business layer to ensure overall network security. The data archiving module provides data archiving functions for blockchain data, enabling nodes to separate cold and hot data and synchronize quickly.
[0044] See also Figure 6 , Figure 6 1 is a structural diagram of an embodiment of a message transfer device provided by the present application. The present application provides a message transfer device 30, which includes a communication circuit 31, a memory 32 and a processor 33. The communication circuit 31 and the memory 32 are respectively coupled to the processor 33, and the processor 33 is used to execute the program instructions stored in the memory 32 to implement the steps of the following blockchain event processing method embodiment corresponding to any one of the following message transfer devices 30 as the execution subject.
[0045] Specifically, the processor 33 is used to control itself and the memory 32 to implement the steps of the following embodiments of the blockchain event processing method corresponding to any of the following message transfer devices 30 as the execution subject. The processor 33 can also be called a CPU (Central Processing Unit). The processor 33 may be an integrated circuit chip with signal processing capabilities. The processor 33 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 33 can be implemented by an integrated circuit chip.
[0046] In the above implementation mode, the setting of the message transfer device 30 can enable the data between each independent blockchain platform 20 to be transferred and transmitted through a centrally deployed message middleware, so as to realize the processing of message events and data synchronization between each blockchain platform 20 deployed in multiple centers in the blockchain platform system 10, that is, the setting of the message transfer device 30 realizes the message transmission and information sharing between each blockchain platform 20.
[0047] See also Figure 7 , Figure 7 is a flowchart of an embodiment of a blockchain event processing method provided by the present application. It should be noted that if there are substantially the same results, this embodiment does not Figure 7 The process sequence shown is limited. Figure 7 As shown, in this embodiment, the execution subject of the blockchain event processing method is the blockchain platform 20 of the event initiator, which specifically includes:
[0048] Step S71: Send an event initiation request to a message forwarding device.
[0049] Since the blockchain platform system 10 provided in the present application is designed based on a multi-center and decentralized architecture, by introducing a message transfer device 30, the data between each independent blockchain platform 20 will be transferred and transmitted through a centrally deployed message middleware, so as to realize the processing of message events and data synchronization between each multi-center deployed blockchain platform 20 in the blockchain platform system 10.
[0050] In this embodiment, the blockchain platform 20 of the event initiator sends an event initiation request to the message transfer device 30, wherein the event initiation request includes a pending blockchain event, the pending blockchain event is related to the target blockchain in which the event initiator that sends the event initiation request participates, and the event initiation request is forwarded by the message transfer device 30 to the blockchain platform 20 of the event receiver; that is, the blockchain platform 20 of the event initiator sends the pending blockchain event related to the target blockchain in which it participates to the message transfer device 30, so that the subsequent message transfer device 30 can forward the event message sent by the blockchain platform 20 of the event initiator to the blockchain platform 20 of the event receiver. For the message transfer device 30, when the message transfer device 30 receives the event initiation request sent by the blockchain platform 20 of the event initiator, the message transfer device 30 forwards the event initiation request sent by the blockchain platform 20 of the event initiator to the blockchain platform 20 of the event receiver; that is, the message transfer device 30 will forward the pending blockchain event related to the target blockchain in which it participates sent by the blockchain platform 20 of the event initiator to the blockchain platform 20 of the event receiver. For the blockchain platform 20 of the event receiver, the blockchain platform 20 of the event receiver receives the event initiation request forwarded by the message transfer device 30, that is, the blockchain platform 20 of the event receiver receives the pending blockchain event related to the target blockchain in which it participates, which is sent by the blockchain platform 20 of the event initiator, through the message transfer device 30. In other words, the message event transmission between the blockchain platform 20 of the event sender and the blockchain platform 20 of the event receiver is realized through the message transfer device 30, that is, the message event transmission between two independent blockchain platforms 20 is realized through the message transfer device 30.
[0051] Among them, the blockchain events to be processed are not limited. In one embodiment, the blockchain events to be processed include at least chain invitation, ledger invitation, chain exit, ledger exit and metadata synchronization. Chain invitation means that the blockchain platform 20 of the event initiator invites other blockchain platforms 20 to join the blockchain it has built. Ledger invitation means that the blockchain platform 20 of the event initiator invites other blockchain platforms 20 to join the ledger of the blockchain it has built. Chain exit means that the blockchain platform 20 of the event initiator chooses to exit a blockchain. Ledger exit means that the blockchain platform 20 of the event initiator chooses to exit a ledger in a blockchain. Metadata synchronization means that the blockchain platform 20 of the event initiator synchronizes blockchain metadata with other blockchain platforms 20, for example, node status synchronization, ledger status synchronization, basic information synchronization of platform administrators, basic information synchronization of chain administrators, or basic information synchronization of application administrators, etc.
[0052] In a specific implementation, when the pending blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain created by the event initiator, and the chain invitation includes the organization certificate of the event recipient created by the blockchain platform 20 of the event initiator. For example, taking the pending blockchain event as a chain invitation as an example, Figure 2 As shown in the figure, the blockchain platform management system (leader) is the blockchain platform 20 of the event initiator, the message middleware is the message transfer device 30, and the blockchain platform management system (member) is the blockchain platform 20 of a certain event receiver. Specifically, the blockchain platform management system (leader) configures user permissions, and adds a new chain administrator, i.e. Figure 2 The alliance leader, the chain administrator creates the target blockchain and completes the corresponding chain basic information configuration; the chain administrator invites the remaining blockchain platforms 20 to join the target blockchain, at which time the blockchain platform management system (leader) generates the organization certificate of the invited organization; the blockchain platform management system (leader) sends the chain invitation including the organization certificate of the invited organization to the message middleware; the message middleware forwards the chain invitation sent by the blockchain platform management system (leader) to the blockchain platform management system (member); the blockchain platform management system (member) receives the chain invitation forwarded by the message middleware.
[0053] Since the message transfer device 30 is independent of the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator needs to be registered in the message transfer device 30 before it can achieve communication connection with the message transfer device 30. Therefore, in one embodiment, the blockchain platform 20 of the event initiator sends a platform registration request to the message transfer device 30 before sending the event initiation request to the message transfer device 30, wherein the platform registration request is used to request that the blockchain platform 20 of the event initiator be registered in the message transfer device 30. Specifically, after the construction and configuration of the blockchain platform 20 of the event initiator are completed, that is, after the deployment of the blockchain platform 20 of the event initiator is completed; the blockchain platform 20 is authenticated, specifically, the organizational information of the blockchain platform 20 is uploaded to authenticate the combination legitimacy of the blockchain platform 20; then, the blockchain platform 20 of the event initiator sends a platform registration request to the message transfer device 30 to request that the blockchain platform 20 of the event initiator be registered in the message transfer device 30. In addition, since the message event transmission and data synchronization are realized between each independent blockchain platform 20 through the message transfer device 30, that is, the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event recipient realize message event transmission and data synchronization through the message transfer device 30, the blockchain platform 20 of the event recipient also needs to be registered on the message transfer device 30 before it can realize communication connection with the message transfer device 30, so as to be able to receive related message events forwarded by the message transfer device 30 in the future; therefore, before receiving the event initiation request forwarded by the message transfer device 30, the blockchain platform 20 of the event recipient sends a platform registration request to the message transfer device 30, wherein the platform registration request is used to request that the blockchain platform 20 of the event recipient be registered on the message transfer device 30. For the message transfer device 30, the message transfer device 30 receives the platform registration request sent by the blockchain platform 20 of the first participant, wherein the message transfer device 30 registers the blockchain platform 20 of the first participant in the message transfer device 30 based on the platform registration request, and the first participant is a participant that has not been registered in the message transfer device 30; that is, all participants that have not been registered in the message transfer device 30 need to register, and the message transfer device 30 will register the corresponding blockchain platform 20 of the first participant according to the received platform registration request, thereby completing the registration of the blockchain platform 20 of the first participant on the message transfer device 30. Taking the blockchain platform 20 of the event initiator as an example, after the message transfer device 30 receives the platform registration request sent by the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator is registered based on the received platform registration request.
[0054] In one embodiment, after sending a platform registration request to the message transfer device 30 and before sending an event initiation request to the message transfer device 30, the blockchain platform 20 of the event sender sends the metadata of the blockchain platform 20 of the event initiator (for example, the name of the blockchain platform 20, platform administrator information or chain administrator information, etc.) to the message transfer device 30, wherein the message transfer device 30 will forward the metadata of the blockchain platform 20 of the event initiator to the blockchain platforms 20 of each participant other than the event initiator; that is, after the blockchain platform 20 of the event initiator completes the registration with the message transfer device 30, the message transfer device 30 will forward the metadata of the blockchain platform 20 of the event initiator to the remaining blockchain platforms 20 that have completed the registration with the message transfer device 30, that is, the message transfer device 30 will broadcast the metadata of the blockchain platform 20 of the event initiator to the remaining blockchain platforms 20, thereby realizing metadata synchronization between each independent blockchain platform 20. For the blockchain platform 20 of the event recipient, after sending the platform registration request to the message transfer device 30 and before receiving the event initiation request forwarded by the message transfer device 30, the blockchain platform 20 of the event recipient sends the metadata of the blockchain platform 20 of the event recipient to the message transfer device 30, wherein the message transfer device 30 will forward the metadata of the blockchain platform 20 of the event recipient to the blockchain platforms 20 of each participant other than the event recipient, thereby realizing metadata synchronization between each independent blockchain platform 20. For the message transfer device 30, it will receive the metadata sent by the blockchain platform 20 of the first participant, and forward the received metadata of the blockchain platform 20 of the first participant to the blockchain platform 20 of the second participant, where the second participant is a participant other than the first participant, so as to broadcast the metadata of the blockchain platform 20 of the first participant to the blockchain platform 20 of the second participant, thereby realizing metadata synchronization between each independent blockchain platform 20; that is, whether it is the event initiator or the event receiver, that is, any participant, who needs to perform message event transmission, data synchronization, etc. through the message transfer device 30 in the future, needs to register on the message transfer device 30 first. After registering any participant, the message transfer device 30 will forward the metadata of the blockchain platform 20 of this participant to the blockchain platforms 20 of the remaining registered participants, thereby realizing metadata synchronization between each independent blockchain platform 20.
[0055] After registering any participant, the message transfer device 30 will forward the metadata of the blockchain platform 20 of the participant to the blockchain platforms 20 of the other registered participants, thereby realizing metadata synchronization between the independent blockchain platforms 20. Therefore, in one embodiment, if there are other blockchain platforms 20 registered on the message transfer device 30 after the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator will also receive the metadata of the blockchain platform 20 of the participants other than the event initiator forwarded by the message transfer device 30, so as to realize metadata synchronization between the blockchain platforms 20. For the blockchain platform 20 of the event receiver, if there are other blockchain platforms 20 registered on the message transfer device 30 after the blockchain platform 20 of the event receiver, the blockchain platform 20 of the event receiver will also receive the metadata of the blockchain platform 20 of the participants other than the event receiver forwarded by the message transfer device 30, so as to realize metadata synchronization between the blockchain platforms 20.
[0056] Step S72: Receive a data synchronization request forwarded by the message transfer device.
[0057] For the blockchain platform 20 of the event receiver, the blockchain platform 20 of the event receiver will process the event initiation request including the pending blockchain event in response to the event initiation request sent by the blockchain platform 20 of the event initiator. At this time, the relevant data of the event receiver in the target blockchain will change, so the blockchain platform 20 of the event receiver will send a data synchronization request to the message transfer device 30, so that the subsequent message transfer device 30 will forward the message synchronization request to the blockchain platform 20 of the participant participating in the target blockchain. For the message transfer device 30, the message transfer device 30 forwards the data synchronization request sent by the blockchain platform 20 of the event receiver to the blockchain platform 20 of the participant participating in the target blockchain; wherein, in one embodiment, the message transfer device 30 can forward the data synchronization request sent by the blockchain platform 20 of the event receiver to the blockchain platform 20 of each target blockchain participant, and the blockchain platform 20 of each target blockchain participant directly updates the relevant data to achieve data synchronization of each blockchain platform 20; of course, in other embodiments, the message transfer device 30 can forward the data synchronization request sent by the blockchain platform 20 of the event receiver to the blockchain platform 20 of the event initiator, and after the blockchain platform 20 of the event initiator updates the relevant data, it forwards the data update request to the blockchain platform 20 of other target blockchain participants through the message transfer device 30 to achieve data synchronization of each blockchain platform 20. For the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator receives the data synchronization request forwarded by the message transfer device 30, so as to update the relevant data based on the received data synchronization request, and achieve data synchronization of each blockchain platform 20.
[0058] In a specific implementation, when the pending blockchain event is a chain invitation, the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain. For example, taking the pending blockchain event as a chain invitation as an example, Figure 4 As shown in the figure, the blockchain platform management system (leader) is the blockchain platform 20 of the event initiator, the message middleware is the message transfer device 30, and the blockchain platform management system (member) is the blockchain platform 20 of a certain event receiver. Specifically, after the blockchain platform management system (member) agrees to join the target blockchain, it will assign the chain administrator corresponding to the target blockchain, i.e. Figure 4For alliance members in, the chain administrator inputs the node information, the blockchain platform management system (member) generates the organization certificate, node certificate, deployment package and private key, etc. and updates the node data of the organization to complete the visual blockchain node addition; then, since the relevant data of the blockchain platform management system (member) in the target blockchain changes, a node information synchronization request is sent to the message middleware; then, the message middleware forwards the node information synchronization request sent by the blockchain platform management system (member) to the blockchain platform management system (leader); then, the blockchain platform management system (leader) receives the node information synchronization request forwarded by the message middleware and updates the chain and node data; then, the blockchain platform management system (leader) sends a node information update request to the message middleware; then, the message middleware forwards the node information update request sent by the blockchain platform management system (leader) to the blockchain platform management system (other members); then, the blockchain platform management system (other members) receives the node information update request and updates the chain and node data.
[0059] In one embodiment, for the message transfer device 30, if the blockchain platform 20 of the event initiator is not the blockchain platform 20 of the creator of the target blockchain, the message transfer device 30 also needs to forward the event processing result sent by the blockchain platform 20 of the event recipient to the blockchain platform 20 of the creator of the target blockchain, so that the blockchain platform 20 of the creator of the subsequent target blockchain can determine whether to update the blockchain data of the target blockchain based on the event processing result.
[0060] See also Figure 8 , Figure 8 is a flowchart of another embodiment of the blockchain event processing method provided by the present application. It should be noted that if there are substantially the same results, this embodiment is not based on Figure 8 The process sequence shown is limited. Figure 8 As shown, in this embodiment, the execution subject of the blockchain event processing method is the message transfer device 30, which specifically includes:
[0061] Step S81: forward the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver.
[0062] The specific content of step S81 can refer to step S71 and will not be repeated here.
[0063] Step S82: forward the data synchronization request sent by the blockchain platform of the event recipient to the blockchain platforms of each participant participating in the target blockchain.
[0064] The specific content of step S82 can refer to step S72 and will not be repeated here.
[0065] See also Fig. 9 , Fig. 9 is a flowchart of another embodiment of the blockchain event processing method provided by the present application. It should be noted that if there are substantially the same results, this embodiment is not based on Fig. 9 The process sequence shown is limited. Fig. 9 As shown, in this embodiment, the execution subject of the blockchain event processing method is the blockchain platform 20 of the event receiver, which specifically includes:
[0066] Step S91: receiving an event initiation request forwarded by a message transfer device.
[0067] The specific content of step S91 can refer to step S71 and will not be repeated here.
[0068] Step S92: In response to changes in relevant data of the event recipient of the pending blockchain event in the target blockchain after the pending blockchain event is processed, a data synchronization request is sent to the message transfer device.
[0069] The specific content of step S92 can refer to step S71 and will not be repeated here.
[0070] See also Fig.10 , Fig.10 It is a structural diagram of an embodiment of a blockchain event processing device provided by the present application. The blockchain event processing device 100 includes an event initiation forwarding module 101 and a data synchronization forwarding module 102. The event initiation forwarding module 101 is used to forward the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator participates; the data synchronization forwarding module 102 is used to forward the data synchronization request sent by the blockchain platform of the event receiver to the blockchain platform of the participant participating in the target blockchain; wherein the blockchain platform of the event receiver responds to the change of the relevant data of the event receiver in the target blockchain after the pending blockchain event is processed and sends a data synchronization request.
[0071] Among them, the above-mentioned blockchain events to be processed at least include: chain invitation, ledger invitation, chain exit, ledger exit, and metadata synchronization.
[0072] Among them, the blockchain event processing device 100 also includes a processing result forwarding module 103, which is used to forward the event processing result sent by the blockchain platform of the event recipient to the blockchain platform of the creator of the target blockchain; wherein, the event processing result is used for the blockchain platform of the creator to determine whether to update the blockchain data of the target blockchain.
[0073] Among them, the blockchain event processing device 100 also includes a registration module 104. The registration module 104 is used to forward the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver, and specifically includes: receiving a platform registration request sent by the blockchain platform of the first participant; wherein, based on the platform registration request, the blockchain platform of the first participant is registered in the message transfer device, and the first participant is a participant that is not registered in the message transfer device.
[0074] Among them, the data synchronization forwarding module 102 is used to receive the platform registration request sent by the blockchain platform of the first participant and before forwarding the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver. Specifically, it includes: receiving the metadata sent by the blockchain platform of the first participant, and forwarding the metadata to the blockchain platform of the second participant; wherein the second participant is a participant other than the first participant.
[0075] Among them, when the above-mentioned blockchain event to be processed is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the target blockchain is created by the event initiator, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain.
[0076] See also Fig.11 , Fig.11 It is a structural diagram of another embodiment of the blockchain event processing device provided by the present application. The blockchain event processing device 110 includes an event initiation sending module 111 and a data synchronization receiving module 112. The event initiation sending module 111 is used to send an event initiation request to a message transfer device; wherein, the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator who sends the event initiation request participates, and the event initiation request is forwarded by the message transfer device to the blockchain platform of the event recipient; the data synchronization receiving module 112 is used to receive the data synchronization request forwarded by the message transfer device; wherein, the data synchronization request is sent to the message transfer device by the blockchain platform of the event recipient in response to the change of the relevant data of the event recipient in the target blockchain after the pending blockchain event is processed, and is forwarded by the message transfer device to the blockchain platform of the participant participating in the target blockchain.
[0077] Among them, the blockchain event processing device 110 also includes a platform registration module 113. The platform registration module 113 is used to send a platform registration request to the message transfer device before sending an event initiation request to the message transfer device. Specifically, the platform registration request is used to request that the blockchain platform of the event initiator be registered in the message transfer device.
[0078] Among them, the blockchain event processing device 110 also includes a metadata module 114, and the metadata module 114 is used to, after sending a platform registration request to the message transfer device and before sending an event initiation request to the message transfer device, specifically include at least one of the following: sending the metadata of the blockchain platform of the event initiator to the message transfer device; wherein the message transfer device forwards the metadata of the blockchain platform of the event initiator to the blockchain platforms of each participant other than the event initiator; receiving the metadata of the blockchain platform of the participants other than the event initiator forwarded by the message transfer device.
[0079] See also Fig.12 , Fig.12 It is a structural diagram of another embodiment of the blockchain event processing device provided by the present application. The blockchain event processing device 120 includes an event initiation receiving module 121 and a data synchronization sending module 122. The event initiation receiving module 121 is used to receive an event initiation request forwarded by a message transfer device; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator sending the event initiation request participates; the data synchronization sending module 122 is used to respond to changes in the relevant data of the event receiver of the pending blockchain event and the target blockchain after the pending blockchain event is processed, and send a data synchronization request to the message transfer device; wherein the message transfer device forwards the data synchronization request to the blockchain platform of the participant participating in the target blockchain.
[0080] Among them, the blockchain event processing device 120 also includes a platform registration module 123. The platform registration module 123 is used to, before receiving the event initiation request forwarded by the message transfer device, specifically include: sending a platform registration request to the message transfer device; wherein, the platform registration request is used to request that the blockchain platform of the event recipient be registered in the message transfer device.
[0081] Among them, the blockchain event processing device 120 also includes a metadata module 124, and the metadata module 124 is used to, after sending a platform registration request to the message transfer device and before receiving an event initiation request forwarded by the message transfer device, specifically include at least one of the following: sending the metadata of the blockchain platform of the event recipient to the message transfer device; wherein the message transfer device forwards the metadata of the blockchain platform of the event recipient to the blockchain platforms of each participant other than the event recipient; receiving the metadata of the blockchain platform of the participants other than the event recipient forwarded by the message transfer device.
[0082] See also Fig.13 , Fig.13It is a structural diagram of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 130 of the embodiment of the present application stores a program instruction 131, and when the program instruction 131 is executed, it implements the method provided by any embodiment of the blockchain event processing method of the present application and any non-conflicting combination. Among them, the program instruction 131 can form a program file and be stored in the above-mentioned computer-readable storage medium 130 in the form of a software product, so that a computer device (which can be a personal computer, server, or network device, etc.) executes all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium 130 includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code, or terminal devices such as computers, servers, mobile phones, and tablets.
[0083] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A blockchain event processing method, characterized in that: include: Forwarding the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event recipient; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator participates; Forwarding the data synchronization request sent by the blockchain platform of the event recipient to the blockchain platform of the participant participating in the target blockchain; wherein the blockchain platform of the event recipient sends the data synchronization request in response to the event recipient sending the data synchronization request after the relevant data of the target blockchain changes after the pending blockchain event is processed; Forwarding the event processing result sent by the blockchain platform of the event recipient to the blockchain platform of the creator of the target blockchain; wherein the event processing result is used by the blockchain platform of the creator to determine whether to update the blockchain data of the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
2. The method according to claim 1, characterized in that The blockchain events to be processed include at least: chain invitation, ledger invitation, chain exit, ledger exit, and metadata synchronization.
3. The method according to claim 1 or 2, characterized in that: Before forwarding the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver, the method further includes: Receive a platform registration request sent by the blockchain platform of the first participant; wherein, based on the platform registration request, the blockchain platform of the first participant is registered in the message forwarding device, and the first participant is a participant that is not registered in the message forwarding device.
4. The method according to claim 3, characterized in that After receiving the platform registration request sent by the blockchain platform of the first participant, and before forwarding the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver, the method further includes: Receive metadata sent by the blockchain platform of the first participant, and forward the metadata to the blockchain platform of the second participant; wherein the second participant is a participant other than the first participant.
5. A blockchain event processing method, characterized in that: include: Sending an event initiation request to a message transfer device; wherein the event initiation request includes a pending blockchain event, the pending blockchain event is related to a target blockchain in which an event initiator that sends the event initiation request participates, and the event initiation request is forwarded by the message transfer device to a blockchain platform of an event recipient; Receiving a data synchronization request forwarded by the message transfer device; wherein the data synchronization request is sent to the message transfer device by the blockchain platform of the event recipient in response to the pending blockchain event after the event recipient changes the relevant data of the target blockchain, and is forwarded by the message transfer device to the blockchain platform of the participant participating in the target blockchain; Sending the event processing result sent by the blockchain platform of the event recipient to the message transfer device; wherein the event processing result is used by the blockchain platform of the creator to determine whether to update the blockchain data of the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
6. The method according to claim 5, characterized in that Before sending the event initiation request to the message forwarding device, the method further includes: Send a platform registration request to the message transfer device; wherein the platform registration request is used to request that the blockchain platform of the event initiator be registered on the message transfer device.
7. The method according to claim 6, characterized in that After sending the platform registration request to the message transfer device and before sending the event initiation request to the message transfer device, the method further includes at least one of the following: Sending metadata of the blockchain platform of the event initiator to the message transfer device; wherein the message transfer device forwards the metadata of the blockchain platform of the event initiator to the blockchain platforms of each of the participants other than the event initiator; Receive metadata of the blockchain platform of a participant other than the event initiator forwarded by the message transfer device.
8. A blockchain event processing method, characterized in that: include: Receiving an event initiation request forwarded by a message transfer device; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to a target blockchain in which an event initiator that sends the event initiation request participates; In response to changes in the relevant data of the target blockchain of the event recipient of the to-be-processed blockchain event after the to-be-processed blockchain event is processed, a data synchronization request is sent to the message transfer device; wherein the message transfer device forwards the data synchronization request to the blockchain platform of the participant participating in the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
9. The method according to claim 8, characterized in that Before receiving the event initiation request forwarded by the message forwarding device, the method further includes: Send a platform registration request to the message transfer device; wherein the platform registration request is used to request that the blockchain platform of the event recipient be registered on the message transfer device.
10. The method according to claim 9, characterized in that After sending the platform registration request to the message transfer device and before receiving the event initiation request forwarded by the message transfer device, the method further includes at least one of the following: Sending metadata of the blockchain platform of the event recipient to the message transfer device; wherein the message transfer device forwards the metadata of the blockchain platform of the event recipient to the blockchain platforms of each of the participants other than the event recipient; Receive metadata of the blockchain platform of a participant other than the event recipient forwarded by the message transfer device.
11. A blockchain event processing device, characterized in that: include: An event initiation forwarding module, used to forward the event initiation request sent by the blockchain platform of the event initiator to the blockchain platform of the event receiver; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to the target blockchain in which the event initiator participates; A data synchronization forwarding module, used to forward the data synchronization request sent by the blockchain platform of the event recipient to the blockchain platforms of each participant participating in the target blockchain; wherein the blockchain platform of the event recipient sends the data synchronization request in response to the event to be processed, when the relevant data of the target blockchain changes; A processing result forwarding module, used to forward the event processing result sent by the blockchain platform of the event recipient to the blockchain platform of the creator of the target blockchain; wherein the event processing result is used for the blockchain platform of the creator to determine whether to update the blockchain data of the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
12. A blockchain event processing device, characterized in that: include: An event initiation sending module, used to send an event initiation request to a message transfer device; wherein the event initiation request includes a pending blockchain event, the pending blockchain event is related to a target blockchain in which an event initiator sending the event initiation request participates, and the event initiation request is forwarded by the message transfer device to a blockchain platform of an event recipient; A data synchronization receiving module, configured to receive a data synchronization request forwarded by the message transfer device; wherein the data synchronization request is sent to the message transfer device by the blockchain platform of the event recipient in response to the pending blockchain event processing, when the relevant data of the target blockchain changes, and is forwarded by the message transfer device to the blockchain platforms of each participant participating in the target blockchain; The event initiation and sending module is also used to send the event processing result sent by the blockchain platform of the event recipient to the message transfer device; wherein the event processing result is used for the blockchain platform of the creator to determine whether to update the blockchain data of the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
13. A blockchain event processing device, characterized in that: include: An event initiation receiving module, configured to receive an event initiation request forwarded by a message transfer device; wherein the event initiation request includes a pending blockchain event, and the pending blockchain event is related to a target blockchain in which an event initiator that sends the event initiation request participates; A data synchronization sending module, configured to send a data synchronization request to the message transfer device in response to a change in the relevant data of the target blockchain of the event recipient of the to-be-processed blockchain event after the to-be-processed blockchain event is processed; wherein the message transfer device forwards the data synchronization request to the blockchain platform of each participant participating in the target blockchain; Wherein, in the case where the to-be-processed blockchain event is a chain invitation, the chain invitation is used to invite the event recipient to participate in the target blockchain, the chain invitation includes the organization certificate of the event recipient, and the organization certificate of the event recipient is created by the blockchain platform of the event initiator, and the data synchronization request includes the node information of each node created by the event recipient participating in the target blockchain; The target blockchain is created by the event initiator, and the creation process sequentially includes creating a new blockchain, configuring basic chain information, selecting a server, allocating ports, and setting a deployment path.
14. A message transfer device, characterized in that: It includes a communication circuit, a memory and a processor, wherein the communication circuit and the memory are respectively coupled to the processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the blockchain event processing method described in any one of claims 1 to 4.
15. A blockchain platform, characterized in that: It includes a communication circuit, a memory and a processor, wherein the communication circuit and the memory are respectively coupled to the processor, the memory stores program instructions, and the processor is used to execute the program instructions to implement the blockchain event processing method according to any one of claims 5 to 10.
16. The blockchain platform according to claim 15, characterized in that: The blockchain platform includes at least a message synchronization module, and the message synchronization module is communicatively connected with the message transfer device.
17. A blockchain platform system, characterized in that: It includes a message transfer device and blockchain platforms belonging to each party, wherein the message transfer device is respectively connected to each of the blockchain platforms for synchronizing data between the blockchain platforms; Among them, the parties include an event initiator and an event receiver, the message transfer device is used to execute the blockchain event processing method described in any one of claims 1 to 4, the blockchain platform of the event initiator is used to execute the blockchain event processing method described in any one of claims 5-7, and the blockchain platform of the event receiver is used to execute the blockchain event processing method described in any one of claims 8-10.
18. A computer-readable storage medium, characterized in that: Program instructions that can be executed by a processor are stored, and the program instructions are used to implement the blockchain event processing method described in any one of claims 1 to 10.
