CN115086352A - Block chain event processing method and related device, platform and storage medium - Google Patents

Block chain event processing method and related device, platform and storage medium Download PDF

Info

Publication number
CN115086352A
CN115086352A CN202210489622.XA CN202210489622A CN115086352A CN 115086352 A CN115086352 A CN 115086352A CN 202210489622 A CN202210489622 A CN 202210489622A CN 115086352 A CN115086352 A CN 115086352A
Authority
CN
China
Prior art keywords
event
blockchain
block chain
platform
chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210489622.XA
Other languages
Chinese (zh)
Inventor
倪修峰
王辉
许昀
吴涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Iflytek Information Technology Co Ltd
Original Assignee
Iflytek Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Iflytek Information Technology Co Ltd filed Critical Iflytek Information Technology Co Ltd
Priority to CN202210489622.XA priority Critical patent/CN115086352A/en
Publication of CN115086352A publication Critical patent/CN115086352A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • H04L9/3268Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]

Abstract

The application discloses a block chain event processing method, a related device, a platform and a storage medium, wherein the method comprises the following steps: sending an event initiating request to a management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiating request, the event initiating request is forwarded to a block chain platform of an event receiver by a governance block chain, and nodes are deployed in the governance block chain on both the block chain platform of the event initiator and the block chain platform of the event receiver; receiving a request feedback message forwarded by a management block chain; wherein the request feedback message is sent by the blockchain platform of the event receiver based on a processing result of the blockchain event to be processed. By the scheme, the problem of ownership of block chain platform management and maintenance can be solved, and the problem of system reliability caused by centralized storage can be solved.

Description

Block chain event processing method and related device, platform and storage medium
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method for processing blockchain events, and a related apparatus, platform, and storage medium.
Background
A traditional enterprise-level Blockchain BaaS (Blockchain as a Service) platform is designed based on a centralized architecture, and different enterprises or organizations need to access the platform to perform operations such as resource application, resource allocation, Blockchain application, Blockchain creation, Blockchain management, Service arrangement, subsequent monitoring, operation and maintenance management, and the like. However, in the block chain open service platform based on the centralized management mode, many parties of the block chain have and only use one set of block chain BaaS platform, and there are problems of ownership of platform management and maintenance and system reliability caused by centralized storage of platform management operation and maintenance data. In addition, because the authority of the platform administrator is too large, the private data of all the coalition members can not be completely isolated and can not be known by outsiders.
Disclosure of Invention
The technical problem mainly solved by the present application is to provide a method for processing a blockchain event, and a related device, a platform and a storage medium, which can solve the problem of ownership of blockchain platform management and maintenance and the problem of system reliability caused by centralized storage.
In order to solve the above technical problem, a first aspect of the present application provides a method for processing a blockchain event, where the method includes: sending an event initiation request to a management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiating request, the event initiating request is forwarded to a block chain platform of an event receiver by a governance block chain, and nodes are deployed in the governance block chain on both the block chain platform of the event initiator and the block chain platform of the event receiver; receiving a request feedback message forwarded by a management block chain; wherein the request feedback message is sent by the blockchain platform of the event receiver based on a processing result of the blockchain event to be processed.
In order to solve the above technical problem, a second aspect of the present application provides a method for processing a blockchain event, including: receiving an event initiation request forwarded by a management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiating request, the event initiating request is sent to a management block chain by the block chain platform of the event initiator, and nodes are deployed in the management block chain on both the block chain platform of the event initiator and the block chain platform of an event receiver; sending a request feedback message to a treatment block chain based on a treatment result of the block chain event to be treated; the management block chain forwards the request feedback message to a block chain platform of the event initiator.
In order to solve the above technical problem, a third aspect of the present application provides a method for processing a blockchain event, where the method includes: a block chain platform of an event initiator sends an event initiation request to a management block chain; the event initiation request comprises a block chain event to be processed, and the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiation request; a block chain platform of an event receiver receives an event initiation request forwarded by a management block chain; the system comprises an event initiator, an event receiver and a block chain platform, wherein the block chain platform of the event initiator and the block chain platform of the event receiver are both provided with nodes in a management block chain; the block chain platform of the event receiver sends a request feedback message to a management block chain based on the processing result of the block chain event to be processed; the block chain platform of the event initiator receives the request feedback message forwarded by the administration block chain.
In order to solve the above technical problem, a fourth aspect of the present application provides a blockchain event processing apparatus, including: the request sending module is used for sending an event initiating request to the management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiating request, the event initiating request is forwarded to a block chain platform of an event receiver by a governance block chain, and nodes are deployed in the governance block chain on both the block chain platform of the event initiator and the block chain platform of the event receiver; the feedback receiving module is used for receiving a request feedback message forwarded by the management block chain; wherein the request feedback message is sent by the blockchain platform of the event receiver based on a processing result of the blockchain event to be processed.
In order to solve the above technical problem, a fifth aspect of the present application provides a block chain event processing apparatus, including: the request receiving module is used for receiving an event initiating request forwarded by the management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of an event initiator sending the event initiating request, the event initiating request is sent to a management block chain by the block chain platform of the event initiator, and nodes are deployed in the management block chain on both the block chain platform of the event initiator and the block chain platform of an event receiver; the feedback sending module is used for sending a request feedback message to the treatment block chain based on the processing result of the block chain event to be processed; the management block chain forwards the request feedback message to a block chain platform of the event initiator.
In order to solve the above technical problem, a sixth aspect of the present application provides a blockchain platform, which includes a communication circuit, a memory, and a processor, where the communication circuit and the memory are respectively coupled to the processor, and the memory stores program instructions, and the processor is configured to execute the program instructions to implement the blockchain event processing method of the first aspect and the second aspect.
In order to solve the above technical problem, a seventh aspect of the present application provides a blockchain platform system, where the blockchain platform system includes blockchain platforms belonging to each party, each party includes an event initiator and an event receiver, and both the blockchain platform of the event initiator and the blockchain platform of the event receiver are deployed with nodes in a governance blockchain, the blockchain platform of the event initiator is configured to execute the blockchain event processing method of the first aspect through the governance blockchain, and the blockchain platform of the event receiver is configured to execute the blockchain event processing method of the second aspect through the governance blockchain.
In order to solve the above technical problem, an eighth aspect of the present application provides a computer-readable storage medium storing program instructions executable by a processor, the program instructions being for implementing the above block chain event processing method.
According to the scheme, the to-be-processed blockchain event which is sent by the blockchain platform of the event initiator and is related to the application blockchain in which the event initiator participates is forwarded to the blockchain platform of the event receiver, and the request feedback information sent by the blockchain platform of the event receiver is received. Therefore, data among the independent block chain platforms are transferred and transmitted through the deployed governing block chain, and message forwarding and data synchronization among the block chain platforms are processed. In addition, each block chain platform is independent, the functions of resource allocation, deployment and construction of each block chain, management, monitoring, maintenance and the like of the block chains can be independently controlled, multi-centralization and decentralized are achieved, each block chain platform has independent data storage service, distributed accounting and block chain data storage are achieved, the problem of system reliability brought after centralized storage of management operation and maintenance data is reduced to a certain extent, meanwhile, private data of each block chain participant can be completely isolated and cannot be learned by outsiders, and user experience is improved.
Drawings
FIG. 1 is a block chain platform system according to an embodiment of the present disclosure;
fig. 2 is an interaction diagram of an embodiment of a blockchain platform access abatement blockchain provided by the present application;
FIG. 3 is an interaction diagram of one embodiment of a processing chain invitation provided herein;
FIG. 4 is a block chain platform according to an embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a method for processing a blockchain event according to an embodiment of the present disclosure;
FIG. 6 is a flow diagram illustrating an embodiment of a blockchain platform for determining event recipients provided herein;
FIG. 7 is a schematic flow chart diagram illustrating one embodiment of establishing a remediation block chain as provided herein;
FIG. 8 is a flowchart of one embodiment of the blockchain platform of the event initiator processing a second chain invitation;
fig. 9 is a flowchart illustrating a method for processing blockchain events according to another embodiment of the present disclosure;
FIG. 10 is a flowchart of one embodiment of the blockchain platform of the event recipient processing a second chain invitation;
FIG. 11 is a flowchart illustrating a method for processing blockchain events according to another embodiment of the present disclosure;
FIG. 12 is a block chain event processing apparatus according to an embodiment of the present disclosure;
FIG. 13 is a block chain event processing apparatus according to another embodiment of the present disclosure;
FIG. 14 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The following describes in detail the embodiments of the present application with reference to the drawings attached hereto.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular system structures, interfaces, techniques, etc. in order to provide a thorough understanding of the present application.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship. Further, the term "plurality" herein means two or more than two. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of a block chain platform system provided in the present application. The present application provides a blockchain platform system 10, where the blockchain platform system 10 includes blockchain platforms 20 belonging to each party, that is, when a plurality of blockchain participants exist, each party deploys and maintains a set of independent and associated blockchain platform 20, and it is possible to implement the functions of independently controlling resource allocation, deployment and establishment of respective blockchains, and management, monitoring, maintenance and the like of the blockchain for different blockchain participants, 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 block chain platform system 10 designed based on a centralized architecture, on one hand, different block chain participants independently control respective block chain platforms 20 and have independent front-end and back-end services, so that the ownership problems of management, maintenance and the like of the block chain platform system 10 are solved; on the other hand, due to the multi-centralization and decentralized architecture design of the block chain platform system 10, each block chain platform 20 has an independent data storage service, distributed accounting and storage of block chain data are achieved, the system reliability problem caused by centralized storage of management operation and maintenance data is reduced to a certain extent, meanwhile, private data of each block chain participant can be completely isolated and cannot be learned by outsiders, and user experience is improved.
Each of the above parties includes an event initiator and an event receiver, nodes are disposed on a management blockchain 30 of both a blockchain platform 20 of the event initiator and a blockchain platform 20 of the event receiver, the blockchain platform 20 of the event initiator is configured to process a blockchain event corresponding to the event initiator through the management blockchain 30, and the blockchain platform 20 of the event receiver is configured to process a blockchain event corresponding to the event receiver through the management blockchain 30. For example, the blockchain platform 20 of the event initiator sends a chain invitation, an ledger invitation, and a chain exit pending blockchain event through the administration blockchain 30, and the blockchain platform 20 of the event recipient receives a chain invitation, an ledger invitation, and a chain exit pending blockchain event through the administration blockchain 30. That is, the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event receiver access the unified administering blockchain 30, and the administering blockchain 30 realizes message transmission, data synchronization, and the like between the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event receiver.
Since the block chain platform system 10 designed based on the multi-centralization and decentralized architecture is provided in the present application, the governance block chain 30 is introduced to form the multi-centralization and decentralized block chain platform system 10 with a chain governance chain, so as to implement message event transmission, data synchronization, and the like between the block chain platforms 20 deployed in the multi-center of the governance block chain 30 processing block chain platform system 10, that is, the configuration of the governance block chain 30 implements message transmission and information sharing between the block chain platforms 20. The message transmission and information sharing among the block chain platforms 20 are realized by introducing message middleware, the process is complex and long, and the design cost is high; in addition, the message middleware is actually independent of each blockchain platform 20, and all data is collected in the message middleware, so that the message middleware is not completely decentralized, and some management and data security related problems exist. Therefore, compared with a mode of performing message transmission and information sharing among the blockchain platforms 20 by setting message middleware, the mode of performing message transmission and information sharing among the blockchain platforms 20 by introducing the governance blockchain 30 is realized, the process of message transmission and information sharing is simple, the development and design costs are low, and the problems related to management and data safety do not exist.
For example, the operation of blockchain platform system 10 is specifically described by taking the pending blockchain event as a chain invitation. As shown in fig. 2, fig. 2 is an interaction diagram of an embodiment of accessing a blockchain platform into a treatment blockchain provided by the present application, where a center a is a blockchain platform 20 of an initiator of a treatment blockchain 30, a normal chain is a treatment blockchain 30, and a center B is a blockchain platform 20 of an invitee of the treatment blockchain 30; specifically, the central administrator a builds and configures the blockchain platform 20, that is, the central administrator a deploys the blockchain platform 20, and performs authentication on the blockchain platform 20, specifically, uploads the organization information of the blockchain platform 20, so as to authenticate the organization validity of the blockchain platform 20; the center B builds and configures a block chain platform 20, namely a center administrator B deploys the block chain platform 20, and performs block chain platform 20 authentication, specifically, uploading organization information of the block chain platform 20 to authenticate the organization legality of the block chain platform 20; then, the center A initiates a deployment method chain, the center A deploys the nodes of the center A in the method chain, and the nodes of the center A in the method chain temporarily form the method chain; center a may invite center B to join the legal chain, at which point center a generates the credentials of the invited organization (the invited organization's credential request); then, the center A sends invitation information of a joining legal link to the center B in an off-line mode, wherein the invitation information of the joining legal link comprises node information, a certificate of an invited organization and the like; then, the center B receives the invitation information of the joining method chain sent by the center A, and writes the received invitation information of the joining method chain into a database so as to be convenient for the subsequent examination, processing and the like by a center administrator B; under the condition that the center B accepts the invitation of joining the legal chain, a center administrator B of the center B sends a deployment legal chain instruction, the center B automatically deploys the nodes of the center B in the legal chain based on the deployment instruction, and the nodes of the center A deployed in the legal chain and the nodes of the center B deployed in the legal chain form the legal chain.
As shown in fig. 3, fig. 3 is an interaction diagram of an embodiment of a processing chain invitation provided in the present application, where a center a is a blockchain platform 20 of an event initiator, a normal chain is a governing blockchain 30, and a center B is a blockchain platform 20 of a certain event receiver; specifically, the center a performs user authority configuration, adds a chain administrator, and the chain administrator creates an application chain a and completes application chain a basic information configuration, where the application chain a basic information specifically may include an application chain a name, an encryption algorithm type (e.g., a conventional algorithm, a national encryption algorithm, etc.), chain creation party information, participant information, an application chain a node, account book information, and the like, and after completing application chain creation, server selection, port allocation, and deployment path setting, the chain administrator can implement automatic deployment of a block chain node and full-flow deployment log query; the chain manager can invite the center B to join the application chain A, and at the moment, the center A calls an intelligent contract of the law chain to inquire the block chain platform 20 which is already connected with the law chain so as to determine the block chain platform 20 which is invited to join the application block chain by the center A; then, the intelligent contract of the central A calling method chain transfers the chain invitation added into the application chain A to the central B; then, after the center B agrees to join the application chain A, the center B sends request feedback information including the encryption key to a legal chain; then, the legal chain determines the required intelligent contract according to the request feedback information and calls the corresponding intelligent contract; at the moment, the center A receives request feedback information which is sent by the center B and comprises an encryption key through an event monitoring mechanism of the intelligent contract; then, the center A generates a second organization certificate of the center B in the application chain A and encrypts the second organization certificate by using an encryption key; then, the center A sends the chain data related to the application chain A to a legal chain, and the legal chain determines the required intelligent contract according to the chain data and calls the corresponding intelligent contract; at the moment, the center B receives the chain data sent by the center A through an event monitoring mechanism of the intelligent contract; then, the center B deploys the nodes of the center B in the application chain A, specifically, the center B inputs node information corresponding to a chain administrator distributed to the application chain A, and the center B generates an organization certificate, a node certificate, a deployment package, a private key and the like and updates the data of the organization node so as to complete the addition of the chain link points of the visual block; then, after joining the application chain a, the center B sends an information update request (e.g., node information, port information, member information, etc.) to the normal chain because the relevant data of the application chain a changes; then, the legal chain forwards the information updating request sent by the center B to the rest of the block chain platforms 20 added to the application chain a; then, the rest of the blockchain platforms 20 that have joined the application chain a receive the information update request forwarded by the legal chain, and update the chain and node data, so as to implement data synchronization between the independent blockchain platforms 20.
According to the implementation mode, each party deploys and maintains a set of independent and associated block chain platform, so that the functions of independently controlling resource allocation, deployment and construction of respective block chains and managing, monitoring and maintaining the block chains of different block chain participants can be realized, and decentralization of a block chain platform system is realized. On one hand, different block chain participants independently control respective block chain platforms and have independent front-end and back-end services, so that the problem of ownership of management and maintenance of a block chain platform system is solved; on the other hand, each block chain platform has an independent data storage service, distributed accounting and block chain data storage are achieved, the problem of system reliability brought by centralized storage of management operation and maintenance data is reduced to a certain extent, meanwhile, private data of each block chain participant can be completely isolated and cannot be learned by outsiders, and user experience is improved. In addition, by introducing the treatment block chain into the block chain platform system, data between each independent block chain platform can be transferred and transmitted through the deployed treatment block chain, so that message events and data synchronization between each multi-center deployed block chain platform in the block chain platform system can be processed.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a block chain platform according to an embodiment of the present disclosure. The present application provides a blockchain platform 20, where the blockchain 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 configured to execute program instructions stored in the memory 22, so as to implement the following steps of any one of the blockchain event processing method embodiments corresponding to the blockchain platform 20 whose execution subject is an event initiator and the blockchain platform 20 whose execution subject is an event recipient.
Specifically, the processor 23 is configured to control itself and the memory 22 to implement the steps of any embodiment of the blockchain event processing method, whose execution subjects are the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event recipient. The processor 23 may also be referred to as a CPU (Central Processing Unit). The processor 23 may be an integrated circuit chip having signal processing capabilities. The Processor 23 may also be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. In addition, the processor 23 may be commonly implemented by an integrated circuit chip.
In the above embodiment, different blockchain participants autonomously control their respective blockchain platforms, and have independent front and back end services, thereby solving the ownership problems of management, maintenance and the like of the blockchain platform system; on the other hand, each block chain platform has an independent data storage service, distributed accounting and block chain data storage are achieved, the problem of system reliability brought by centralized storage of management operation and maintenance data is reduced to a certain extent, meanwhile, private data of each block chain participant can be completely isolated and cannot be learned by outsiders, and user experience is improved.
In one embodiment, the blockchain platform 20 is configured with at least a management module for processing the blockchain event to be processed. That is, since the present application provides the blockchain platform system 10 designed based on the multi-centralization and decentralized architecture, the blockchain platforms 20 of all parties included in the blockchain platform system 10 implement message passing and data synchronization through the abatement blockchain 30 accessed by the blockchain platforms 20, so that the blockchain platform 20 can call the abatement blockchain 30 through the management module to implement message passing and data synchronization. In addition, the management module is also used for managing the abatement blockchain 30, for example, the blockchain platform 20 creates the abatement blockchain 30 through the management module, the blockchain platform 20 invites other blockchain platforms 20 to join the abatement blockchain 30 through the management module, the blockchain platform 20 automatically deploys and installs the abatement blockchain 30 through the management module, or the blockchain platform 20 manages the network function of the abatement blockchain 30 through the management module, and the like.
In a specific embodiment, the management module may send an invitation message of the blockchain building-link networking of the blockchain platform 20, i.e., a link invitation message, an invitation message of the building-group networking, an invitation message of the quitting-alliance-link message, i.e., a link quitting message, and a message of the quitting-group, to the administration blockchain 30, and the administration blockchain 30 forwards the corresponding message or data to the corresponding blockchain platform 20, thereby implementing the management module to process the message transmission between the independent blockchain platforms 20; in addition, the management module may also send a synchronization request of related data (e.g., a node state, an account book state, a platform administrator, a chain administrator, or an application administrator) of the blockchain platform 20 to the admin blockchain 30, and the admin blockchain 30 forwards the data synchronization request to the corresponding blockchain platform 20, so that the management module can process data synchronization between the independent blockchain platforms 20.
In a specific embodiment, the abatement blockchain 30 performs message forwarding and data synchronization based on intelligent contracts deployed by the abatement blockchain 30. That is, the blockchain platform 20 is able to perform messaging and data synchronization by the management module invoking the intelligent contracts deployed by the governance blockchain 30.
Since the blockchain platform 20 is mainly used for configuration, deployment, application development, management, service arrangement and subsequent monitoring, operation and maintenance management, in an embodiment, the blockchain platform 20 further 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 operation and maintenance module, and a data archiving module. The blockchain platform 20 provides a multi-tenant design mode to implement a platform-level, tenant-level, and application-level three-level account management system, that is, the account system management module of the blockchain platform 20 is specifically divided into three levels, namely a platform manager, a chain manager, and an application manager. The functions of the certificate management module comprise application, issuance and display management of certificates; the certificate system mainly comprises two layers, namely block chain root certificate management and user private key management. The resource management module has the functions of server host resource application, access, node host resource allocation and the like; and the access self-adding server or the access block chain platform 20 is supported, and the dynamic allocation and automatic deployment of the block chain nodes are realized through resource management configuration. The functions of the block chain management module comprise chain initialization functions such as block chain creation, block chain invitation, node configuration and automatic deployment; in addition, the blockchain management module also provides the functions of blockchain information overview, blockchain information details, organization management, ledger management, node management, contract management, private key management and management of blockchain information and transaction information. The contract development module provides functions of intelligent contract online writing, temporary storage, debugging, security scanning, deployment, upgrading, freezing and deleting. The contract management module provides functions of new creation, deployment, upgrading, freezing and deleting of intelligent contracts. The application management module provides functions of creating, auditing, resetting an application key, modifying and deleting block chain applications. The monitoring operation and maintenance module provides functions of block link point resource monitoring, performance monitoring, alarm information processing and block link point log query, multi-dimensional monitoring and alarm mechanisms from a server resource layer to a block link network layer and then to a service layer are achieved, and overall network safety is guaranteed. The data filing module provides a data filing function of block chain data, so that the nodes can realize cold and hot data separation and quick synchronization.
Referring to fig. 5, fig. 5 is a flowchart illustrating a block chain event processing method according to an embodiment of the present application, and it should be noted that the embodiment is not limited to the flowchart shown in fig. 5 if substantially the same result is obtained. As shown in fig. 5, in the present embodiment, an execution subject of the blockchain event processing method is a blockchain platform 20 of an event initiator, and the method specifically includes:
step S51: and sending an event initiation request to the governance block chain.
Since the block chain platform system 10 designed based on the multi-centralization and decentralized architecture is provided in the present application, the governing block chain 30 is introduced to form the multi-centralization and decentralized block chain platform system 10 with a chain governing chain, so as to implement message event transmission and data synchronization between the block chain platforms 20 deployed in multiple centers in the governing block chain 30 processing block chain platform system 10.
In this embodiment, the blockchain platform 20 of the event initiator sends an event initiation request to the administration blockchain 30, where the event initiation request includes a blockchain event to be processed, the blockchain event to be processed is related to an application blockchain in which the blockchain platform 20 of the event initiator sending the event initiation request participates, the event initiation request is forwarded to the blockchain platform 20 of the event receiver by the administration blockchain 30, and both the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event receiver are deployed with nodes in the administration blockchain 30; that is, when the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event receiver are both deployed with nodes on the administration blockchain 30, that is, when both the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event receiver are connected to the administration blockchain 30, both can implement message transmission and information sharing through the administration blockchain 30; the blockchain platform 20 of the event initiator sends the to-be-processed blockchain event related to the application blockchain in which the to-be-processed blockchain event participates to the administration blockchain 30, so that the subsequent administration blockchain 30 can forward the event initiation request sent by the blockchain platform 20 of the event initiator to the blockchain platform 20 of the event recipient. 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 administration blockchain 30, that is, the blockchain platform 20 of the event receiver receives the to-be-processed blockchain event related to the application blockchain in which the blockchain platform 20 of the event initiator participates, which is sent by the blockchain platform 20 of the event initiator, through the administration blockchain 30. That is, message event delivery between the blockchain platform 20 of the event originator and the blockchain platform 20 of the event recipient is achieved through the admin blockchain 30, i.e., message event delivery between two separate blockchain platforms 20 is achieved through the admin blockchain 30.
In a particular embodiment, the abatement blockchain 30 forwards the event initiation request based on an intelligent contract deployed by the abatement blockchain 30. For example, a plurality of intelligent contracts are deployed on the governance block chain 30, each intelligent contract has different method functions, such as some intelligent contracts are responsible for implementing invitations and some intelligent contracts are responsible for implementing notifications; the block chain platform 20 of the event initiator sends an event initiation request to the management block chain 30, and the management block chain 30 determines a required intelligent contract according to the event initiation request and calls the corresponding intelligent contract; at this time, for the blockchain platform 20 of the event receiver, the event initiation request sent by the blockchain platform 20 of the event initiator is received through the event monitoring mechanism of the intelligent contract. That is, the blockchain platform 20 of the event initiator forwards the blockchain event to be processed related to the application blockchain in which the blockchain platform 20 of the event initiator that sends the event initiation request participates to the blockchain platform 20 of the event receiver by calling the intelligent contract deployed on the governance blockchain 30, so that the event initiation request is forwarded by the intelligent contract deployed on the governance blockchain 30.
Wherein the pending blockchain event is not defined. In one embodiment, the pending blockchain event includes at least a chain invitation, an ledger invitation, a chain exit, an ledger exit, and metadata synchronization. The chain invitation is that the blockchain platform 20 of the event initiator invites the rest blockchain platforms 20 to join the established application blockchain. The ledger invitation is an account book for the blockchain platform 20 of the event initiator to invite the other blockchain platforms 20 to join the established application blockchain. Chain exit is the block chain platform 20 of the event initiator chooses to exit a certain application block chain. The ledger exit is that the blockchain platform 20 of the event initiator selects to exit a ledger in an application blockchain. The metadata synchronization is that the blockchain platform 20 of the event initiator synchronizes blockchain metadata with the rest of the blockchain platforms 20, for example, node state synchronization, ledger state synchronization, basic information synchronization of a platform administrator, basic information synchronization of a chain administrator, or basic information synchronization of an application administrator.
In an embodiment, as shown in fig. 6, fig. 6 is a schematic flowchart of an embodiment of a blockchain platform for determining an event recipient provided in the present application, where before sending an event sending request to a governance blockchain 30, the blockchain platform 20 for determining an event recipient needs to be determined, and specifically includes the following sub-steps:
step S61: and sending a query request to the management block chain, and receiving query feedback sent by the management block chain.
In this embodiment, the block chain platform 20 of the event initiator sends an inquiry request to the management block chain 30, after the management block chain 30 receives the inquiry request sent by the block chain platform 20 of the event initiator, the block chain platform 20 of the event initiator gives an inquiry feedback based on the received inquiry request and sends the inquiry feedback to the block chain platform 20 of the event initiator, and at this time, the block chain platform 20 of the event initiator receives the inquiry feedback sent by the management block chain 30, where the inquiry feedback includes each participant who accesses the management block chain 30, so that the block chain platform 20 of the event initiator determines the block chain platform 20 of each participant who has accessed the management block chain 30.
Step S62: and selecting a participant accessing the management block chain as an event receiver.
In this embodiment, the blockchain platform 20 of the event initiator selects the blockchain platform 20 of the participant accessing the governance blockchain 30 as the blockchain platform 20 of the event receiver, so that each subsequent independent blockchain platform 20 can implement message event transmission and data synchronization through the governance blockchain 30.
Of course, in other embodiments, the blockchain platform 20 of the event initiator may also select the blockchain platform 20 of a certain participant or the blockchain platforms 20 of some participants accessing the administration blockchain 30 as the blockchain platform 20 of the event receiver, which is not limited herein.
In one embodiment, in the case that the pending blockchain event is a second chain invitation, the second chain invitation is used to invite the blockchain platform 20 of the event recipient to participate in the application blockchain created by the blockchain platform 20 of the event initiator. For example, taking the to-be-processed blockchain event as the second chain invitation as an example, as shown in fig. 3, the center a is the blockchain platform 20 of the event initiator, the normal chain is the administration blockchain 30, and the center B is the blockchain platform 20 of the event receiver. Specifically, the center a performs user authority configuration, adds a chain manager, and the chain manager creates an application block chain and completes corresponding chain basic information configuration, and completes deployment of the application block chain; the chain administrator may invite the remaining blockchain platforms 20 to join the application blockchain, at this time, the center a calls an intelligent contract of the abatement blockchain 30 to query the blockchain platform 20 of the participant who has already accessed the abatement blockchain 30, so as to determine that the center a wants to invite the blockchain platform 20 of the application blockchain; center a then invokes the intelligent contract of the abatement blockchain 30 to forward the second chain invitation to center B.
In an embodiment, before each blockchain platform 20 accesses the abatement blockchain 30, an initiator of the abatement blockchain 30 needs to initiate establishment of the abatement blockchain 30, where, as shown in fig. 7, fig. 7 is a schematic flow diagram of an embodiment of establishing the abatement blockchain provided by the present application, and the establishment of the abatement blockchain 30 specifically includes the following sub-steps:
step S71: and responding to a deployment instruction input by an initiator of the treatment blockchain, and deploying the nodes of the blockchain platform of the initiator in the treatment blockchain by the blockchain platform of the initiator.
In this embodiment, in response to a deployment instruction input by an initiator of the abatement blockchain 30, the blockchain platform 20 of the initiator of the abatement blockchain 30 deploys a node of the blockchain platform 20 of the initiator in the abatement blockchain 30. Specifically, as shown in fig. 2, after the blockchain platform 20 of the initiator of the administration blockchain 30 is built and configured, that is, after the blockchain platform 20 is deployed, the blockchain platform 20 is authenticated, specifically, the organization information of the deployed blockchain platform 20 is uploaded to authenticate the organization legitimacy of the blockchain platform 20; then, the platform administrator of the blockchain platform 20 of the originator of the abatement blockchain 30 initiates an instruction to deploy the abatement blockchain 30, and the blockchain platform 20 of the originator of the abatement blockchain 30 automatically deploys its nodes in the abatement blockchain 30 in response to the initiated deployment instruction, and at this time, the blockchain platform 20 of the originator of the abatement blockchain 30 temporarily composes the abatement blockchain 30 at the nodes in the abatement blockchain 30.
Step S72: a first chain invitation is sent to the blockchain platform of the invitee.
The blockchain platform 20 of the originator of the abatement blockchain 30 can invite other blockchain platforms 20 to join the abatement blockchain 30, so that messaging and data synchronization between the various blockchain platforms 20 of the multi-center deployment in the blockchain platform system 10 can be subsequently achieved through the abatement blockchain 30. Thus, in this embodiment, the blockchain platform 20 of the originator of the abatement blockchain 30 sends a first chain invitation to the blockchain platform 20 of the invitee to invite other blockchain platforms 20 to join the abatement blockchain 30. Wherein, when the blockchain platform 20 of the invited party accepts the first chain invitation, the blockchain platform 20 of the invited party deploys the nodes of the abatement blockchain 30 based on the received deployment instruction. Specifically, as shown in fig. 2, the blockchain platform 20 of the initiator of the abatement blockchain 30 sends a first invitation to the blockchain platform 20 of the invitee; in the case where the blockchain platform 20 of the invitee accepts the first chain invitation, that is, in the case where the blockchain platform 20 of the invitee agrees to join the abatement blockchain 30, the platform administrator of the blockchain platform 20 of the invitee initiates a deploy abatement blockchain 30 instruction, the blockchain platform 20 of the invitee automatically deploys its nodes in the abatement blockchain 30 in response to the initiated deploy instruction, and at this time, the nodes of the blockchain platform 20 of the initiator of the abatement blockchain 30 in the abatement blockchain 30 and the nodes of the blockchain platform 20 of the invitee in the abatement blockchain 30 form the abatement blockchain 30.
In one embodiment, the blockchain platform 20 of the initiator of the abatement blockchain 30 sends the first chain invitation to the blockchain platform 20 of the invitee in an offline manner. The offline includes, but is not limited to, mail, instant messaging, etc., and is not limited herein. That is, the blockchain platform 20 of the initiator of the abatement blockchain 30 sends the first chain invitation to the blockchain platform 20 of the invitee by mail or instant messaging.
In one embodiment, the first chain invitation information includes a first organization certificate for the invitee's blockchain platform 20 at the abatement blockchain 30. That is, the blockchain platform 20 of the initiator of the abatement blockchain 30 will generate a first organization certificate for the invitee blockchain platform 20 at the abatement blockchain 30 and then send a first chain invitation including the first organization certificate for the invitee blockchain platform 20 at the abatement blockchain 30 to the invitee blockchain platform 20. It will be appreciated that in other embodiments, the information of the first chain invitation may also include the initiator of the first chain invitation event, abatement block chain 30 state information, node information, etc., and is not specifically limited herein.
In one embodiment, upon deploying the invitee's blockchain platform 20 after the nodes of the admin blockchain 30, i.e., after the invitee's blockchain platform 20 deploys the nodes on the admin blockchain 30, based on the received deployment instruction, metadata of the invitee's blockchain platform 20 is sent to the originator's blockchain platform 20 of the admin blockchain 30; therefore, in this embodiment, the blockchain platform 20 of the initiator of the governance blockchain 30 receives the metadata of the blockchain platform 20 of the invitee forwarded by the governance blockchain 30; the metadata of the blockchain platform 20 of the invited party is sent to the governance blockchain 30 by the blockchain platform 20 of the invited party, and is forwarded to the blockchain platform 20 of the originator of the governance blockchain 30 by the governance blockchain 30, so that the metadata of the blockchain platform 20 of the originator of the governance blockchain 30 and the metadata of the blockchain platform 20 of the invited party are synchronized. Of course, the abatement blockchain 30 also forwards the metadata of the invitee blockchain platform 20 to each of the remaining blockchain platforms 20 that have accessed the abatement blockchain 30, thereby achieving metadata synchronization between each of the independent blockchain platforms 20.
In one embodiment, the abatement blockchain 30 synchronizes data based on smart contracts deployed by the abatement blockchain 30. Specifically, the block chain platform 20 of the invited party sends the metadata synchronization information to the governance block chain 30, and the governance block chain 30 determines the required intelligent contract and calls the corresponding intelligent contract according to the metadata synchronization information; at this time, for the blockchain platform 20 of the initiator of the governance blockchain 30 and the remaining blockchain platforms 20 that have accessed the governance blockchain 30, the metadata synchronization information sent by the blockchain platform 20 of the invitee is received through the event monitoring mechanism of the intelligent contract. That is, the blockchain platform 20 of the invited party transfers the metadata synchronization information of the invited party to the blockchain platform 20 of the initiating party of the governance blockchain 30 and the other blockchain platforms 20 that have already accessed the governance blockchain 30 by calling the intelligent contract deployed on the governance blockchain 30, so that data synchronization is performed through the intelligent contract deployed on the governance blockchain 30.
Step S52: and receiving a request feedback message forwarded by the management block chain.
For the blockchain platform 20 of the event receiver, in response to an event initiation request including a to-be-processed blockchain event sent by the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event receiver processes the event initiation request including the to-be-processed blockchain event, so that the blockchain platform 20 of the event receiver obtains a processing result of the to-be-processed blockchain event; at this time, the blockchain platform 20 of the event receiver sends a request feedback message to the management blockchain 30 based on the processing result of the blockchain event to be processed, where the management blockchain 30 forwards the request feedback message to the blockchain platform 20 of the event initiator. That is, the blockchain platform 20 of the event receiver forwards the processing result of the event initiation request including the to-be-processed blockchain event, which is sent by the blockchain platform 20 of the event initiator, to the blockchain platform 20 of the event initiator through the administration blockchain 30, so that the blockchain platform 20 of the event initiator knows the processing result. For the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator receives the request feedback message forwarded by the administration blockchain 30, wherein the request feedback message is sent by the blockchain platform 20 of the event receiver based on the processing result of the blockchain event to be processed.
In one embodiment, the abatement blockchain 30 forwards messages based on smart contracts deployed by the abatement blockchain 30. Specifically, for the blockchain platform 20 of the event receiver, the blockchain platform 20 of the event receiver receives, through an event monitoring mechanism of the intelligent contract, an event initiation request including a to-be-processed blockchain event sent by the blockchain platform 20 of the event initiator, and a platform administrator of the blockchain platform 20 of the event receiver may process the event initiation request including the to-be-processed blockchain event; the blockchain platform 20 of the event receiver sends request feedback information corresponding to the processing result to the administration blockchain 30 based on the processing result of the blockchain event to be processed by the platform administrator. For the abatement block chain 30, the abatement block chain 30 determines the required intelligent contract according to the request feedback information and calls the corresponding intelligent contract. For the blockchain platform 20 of the event initiator, the request feedback information sent by the blockchain platform 20 of the event receiver is received through the event monitoring mechanism of the intelligent contract. That is, the blockchain platform 20 of the event receiver forwards the request feedback information obtained by the blockchain platform 20 of the event receiver based on the processing result of the blockchain event to be processed to the blockchain platform 20 of the event initiator by calling the intelligent contract deployed on the governance blockchain 30, so that the intelligent contract deployed by the governance blockchain 30 is used for message forwarding.
In a specific embodiment, as shown in fig. 8, fig. 8 is a flowchart illustrating an embodiment of processing a second chain invitation by a blockchain platform of an event initiator according to the present application, where a to-be-processed blockchain event includes a second chain invitation, the second chain invitation is used to invite a blockchain platform 20 of an event receiver to participate in an application blockchain created by the blockchain platform 20 of the event initiator, and after the blockchain platform 20 of the event initiator receives a request feedback message forwarded by a administering blockchain 30, the method specifically includes the following sub-steps:
step 81: and generating a second organization certificate of the blockchain platform of the event receiver in the application blockchain, and encrypting the second organization certificate based on the encryption key.
In the case that the event recipient's blockchain platform 20 includes acceptance of the second chain invitation based on the processing result of the blockchain event to be processed, the request feedback information sent by the event recipient's blockchain platform 20 includes an encryption key. Therefore, in this embodiment, when determining that the blockchain platform 20 of the event receiver accepts the second chain invitation, the blockchain platform 20 of the event receiver generates a second organization certificate of the blockchain applied by the blockchain platform 20 of the event receiver, and encrypts the second organization certificate by using the encryption key included in the request feedback information sent by the blockchain platform 20 of the event receiver.
Step 82: and sending the chain data related to the application block chain to the administration block chain.
In this embodiment, for the blockchain platform 20 of the event initiator, the blockchain platform 20 of the event initiator sends chain data related to the application blockchain to the administration blockchain 30, so that the subsequent administration blockchain 30 can forward the chain data to the blockchain platform 20 of the event recipient. For the blockchain platform 20 of the event recipient, the chain data forwarded by the administering blockchain 30 is received, the encrypted second organization certificate is then decrypted using the encryption key, and the blockchain platform 20 of the event recipient is deployed at a node of the application blockchain to join the application blockchain in which the blockchain platform 20 of the event initiator participates. In one embodiment, the chain data includes at least the encrypted second organization certificate. It is to be understood that in other embodiments, the chain data may further include an application blockchain name, a type of encryption algorithm (e.g., a conventional algorithm, a national encryption algorithm, etc.), creator information, participant information, blockchain nodes, ledger information, and the like, which are not specifically limited herein.
In one embodiment, the abatement blockchain 30 forwards application blockchain related chain data based on intelligent contracts deployed by the abatement blockchain 30. For example, the block chain platform 20 of the event initiator sends the chain data to the administration block chain 30, and the administration block chain 30 determines the required intelligent contract according to the chain data and calls the corresponding intelligent contract; at this time, for the blockchain platform 20 of the event receiver, the chain data sent by the blockchain platform 20 of the event initiator is received through the event monitoring mechanism of the intelligent contract. That is, the blockchain platform 20 of the event initiator forwards the chain data to the blockchain platform 20 of the event receiver by calling the intelligent contract deployed on the governance blockchain 30, so that the chain data is forwarded by the intelligent contract deployed on the governance blockchain 30.
Exemplarily, taking a block chain event to be processed as a second chain invitation as an example, the center a is the block chain platform 20 of the event initiator, the normal chain is the administration block chain 30, and the center a is the block chain platform 20 of a certain event receiver. Specifically, after the center B agrees to join the application block chain, that is, after the center B accepts the second chain invitation, the center B sends request feedback information including an encryption key, generated based on a processing result of the second chain invitation, to the legal chain; the legal chain determines the required intelligent contract according to the request feedback information and calls the corresponding intelligent contract; at the moment, the center A receives request feedback information which is sent by the center B and comprises an encryption key through an event monitoring mechanism of the intelligent contract; then, the center A generates a second organization certificate of the center B in the application block chain and encrypts the second organization certificate by using an encryption key; then, the center A sends chain data related to the application block chain to a legal chain, and the legal chain determines a required intelligent contract according to the chain data and calls the corresponding intelligent contract; at the moment, the center B receives the chain data sent by the center A through an event monitoring mechanism of the intelligent contract; then, the center B deploys the nodes of the center B in the application block chain, specifically, the center B inputs node information to a chain manager correspondingly distributed to the application block chain, and the center B generates an organization certificate, a node certificate, a deployment package, a private key and the like and updates the data of the organization node so as to complete the addition of the visualized block chain link points; then, after the center B joins the application block chain, the relevant data of the application block chain changes, so that an information update request (e.g., node information, port information, member information, etc.) is sent to the normal chain; then, the normal chain forwards the information updating request sent by the center B to the rest of the block chain platforms 20 added with the application block chain; then, the rest of the blockchain platforms 20 that have added the application blockchain receive the information update request forwarded by the method chain, and update the chain and node data, so as to implement data synchronization between the independent blockchain platforms 20.
In the above embodiment, the to-be-processed blockchain event related to the application blockchain in which the event initiator participates, which is sent by the blockchain platform of the event initiator, is forwarded to the blockchain platform of the event receiver, and the request feedback information sent by the blockchain platform of the event receiver is received. Therefore, data among the independent block chain platforms are transferred and spread through the deployed management block chain, and message forwarding and data synchronization among the block chain platforms are processed. In addition, each block chain platform is independent, the functions of resource allocation, deployment and construction of each block chain, management, monitoring, maintenance and the like of the block chains can be independently controlled, multi-centralization and decentralized are achieved, each block chain platform has independent data storage service, distributed accounting and block chain data storage are achieved, the problem of system reliability brought after centralized storage of management operation and maintenance data is reduced to a certain extent, meanwhile, private data of each block chain participant can be completely isolated and cannot be learned by outsiders, and user experience is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a block chain event processing method according to another embodiment of the present application, and it should be noted that the present embodiment is not limited to the flowchart shown in fig. 9 if substantially the same result is obtained. As shown in fig. 9, in the present embodiment, the execution subject of the blockchain event processing method is the blockchain platform 20 of the event recipient, which specifically includes:
step S91: an event initiation request forwarded by a governing blockchain is received.
The detailed content of step S91 can refer to step S51, which is not described herein.
Step S92: and sending a request feedback message to the treatment block chain based on the treatment result of the block chain event to be treated.
The detailed content of step S92 can refer to step S52, which is not described herein.
In a specific embodiment, as shown in fig. 10, fig. 10 is a schematic flowchart of an embodiment of processing a second chain invitation by a blockchain platform of an event receiver provided in the present application, where the blockchain event to be processed includes a second chain invitation, the second chain invitation is used to invite the blockchain platform 20 of the event receiver to participate in an application blockchain created by the blockchain platform 20 of the event initiator, and after sending a request feedback message to a abatement blockchain 30 based on a processing result of the blockchain event to be processed, the method specifically includes the following sub-steps:
step S101: and receiving chain data forwarded by the abatement block chain.
The detailed content of step S101 can refer to step S61, and is not described herein.
Step S102: and decrypting the encrypted second organization certificate based on the encryption key, and deploying the blockchain platform of the event receiver at the node of the application blockchain.
The detailed content of step S102 can refer to step S62, and will not be described herein.
Referring to fig. 11, fig. 11 is a flowchart illustrating another embodiment of a block chain event processing method provided in the present application, and it should be noted that the present embodiment is not limited to the flowchart shown in fig. 11 if substantially the same result is obtained. As shown in fig. 11, the present embodiment includes:
step S111: and the block chain platform of the event initiator sends an event initiation request to the administration block chain.
The detailed content of step S111 can refer to step S51, and is not described herein.
Step S112: the blockchain platform of the event receiver receives the event initiation request forwarded by the administration blockchain.
The detailed content of step S112 can refer to step S51, and is not described herein.
Step S113: and the block chain platform of the event receiver sends a request feedback message to the treatment block chain based on the processing result of the block chain event to be processed.
The detailed content of step S113 can refer to step S52, and will not be described herein.
Step S114: the block chain platform of the event initiator receives the request feedback message forwarded by the administration block chain.
The detailed content of step S114 can refer to step S52, and will not be described herein.
Referring to fig. 12, fig. 12 is a schematic structural diagram of an embodiment of a block chain event processing device according to the present application. The blockchain event processing device 120 includes a request sending module 121 and a feedback receiving module 122. The request sending module 121 is configured to send an event initiation request to the management block chain 30; the event initiation request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform 20 of an event initiator sending the event initiation request, the event initiation request is forwarded to the block chain platform 20 of an event receiver by a governance block chain 30, and nodes are deployed on the governance block chain 30 on both the block chain platform 20 of the event initiator and the block chain platform 20 of the event receiver; the feedback receiving module 122 is configured to receive a request feedback message forwarded by the management block chain 30; wherein the request feedback message is sent by the blockchain platform 20 of the event recipient based on the processing result of the blockchain event to be processed.
The block chain event processing apparatus 120 further includes an establishing module 123, where the establishing module 123 is configured to establish the administering block chain 30, and specifically includes: in response to a deployment instruction input by an initiator of a abatement blockchain 30, the blockchain platform 20 of the initiator deploys the nodes of the blockchain platform 20 of the initiator in the abatement blockchain 30; sending a first chain invitation to the blockchain platform 20 of the invitee; wherein, when the blockchain platform 20 of the invited party accepts the first chain invitation, the blockchain platform 20 of the invited party deploys the nodes of the abatement blockchain 30 based on the received deployment instruction.
The blockchain event processing device 120 further includes a data receiving module 124, where the data receiving module 124 is configured to, after deploying the node of the blockchain platform 20 of the invited party in the governance blockchain 30 based on the received deployment instruction, specifically include: receiving metadata of the blockchain platform 20 of the invited party forwarded by the administration blockchain 30; the metadata of the blockchain platform 20 of the invitee is sent to the admin blockchain 30 by the blockchain platform 20 of the invitee, and is forwarded to each blockchain platform 20 accessing the admin blockchain 30 by the admin blockchain 30.
Wherein, the first chain invitation is sent in an off-line mode; and/or, the first chain invitation at least comprises a first organization certificate of the blockchain platform 20 of the invited party at the abatement blockchain 30.
The blockchain event processing device 120 further includes an inquiry module 125, where the inquiry module 125 is configured to, before sending the event initiation request to the administration blockchain 30, specifically include: sending a query request to a management block chain 30 and receiving query feedback sent by the management block chain 30; wherein, the query feedback comprises the blockchain platform 20 of each participant accessing the abatement blockchain 30; the blockchain platform 20 of the participant accessing the governance blockchain 30 is selected as the blockchain platform 20 of the event recipient.
The block chain event to be processed comprises a second chain invitation, and the request feedback message comprises an encryption key under the condition that the processing result comprises the acceptance of the second chain invitation; the block chain event processing device 120 further includes a data sending module 126, where the data sending module 126 is configured to, after receiving the request feedback message forwarded by the administration block chain 30, specifically include: generating a second organization certificate of the blockchain platform 20 of the event receiver in the application blockchain, and encrypting the second organization certificate based on the encryption key; sending chain data related to the application blockchain to the administration blockchain 30; the chain data at least comprises an encrypted second organization certificate, the administration blockchain 30 forwards the chain data to the blockchain platform 20 of the event receiver, and the blockchain platform 20 of the event receiver decrypts the encrypted second organization certificate based on an encryption key and deploys the blockchain platform 20 of the event receiver at the node of the application blockchain.
The management block chain 30 performs message forwarding and data synchronization based on an intelligent contract deployed by the management block chain 30.
Referring to fig. 13, fig. 13 is a schematic structural diagram of another embodiment of a blockchain event processing device according to the present application. The blockchain event processing device 130 includes a request receiving module 131 and a feedback sending module 132. The request receiving module 131 is configured to receive an event initiation request forwarded by the abatement blockchain 30; the event initiation request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform 20 of an event initiator sending the event initiation request, the event initiation request is sent to a management block chain 30 by the block chain platform 20 of the event initiator, and nodes are deployed in the management block chain 30 by the block chain platform 20 of the event initiator and the block chain platform 20 of an event receiver; the feedback sending module 132 is configured to send a request feedback message to the management blockchain 30 based on a processing result of the blockchain event to be processed; the abatement blockchain 30 forwards the request feedback message to the event originator's blockchain platform 20.
The block chain event to be processed comprises a second chain invitation, and the request feedback message comprises an encryption key under the condition that the processing result comprises the acceptance of the second chain invitation; the block chain event processing device 130 further includes a data receiving module 133, where the data receiving module 133 is configured to, after sending a request feedback message to the management block chain 30 based on a processing result of the block chain event to be processed, specifically include: receive chain data forwarded by the abatement blockchain 30; the blockchain platform 20 of the event initiator receives the second chain invitation based on the blockchain platform 20 of the event receiver, generates a second organization certificate of the blockchain platform 20 of the event receiver in the application blockchain, and encrypts the second organization certificate based on the encryption key, wherein the chain data at least comprises the encrypted second organization certificate; the encrypted second organization certificate is decrypted based on the encryption key and the blockchain platform 20 of the event recipient is deployed at the node applying the blockchain.
The management block chain 30 performs message forwarding and data synchronization based on an intelligent contract deployed by the management block chain 30.
Referring to fig. 14, fig. 14 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application. The computer readable storage medium 140 of the embodiment of the present application stores program instructions 141, and when executed, the program instructions 141 implement any embodiment of a blockchain event processing method corresponding to the blockchain platform 20 of the event initiator and the blockchain platform 20 of the event recipient, and any non-conflicting combination as an execution subject of the present application. The program instructions 141 may form a program file stored in the computer-readable storage medium 140 in the form of a software product, so as to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods according to the embodiments of the present application. And the aforementioned computer-readable storage medium 140 includes: various media capable of storing program codes, such as a usb disk, a mobile hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or terminal devices, such as a computer, a server, a mobile phone, and a tablet.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (17)

1. A method for processing blockchain events, comprising:
sending an event initiating request to a management block chain; the event initiation request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of the event initiator sending the event initiation request, the event initiation request is forwarded to a block chain platform of an event receiver by a governance block chain, and nodes are deployed on the governance block chain on both the block chain platform of the event initiator and the block chain platform of the event receiver;
receiving a request feedback message forwarded by the management block chain; wherein the request feedback message is sent by a blockchain platform of the event receiver based on a processing result of the pending blockchain event.
2. The method of claim 1, wherein the establishing a remediation block chain step comprises:
responding to a deployment instruction input by an initiator of a treatment block chain, and deploying a node of a block chain platform of the initiator in the treatment block chain by the block chain platform of the initiator;
sending a first chain invitation to a blockchain platform of an invitee; and under the condition that the blockchain platform of the invited party accepts the first chain invitation, deploying the nodes of the blockchain platform of the invited party in the governance blockchain based on the received deployment instruction.
3. The method of claim 2, wherein after the deploying the invitee's blockchain platform at the node of the abatement blockchain based on the received deployment instruction, the method further comprises:
receiving metadata of a blockchain platform of the invitee forwarded by the administration blockchain;
and sending the metadata of the blockchain platform of the invited party to the governance blockchain by the blockchain platform of the invited party, and forwarding the metadata to each blockchain platform accessed to the governance blockchain by the governance blockchain.
4. The method of claim 2, wherein the first chain invitation is sent in an offline manner;
and/or the first chain invitation at least comprises a first organization certificate of the blockchain platform of the invited party at the abatement blockchain.
5. The method of claim 1, wherein prior to said sending an event initiation request to an abatement blockchain, the method further comprises:
sending a query request to the governance block chain, and receiving query feedback sent by the governance block chain; wherein the query feedback comprises a block chain platform of each participant accessing the administration block chain;
and selecting a block chain platform of a participant accessing the management block chain as the block chain platform of the event receiver.
6. The method of claim 1, wherein the pending blockchain event comprises a second chain invitation, wherein the request feedback message comprises an encryption key if the processing result comprises an acceptance of the second chain invitation, and wherein after the receiving of the request feedback message forwarded by the abatement blockchain, the method further comprises:
generating a second organization certificate of the blockchain platform of the event receiver in the application blockchain, and encrypting the second organization certificate based on the encryption key;
sending chain data related to the application block chain to the administration block chain;
the chain data at least comprises an encrypted second organization certificate, the administration blockchain forwards the chain data to a blockchain platform of the event receiver, the blockchain platform of the event receiver decrypts the encrypted second organization certificate based on the encryption key, and deploys a node of the blockchain platform of the event receiver in the application blockchain.
7. The method of any one of claims 1 to 6, wherein the abatement blockchain performs message forwarding and data synchronization based on smart contracts deployed by the abatement blockchain.
8. A method for processing blockchain events, comprising:
receiving an event initiation request forwarded by a management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of the event initiator sending the event initiating request, the event initiating request is sent to a governance block chain by the block chain platform of the event initiator, and nodes are deployed in the governance block chain by the block chain platform of the event initiator and the block chain platform of the event receiver;
sending a request feedback message to the treatment block chain based on the processing result of the block chain event to be processed; and the management block chain forwards the request feedback message to a block chain platform of the event initiator.
9. The method of claim 8, wherein the pending blockchain event comprises a second chain invitation, wherein the request feedback message comprises an encryption key if the processing result comprises an acceptance of the second chain invitation, and wherein after sending the request feedback message to the abatement blockchain based on the processing result of the pending blockchain event, the method further comprises:
receiving chain data forwarded by the admin blockchain; the blockchain platform of the event initiator receives the second chain invitation based on the blockchain platform of the event receiver, generates a second organization certificate of the blockchain platform of the event receiver in the application blockchain, and encrypts the second organization certificate based on the encryption key, wherein the chain data at least comprises the encrypted second organization certificate;
decrypting the encrypted second organization certificate based on the encryption key and deploying the blockchain platform of the event receiver at the node of the application blockchain.
10. A method according to claim 8 or claim 9, wherein the abatement blockchain performs message forwarding and data synchronization based on smart contracts deployed by the abatement blockchain.
11. A method for processing blockchain events, comprising:
a block chain platform of an event initiator sends an event initiation request to a management block chain; wherein the event initiation request comprises a pending blockchain event, and the pending blockchain event is related to an application blockchain in which a blockchain platform of the event initiator sending the event initiation request participates;
a block chain platform of an event receiver receives an event initiation request forwarded by the governance block chain; the block chain platform of the event initiator and the block chain platform of the event receiver are both provided with nodes in the treatment block chain;
the block chain platform of the event receiver sends a request feedback message to the treatment block chain based on the processing result of the block chain event to be processed;
and the block chain platform of the event initiator receives the request feedback message forwarded by the governing block chain.
12. A block chain event processing apparatus, comprising:
the request sending module is used for sending an event initiating request to the management block chain; the event initiation request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain participated by a block chain platform of the event initiator sending the event initiation request, the event initiation request is forwarded to a block chain platform of an event receiver by a governance block chain, and nodes are deployed on the governance block chain on both the block chain platform of the event initiator and the block chain platform of the event receiver;
a feedback receiving module, configured to receive a request feedback message forwarded by the management block chain; wherein the request feedback message is sent by a blockchain platform of the event receiver based on a processing result of the pending blockchain event.
13. A block chain event processing apparatus, comprising:
the request receiving module is used for receiving an event initiating request forwarded by the management block chain; the event initiating request comprises a block chain event to be processed, the block chain event to be processed is related to an application block chain which is participated by a block chain platform of the event initiator sending the event initiating request, the event initiating request is sent to the administration block chain by the block chain platform of the event initiator, and nodes are deployed in the administration block chain on the block chain platform of the event initiator and the block chain platform of the event receiver;
a feedback sending module, configured to send a request feedback message to the management blockchain based on a processing result of the to-be-processed blockchain event; and the management block chain forwards the request feedback message to a block chain platform of the event initiator.
14. A blockchain platform comprising 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 configured to execute the program instructions to implement the blockchain event processing method according to any one of claims 1 to 10.
15. A blockchain platform according to claim 14 wherein the blockchain platform is configured with at least a management module for managing an abatement blockchain, and wherein the management module is further configured to process a to-be-processed blockchain event.
16. A blockchain platform system comprising blockchain platforms belonging to respective parties, wherein each party comprises an event initiator and an event receiver, and the blockchain platform of the event initiator and the blockchain platform of the event receiver are both deployed with nodes in a governance blockchain, the blockchain platform of the event initiator is configured to execute the blockchain event processing method according to any one of claims 1 to 7 through the governance blockchain, and the blockchain platform of the event receiver is configured to execute the blockchain event processing method according to any one of claims 8 to 10 through the governance blockchain.
17. A computer-readable storage medium storing program instructions executable by a processor to implement the blockchain event processing method of any one of claims 1 to 10.
CN202210489622.XA 2022-05-06 2022-05-06 Block chain event processing method and related device, platform and storage medium Pending CN115086352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210489622.XA CN115086352A (en) 2022-05-06 2022-05-06 Block chain event processing method and related device, platform and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210489622.XA CN115086352A (en) 2022-05-06 2022-05-06 Block chain event processing method and related device, platform and storage medium

Publications (1)

Publication Number Publication Date
CN115086352A true CN115086352A (en) 2022-09-20

Family

ID=83247613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210489622.XA Pending CN115086352A (en) 2022-05-06 2022-05-06 Block chain event processing method and related device, platform and storage medium

Country Status (1)

Country Link
CN (1) CN115086352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115330265A (en) * 2022-09-30 2022-11-11 北京思路智园科技有限公司 End-to-end based event processing engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115330265A (en) * 2022-09-30 2022-11-11 北京思路智园科技有限公司 End-to-end based event processing engine
CN115330265B (en) * 2022-09-30 2023-10-13 北京思路智园科技有限公司 End-to-end event processing engine system

Similar Documents

Publication Publication Date Title
CN110035002B (en) Method for implementing instant messaging, terminal equipment and storage medium
RU2520396C2 (en) Conversation access rights management
WO2018120121A1 (en) Block chain permission control method, device, and node apparatus
CN102812665B (en) Pluggable token provider model to implement authentication across multiple web services
CN110543525B (en) Block chain network control method, device, equipment and storage medium
CN111108521A (en) Implementing a blockchain based workflow
US9462132B2 (en) One-tap conference calling on devices
CN111723384B (en) Data processing method, system and equipment
US10841254B2 (en) Asymmetric permissions in a communications system
CN111211911B (en) Collaborative signature method, device, equipment and system
CN110175178B (en) Data processing method, node equipment and system
US20200160340A1 (en) Distributed fraud detection system within mesh networks
US11757811B2 (en) System and method for processing user messages among organizations
TWI558131B (en) System and method of having a plurality of organizations to dispatch a message
US20200175505A1 (en) System and method for creating a secure mesh network utilizing the blockchain
CN110971506B (en) Decentralized real-time cluster communication method, device, equipment and system
JP2022104802A (en) Group service achieving method, device, apparatus and storage medium
CN115086352A (en) Block chain event processing method and related device, platform and storage medium
US20220123924A1 (en) Method for providing a state channel
US20240022414A1 (en) Authentication of communication session participants using blockchain
CN115086353A (en) Block chain event processing method and related device, equipment, platform and storage medium
US11140109B2 (en) System and method for transparent communications
CN114238882A (en) Identity authentication system, method and computer equipment for multi-party security calculation
US20230379276A1 (en) System and Method for Processing Messages from an External Communication Platform
US20220360569A1 (en) Private network and application provisioning system

Legal Events

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