CN114268628B - Method, system, equipment and storage medium for networking cross-block chain service platform - Google Patents

Method, system, equipment and storage medium for networking cross-block chain service platform Download PDF

Info

Publication number
CN114268628B
CN114268628B CN202111579759.6A CN202111579759A CN114268628B CN 114268628 B CN114268628 B CN 114268628B CN 202111579759 A CN202111579759 A CN 202111579759A CN 114268628 B CN114268628 B CN 114268628B
Authority
CN
China
Prior art keywords
service platform
organization
networking
blockchain service
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111579759.6A
Other languages
Chinese (zh)
Other versions
CN114268628A (en
Inventor
陈子嘉
吴军勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mingzhu Technology Co ltd
Original Assignee
Shenzhen Mingzhu 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 Shenzhen Mingzhu Technology Co ltd filed Critical Shenzhen Mingzhu Technology Co ltd
Priority to CN202111579759.6A priority Critical patent/CN114268628B/en
Publication of CN114268628A publication Critical patent/CN114268628A/en
Application granted granted Critical
Publication of CN114268628B publication Critical patent/CN114268628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application relates to a networking method, a networking system, networking equipment and networking storage media for a cross-region block chain service platform. The method comprises the following steps: when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform, the first blockchain service platform calls a networking request interface provided by the second blockchain service platform based on remote call connection so as to trigger sending networking request notification to the second organization; under the condition that the second organization agrees to networking is confirmed, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform to trigger and judge that the second organization agrees to networking; the first block chain service platform calls a certificate acquisition interface provided by the second block chain service platform to trigger acquisition of certificate information of a second organization; the first blockchain service platform updates the certificate information into the blockchain configuration to enable networking between the first organization and the second organization. By adopting the method, the cost of computer resources can be reduced.

Description

Method, system, equipment and storage medium for networking cross-block chain service platform
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a method, a system, an apparatus, and a storage medium for networking a cross-region blockchain service platform.
Background
With the development of blockchain technology, in order to provide more support for the developer of blockchains, a blockchain service (Blockchain as a Service, baaS for short) platform has emerged. The blockchain service platform assists the user in creating, managing and maintaining a service platform for enterprise-level blockchain networks and applications. The block chain service can provide production-level operation management, and can realize the functions of quick construction, dynamic capacity expansion, chain code management, operation monitoring and the like of a block chain network through a visual interface. The blockchain network constructed based on the blockchain service platform can provide support for upper-layer industrial application and provide technical support for distributed bottom infrastructure for industries such as finance, government affairs, medical treatment and the like.
However, when the blockchain network is built by using different blockchain service platforms, because the respective implementations inside the blockchain service platforms are different, for example, the processes of acquiring the certificate information are different, the developer needs to develop new codes and debug for the different blockchain service platforms, and because of unfamiliarity, the new codes are easy to make mistakes, and frequent debugging is needed. Thus, the overhead of computer resources is increased.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, system, computer device, storage medium, and computer program product for networking a block-chain-crossing service platform that can reduce the cost of computer resources.
In a first aspect, the present application provides a networking method of a cross-region block chain service platform. Through the interactive realization among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, wherein the networking related interface is a unified interface agreed among the block chain service platforms and used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface, and the method comprises the following steps:
under the condition that a first blockchain service platform and a second blockchain service platform establish remote call connection, when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform, the first blockchain service platform calls the networking request interface provided by the second blockchain service platform based on the remote call connection so as to trigger the second blockchain service platform to send networking request notification aiming at the second organization;
Under the condition that the second organization agrees to networking is confirmed, the second blockchain service platform invokes the networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking;
under the condition that the second organization is to join a first target network where the first organization is located to complete networking, the first blockchain service platform calls the certificate acquisition interface provided by the second blockchain service platform to trigger the acquisition of the certificate information of the second organization from the second blockchain service platform; the first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization; under the condition that the first organization is to join a second target network where the second organization is located to complete networking, the second blockchain service platform calls the certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization.
In one embodiment, the networking-related interface includes a query organization list interface, and when a first organization in a first blockchain service platform specifies networking with a second organization in a second blockchain service platform, the first blockchain service platform invokes a networking request interface provided by the second blockchain service platform based on the remote invocation connection includes:
the first blockchain service platform invokes a query organization list interface provided by the second blockchain service platform, and when the first organization designates to invite the second organization to join a first target network where the first organization is located, the first organization triggers to query an organization list under the account from the second blockchain service platform according to the account designated by the first blockchain service platform; triggering to query an organization list of a blockchain network corresponding to the blockchain network identifier from the second blockchain service platform according to the blockchain network identifier appointed by the first blockchain service platform when the first organization appoints to join a second target network where the second organization is located;
the first blockchain service platform obtains the organization identification of a second organization of the appointed networking from the queried organization list;
And the first blockchain service platform takes the organization identifier as an entry, and calls a networking request interface provided by the second blockchain service platform based on the remote call connection.
In one embodiment, the request networking interface is an invite networking interface; when a first organization in a first blockchain service platform designates networking with a second organization in a second blockchain service platform, the first blockchain service platform calls a networking request interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send a networking request notification to the second organization, including:
when the first organization designates to invite the second organization to join a first target network where the first organization is located, the first blockchain service platform invokes an invite networking interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send a networking invite notification for the first target network for the second organization.
In one embodiment, the request networking interface is an application networking interface; when a first organization in a first blockchain service platform designates networking with a second organization in a second blockchain service platform, the first blockchain service platform calls a networking request interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send a networking request notification to the second organization, including:
When the first organization designates to apply for joining a second target network where the second organization is located, the first blockchain service platform calls an application networking interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send networking application notification for the second target network for the second organization.
In one embodiment, the triggering the second blockchain service platform to send a networking request notification for the second organization includes:
triggering the second blockchain service platform to send a networking request notification to a user terminal corresponding to the second organization by an event callback mechanism;
and under the condition that the second organization agrees to networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, wherein the networking feedback interface comprises:
and responding to the agreement networking operation of the user terminal, triggering the second blockchain service platform to call a networking feedback interface provided by the first blockchain service platform.
In one embodiment, the method further comprises:
and under the condition that the first blockchain service platform judges that the second organization agrees to networking, the first blockchain service platform sends a feedback result of agreeing to networking to the user terminal of the first organization through an event callback mechanism.
In one embodiment, the method further comprises:
and under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls the networking feedback interface provided by the first block chain service platform to trigger the first block chain service platform to judge that the second organization refuses networking, and sends a feedback result of refusing networking to the user terminal of the first organization through an event callback mechanism.
In a second aspect, the present application further provides a networking system of the cross-block chain service platform. Through the interactive realization among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, wherein the networking related interface is a unified interface agreed among the block chain service platforms and used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface, and the system comprises: a first blockchain service platform and a second blockchain service platform;
the first blockchain service platform is used for calling a networking request interface provided by the second blockchain service platform based on the remote call connection when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform under the condition that the first blockchain service platform and the second blockchain service platform establish remote call connection so as to trigger the second blockchain service platform to send networking request notification aiming at the second organization;
The second blockchain service platform is used for calling a networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking under the condition that the second organization agrees to networking;
the first blockchain service platform is further used for calling a certificate acquisition interface provided by the second blockchain service platform by the first blockchain service platform so as to trigger the second organization certificate information to be acquired from the second blockchain service platform; the first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the networking method of the cross-block chain service platform.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program for execution by a processor of the steps of the networking method of the block chain service platform described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which is executed by a processor to perform the steps of the networking method of the block chain service platform.
The networking method, the networking system, the computer equipment, the storage medium and the computer program product of the cross-area block chain service platform are realized through interaction among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, the networking related interfaces are unified interfaces agreed among the block chain service platforms and used for realizing networking processing, and the networking related interfaces comprise a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that the first block chain service platform and the second block chain service platform establish remote call connection, when a first organization in the first block chain service platform designates networking with a second organization in the second block chain service platform, the first block chain service platform calls a networking request interface provided by the second block chain service platform based on the remote call connection so as to trigger the second block chain service platform to send networking request notification to the second organization. Thus, the first blockchain service platform can trigger the second organization to send the networking request notification without paying attention to the communication mode between the second blockchain service platform and the organization. And under the condition that the second organization agrees to networking, the second blockchain service platform invokes a networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking. Thus, the second blockchain service platform can feed back networking results without paying attention to the internal implementation logic of the first blockchain service platform. And under the condition that the second organization is to join a first target network where the first organization is located to complete networking, the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform to trigger the acquisition of the certificate information of the second organization from the second blockchain service platform. Thus, the first blockchain service platform can acquire the certificate information of the second organization without paying attention to the specific flow of acquiring the certificate information by the second blockchain service platform. The first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization. Under the condition that a first organization is to join a second target network where a second organization is located to complete networking, the second blockchain service platform calls a certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization. Therefore, after the networking related interfaces are provided by different blockchain service platforms according to respective realization logics, the networking related interfaces provided by other blockchain service platforms are called according to the commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the intricate calling relation in the networking process is shielded, meanwhile, the understanding cost of developers for the bottom details of different blockchain service platforms is reduced, the developers can concentrate more on business logics, the debugging error rate in the development process is greatly reduced, and the computer resource cost is reduced.
Drawings
FIG. 1 is an application environment diagram of a cross-blockchain service platform networking method in one embodiment;
FIG. 2 is a flow diagram of a method of networking a cross-blockchain service platform in one embodiment;
FIG. 3 is a flow diagram of a method of networking a cross-blockchain service platform in one embodiment;
FIG. 4 is a flow diagram of a method of networking a cross-blockchain service platform in one embodiment;
FIG. 5 is a block diagram of a cross-blockchain service platform networking system in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The method for networking the cross-blockchain service platform can be applied to an application environment shown in fig. 1. Wherein the first blockchain service platform 110 communicates with the second blockchain service platform 120 through a network. The first blockchain service platform 110 and the second blockchain service platform 120 may be implemented by independent servers or a server cluster formed by a plurality of servers. The first blockchain service platform includes a plurality of organizations, such as organization a, organization B, and organization C; the second blockchain service platform includes a plurality of organizations, such as organization a, organization B, and organization C, wherein organization a\b\c and organization a\b\c are merely illustrative.
The first blockchain service platform 110 and the second blockchain service platform 120 provide networking related interfaces according to respective implementation logic, wherein the networking related interfaces are unified interfaces agreed between the blockchain service platforms and used for realizing networking processing. The networking related interfaces comprise a networking request interface, a networking feedback interface and a certificate acquisition interface. In the case where the first blockchain service platform 110 and the second blockchain service platform 120 establish a remote invocation connection, when the first organization 1101 in the first blockchain service platform 110 designates networking with the second organization 1201 in the second blockchain service platform 120, the first blockchain service platform 110 invokes a networking request interface provided by the second blockchain service platform 120 based on the remote invocation connection to trigger the second blockchain service platform 120 to send a networking request notification for the second organization 1201. In the case that the second organization 1201 agrees to networking is confirmed, the second blockchain service platform 120 invokes the networking feedback interface provided by the first blockchain service platform 110 to trigger the first blockchain service platform 110 to determine that the second organization 1201 agrees to networking. In the case that the second organization 1201 is to join the first target network where the first organization 1101 is located to complete networking, the first blockchain service platform 110 invokes a certificate acquisition interface provided by the second blockchain service platform 120 to trigger the acquisition of certificate information of the second organization 1201 from the second blockchain service platform 120. The first blockchain service platform 110 updates the acquired certificate information of the second organization 1201 into the blockchain configuration of the first blockchain service platform 110 to implement networking between the first organization 1101 and the second organization 1201. In the case that the first organization 1101 is to join a second target network where the second organization 1201 is located to complete networking, the second blockchain service platform 120 invokes a certificate acquisition interface provided by the first blockchain service platform 110 to trigger acquiring certificate information of the first organization 1101 from the first blockchain service platform 110; the second blockchain service platform 120 updates the acquired certificate information of the first organization 1101 into the blockchain configuration of the second blockchain service platform 120 to enable networking between the first organization 1101 and the second organization 1201.
It is understood that the first blockchain service platform 110 and the second blockchain service platform 120 are merely used to distinguish between different blockchain service platforms. Since the first blockchain service platform 110 and the second blockchain service platform 120 provide networking related interfaces according to respective implementation logic, the networking related interfaces include a networking request interface, a networking feedback interface and a certificate acquisition interface, the method is not limited to being only specified by the first organization 1101 in the first blockchain service platform 110 to be networked with the second organization 1201 in the second blockchain service platform 120, but may also be specified by the second organization 1201 in the second blockchain service platform 120 to be networked with the first organization 1101 in the first blockchain service platform 110. This is not limited.
In one embodiment, as shown in fig. 2, a networking method of a cross-area blockchain service platform is provided, and the embodiment is applied to a system including a first blockchain service platform and a second blockchain service platform and implemented through interaction of the first blockchain service platform and the second blockchain service platform. In this embodiment, the method includes the steps of:
s202, under the condition that the first block chain service platform and the second block chain service platform establish remote call connection, when a first organization in the first block chain service platform designates networking with a second organization in the second block chain service platform, the first block chain service platform calls a networking request interface provided by the second block chain service platform based on the remote call connection so as to trigger the second block chain service platform to send a networking request notification for the second organization.
The blockchain service platform is also called as a Baas platform (Blockchain as a Service, abbreviated as Baas) and is a blockchain open platform which embeds a blockchain framework into a cloud computing platform, provides a developer with a convenient and high-performance blockchain ecological environment and ecological supporting service by utilizing deployment and management advantages of a cloud service infrastructure, and supports business expansion and operation support of the developer. A remote call connection is a connection for implementing a remote call. Remote invocation refers to a function call between different processes located on different blockchain service platforms. The organization is a member of the blockchain network, can be an entity organization in a real scene, and different organizations can generate certificate information belonging to the organization for interaction and authentication in the blockchain network. The blockchain service platform provides blockchain technical service for organizations, and the blockchain network refers to a network formed by a plurality of organizations.
Specifically, the first blockchain service platform and the second blockchain service platform establish remote call connection, when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform under the condition that the remote call connection establishment is completed, the first blockchain service platform calls a networking request interface provided by the second blockchain service platform based on the remote call connection, the second blockchain service platform confirms that the second organization needs to participate in networking according to the participation of the networking request interface, and sends networking request notification to the second organization according to the communication mechanism of the second blockchain service platform and the second organization.
In one embodiment, when the first organization designates to invite the second organization to join the first target network where the first organization is located, the first blockchain service platform obtains an organization list under the designated account by calling a query organization list interface provided by the second blockchain service platform, and confirms an organization identifier of the second organization from the organization list to serve as a joining of the networking request interface.
In one embodiment, when the first organization designates to apply to join the second target network where the second organization is located, the first blockchain service platform obtains an organization list under the designated blockchain network identifier by calling a query organization list interface provided by the second blockchain service platform, and confirms the organization identifier of the second organization from the organization list to serve as an entry of a networking request interface.
In one embodiment, the query organization list interface includes a first query organization list interface for obtaining an organization list under a specified account and a second query organization list interface for obtaining an organization list under a specified blockchain network identification. The first block chain service platform acquires an organization list by calling different inquiry organization list interfaces provided by the second block chain service platform, and confirms the organization identification of the second organization from the organization list to serve as the entry of the networking request interface. It will be appreciated that the participation of at least one of the networking request interfaces is not limited to only one organization identification.
In one embodiment, the request networking interface may be an invite networking interface that the first blockchain service platform invokes to invite the second organization to join the first target network where the first organization is located. The first block chain service platform and the second block chain service platform provide an invitation networking interface according to respective realization logic.
In another embodiment, the request networking interface may be an application networking interface, and the first blockchain service platform invokes the application networking interface to specify a second target network where the application joins the second organization. The first block chain service platform and the second block chain service platform provide application networking interfaces according to respective realization logic.
In one embodiment, the blockchain service platform sends a networking-related notification to user terminals of an organization under the platform by an event callback mechanism after the self request networking interface is called.
S204, under the condition that the second organization agrees to networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform to trigger the first block chain service platform to judge that the second organization agrees to networking.
Specifically, under the condition that the second block chain service platform confirms that the second organization agrees to networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform, and the first block chain service platform judges that the second organization agrees to networking with the first organization according to the participation of the networking feedback interface.
In one embodiment, the second blockchain service platform confirms that the second organization agrees to the networking by responding to an agreement operation of the user terminal of the second organization.
In one embodiment, when the second blockchain service platform confirms that the second organization refuses networking, the second blockchain service platform sends a feedback result of refusing networking to the user terminal of the first organization by calling a networking feedback interface provided by the first blockchain service platform.
S206, under the condition that the second organization is to be added into a first target network where the first organization is located to complete networking, the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform to trigger the second organization to acquire the certificate information of the second organization from the second blockchain service platform, and the first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform so as to realize networking between the first organization and the second organization.
The certificate information is information of a certificate for proving organization identity, and can be used for interaction and authentication in a blockchain network, such as a CA (Certificate Authority, certificate issuing authority) signs a certificate and a CA root certificate, and the like. The blockchain configuration is the configuration used in the formation of the blockchain network. For example, it may be a federation configuration or a channel configuration.
Specifically, under the condition that the second organization is to join a first target network where the first organization is located to complete networking, the first organization of the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform, and the second blockchain service platform acquires certificate information of the second organization specified by the entry from the second blockchain service platform according to the entry of the certificate acquisition interface. The first organization of the first blockchain service platform updates the acquired certificate information of the second organization into its blockchain configuration. Networking is achieved between the first organization and the second organization based on the credential information in the blockchain configuration.
In one embodiment, the blockchain network formed by networking may be a federated network. The alliance network is a set of enterprises which take a focus enterprise as a center and have alliance relation with the focus enterprise, an organization in the same alliance is visible to all members, and organizations in different alliances are mutually invisible.
In another embodiment, the blockchain network formed by networking may be a federated chain channel network, which is a blockchain network that may deploy intelligent contracts.
S208, under the condition that the first organization is to join a second target network where a second organization is located to complete networking, the second blockchain service platform calls a certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization.
Specifically, under the condition that the first organization is to join a second target network where the second organization is located to complete networking, the second organization of the second blockchain service platform calls a certificate acquisition interface provided by the first blockchain service platform, and the first blockchain service platform acquires certificate information of the first organization specified by the entry from the first blockchain service platform according to the entry of the certificate acquisition interface. The second organization of the second blockchain service platform updates the acquired certificate information of the first organization into its blockchain configuration. Networking is achieved between the first organization and the second organization based on the credential information in the blockchain configuration.
According to the networking method of the cross-region block chain service platform, interaction among the block chain service platforms is realized, each block chain service platform provides a networking related interface according to respective realization logic, the networking related interfaces are unified interfaces agreed among the block chain service platforms and used for realizing networking processing, and the networking related interfaces comprise a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that the first block chain service platform and the second block chain service platform establish remote call connection, when a first organization in the first block chain service platform designates networking with a second organization in the second block chain service platform, the first block chain service platform calls a networking request interface provided by the second block chain service platform based on the remote call connection so as to trigger the second block chain service platform to send networking request notification to the second organization. Thus, the first blockchain service platform can trigger the second organization to send the networking request notification without paying attention to the communication mode between the second blockchain service platform and the organization. And under the condition that the second organization agrees to networking, the second blockchain service platform invokes a networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking. Thus, the second blockchain service platform can feed back networking results without paying attention to the internal implementation logic of the first blockchain service platform. And under the condition that the second organization is to join a first target network where the first organization is located to complete networking, the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform to trigger the acquisition of the certificate information of the second organization from the second blockchain service platform. Thus, the first blockchain service platform can acquire the certificate information of the second organization without paying attention to the specific flow of acquiring the certificate information by the second blockchain service platform. The first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization. Under the condition that a first organization is to join a second target network where a second organization is located to complete networking, the second blockchain service platform calls a certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization. Therefore, after the networking related interfaces are provided by different blockchain service platforms according to respective realization logics, the networking related interfaces provided by other blockchain service platforms are called according to the commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the intricate calling relation in the networking process is shielded, meanwhile, the understanding cost of developers for the bottom details of different blockchain service platforms is reduced, the developers can concentrate more on business logics, the debugging error rate in the development process is greatly reduced, and the computer resource cost is reduced.
In one embodiment, the networking-related interface comprises a query organization list interface, and when a first organization in the first blockchain service platform specifies networking with a second organization in the second blockchain service platform, the first blockchain service platform invokes a networking request interface provided by the second blockchain service platform based on the remote invocation connection comprises: the first block chain service platform calls a query organization list interface provided by the second block chain service platform, and when a first organization appoints to invite the second organization to join a first target network where the first organization is located, an organization list under an account is queried from the second block chain service platform according to an account appointed by the first block chain service platform; when the first organization appoints to apply for joining a second target network where a second organization is located, triggering the organization list of the blockchain network corresponding to the blockchain network identification from the second blockchain service platform according to the blockchain network identification appointed by the first blockchain service platform.
Where the account refers to a blockchain service platform account, similar to a banking system account, a securities platform account, and so forth. At least one organization is associated under one account.
Specifically, the first blockchain service platform invokes a query organization list interface provided by the second blockchain service platform, when a first organization designates to invite the second organization to join a first target network where the first organization is located, an account to be queried is designated in a reference of the query organization list interface, and an organization list under the account is queried from the second blockchain service platform according to the account designated by the first blockchain service platform is triggered; when the first organization appoints to apply for joining a second target network where a second organization is located, appointing a blockchain network identifier to be inquired in the participation of the inquiry organization list interface, triggering the inquiry of the organization list of the blockchain network corresponding to the blockchain network identifier from the second blockchain service platform according to the blockchain network identifier appointed by the first blockchain service platform. The second blockchain service platform returns an organizational list to the first blockchain service platform. The first blockchain service platform obtains the organization identification of the second organization of the appointed networking from the queried organization list. The first block chain service platform takes the organization identification as a joining parameter, calls a networking request interface provided by the second block chain service platform, and confirms that the organization to be networked is a second organization based on the joining parameter in the networking request interface.
In one embodiment, the query organization list interface includes a first query organization list interface and a second query organization list interface. The participating in the first query organization list interface comprises a designated account for acquiring an organization list under the designated account, and the participating in the second query organization list interface comprises a designated blockchain network identifier for acquiring the organization list under the designated blockchain network identifier.
In this embodiment, a query organization list interface is provided through the second blockchain service platform, the first blockchain service platform acquires an organization list, acquires an organization identifier of the second organization from the organization list, and invokes a networking request interface by using the organization identifier, so that different organizations can be identified between the blockchain service platforms by the organization identifier to perform networking operation. And after providing the inquiry organization list interface according to the respective realization logic, the different block chain service platforms abstract the inquiry organization list process through the interface, simplify, and do not need to develop new codes for different block chain service platforms to acquire the organization list, so that the error rate is low, and the cost of computer resources is reduced.
In one embodiment, the request networking interface is an invite networking interface; when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform, the first blockchain service platform invokes a networking request interface provided by the second blockchain service platform based on the remote invocation connection to trigger the second blockchain service platform to send a networking request notification for the second organization, including: when the first organization designates to invite the second organization to join the first target network where the first organization is located, the first blockchain service platform invokes an invite networking interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send a networking invite notification for the first target network for the second organization.
In particular, the request networking interface may be an invite networking interface. When a first organization appoints to invite a second organization to join a first target network where the first organization is located, the first blockchain service platform calls an invitation networking interface provided by the second blockchain service platform based on remote call connection, the second blockchain service platform confirms that the second organization needs to participate in networking according to the participation of the invitation networking interface, and sends networking invitation notification for the first target network to the second organization according to a communication mechanism of the second blockchain service platform and the second organization.
In one embodiment, the first blockchain service platform invokes an invite networking interface provided by the second blockchain service platform based on the remote invocation connection, the joining of the invite networking interface including an organization identification of the second organization, triggering the second blockchain service platform to send a networking invite notification for the first target network for the second organization.
In this embodiment, when the first organization designates to invite the second organization to join the first target network where the first organization is located, the invite networking interface provided by the second blockchain service platform is invoked, so that the second blockchain service platform can identify the designated networking type, and thus execute a corresponding processing flow, thereby meeting different networking requirements.
In one embodiment, the request networking interface is an application networking interface; when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform, the first blockchain service platform invokes a networking request interface provided by the second blockchain service platform based on the remote invocation connection to trigger the second blockchain service platform to send a networking request notification for the second organization, including: when the first organization designates to apply for joining a second target network where a second organization is located, the first blockchain service platform calls an application networking interface provided by the second blockchain service platform based on remote call connection so as to trigger the second blockchain service platform to send networking application notification aiming at the second organization.
Specifically, the request networking interface may be an application networking interface; when the first organization designates to apply for joining a second target network where a second organization is located, the first blockchain service platform calls an application networking interface provided by the second blockchain service platform based on remote call connection so as to trigger the second blockchain service platform to send networking application notification aiming at the second organization.
In one embodiment, the same organization may be assigned to different blockchain networks.
In one embodiment, the first blockchain service platform invokes an application networking interface provided by the second blockchain service platform based on the remote invocation connection, and the participation of the application networking interface includes an organization identifier of the second organization and a blockchain network identifier of the second target network, and triggers the second blockchain service platform to send a networking application notification for the second target network for the second organization.
In this embodiment, when the first organization designates to apply for joining the second target network where the second organization is located, the application networking interface provided by the second blockchain service platform is invoked, so that the second blockchain service platform can identify the designated networking type, and thus execute the corresponding processing flow, and further meet different networking requirements.
In one embodiment, triggering the second blockchain service platform to send the networking request notification for the second organization includes: triggering a second blockchain service platform to send a networking request notice to a user terminal corresponding to a second organization by an event callback mechanism; in the case that the second organization agrees to networking, the second blockchain service platform invoking the networking feedback interface provided by the first blockchain service platform includes: and responding to the networking agreement operation of the user terminal, triggering the second blockchain service platform to call a networking feedback interface provided by the first blockchain service platform.
Wherein the user may manage the organization, such as agreeing to networking between the managed organization and other organizations or refusing to networking between the managed organization and other organizations. The user terminal refers to a terminal used by a user to manage an organization.
Specifically, the first blockchain service platform calls a networking request interface provided by the second blockchain service platform based on remote call connection, the second blockchain service platform confirms a second organization which performs networking with the first networking, and sends a networking request notification to a user terminal corresponding to the second organization through an event callback mechanism. The user terminal displays the networking request to the user, the user executes the agreement organization operation, the user terminal receives the agreement organization operation and notifies the second blockchain service platform, so that the second blockchain service platform confirms that the second organization agrees to networking and invokes a networking feedback interface provided by the first blockchain service platform.
In this embodiment, the event callback mechanism is used to send a networking request notification to the user terminal corresponding to the second organization, and trigger the second blockchain service platform to invoke the networking feedback interface provided by the first blockchain service platform in response to the networking agreement operation of the user terminal. Therefore, the first blockchain service platform invokes the networking request interface provided by the second blockchain service platform, and the first blockchain service platform can inform the networking request to the user terminal of the organization, so that a developer does not need to be familiar with a communication mechanism between the second blockchain service platform and the user terminal of the organization, the error rate is reduced, the working efficiency is improved, and the cost of computer resources is reduced.
In one embodiment, the method further comprises: and under the condition that the first blockchain service platform judges that the second organization agrees to be networked, the first blockchain service platform sends a feedback result of agreeing to be networked to the user terminal of the first organization through an event callback mechanism.
Specifically, the second blockchain service platform invokes a networking feedback interface provided by the first blockchain service platform, so that the first blockchain service platform judges that the second organization agrees to networking, and sends a feedback result agreeing to networking to the user terminal of the first organization through an event callback mechanism.
In this embodiment, when the first blockchain service platform determines that the second organization agrees to perform networking, the first blockchain service platform sends a feedback result of agreeing to networking to the user terminal of the first organization through the event callback mechanism, so that the user terminal can receive the feedback result of agreeing to networking. Therefore, the first blockchain service platform can send the feedback result agreeing to the networking to the user terminal of the first organization, so that a developer does not need to be familiar with a communication mechanism between the first blockchain service platform and the user terminal of the organization, the error rate is reduced, the working efficiency is improved, and the cost of computer resources is reduced.
In one embodiment, the method further comprises: and under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform to trigger the first block chain service platform to judge that the second organization refuses networking, and sends a feedback result of refusing networking to the user terminal of the first organization through an event callback mechanism.
Specifically, under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform, and the first block chain service platform confirms that the second organization refuses networking according to the participation of the networking feedback interface. And the first blockchain service platform sends a feedback result of refusing networking to the user terminal of the first organization through an event callback mechanism.
In one embodiment, the networking feedback interface includes an agreeing networking interface and a rejecting networking interface. And under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls a refusal networking interface provided by the first block chain service platform. And under the condition that the second blockchain service platform confirms that the second organization agrees to networking, the second blockchain service platform calls an agreeing networking interface provided by the first blockchain service platform.
In one embodiment, the networking feedback interface specifies a join that indicates whether to agree to networking or reject networking. And under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform and indicates agreement to networking in the participation. And under the condition that the second block chain service platform confirms that the second organization agrees to networking, the second block chain service platform calls a networking feedback interface provided by the first block chain service platform and indicates that networking is refused in the participation.
In this embodiment, when the second blockchain service platform confirms that the second organization refuses to network, the second blockchain service platform invokes the networking feedback interface provided by the first blockchain service platform, so that a feedback result of refusing to network is sent to the user terminal of the first organization. In this way, the second blockchain service platform can send the feedback result of refusing networking to the user terminal of the first organization, so that the developer does not need to be familiar with a communication mechanism between the first blockchain service platform and the user terminal of the organization, the error rate is reduced, the working efficiency is improved, and the cost of computer resources is reduced.
In one embodiment, a process is presented in which a first blockchain service platform invites networking for networking. Specifically, as shown in fig. 3, the first blockchain service platform and the second blockchain service platform establish a remote invocation connection. When the first organization appoints to invite the second organization to join a first target network where the first organization is located, the first blockchain service platform calls a first query organization list interface provided by the second blockchain service platform by taking the appointed account as a reference, and the second blockchain service platform returns an organization list under the appointed account. The first blockchain service platform obtains the organization identification of the second organization. The first block chain service platform calls an invitation networking interface of the second block chain service platform, takes the organization identification as an entry, and invites the second organization to join in a first target network where the first organization is located. And after the networking inviting interface is called, the second blockchain service platform sends a networking invitation notification to the user terminal of the second organization through an event callback mechanism. And responding to the networking agreement or networking rejection operation of the user terminal, triggering the second blockchain service platform to call a networking feedback interface provided by the first blockchain service platform, and indicating the networking agreement or networking rejection in a parameter entering mode. The first blockchain service platform sends a networking feedback result to the user terminal of the first organization through an event callback mechanism. If the second organization agrees to networking, the first organization of the first blockchain service platform calls a certificate information acquisition interface provided by the second blockchain service platform, the second blockchain service platform returns certificate information of the second organization, and the first organization of the first blockchain service platform stores the certificate information of the second organization into the blockchain configuration so as to realize networking between the first organization and the second organization.
In one embodiment, a process of networking by applying for networking by the first blockchain service platform is illustrated, specifically, as shown in fig. 4, the first blockchain service platform and the second blockchain service platform establish a remote call connection. When the first organization appoints to apply for joining a second target network where the second organization is located, the first blockchain service platform uses a blockchain network identifier of the second target network as an entry, calls a second query organization list interface provided by the second blockchain service platform, and returns an organization list in the blockchain network corresponding to the appointed blockchain network identifier. The first blockchain service platform obtains the organization identification of the second organization. The first block chain service platform calls an application networking interface of the second block chain service platform, takes the organization identification as an entry, and applies for adding to a second target network where a second organization is located. And after the networking interface is called, the second blockchain service platform sends networking application notification to the user terminal of the second organization through an event callback mechanism. And responding to the networking agreement or networking rejection operation of the user terminal, triggering the second blockchain service platform to call a networking feedback interface provided by the first blockchain service platform, and indicating the networking agreement or networking rejection in a parameter entering mode. The first blockchain service platform sends a networking feedback result to the user terminal of the first organization through an event callback mechanism. If the second organization agrees to networking, the second organization of the second blockchain service platform calls a certificate information acquisition interface provided by the first blockchain service platform, the first blockchain service platform returns the certificate information of the first organization, and the second organization of the second blockchain service platform stores the certificate information of the first organization into the blockchain configuration so as to realize networking between the first organization and the second organization.
It should be understood that, although the steps in the flowcharts in some embodiments of the present application are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least a portion of the steps in the flowcharts may include a plurality of steps or stages that are not necessarily performed at the same time, but may be performed at different times, and the order of execution of the steps or stages is not necessarily sequential, but may be performed in rotation or alternately with at least a portion of the steps or stages in other steps or other steps.
Based on the same inventive concept, the embodiment of the application also provides a networking system of the cross-block chain service platform for realizing the networking method of the cross-block chain service platform. The implementation of the solution provided by the system is similar to the implementation described in the above method, so the specific limitation in the networking system embodiment of one or more blockchain service platforms provided below may be referred to the limitation of the networking method of the blockchain service platform hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 5, a networking system 500 of a cross-area blockchain service platform is provided, through an interaction implementation between a plurality of blockchain service platforms, each blockchain service platform provides a networking related interface according to respective implementation logic, the networking related interface is a unified interface agreed between the blockchain service platforms and used for implementing networking processing, the networking related interface includes a networking request interface, a networking feedback interface and a certificate acquisition interface, and the networking system 500 includes: a first blockchain service platform 502 and a second blockchain service platform 504, wherein:
the first blockchain service platform 502 is configured to, in a case where the first blockchain service platform 502 and the second blockchain service platform 504 establish a remote call connection, when a first organization in the first blockchain service platform 502 designates networking with a second organization in the second blockchain service platform 504, call a networking request interface provided by the second blockchain service platform 504 based on the remote call connection, so as to trigger the second blockchain service platform 504 to send a networking request notification for the second organization.
And the second blockchain service platform 504 is configured to, when it is determined that the second organization agrees to networking, invoke the networking feedback interface provided by the first blockchain service platform 502 by the second blockchain service platform 504 to trigger the first blockchain service platform 502 to determine that the second organization agrees to networking.
The first blockchain service platform 502 is further configured to, when a second organization is to join a first target network where the first organization is located to complete a networking, invoke a certificate acquisition interface provided by the second blockchain service platform 504 by the first blockchain service platform 502 to trigger acquiring certificate information of the second organization from the second blockchain service platform 504; the first blockchain service platform 502 updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform 502 to realize networking between the first organization and the second organization. In the case that the first organization is to join a second target network where a second organization is located to complete networking, the second blockchain service platform 504 invokes a certificate acquisition interface provided by the first blockchain service platform 502 to trigger acquisition of certificate information of the first organization from the first blockchain service platform 502; the second blockchain service platform 504 updates the acquired credential information of the first organization into the 504 blockchain configuration of the second blockchain service platform to enable networking between the first organization and the second organization.
In one embodiment, the networking-related interface includes a query organization list interface, the first blockchain service platform 502 is further configured to invoke the query organization list interface provided by the second blockchain service platform 504, and when the first organization specifies that the second organization is invited to join the first target network where the first organization is located, trigger to query the second blockchain service platform 504 for an organization list under the account according to the account specified by the first blockchain service platform 502; triggering to query an organization list of the blockchain network corresponding to the blockchain network identifier from the second blockchain service platform 504 according to the blockchain network identifier designated by the first blockchain service platform 502 when the first organization designates to apply to join a second target network where the second organization is located; the first blockchain service platform 502 obtains the organization identification of the second organization of the designated networking from the queried organization list; the first blockchain service platform 502 uses the organization identifier as an entry to invoke the networking request interface provided by the second blockchain service platform 504 based on the remote invocation connection.
In one embodiment, the request networking interface is an invite networking interface; the first blockchain service platform 502 is further configured to, when the first organization specifies that the second organization is invited to join a first target network where the first organization is located, invoke an invite networking interface provided by the second blockchain service platform 504 based on the remote call connection by the first blockchain service platform 502 to trigger the second blockchain service platform 504 to send a networking invite notification for the first target network for the second organization.
In one embodiment, the request networking interface is an application networking interface; the first blockchain service platform 502 is further configured to, when the first organization specifies that the second organization is to join a second target network where the second organization is located, invoke, by the first blockchain service platform 502, an application networking interface provided by the second blockchain service platform 504 based on the remote invocation connection, so as to trigger the second blockchain service platform 504 to send, for the second organization, a networking application notification for the second target network.
In one embodiment, the second blockchain service platform 504 is further configured to trigger the second blockchain service platform 504 to send a networking request notification to the user terminal corresponding to the second organization by using an event callback mechanism; in response to the user terminal agreeing to networking operation, the second blockchain service platform 504 is triggered to invoke the networking feedback interface provided by the first blockchain service platform 502.
In one embodiment, the first blockchain service platform 502 is further configured to, when the first blockchain service platform 502 determines that the second organization agrees to networking, send a feedback result of agreeing to networking to the user terminal of the first organization through an event callback mechanism by the first blockchain service platform 502.
In one embodiment, in the case that the second blockchain service platform 504 confirms that the second organization refuses to network, the second blockchain service platform 504 is further configured to invoke the networking feedback interface provided by the first blockchain service platform 502 to trigger the first blockchain service platform 502 to determine that the second organization refuses to network, and send a feedback result of refusing to network to the user terminal of the first organization through an event callback mechanism.
The system of the cross-block chain service platform is realized through interaction among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, and the networking related interface is a unified interface agreed among the block chain service platforms and used for realizing networking processing, and comprises a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that the first block chain service platform and the second block chain service platform establish remote call connection, when a first organization in the first block chain service platform designates networking with a second organization in the second block chain service platform, the first block chain service platform calls a networking request interface provided by the second block chain service platform based on the remote call connection so as to trigger the second block chain service platform to send networking request notification to the second organization. Thus, the first blockchain service platform can trigger the second organization to send the networking request notification without paying attention to the communication mode between the second blockchain service platform and the organization. And under the condition that the second organization agrees to networking, the second blockchain service platform invokes a networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking. Thus, the second blockchain service platform can feed back networking results without paying attention to the internal implementation logic of the first blockchain service platform. The first blockchain service platform invokes a certificate acquisition interface provided by the second blockchain service platform to trigger acquisition of certificate information of the second organization from the second blockchain service platform. Thus, the first blockchain service platform can acquire the certificate information of the second organization without paying attention to the specific flow of acquiring the certificate information by the second blockchain service platform. The first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization. Therefore, after the networking related interfaces are provided by different blockchain service platforms according to respective realization logics, the networking related interfaces provided by other blockchain service platforms are called according to the commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the intricate calling relation in the networking process is shielded, meanwhile, the understanding cost of developers for the bottom details of different blockchain service platforms is reduced, the developers can concentrate more on business logics, the debugging error rate in the development process is greatly reduced, and the computer resource cost is reduced.
For specific limitation of the networking system of the above-mentioned block-span chain service platform, reference may be made to the limitation of the networking method of the above-mentioned block-span chain service platform, which is not repeated herein. Each device in the networking system of the above-mentioned cross-block chain service platform may be implemented in whole or in part by software, hardware, and combinations thereof. The above devices may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above devices.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing organization information data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a networking method for a cross-block chain service platform.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (10)

1. The networking method of the cross-region block chain service platform is characterized in that the networking method is realized through interaction among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, the networking related interface is a unified interface agreed among the block chain service platforms and used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface, and the method comprises the following steps:
Under the condition that a first blockchain service platform and a second blockchain service platform establish remote call connection, when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform, the first blockchain service platform calls the networking request interface provided by the second blockchain service platform based on the remote call connection so as to trigger the second blockchain service platform to send networking request notification aiming at the second organization;
under the condition that the second organization agrees to networking is confirmed, the second blockchain service platform invokes the networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking;
under the condition that the second organization is to join a first target network where the first organization is located to complete networking, the first blockchain service platform calls the certificate acquisition interface provided by the second blockchain service platform to trigger the acquisition of the certificate information of the second organization from the second blockchain service platform; the first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization;
Under the condition that the first organization is to join a second target network where the second organization is located to complete networking, the second blockchain service platform calls the certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization.
2. The method of claim 1, wherein the networking-related interface comprises a query organization list interface, wherein when a first organization in a first blockchain service platform specifies networking with a second organization in a second blockchain service platform, the first blockchain service platform invokes the networking request interface provided by the second blockchain service platform based on the remote invocation connection comprises:
the first blockchain service platform invokes a query organization list interface provided by the second blockchain service platform, and when the first organization designates to invite the second organization to join a first target network where the first organization is located, the first organization triggers to query an organization list under the account from the second blockchain service platform according to the account designated by the first blockchain service platform; triggering a blockchain network identifier appointed by the first blockchain service platform to inquire an organization list in a blockchain network corresponding to the blockchain network identifier from the second blockchain service platform when the first organization appoints to join a second target network where the second organization is located;
The first blockchain service platform obtains the organization identification of a second organization of the appointed networking from the queried organization list;
and the first blockchain service platform takes the organization identifier as an entry, and calls a networking request interface provided by the second blockchain service platform based on the remote call connection.
3. The method of claim 1, wherein the networking request interface is an invite networking interface; when a first organization in a first blockchain service platform designates networking with a second organization in a second blockchain service platform, the first blockchain service platform calls the networking request interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send networking request notification to the second organization, including:
when the first organization designates to invite the second organization to join a first target network where the first organization is located, the first blockchain service platform invokes an invite networking interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send a networking invite notification for the first target network for the second organization.
4. The method of claim 1, wherein the networking request interface is an application networking interface; when a first organization in a first blockchain service platform designates networking with a second organization in a second blockchain service platform, the first blockchain service platform calls the networking request interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send networking request notification to the second organization, including:
when the first organization designates to apply for joining a second target network where the second organization is located, the first blockchain service platform calls an application networking interface provided by the second blockchain service platform based on the remote call connection to trigger the second blockchain service platform to send networking application notification for the second target network for the second organization.
5. The method of claim 1, wherein the triggering the second blockchain service platform to send a networking request notification for the second organization comprises:
triggering the second blockchain service platform to send a networking request notification to a user terminal corresponding to the second organization by an event callback mechanism;
And under the condition that the second organization agrees to networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, wherein the networking feedback interface comprises:
and responding to the agreement networking operation of the user terminal, triggering the second blockchain service platform to call a networking feedback interface provided by the first blockchain service platform.
6. The method according to claim 1, wherein the method further comprises:
and under the condition that the first blockchain service platform judges that the second organization agrees to networking, the first blockchain service platform sends a feedback result of agreeing to networking to the user terminal of the first organization through an event callback mechanism.
7. The method according to any one of claims 1 to 6, further comprising:
and under the condition that the second block chain service platform confirms that the second organization refuses networking, the second block chain service platform calls the networking feedback interface provided by the first block chain service platform to trigger the first block chain service platform to judge that the second organization refuses networking, and sends a feedback result of refusing networking to the user terminal of the first organization through an event callback mechanism.
8. The networking system of a cross-region block chain service platform is characterized in that the networking system is realized through interaction among a plurality of block chain service platforms, each block chain service platform provides a networking related interface according to respective realization logic, the networking related interface is a unified interface agreed among the block chain service platforms and used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface, and the system comprises: a first blockchain service platform and a second blockchain service platform;
the first blockchain service platform is used for calling the networking request interface provided by the second blockchain service platform based on the remote call connection when a first organization in the first blockchain service platform designates networking with a second organization in the second blockchain service platform under the condition that the first blockchain service platform and the second blockchain service platform establish remote call connection so as to trigger the second blockchain service platform to send networking request notification aiming at the second organization;
the second blockchain service platform is used for calling the networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization agrees to networking under the condition that the second organization agrees to networking;
The first blockchain service platform is further configured to, when the second organization is to join a first target network where the first organization is located to complete networking, invoke the certificate acquisition interface provided by the second blockchain service platform to trigger acquisition of certificate information of the second organization from the second blockchain service platform; the first blockchain service platform updates the acquired certificate information of the second organization into the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization; under the condition that the first organization is to join a second target network where the second organization is located to complete networking, the second blockchain service platform calls the certificate acquisition interface provided by the first blockchain service platform to trigger the acquisition of the certificate information of the first organization from the first blockchain service platform; the second blockchain service platform updates the acquired certificate information of the first organization into the blockchain configuration of the second blockchain service platform to realize networking between the first organization and the second organization.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202111579759.6A 2021-12-22 2021-12-22 Method, system, equipment and storage medium for networking cross-block chain service platform Active CN114268628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111579759.6A CN114268628B (en) 2021-12-22 2021-12-22 Method, system, equipment and storage medium for networking cross-block chain service platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111579759.6A CN114268628B (en) 2021-12-22 2021-12-22 Method, system, equipment and storage medium for networking cross-block chain service platform

Publications (2)

Publication Number Publication Date
CN114268628A CN114268628A (en) 2022-04-01
CN114268628B true CN114268628B (en) 2023-06-23

Family

ID=80828704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111579759.6A Active CN114268628B (en) 2021-12-22 2021-12-22 Method, system, equipment and storage medium for networking cross-block chain service platform

Country Status (1)

Country Link
CN (1) CN114268628B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116094720A (en) * 2022-11-28 2023-05-09 中国联合网络通信集团有限公司 Block chain multi-platform management method, device, server and storage medium
CN116471176A (en) * 2023-04-28 2023-07-21 凌锐蓝信科技(北京)有限公司 Networking configuration method, networking configuration device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104472A (en) * 2018-07-26 2018-12-28 北京京东尚科信息技术有限公司 Block chain network network-building method, device, equipment and computer readable storage medium
CN111262872A (en) * 2020-01-20 2020-06-09 新晨科技股份有限公司 Enterprise block chain service platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107592293A (en) * 2017-07-26 2018-01-16 阿里巴巴集团控股有限公司 The means of communication, digital certificate management method, device and electronic equipment between block chain node
US11283865B2 (en) * 2017-09-13 2022-03-22 Vijay Madisetti Service meshes and smart contracts for zero-trust systems
US11695543B2 (en) * 2019-08-22 2023-07-04 Myndshft Technologies, Inc. Blockchain network control system and methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109104472A (en) * 2018-07-26 2018-12-28 北京京东尚科信息技术有限公司 Block chain network network-building method, device, equipment and computer readable storage medium
CN111262872A (en) * 2020-01-20 2020-06-09 新晨科技股份有限公司 Enterprise block chain service platform

Also Published As

Publication number Publication date
CN114268628A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
CN114268628B (en) Method, system, equipment and storage medium for networking cross-block chain service platform
CN111245886B (en) Multi-party collaboration system, method and storage medium based on block chain
CN111400112B (en) Writing method and device of storage system of distributed cluster and readable storage medium
CN106572054B (en) Distributed lock service implementing method and device in distributed system
CN109062619B (en) Method, system, device and storage medium for unified management of third-party storage equipment
CN113067901B (en) Method for creating block chain subnet
CN107423942B (en) Service transfer method and device
US11763219B2 (en) Titanium task-engine system
CN104615489A (en) Multi-node data interaction achieving method
CN113055190B (en) Access control method for client
CN116366652A (en) Distributed application operation and maintenance method, system, device, server and gateway equipment
CN113434766B (en) Subscription information pushing method and device, storage medium and electronic device
CN113095825A (en) Asset management method and device based on block chain and electronic equipment
CN113259465B (en) Business execution method based on off-chain computing service
CN109299053B (en) File operation method, device and computer storage medium
CN116389385A (en) System resource processing method, device, storage medium and equipment
CN113612732B (en) Resource calling method and device and multiparty secure computing system
CN113259236B (en) Transaction forwarding method between block chain networks
CN115098114A (en) Block chain-based distributed application deployment method and device
CN114866560A (en) Migration method and device for block chain nodes
CN114710350A (en) Allocation method and device for callable resources
CN110134461B (en) Universal processing method and device for data interaction
CN111401837A (en) Event processing method and system, computer readable storage medium
CN113177080B (en) Block chain consensus engine system and block chain consensus processing flow method
CN114268634B (en) Business execution method based on out-of-chain computing service

Legal Events

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