CN116094720A - Block chain multi-platform management method, device, server and storage medium - Google Patents

Block chain multi-platform management method, device, server and storage medium Download PDF

Info

Publication number
CN116094720A
CN116094720A CN202211500050.7A CN202211500050A CN116094720A CN 116094720 A CN116094720 A CN 116094720A CN 202211500050 A CN202211500050 A CN 202211500050A CN 116094720 A CN116094720 A CN 116094720A
Authority
CN
China
Prior art keywords
server
information
blockchain
invitation
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
CN202211500050.7A
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.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital 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 China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211500050.7A priority Critical patent/CN116094720A/en
Publication of CN116094720A publication Critical patent/CN116094720A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • 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/104Peer-to-peer [P2P] networks
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The first server for installing the first management platform utilizes the first management platform to establish a blockchain network and deploy a first blockchain node, utilizes a first blockchain link point to establish a management chain in the blockchain network, generates invitation information after the shared data is linked up in the management chain, and sends the invitation information to the second server, so that the second server provided with the second management platform deploys the second blockchain node and adds the second blockchain node into the management chain, management of the same blockchain network by the server crossing the platform is realized, participants in the same management chain can commonly manage shared data stored in account book files created in the management chain, privacy data managed by the participants cannot be leaked to the participants using other management platforms, and the security of privacy data managed by each management platform is improved.

Description

Block chain multi-platform management method, device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of blockchains, in particular to a blockchain multi-platform management method, a device, a server and a storage medium.
Background
The blockchain as a service (Blockchain as a Service, abbreviated as BaaS) management platform is a management tool for managing blockchain network creation networking, and under the condition that a plurality of organizations need to commonly build a blockchain network, the organizations all need to apply for tenants on the same BaaS management platform and create user nodes, and the BaaS management platform serves as a centralized platform to manage each user node.
The existing alliance chain mechanism is to create a BaaS alliance center on the BaaS management platform and invite other organizations or participants based on the management platform to perform common management on the blockchain network to achieve the decentralized of management, but the BaaS management platform is created based on a server managed by a participant in the alliance, and the server still needs to assist each organization or participant to manage server resources, cluster resources and even substitute for enterprise certificate private keys, which may cause the disclosure of private data of the organization or participant.
Disclosure of Invention
The application provides a blockchain multi-platform treatment method, a blockchain multi-platform treatment device, a server and a storage medium, which are used for solving the technical problem that a coalition center created based on a single management platform has a coalition participant privacy data leakage risk.
In a first aspect, the present application provides a blockchain multi-platform governance method, the method being applied to a first server, in which a first management platform is installed, the method comprising:
creating a blockchain network and deploying a first blockchain node by using the first management platform;
in the blockchain network, constructing a treatment chain by utilizing the first blockchain link point, and linking shared data on the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
generating invitation information and sending the invitation information to a second server; a second management platform is installed in the second server, and the invitation information is used for inviting the second server to deploy a second blockchain node and adding the second blockchain node into the treatment chain;
and receiving response information sent by the second server, and updating a transaction in the first server according to the response information, wherein the transaction comprises a response state of the second server to the invitation.
In the technical scheme, the first server provided with the first management platform creates the blockchain network by using the first management platform and deploys the first blockchain node, the treatment chain is built in the blockchain network by using the first blockchain node, shared data is linked up in the treatment chain, invitation information is generated and sent to the second server, so that the second server provided with the second management platform deploys the second blockchain node, and the second blockchain node is added into the treatment chain, so that the management of the same blockchain network by the cross-platform server is realized, participants in the same treatment chain can jointly manage the shared data stored in account files created in the treatment chain, the privacy data managed by the participants cannot be revealed to the participants using other management platforms, and the security of the privacy data managed by each management platform is improved.
Optionally, creating a blockchain network and deploying a first blockchain node by using the first management platform specifically includes:
acquiring a network creation instruction;
generating network information by using the first management platform according to the network creation instruction;
acquiring a network information confirmation instruction;
creating a blockchain network according to the network information confirmation instruction and the network information, and generating a first blockchain link point deployment file by utilizing the first management platform;
acquiring a deployment instruction;
and deploying the corresponding first block chain nodes according to the deployment instruction and the first block chain link point deployment file.
Optionally, the blockchain network further includes a data sharing smart contract; in the blockchain network, constructing a treatment chain by using the first blockchain link point, and linking shared data on the treatment chain, specifically comprising:
creating a treatment chain in the blockchain network, and generating an account book file in the treatment chain;
after the first block chain link point is started, adding the first block chain link point into the treatment chain;
and calling the data sharing intelligent contract, and uploading the network information in the management chain and storing the network information into the account book file.
Optionally, the method further comprises:
writing the data sharing intelligent contract into the system contract of the governance chain.
In the technical scheme, the first server writes the data sharing intelligent contract into the system contract in the process of creating the treatment chain, so that the time for updating the contract in the process of changing the treatment chain is saved, and the efficiency of adding the newly added third platform into the blockchain network is improved.
Optionally, generating the invitation information and sending the invitation information to the second server, which specifically includes:
acquiring a tenant list of the second server;
constructing invitation information according to the tenant list;
and sending the invitation information to the second server.
Optionally, receiving the response information sent by the second server, and updating the transaction in the first server according to the response information, which specifically includes:
receiving first response information sent by the second server, and adjusting the invitation state in the transaction to be a state to be accepted according to the first response information; the first response information comprises the processing state of the second server on the invitation information;
receiving second response information sent by the second server, and adjusting the invitation state in the transaction according to the second response information; the second response information includes an acceptance result of the invitation information by the second server.
Optionally, receiving second response information sent by the second server, and adjusting an invitation state in the transaction according to the second response information, which specifically includes:
receiving second response information sent by the second server; the second response information comprises accepted information or refused information;
when the second response information comprises rejection information, performing transaction rollback on the transaction;
when the second response information contains accepted information, the identity information of the second server is obtained from the second response information, and after the identity information is added into a configuration block in the treatment chain, the invitation state in the transaction is adjusted to be the accepted state.
In a second aspect, the present application provides a blockchain multi-platform governance method, the method being applied to a second server, in which a second management platform is installed, the method comprising:
acquiring invitation information sent by a first server; the invitation information is information that the first server establishes a blockchain network by using a first management platform installed by the first server, deploys a first blockchain node, builds a treatment chain by using the first blockchain node, and invites the second server to build a second blockchain node and join the treatment chain after the shared data is uplinked in the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
Generating and sending response information to the first server; the response information is used for updating a transaction by the first server, and the transaction comprises a response state of the second server to the invitation;
responding to the invitation information, and deploying a second blockchain node by utilizing the second management platform;
adding the second blockchain node to the abatement chain.
Optionally, generating and sending response information to the first server specifically includes:
obtaining blockchain network data from the invitation information;
analyzing and storing the blockchain network data into a local database, and generating first response information; the first response information comprises the processing state of the second server on the invitation information;
and sending the first response information to the first server, wherein the first response information is used for enabling the first server to adjust the invitation state in the transaction to be a to-be-accepted state.
Optionally, the method further comprises:
generating a local directory structure and constructing an organization service membership service providing request calling interface;
acquiring an invitation confirmation instruction;
generating second response information according to the invitation confirmation instruction, the local directory structure and the organization service membership service providing request calling interface;
Transmitting the second response information to the first server; the second response information is used to adjust an invitation status of a transaction in the first server.
In a third aspect, the present application provides a blockchain multi-platform abatement device comprising:
the processing module is used for creating a blockchain network by using the first management platform and deploying a first blockchain node;
the processing module is also used for constructing a treatment chain by utilizing the first block chain link point in the block chain network and linking shared data on the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
the processing module is also used for generating invitation information and sending the invitation information to a second server; a second management platform is installed in the second server, and the invitation information is used for inviting the second server to deploy a second blockchain node and adding the second blockchain node into the treatment chain;
the processing module is further used for receiving response information sent by the second server and updating the transaction in the first server according to the response information, wherein the transaction comprises a response state of the second server to the invitation.
In a fourth aspect, the present application provides a blockchain multi-platform abatement device comprising:
the acquisition module is used for acquiring the invitation information sent by the first server; the invitation information is information that the first server establishes a blockchain network by using a first management platform installed by the first server, deploys a first blockchain node, builds a treatment chain by using the first blockchain node, and invites the second server to build a second blockchain node and join the treatment chain after the shared data is uplinked in the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
the processing module is used for generating and sending response information to the first server; the response information is used for updating a transaction by the first server, and the transaction comprises a response state of the second server to the invitation;
the processing module is further configured to deploy a second blockchain node using the second management platform in response to the invitation information;
the processing module is also used for adding the block chain link points into the abatement chain.
In a fifth aspect, the present application provides a server, comprising: a processor and a memory communicatively coupled to the processor;
The memory stores computer instructions;
the processor, when executing the computer instructions, is configured to implement the blockchain multi-platform remediation method of any one of the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer readable storage medium having stored therein computer instructions which, when executed by a processor, are configured to implement the blockchain multi-platform remediation method according to any one of the first aspect or the second aspect.
The first server for installing the first management platform utilizes the first management platform to establish a blockchain network and deploy a first blockchain node, utilizes a first blockchain link point to establish a management chain in the blockchain network, generates invitation information after the shared data is linked up in the management chain, and sends the invitation information to the second server, so that the second server provided with the second management platform deploys the second blockchain node and adds the second blockchain node into the management chain, management of the same blockchain network by the server crossing the platform is realized, participants in the same management chain can commonly manage shared data stored in account book files created in the management chain, privacy data managed by the participants cannot be leaked to the participants using other management platforms, and the security of privacy data managed by each management platform is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
FIG. 1 is an application scenario diagram of a blockchain multi-platform remediation method provided herein according to an exemplary embodiment;
FIG. 2 is a diagram of information interaction of a blockchain multi-platform remediation method provided in accordance with an exemplary embodiment of the present application;
FIG. 3 is a flow chart of a treatment chain construction method provided herein according to an exemplary embodiment;
fig. 4 is an information interaction diagram of another management platform tenant inviting method provided in the present application according to an exemplary embodiment;
FIG. 5 is a schematic block diagram of a first blockchain multi-platform abatement device according to an exemplary embodiment of the present application;
FIG. 6 is a schematic diagram of a second blockchain multi-platform abatement device according to an exemplary embodiment of the present application;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged where appropriate. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein.
The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise.
It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, steps, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups.
The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; A. b and C). An exception to this definition will occur only when a combination of elements, functions, steps or operations are in some way inherently mutually exclusive.
The application provides a blockchain multi-platform treatment method, a blockchain multi-platform treatment device, a server and a storage medium, and aims to solve the technical problem that a coalition center created based on a single management platform has a coalition participant privacy data leakage risk. The technical conception of the application is as follows: the first server provided with the first management platform creates a blockchain network by using the first management platform and deploys a first blockchain node, a treatment chain is built in the blockchain network by using the first blockchain link point, shared data is uplink in the treatment chain, invitation information is generated and sent to the second server, so that the second server provided with the second management platform deploys the second blockchain node, the second blockchain node is added into the treatment chain, the management of the same blockchain network by the cross-platform server is realized, the participants in the same treatment chain can commonly manage the shared data stored in the account book file created in the treatment chain, the privacy data managed by the participants are not leaked to the participants using other management platforms, and the security of the privacy data managed by each management platform is improved.
FIG. 1 is an application scenario diagram of a blockchain multi-platform remediation method provided herein according to an exemplary embodiment. As shown in fig. 1, the application scenario diagram includes a first server 10, a second server 11, and a blockchain network 12. The first server 10 has a first management platform installed therein, and the second server 11 has a second management platform installed therein. The blockchain network 12 is communicatively connected to the first server 10 and the second server 11, respectively.
More specifically, the blockchain network 12 includes a plurality of blockchain nodes, and in the scenario shown in fig. 1, the blockchain network 12 includes a first blockchain node 122, a second blockchain node 125, a third blockchain node 121, a fourth blockchain node 123, a fifth blockchain node 124, and a sixth blockchain node 126. In the above blockchain network, the first blockchain node 122, the third blockchain node 121, and the fourth blockchain node 123 are connected to each other in pairs and are simultaneously managed by the first management platform in the first server 10; the second blockchain node 125, the fifth blockchain node 124, and the sixth blockchain node 126 are connected to each other in pairs and are simultaneously managed by the second management platform in the second server 11.
The first server 10 may create a blockchain network and deploy blockchain nodes in the blockchain network that includes data sharing intelligent contracts using the first management platform. In a blockchain network, the first server 10 creates an abatement chain on the blockchain nodes it manages. After the creation of the governance chain is completed, an account book file is generated on the governance chain. The first server 10 uplinks the blockchain network information that it generates and stores locally in the abatement chain, and stores the blockchain network information in the ledger file as shared data. After the first server 10 successfully uplinks the blockchain network data, invitation information for collaborative management of the treatment chain is sent to the second server 11, so that after the second server 11 accepts the invitation, the first server 10 adds certificate information of tenants on a second management platform in the second server 11 to the treatment chain, thereby realizing common management of the tenants applied on the second management platform and the tenants applied on the first management platform on shared data on the treatment chain, the second server 11 also utilizes the second management platform to add the deployed blockchain nodes thereof to the blockchain network, and adds the data stored in the second server 11 to the treatment chain for sharing.
FIG. 2 is an information interaction diagram of a blockchain multi-platform remediation method according to an exemplary embodiment of the present application, as shown in FIG. 2, the blockchain multi-platform remediation method includes:
s201, the first server creates a blockchain network by using a first management platform and deploys a first blockchain node.
The first management platform is a conveniently provided and integrated blockchain control platform and is used for monitoring and managing the bottom blockchain network, and meanwhile, the first management platform has the characteristic of large monitoring and management quantity, the state of the bottom blockchain network can be displayed on a front-end page in real time through a visual means, and complex blockchain bottom management can be simplified into user-friendly one-key operation through interface encapsulation. In an embodiment, the first management platform is a BaaS platform.
The block chain network refers to a P2P network system with a distributed data storage structure, wherein each node device achieves through a consensus mechanism, after each block (block) is temporally connected with account data distribution in the block chain, the later block can contain the data abstract of the former block, and according to the difference of specific consensus mechanisms, the data full backup of all or part of nodes is achieved.
The first blockchain node is a blockchain node required for the first server to deploy the blockchain network in the process of creating the blockchain network on the first management platform.
S202, the first server builds a treatment chain in the blockchain network by utilizing the first blockchain link point, and links the shared data on the treatment chain.
The shared data is network information generated by the first server in the process of creating the blockchain network, and the data is shared in the blockchain network and stored in the ledger file. That is, a treatment chain is constructed on a first blockchain node in the blockchain network, an account file is created in the treatment chain, and shared data is stored in the account file.
The abatement chain is a blockchain constructed after the first blockchain node deployed in step S201 is up-linked, and participants in the abatement chain have read-write rights to the shared data in the abatement chain.
S203, the first server generates invitation information.
When the first server needs to invite other organizations or participants to cooperatively manage the data in the governance chain created in step S202, invitation information is generated for the server installing the other management platform. In an embodiment, the first server invites a second server installed with a second management platform to cooperatively manage data in the governance chain, and generates corresponding invitation information.
The invitation information includes a data structure stored in a database managed by the first server, including but not limited to a network table, a server cluster table, a service channel table, and an invitation relationship table.
S204, the first server sends the invitation information to the second server.
S205, the second server generates and sends response information to the first server.
After the second server acquires the invitation information, the second server processes the invitation information, generates corresponding response information according to a processing result and feeds back the response information to the first server.
S206, the first server updates the transaction in the first server according to the response information.
Transactions, also referred to in the blockchain arts as "transactions," include operations that need to be committed to the deblocking chain network for execution, not transactions in a single-finger business context.
The first server generates and transmits the invitation information, and the status information of the generated transaction is "in invitation". After the second server feeds back the response information, the first server updates the status information in the transaction according to the content in the response information. If the second server refuses the invitation information sent by the first server, the first server rolls back the transaction according to the response information containing the refusal information.
S207, the second server responds to the invitation information and deploys the second blockchain node by using the second management platform.
More specifically, after the second server confirms the invitation information, the first server updates the information of the tenant on the second server on the treatment chain, so that the second server also has the authority to manage the blockchain network, and when the data in the database managed by the second management platform needs to be uploaded, the second blockchain node is deployed.
S208, the second server adds the second blockchain node into the treatment chain.
After the second server has the second blockchain node up-chain the abatement chain, the first server may acquire data on the second blockchain node.
In the technical scheme, the first server provided with the first management platform creates the blockchain network by using the first management platform and deploys the first blockchain node, the treatment chain is built in the blockchain network by using the first blockchain node, shared data is linked up in the treatment chain, invitation information is generated and sent to the second server, so that the second server provided with the second management platform deploys the second blockchain node, and the second blockchain node is added into the treatment chain, so that the management of the same blockchain network by the cross-platform server is realized, participants in the same treatment chain can jointly manage the shared data stored in account files created in the treatment chain, the privacy data managed by the participants cannot be revealed to the participants using other management platforms, and the security of the privacy data managed by each management platform is improved.
FIG. 3 is a schematic flow chart of a treatment chain construction method according to another exemplary embodiment of the present application, as shown in FIG. 3, the treatment chain construction method includes:
s301, a first server acquires a network creation instruction, and generates network information by using a first management platform according to the network creation instruction.
The network creation instruction is an instruction generated on the first server by a worker corresponding to the first tenant through interaction with an input device of the first server after the first tenant logs on to the first management platform. The instruction is used for creating the blockchain network, and the instruction contains necessary information of the blockchain network to be created.
After generating the network creation instruction, the first server responds to the network creation instruction to acquire necessary information from the network creation instruction, collates the information to generate network information, and stores the network information in a local database.
S302, a first server acquires a network information confirmation instruction, creates a blockchain network according to the network information confirmation instruction and the network information, and generates a first blockchain link point deployment file by using a first management platform.
The network information confirmation instruction is an instruction generated by interaction with the input device of the first server after the operator corresponding to the first tenant checks the network information generated by the first server.
After generating the network information confirmation instruction, the first server creates a corresponding blockchain network through the first management platform according to the network information generated in step S301. At this point, no specific blockchain node is included in the blockchain network.
The first server needs to generate a first blockchain point deployment file in the blockchain network to add a specific blockchain node in the blockchain network and store the deployment file in a local database.
S303, the first server acquires a deployment instruction, and deploys the corresponding first block chain node according to the deployment instruction and the first block chain link point deployment file.
More specifically, a first server deploys a first blockchain node that may provide a preset blockchain service.
S304, the first server creates a treatment chain in the blockchain network, and generates an account file in the treatment chain.
The ledger file is used to store network data to be shared, which is the network data involved in step S301.
The step is a governance chain creation and account document generation operation performed by the first server locally and logically.
In addition, the first server also locally sets a block-out monitoring function of the treatment chain, and the function is used for analyzing the transaction in the block when the first server monitors that a new block is generated, and updating the content in the transaction information to a local database.
S305, after the first block chain node is started, the first server adds the first block chain link point into the treatment chain.
More specifically, after the preset blockchain service on the first blockchain node is started, the governance chain is actually added and operated, and the ledger file is actually created.
S306, the first server writes the data sharing intelligent contract into a system contract of the governance chain.
The data sharing intelligent contract is realized by expanding the bottom system chain code of the block chain framework, so that after the Peer node is invited and added in the treatment chain, the system chain code realizes automatic deployment when the Peer node is started, and the system chain code can be directly invoked through a gateway without installing and deploying in advance. This avoids having to upgrade the intelligent contract and reinstall the contract on each Peer node after each dynamic new organization. Based on the data sharing intelligent contract, resource changes generated by related operations under the management platform are converted into a unified data structure and stored into an account book of a management chain through a system chain code.
S307, the first server calls the data sharing intelligent contract, and the network information is uplink in the treatment chain and stored in the account book file.
More specifically, the first server packages networking data with the content in the database it manages, invokes the data sharing intelligent contract, performs a chaining operation in the governance chain, and adds the networking data to the ledger file on the governance chain.
In the process that the first server adds the first block chain node into the treatment chain and links the networking data, if the first block chain node fails to timely feed back the uplink response information to the first server, the first server retries the uplink operation for a first preset number of times, and in an embodiment, the first preset number of times is 3.
If the first server fails to successfully uplink after the first preset times of uplink operation, rolling back the transaction generated by the first tenant when the network is created. If the uplink is successful, the first server updates the network creation state in the transaction and adjusts the network creation state to the created state.
In the technical scheme, the first server writes the data sharing intelligent contract into the system contract in the process of creating the treatment chain, so that the time for updating the contract in the process of changing the treatment chain is saved, and the efficiency of adding the newly added third platform into the blockchain network is improved.
Fig. 4 is an information interaction diagram of another management platform tenant inviting method provided in the present application according to an exemplary embodiment, as shown in fig. 4, the method includes:
s401, the second server sends a tenant list.
The tenant list is list information of all tenants applied on the second server installed with the second management platform.
S402, the first server constructs invitation information according to the tenant list.
The first server determines a target tenant to be invited from the tenant list, and constructs corresponding invitation information according to the target tenant.
The invitation information is used for inviting the target tenant to join in a treatment chain created by the first server, and sharing of the blockchain data is realized in the treatment chain.
S403, the first server sends the invitation information to the second server.
The invitation information includes blockchain network data generated by the first server, wherein the network data includes uplink data of the first server in a treatment chain. The blockchain network data includes a plurality of database tables including, but not limited to, a network table, a server cluster table, a service channel table, and an invitation relationship table.
S404, the second server obtains the blockchain network data from the invitation information.
S405, the second server analyzes and stores the blockchain network data into a local database, and generates first response information.
The second server has poor readability of the blockchain network data obtained from the invitation information, and the second management platform installed in the second server is required to analyze the blockchain network data, so that the readability of the data is improved, and meanwhile, the analyzed data is stored.
After the second server parses and stores the blockchain network data, first response information is generated, wherein the first response information is used for describing a state that the second server parses and stores the blockchain network data.
S406, the second server sends the first response information to the first server.
The first response information includes a processing status of the invitation information by the second server.
After receiving the first response information, the first server proceeds to step S410.
S407, the second server generates a local directory structure and constructs an organization service membership service providing request calling interface.
After the second management platform in the second server parses and stores the blockchain network data in the invitation information in step S405, a public-private key directory list of an organization structure is automatically generated and used for signing the transaction through the public key and the private key in the blockchain, wherein the locally generated directory includes the CA certificate, the private key of the certificate, the certificate of the node to be added and the private key of the certificate, and the certificate of the client of the tenant and the private key of the client.
S408, the second server acquires the invitation confirmation instruction, and generates second response information according to the invitation confirmation instruction, the local directory structure and the organization service membership service providing request calling interface.
S409, the second server sends second response information to the first server.
After receiving the second response information, the first server proceeds to step S411.
S410, the first server adjusts the invitation state in the transaction to be the state to be accepted according to the first response information.
S411, the first server adjusts the invitation state in the transaction according to the second response information.
More specifically, the first server receives second response information sent by the second server, the second response information including accepted information or rejected information.
And when the second response information comprises rejection information, performing transaction rollback on the transaction, and canceling the invitation transaction of the tenant in the second server.
When the second response information contains the accepted information, the identity information of the second server is obtained from the second response information, and is added into a configuration block in the system chain code, wherein the identity information contains a local directory structure, an organization service membership service providing request calling interface, an organization name of the second server and a certificate.
The background system of the first server writes the certificate into the configuration file of the governance chain to jointly form the governance chain, so that the invited tenant in the second server has the right to read and write the data of the governance chain account book. At the same time, the first server adjusts the invitation status in the transaction to an accepted status, archiving the transaction in the database it manages.
After the first server completes the steps, the result is fed back to the second server, so that the second server deploys the second blockchain node, the node is added into the treatment chain, and monitoring is set for the treatment chain at the same time. The setting process of the second server for the treatment chain monitoring is the same as the setting process of the first server, and will not be described here again.
After the update of the treatment chain is finished, the first server can only manage the database and the corresponding nodes which are based on the first management platform, the second server can only manage the database and the corresponding nodes which are based on the second management platform, and the two platforms can not acquire the private data of each other, but can realize the common management of the data of the blockchain network, realize the distributed management of the blockchain network and prevent the leakage of the private data of organizations or participants.
Fig. 5 is a schematic structural diagram of a first blockchain multi-platform abatement device 500 according to an embodiment of the present application, the first blockchain multi-platform abatement device 500 including a first processing module 501, wherein,
a first processing module 501 configured to create a blockchain network and deploy a first blockchain node using a first management platform;
The first processing module 501 is further configured to construct a treatment chain using the first block link points, and to uplink the shared data to the treatment chain; participants in the treatment chain have read-write permission for the shared data in the treatment chain;
the first processing module 501 is further configured to generate invitation information, and send the invitation information to the second server; installing a second management platform in the second server, wherein the invitation information is used for inviting the second server to deploy a second block chain node and adding the second block chain node into the treatment chain;
the first processing module 501 is further configured to receive response information sent by the second server, and update a transaction in the first server according to the response information, where the transaction includes a response state of the second server to the invitation.
Fig. 6 is a schematic structural diagram of a second blockchain multi-platform abatement device 600 according to an embodiment of the present application, where the second blockchain multi-platform abatement device 600 includes a second acquisition module 601 and a second processing module 602, where,
a second obtaining module 601, configured to obtain invitation information sent by the first server; the invitation information is information that a first server establishes a blockchain network by using a first management platform installed by the first server, deploys a first blockchain node, builds a treatment chain by using the first blockchain node, and after the shared data is uplink in the treatment chain, invites a second server to build a second blockchain node and joins the treatment chain; participants in the treatment chain have read-write permission for the shared data in the treatment chain;
A second processing module 602, configured to generate and send response information to the first server; the response information is used for updating a transaction by the first server, and the transaction comprises a response state of the second server to the invitation;
the second processing module 602 is further configured to deploy a second blockchain node with a second management platform in response to the invitation information;
the second processing module 602 is also used to add block link points to the abatement chain.
Fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application. The server 700 includes a memory 701 and a processor 702, where the memory 701 is configured to store computer instructions executable by the processor. The Memory 701 may include a high-speed random access Memory (Random Access Memory, RAM), and may further include a Non-Volatile Memory (NVM), such as at least one magnetic disk Memory, and may also be a U-disk, a removable hard disk, a read-only Memory, a magnetic disk, or an optical disk.
The processor 702, when executing the computer instructions, implements the steps of the blockchain multi-platform remediation method of the embodiment described above that uses the first server or the second processor as the execution subject. Reference may be made in particular to the relevant description of the embodiments of the method described above. The processor 702 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Alternatively, the memory 701 may be separate or integrated with the processor 702. When the memory 701 is provided separately, the server 700 further includes a bus for connecting the memory 701 and the processor 702. The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
The embodiment of the application also provides a computer readable storage medium, wherein computer instructions are stored in the computer readable storage medium, and when a processor executes the computer instructions, the steps in the block chain multi-platform governance method in the embodiment are realized.
Embodiments of the present application also provide a computer program product comprising computer instructions which, when executed by a processor, implement the steps of the block chain multi-platform abatement method of the above embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (14)

1. A blockchain multi-platform governance method, wherein the method is applied to a first server in which a first management platform is installed, the method comprising:
creating a blockchain network and deploying a first blockchain node by using the first management platform;
in the blockchain network, constructing a treatment chain by utilizing the first blockchain link point, and linking shared data on the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
Generating invitation information and sending the invitation information to a second server; a second management platform is installed in the second server, and the invitation information is used for inviting the second server to deploy a second blockchain node and adding the second blockchain node into the treatment chain;
and receiving response information sent by the second server, and updating a transaction in the first server according to the response information, wherein the transaction comprises a response state of the second server to the invitation.
2. The method according to claim 1, wherein creating a blockchain network and deploying a first blockchain node using the first management platform, in particular comprises:
acquiring a network creation instruction;
generating network information by using the first management platform according to the network creation instruction;
acquiring a network information confirmation instruction;
creating a blockchain network according to the network information confirmation instruction and the network information, and generating a first blockchain link point deployment file by utilizing the first management platform;
acquiring a deployment instruction;
and deploying the corresponding first block chain nodes according to the deployment instruction and the first block chain link point deployment file.
3. The method of claim 2, wherein the blockchain network further includes a data sharing smart contract; in the blockchain network, constructing a treatment chain by using the first blockchain link point, and linking shared data on the treatment chain, specifically comprising:
creating a treatment chain in the blockchain network, and generating an account book file in the treatment chain;
after the first block chain link point is started, adding the first block chain link point into the treatment chain;
and calling the data sharing intelligent contract, and uploading the network information in the management chain and storing the network information into the account book file.
4. A method according to claim 3, characterized in that the method further comprises:
writing the data sharing intelligent contract into a system contract of the governance chain.
5. The method according to claim 1, characterized in that generating the invitation information and sending the invitation information to the second server, in particular comprises:
acquiring a tenant list of the second server;
constructing invitation information according to the tenant list;
and sending the invitation information to the second server.
6. The method according to claim 1, wherein receiving the response information sent by the second server and updating the transaction in the first server according to the response information, specifically comprises:
Receiving first response information sent by the second server, and adjusting the invitation state in the transaction to be a state to be accepted according to the first response information; the first response information comprises the processing state of the second server on the invitation information;
receiving second response information sent by the second server, and adjusting the invitation state in the transaction according to the second response information; the second response information includes an acceptance result of the invitation information by the second server.
7. The method of claim 6, wherein receiving the second response information sent by the second server and adjusting the invitation status in the transaction according to the second response information, specifically comprises:
receiving second response information sent by the second server; the second response information comprises accepted information or refused information;
when the second response information comprises rejection information, performing transaction rollback on the transaction;
when the second response information contains accepted information, the identity information of the second server is obtained from the second response information, and after the identity information is added into a configuration block in the treatment chain, the invitation state in the transaction is adjusted to be the accepted state.
8. A blockchain multi-platform governance method, wherein the method is applied to a second server, and a second management platform is installed in the second server, the method comprising:
acquiring invitation information sent by a first server; the invitation information is information that the first server establishes a blockchain network by using a first management platform installed by the first server, deploys a first blockchain node, builds a treatment chain by using the first blockchain node, and invites the second server to build a second blockchain node and join the treatment chain after the shared data is uplinked in the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
generating and sending response information to the first server; the response information is used for updating a transaction by the first server, and the transaction comprises a response state of the second server to the invitation;
responding to the invitation information, and deploying a second blockchain node by utilizing the second management platform;
adding the second blockchain node to the abatement chain.
9. The method according to claim 8, wherein generating and transmitting response information to the first server, in particular comprises:
Obtaining blockchain network data from the invitation information;
analyzing and storing the blockchain network data into a local database, and generating first response information; the first response information comprises the processing state of the second server on the invitation information;
and sending the first response information to the first server, wherein the first response information is used for enabling the first server to adjust the invitation state in the transaction to be a to-be-accepted state.
10. The method according to claim 9, wherein the method further comprises:
generating a local directory structure and constructing an organization service membership service providing request calling interface;
acquiring an invitation confirmation instruction;
generating second response information according to the invitation confirmation instruction, the local directory structure and the organization service membership service providing request calling interface;
transmitting the second response information to the first server; the second response information is used to adjust an invitation status of a transaction in the first server.
11. A blockchain multi-platform remediation device, comprising:
the processing module is used for creating a blockchain network by using the first management platform and deploying a first blockchain node;
The processing module is also used for constructing a treatment chain by utilizing the first block chain link point in the block chain network and linking shared data on the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
the processing module is also used for generating invitation information and sending the invitation information to a second server; a second management platform is installed in the second server, and the invitation information is used for inviting the second server to deploy a second blockchain node and adding the second blockchain node into the treatment chain;
the processing module is further used for receiving response information sent by the second server and updating the transaction in the first server according to the response information, wherein the transaction comprises a response state of the second server to the invitation.
12. A blockchain multi-platform remediation device, comprising:
the acquisition module is used for acquiring the invitation information sent by the first server; the invitation information is information that the first server establishes a blockchain network by using a first management platform installed by the first server, deploys a first blockchain node, builds a treatment chain by using the first blockchain node, and invites a second server to build a second blockchain node and join the treatment chain after the shared data is uplinked in the treatment chain; the participants in the treatment chain have read-write authority for treating the shared data in the treatment chain;
The processing module is used for generating and sending response information to the first server; the response information is used for updating a transaction by the first server, and the transaction comprises a response state of the second server to the invitation;
the processing module is further configured to deploy a second blockchain node using the second management platform in response to the invitation information;
the processing module is also used for adding the block chain link points into the abatement chain.
13. A server, comprising: a processor and a memory communicatively coupled to the processor;
the memory stores computer instructions;
the processor, when executing the computer instructions, is configured to implement a blockchain multi-platform remediation method as in claims 1 to 7, or as in any one of claims 8 to 10.
14. A computer readable storage medium having stored therein computer instructions which when executed by a processor are for implementing a blockchain multi-platform remediation method as claimed in any one of claims 1 to 7, or 8 to 10.
CN202211500050.7A 2022-11-28 2022-11-28 Block chain multi-platform management method, device, server and storage medium Pending CN116094720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211500050.7A CN116094720A (en) 2022-11-28 2022-11-28 Block chain multi-platform management method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211500050.7A CN116094720A (en) 2022-11-28 2022-11-28 Block chain multi-platform management method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN116094720A true CN116094720A (en) 2023-05-09

Family

ID=86185805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211500050.7A Pending CN116094720A (en) 2022-11-28 2022-11-28 Block chain multi-platform management method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN116094720A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710271A (en) * 2019-01-16 2019-05-03 杭州趣链科技有限公司 Key deployment, link setup and operation management system based on block chain
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110933189A (en) * 2020-02-10 2020-03-27 北京启迪区块链科技发展有限公司 Fabric-based block chain network deployment method, device, equipment and medium
CN112732677A (en) * 2021-01-12 2021-04-30 成都库珀区块链科技有限公司 Block link point deployment method, device, equipment and storage medium
CN113923233A (en) * 2021-09-30 2022-01-11 广联达科技股份有限公司 Alliance chain management method
CN114268628A (en) * 2021-12-22 2022-04-01 深圳市名竹科技有限公司 Networking method, system, equipment and storage medium of cross-block chain service platform
CN115086352A (en) * 2022-05-06 2022-09-20 讯飞智元信息科技有限公司 Block chain event processing method and related device, platform and storage medium
CN115314375A (en) * 2022-07-22 2022-11-08 京东科技信息技术有限公司 Block chain network cross-domain networking method, device, storage medium and program product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710271A (en) * 2019-01-16 2019-05-03 杭州趣链科技有限公司 Key deployment, link setup and operation management system based on block chain
CN110599181A (en) * 2019-09-26 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110933189A (en) * 2020-02-10 2020-03-27 北京启迪区块链科技发展有限公司 Fabric-based block chain network deployment method, device, equipment and medium
CN112732677A (en) * 2021-01-12 2021-04-30 成都库珀区块链科技有限公司 Block link point deployment method, device, equipment and storage medium
CN113923233A (en) * 2021-09-30 2022-01-11 广联达科技股份有限公司 Alliance chain management method
CN114268628A (en) * 2021-12-22 2022-04-01 深圳市名竹科技有限公司 Networking method, system, equipment and storage medium of cross-block chain service platform
CN115086352A (en) * 2022-05-06 2022-09-20 讯飞智元信息科技有限公司 Block chain event processing method and related device, platform and storage medium
CN115314375A (en) * 2022-07-22 2022-11-08 京东科技信息技术有限公司 Block chain network cross-domain networking method, device, storage medium and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ALIBABA CLOUD: "区块链服务 BaaS快速入门", HTTPS://DOCS-ALIYUN.CN-HANGZHOU.OSS.ALIYUN-INC.COM/PDF/BAAS-QUICK_START-INTL-ZH-2020-06-10.PDF, 10 June 2020 (2020-06-10), pages 7 - 12 *

Similar Documents

Publication Publication Date Title
DE112013002542T5 (en) Cloud-based application resource files
CN109493072B (en) Privacy contract protection method based on alliance block chain
CN110008665B (en) Authority control method and device for blockchain
CN107087009A (en) A kind of realization method and system of collaborative share
CN102298647B (en) Inspection and allocation system and method of data file
DE112021002797T5 (en) PRIVACY PRESERVING ARCHITECTURE FOR AUTHORIZED BLOCKCHAINS
CN111027936A (en) Workflow realization method, equipment and medium based on intelligent contract in alliance network
CN103384237A (en) Method for sharing IaaS cloud account, shared platform and network device
CN113709122B (en) Service verification method of alliance chain and alliance chain system
CN109299333B (en) Block chain network account book member management method, device, equipment and storage medium
CN109559213A (en) The processing method and processing device of taxation informatization
CN112291298A (en) Data transmission method and device for heterogeneous system, computer equipment and storage medium
CN112468537A (en) Block chain network building structure based on local area network environment and data processing method
CN112446780A (en) Account management method and device, computer equipment and storage medium
CN109766316A (en) File acquisition method, device, computer equipment and storage medium
CN115086352A (en) Block chain event processing method and related device, platform and storage medium
DE102020213017A1 (en) Method for providing a status channel
CN116094720A (en) Block chain multi-platform management method, device, server and storage medium
WO2019242947A1 (en) Method for linking a terminal into an interconnectable computer infrastructure
DE102021130811A1 (en) BLOCKCHAIN SELECTIVE WORLD-STATE DATABASE
CN117043762A (en) System and method for exchanging and managing data stored in heterogeneous data sources
CN106993060A (en) A kind of master data integrated approach based on service architecture
CN111858737B (en) Data importing device and method, bank system constructing device and method, and storage medium
CN113282457B (en) Method, device and medium for maintaining heterogeneous system integration interface information
CN110609837B (en) Method and device for dynamically establishing enterprise address book

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