CN114268628A - Networking method, system, equipment and storage medium of cross-block chain service platform - Google Patents

Networking method, system, equipment and storage medium of cross-block chain service platform Download PDF

Info

Publication number
CN114268628A
CN114268628A CN202111579759.6A CN202111579759A CN114268628A CN 114268628 A CN114268628 A CN 114268628A CN 202111579759 A CN202111579759 A CN 202111579759A CN 114268628 A CN114268628 A CN 114268628A
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.)
Granted
Application number
CN202111579759.6A
Other languages
Chinese (zh)
Other versions
CN114268628B (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 a networking storage medium for a cross-block chain service platform. The method comprises the following steps: when a first organization in the first blockchain service platform is specified to be networked 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 a remote call connection so as to trigger sending of a networking request notification aiming at the second organization; 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 and judge that the second organization agrees to networking; the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform to trigger acquisition of certificate information of the second organization; the first blockchain service platform updates the certificate information into a blockchain configuration to enable networking between the first organization and the second organization. By adopting the method, the expenditure of computer resources can be reduced.

Description

Networking method, system, equipment and storage medium of cross-block chain service platform
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, a system, a device, and a storage medium for networking a cross-blockchain service platform.
Background
With the development of the Blockchain technology, in order to provide more support for developers of blockchains, a Blockchain Service (BaaS) platform appears. The blockchain service platform helps users to create, manage and maintain service platforms of enterprise-level blockchain networks and applications. The block chain service can provide production-level operation management, and the functions of rapid building, dynamic capacity expansion, chain code management, operation monitoring and the like of a block chain network are realized through a visual interface. The block chain network constructed based on the block chain service platform can provide support for upper-layer industrial application and provide distributed bottom infrastructure technical support for financial, government affair, medical and other industries.
However, when a blockchain network is constructed by using different blockchain service platforms, since the respective implementations inside each blockchain service platform are different, for example, the processes of acquiring certificate information are different, a developer needs to develop new codes and debug the codes for different blockchain service platforms, and frequent debugging is needed due to unfamiliarity and easy error. Thus, the overhead of computer resources is increased.
Disclosure of Invention
In view of the foregoing, there is a need to provide a method, system, computer device, storage medium and computer program product for cross-blockchain service platform networking that can reduce computer resource overhead.
In a first aspect, the present application provides a networking method for a cross-block chain service platform. The method is realized by interaction among a plurality of blockchain service platforms, each blockchain service platform provides a networking related interface according to respective realization logic, the networking related interface is a unified interface which is agreed among the blockchain service platforms and is used for realizing networking processing, 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 a networking request notification to the second organization;
under the condition that the second organization agrees to network, the second blockchain service platform calls 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 network;
under the condition that the second organization is to join a first target network where the first organization is located so as to complete networking, the first blockchain service platform calls the certificate acquisition interface provided by the second blockchain service platform so as 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 to a blockchain configuration of the first blockchain service platform so as 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 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 to a blockchain configuration of the second blockchain service platform so as 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 calls a networking request interface provided by the second blockchain service platform based on the remote call connection includes:
the first blockchain service platform calls a query organization list interface provided by the second blockchain service platform, and 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 triggers to query an organization list under an account from the second blockchain service platform according to the account appointed by the first blockchain service platform; when the first organization appoints to apply for joining a second target network where the second organization is located, triggering to inquire an organization list of a blockchain network corresponding to a blockchain network identifier from the second blockchain service platform according to the blockchain network identifier appointed by the first blockchain service platform;
the first block chain service platform acquires an organization identifier of a second organization designated for networking from the inquired organization list;
and the first blockchain service platform takes the organization identifier as an input parameter 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 invitation 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, wherein the step of sending the networking request notification by the second blockchain service platform to the second organization comprises the following steps:
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 an invitation networking 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 a networking invitation notification aiming at the first target network aiming at 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, wherein the step of sending the networking request notification by the second blockchain service platform to the second organization comprises the following steps:
when the first organization appoints 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 so as to trigger the second blockchain service platform to send a networking application notification aiming at 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 comprises:
triggering the second block chain service platform to send a networking request notification to the user terminal corresponding to the second organization by using an event callback mechanism;
the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform under the condition that the second organization agrees to networking, and the method comprises the following steps:
and responding to the agreement of the user terminal on networking operation, and triggering the second block chain service platform to call a networking feedback interface provided by the first block chain service platform.
In one embodiment, the method further comprises:
and under the condition that the first blockchain service platform determines 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 blockchain service platform confirms that the second organization rejects networking, the second blockchain service platform calls the networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization rejects networking, and sends a networking rejection feedback result to the user terminal of the first organization through an event callback mechanism.
In a second aspect, the application further provides a networking system of the cross-block chain service platform. Through the mutual realization between a plurality of blockchain service platforms, every blockchain service platform provides the relevant interface of network deployment according to respective realization logic, the relevant interface of network deployment is agreed among each blockchain service platform, is used for realizing the unified interface of network deployment processing, the relevant interface of network deployment includes networking request interface, networking feedback interface and certificate acquisition interface, the system includes: the system comprises a first block chain service platform and a second block chain 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 specifies 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 the remote call connection so as to trigger the second blockchain service platform to send a networking request notification to the second organization;
the second blockchain service platform is configured to, when it is determined that the second organization agrees to networking, invoke a networking feedback interface provided by the first blockchain service platform by the second blockchain service platform to trigger the first blockchain service platform to determine that the second organization agrees to networking;
the first blockchain service platform is further configured to invoke a certificate acquisition interface provided by the second blockchain service platform by the first blockchain service platform to trigger 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 to a blockchain configuration of the first blockchain service platform so as 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 computer programs, and the processor executes the steps of the networking method of the cross-block chain service platform.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to execute the steps of the networking method of the service platform across the block chains.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program, and the computer program is used for executing the steps of the networking method of the cross-block chain service platform by a processor.
The networking method, the networking system, the computer equipment, the storage medium and the computer program product of the cross-block chain service platform are realized by 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 which is agreed among the block chain service platforms and is used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that a remote call connection is established between a first blockchain service platform and a second blockchain service platform, when a first organization in the first blockchain service platform designates a 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 the remote call connection so as to trigger the second blockchain service platform to send a networking request notice for the second organization. In this way, the first blockchain service platform can trigger sending of a networking request notification to the second organization without concern for the manner of communication 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 calls 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 the networking result 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 so as to complete networking, the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform so as to trigger acquisition of certificate information of the second organization from the second blockchain service platform. In this way, the first blockchain service platform can obtain the certificate information of the second organization without paying attention to the specific process of obtaining the certificate information by the second blockchain service platform. And the first blockchain service platform updates the acquired certificate information of the second organization to the blockchain configuration of the first blockchain service platform so as to realize networking between the first organization and the second organization. Under the condition that a first organization is to be added into a second target network where a second organization is located to complete networking, a second blockchain service platform calls a certificate acquisition interface provided by a first blockchain service platform to trigger acquisition of certificate information of the first organization from the first blockchain service platform; and the second blockchain service platform updates the acquired certificate information of the first organization to the blockchain configuration of the second blockchain service platform so as to realize networking between the first organization and the second organization. Therefore, after different block chain service platforms provide networking related interfaces according to respective implementation logics, networking related interfaces provided by other block chain service platforms are called according to a commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the complicated calling relation in the networking process is shielded, the understanding cost of developers for the bottom details of different block chain service platforms is reduced, developers can concentrate on business logics more, the debugging error rate in the development process is greatly reduced, and the resource overhead of a computer is reduced.
Drawings
FIG. 1 is a diagram of an application environment of a method for networking across blockchain service platforms in one embodiment;
FIG. 2 is a flowchart illustrating a method for networking a cross-blockchain service platform according to an embodiment;
FIG. 3 is a flowchart illustrating a method for networking a cross-blockchain service platform according to an embodiment;
FIG. 4 is a flowchart illustrating a method for networking a cross-blockchain service platform according to an embodiment;
FIG. 5 is a block diagram of a system for networking a cross-blockchain service platform in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for networking the service platforms across the block chains can be applied to the application environment shown in fig. 1. The first blockchain service platform 110 communicates with the second blockchain service platform 120 via 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 composed of a plurality of servers. The first blockchain service platform comprises 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, where 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 logics, and the networking related interfaces are unified interfaces which are agreed among the blockchain service platforms and are used for implementing networking processing. The networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface. In the case that the first blockchain service platform 110 and the second blockchain service platform 120 establish a remote call connection, when the first organization 1101 in the first blockchain service platform 110 specifies networking with the second organization 1201 in the second blockchain service platform 120, the first blockchain service platform 110 calls a networking request interface provided by the second blockchain service platform 120 based on the remote call connection to trigger the second blockchain service platform 120 to send a networking request notification for the second organization 1201. In the case that it is confirmed that the second organization 1201 agrees to the networking, the second blockchain service platform 120 calls 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 the networking. In the case where 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 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 to the blockchain configuration of the first blockchain service platform 110 to realize the networking between the first organization 1101 and the second organization 1201. Under the condition 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 calls a certificate acquisition interface provided by the first blockchain service platform 110 to trigger acquisition of 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 a blockchain configuration of the second blockchain service platform 120 to realize 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 only used to distinguish different blockchain service platforms. Because the first blockchain service platform 110 and the second blockchain service platform 120 provide networking related interfaces according to respective implementation logics, where the networking related interfaces include a networking request interface, a networking feedback interface, and a certificate acquisition interface, the method is not limited to the method that only the first organization 1101 in the first blockchain service platform 110 is specified to be networked with the second organization 1201 in the second blockchain service platform 120, but also the second organization 1201 in the second blockchain service platform 120 is specified to be networked with the first organization 1101 in the first blockchain service platform 110. This is not limitative.
In an embodiment, as shown in fig. 2, a networking method of a cross-blockchain service platform is provided, and this embodiment is applied to a system including a first blockchain service platform and a second blockchain service platform, and is implemented by interaction between the first blockchain service platform and the second blockchain service platform. In this embodiment, the method includes the steps of:
s202, when the first organization in the first blockchain service platform specifies a second organization networking 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 the remote call connection, so as to trigger the second blockchain service platform to send a networking request notification for the second organization, under the condition that the remote call connection is established between the first blockchain service platform and the second blockchain service platform.
The Blockchain Service platform is also called a Baas platform (Baas for short), and refers to a Blockchain open platform which embeds a Blockchain frame into a cloud computing platform, provides a convenient and high-performance Blockchain ecological environment and ecological matching Service for developers by using deployment and management advantages of cloud Service infrastructure, and supports business expansion and operation support of the developers. The remote call connection is a connection for realizing remote call. Remote invocation refers to a function call between different processes located on different blockchain service platforms. The organization is a member in the block chain network and can be an entity organization in a real scene, and different organizations can generate certificate information of the organization for interaction and authentication in the block chain network. The blockchain service platform provides blockchain technical services for organizations, and a blockchain network refers to a network formed by a plurality of organizations.
Specifically, a first blockchain service platform and a second blockchain service platform establish a remote call connection, when a first organization in the first blockchain service platform specifies networking with a second organization in the second blockchain service platform under the condition that the remote call connection is established, 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 the networking according to the participation of the networking request interface, and sends a networking request notification to the second organization according to a communication mechanism of the second blockchain service platform and the second organization.
In one embodiment, when the first organization specifies to invite the second organization to join the first target network in which the first organization is located, the first blockchain service platform acquires an organization list under a specified 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 an entry parameter of the networking request interface.
In an embodiment, when the first organization specification application joins the second target network where the second organization is located, the first blockchain service platform obtains the organization list under the network identifier of the specified blockchain 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 as an entry parameter of the 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 identifier. The first blockchain service platform acquires the organization list by calling different inquiry organization list interfaces provided by the second blockchain service platform, and confirms the organization identifier of the second organization from the organization list to be used as the access parameter of the networking request interface. It is to be understood that the participation of the networking request interface is at least one, and is not limited to only one organization id.
In one embodiment, the request networking interface may be an invitation networking interface, which is invoked by the first blockchain service platform for inviting the second organization to join the first target network in which the first organization is located. The first block chain service platform and the second block chain service platform provide invitation networking interfaces according to respective implementation logics.
In another embodiment, the request networking interface may be an application networking interface, and the first blockchain service platform calls the application networking interface to specify that the application is to join a second target network in which the second organization is located. The first block chain service platform and the second block chain service platform provide networking application interfaces according to respective implementation logics.
In one embodiment, after the blockchain service platform calls its own networking request interface, it sends a networking related notification to the user terminal of the organization under its own platform by using an event callback mechanism.
And 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 blockchain service platform confirms that the second organization agrees to networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, and the first blockchain service platform judges that the second organization agrees to networking with the first organization according to the access parameters of the networking feedback interface.
In one embodiment, the second blockchain service platform confirms that the second organization agrees to group the network by responding to an agreement operation of a user terminal of the second organization.
In one embodiment, when the second blockchain service platform confirms that the second organization rejects networking, the second blockchain service platform sends a networking rejection feedback result 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 a second organization is to be added into a first target network where a 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 acquisition of 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 to the blockchain configuration of the first blockchain service platform to realize networking between the first organization and the second organization.
The Certificate information is information of a Certificate for certifying an identity of an organization, and may be used for interaction and authentication in a blockchain network, for example, a CA (Certificate Authority) signing Certificate, 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 the certificate information of the second organization designated by the access parameter from the second blockchain service platform according to the access parameter of the certificate acquisition interface. And the first organization of the first blockchain service platform updates the acquired certificate information of the second organization into the own blockchain configuration. Based on the certificate information in the blockchain configuration, networking is achieved between the first organization and the second organization.
In one embodiment, the blockchain network formed by networking may be a federation network. The alliance network is a set of enterprises which take a focus enterprise as a center and have alliance relations with the focus enterprise, organizations in the same alliance are visible to all members, and organizations in different alliances are invisible to each other.
In another embodiment, the block chain network formed by networking may be a federation chain channel network, which is a block chain network where intelligent contracts may be deployed.
S208, under the condition that a first organization is to be added into a second target network where a second organization is located to complete networking, a second blockchain service platform calls a certificate acquisition interface provided by a first blockchain service platform to trigger acquisition of certificate information of the first organization from the first blockchain service platform; and the second blockchain service platform updates the acquired certificate information of the first organization to the blockchain configuration of the second blockchain service platform so as 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 the certificate information of the first organization designated by the access parameter from the first blockchain service platform according to the access parameter of the certificate acquisition interface. And the second organization of the second blockchain service platform updates the acquired certificate information of the first organization into the own blockchain configuration. Based on the certificate information in the blockchain configuration, networking is achieved between the first organization and the second organization.
The networking method of the cross-block-chain service platform is realized by 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 which is agreed among the block-chain service platforms and is used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that a remote call connection is established between a first blockchain service platform and a second blockchain service platform, when a first organization in the first blockchain service platform designates a 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 the remote call connection so as to trigger the second blockchain service platform to send a networking request notice for the second organization. In this way, the first blockchain service platform can trigger sending of a networking request notification to the second organization without concern for the manner of communication 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 calls 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 the networking result 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 so as to complete networking, the first blockchain service platform calls a certificate acquisition interface provided by the second blockchain service platform so as to trigger acquisition of certificate information of the second organization from the second blockchain service platform. In this way, the first blockchain service platform can obtain the certificate information of the second organization without paying attention to the specific process of obtaining the certificate information by the second blockchain service platform. And the first blockchain service platform updates the acquired certificate information of the second organization to the blockchain configuration of the first blockchain service platform so as to realize networking between the first organization and the second organization. Under the condition that a first organization is to be added into a second target network where a second organization is located to complete networking, a second blockchain service platform calls a certificate acquisition interface provided by a first blockchain service platform to trigger acquisition of certificate information of the first organization from the first blockchain service platform; and the second blockchain service platform updates the acquired certificate information of the first organization to the blockchain configuration of the second blockchain service platform so as to realize networking between the first organization and the second organization. Therefore, after different block chain service platforms provide networking related interfaces according to respective implementation logics, networking related interfaces provided by other block chain service platforms are called according to a commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the complicated calling relation in the networking process is shielded, the understanding cost of developers for the bottom details of different block chain service platforms is reduced, developers can concentrate on business logics more, the debugging error rate in the development process is greatly reduced, and the resource overhead of a computer 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 to be networked 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, and the networking request interface comprises: the first blockchain service platform calls a query organization list interface provided by the second blockchain service platform, and 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 triggers an organization list under an account to be queried from the second blockchain service platform according to the account appointed by the first blockchain service platform; when the first organization appoints to apply for joining a second target network where a second organization is located, triggering to inquire an 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.
The account refers to a blockchain service platform account, similar to a bank system account, a securities platform account, and the like. At least one organization is associated under one account.
Specifically, the first blockchain service platform calls a query organization list interface provided by the second blockchain service platform, when the first organization appoints to invite the second organization to join a first target network where the first organization is located, accounts to be queried are appointed in the access parameters of the query organization list interface, and the organization list under the accounts is queried from the second blockchain service platform according to the accounts appointed by the first blockchain service platform; when the first organization appoints to apply for joining a second target network where a second organization is located, a block chain network identifier to be inquired is appointed in the input parameter of the inquiry organization list interface, and an organization list of the block chain network corresponding to the block chain network identifier is inquired from the second block chain service platform according to the block chain network identifier appointed by the first block chain service platform. The second blockchain service platform returns an organization list to the first blockchain service platform. And the first blockchain service platform acquires the organization identification of the second organization designated for networking from the inquired organization list. The first blockchain service platform takes the organization identifier as an access parameter, calls a networking request interface provided by the second blockchain service platform, and confirms that the organization to be networked is a second organization based on the access 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 entry of the first query organization list interface comprises a designated account and is used for acquiring an organization list under the designated account, and the entry of the second query organization list interface comprises a designated blockchain network identifier and is used for acquiring an organization list under the designated blockchain network identifier.
In this embodiment, the second blockchain service platform provides an interface for querying an organization list, and the first blockchain service platform obtains the organization list and obtains an organization identifier of the second organization from the organization list, and calls the networking request interface by using the organization identifier, so that different organizations can be identified by the organization identifier between the blockchain service platforms to perform networking operation. Moreover, after different blockchain service platforms provide the query organization list interfaces according to respective implementation logics, the process of querying the organization list is abstracted and simplified through the interfaces, new codes do not need to be developed for different blockchain service platforms to obtain the organization list, the error rate is low, and therefore the resource overhead of a computer 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 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, wherein the step of sending the networking request notification by the second blockchain service platform comprises the following steps: when the first organization appoints to invite the second organization to join the 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 the remote call connection so as to trigger the second blockchain service platform to send a networking invitation notification aiming at the first target network aiming at the second organization.
In particular, the requesting networking interface may be an inviting networking interface. When the first organization appoints to invite the second organization to join the first target network in which the first organization is positioned, 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 join the networking according to the participation of the invitation networking interface, and sends an invitation networking notice aiming at the first target network aiming at 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 calls an invitation networking interface provided by the second blockchain service platform based on the remote call connection, the entry of the invitation networking interface comprises an organization identifier of the second organization, and the second blockchain service platform is triggered to send a networking invitation notification aiming at the first target network aiming at 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 invitation networking interface provided by the second blockchain service platform is called, so that the second blockchain service platform can identify the designated networking type, and thus, the corresponding processing flow is executed, and different networking requirements are further met.
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 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, wherein the step of sending the networking request notification by the second blockchain service platform comprises the following steps: when the first organization appoints to apply for joining a second target network where a second organization is located, the first block chain service platform calls an application networking 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 application notification aiming at the second target network aiming at the second organization.
Specifically, the request networking interface may be an application networking interface; when the first organization appoints to apply for joining a second target network where a second organization is located, the first block chain service platform calls an application networking 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 application notification aiming at the second target network aiming at the second organization.
In one embodiment, the same organization may belong to different blockchain networks.
In one embodiment, the first blockchain service platform calls an application networking interface provided by the second blockchain service platform based on the remote call connection, the access of the application networking interface comprises an organization identifier of the second organization and a blockchain network identifier of the second target network, and the second blockchain service platform is triggered to send a networking application notification for the second target network aiming at the second organization.
In this embodiment, when a first organization specifies to apply for joining a second target network where a second organization is located, an application networking interface provided by a second blockchain service platform is called, so that the second blockchain service platform can identify a specified networking type, and thus a corresponding processing flow is executed, and different networking requirements are further met.
In one embodiment, triggering the second blockchain service platform to send a networking request notification for the second organization comprises: triggering a second block chain service platform to send a networking request notification to a user terminal corresponding to a second organization by using an event callback mechanism; 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, and the method comprises the following steps: and triggering the second block chain service platform to call a networking feedback interface provided by the first block chain service platform in response to the agreement of the networking operation of the user terminal.
Wherein the user may manage the organization, such as agree to or deny networking with other organizations. The user terminal is 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 the remote call connection, and the second blockchain service platform confirms a second organization networking with the first organization and sends a networking request notification to a user terminal corresponding to the second organization by an event callback mechanism. The user terminal displays the networking request to a user, the user executes organization agreeing operation, the user terminal receives the networking agreeing operation and informs the second block chain service platform, so that the second block chain service platform confirms that the second organization agrees to networking, and a networking feedback interface provided by the first block chain service platform is called.
In this embodiment, a networking request notification is sent to a user terminal corresponding to a second organization by using an event callback mechanism, and in response to a grant of networking operation of the user terminal, the second blockchain service platform is triggered to call a networking feedback interface provided by the first blockchain service platform. Therefore, the first blockchain service platform calls the networking request interface provided by the second blockchain service platform, and the first blockchain service platform can inform the user terminal of the organization of the networking request, so that developers do 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 computer resource overhead 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 the networking, the first blockchain service platform sends a feedback result of agreeing to the networking to the user terminal of the first organization through an event callback mechanism.
Specifically, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, so that the first blockchain service platform determines that the second organization agrees to networking, and sends a networking agreeing feedback result 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 network deployment, the first blockchain service platform sends a feedback result of agreement to network deployment to the user terminal of the first organization through an event callback mechanism, so that the user terminal may receive the feedback result of agreement to network deployment. Therefore, the first blockchain service platform can send the feedback result of agreeing networking to the user terminal of the first organization, so that developers do 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 expenditure of computer resources is reduced.
In one embodiment, the method further comprises: and under the condition that the second blockchain service platform confirms that the second organization rejects networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization rejects networking, and sends a networking rejection feedback result to the user terminal of the first organization through an event callback mechanism.
Specifically, under the condition that the second blockchain service platform confirms that the second organization rejects networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, and the first blockchain service platform confirms that the second organization rejects networking according to the access parameters of the networking feedback interface. And the first block chain service platform sends a networking rejection feedback result to the user terminal of the first organization through an event callback mechanism.
In one embodiment, the networking feedback interface includes an agreement networking interface and a rejection networking interface. And under the condition that the second blockchain service platform confirms that the second organization refuses networking, the second blockchain service platform calls a refusing networking interface provided by the first blockchain 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 agreement networking interface provided by the first blockchain service platform.
In one embodiment, the networking feedback interface specifies an entry for indicating whether to approve networking or deny networking. And under the condition that the second blockchain service platform confirms that the second organization refuses networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform and indicates the agreement of networking in the access parameter. And under the condition that the second blockchain service platform confirms that the second organization agrees to networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform and indicates to reject networking in the access parameter.
In this embodiment, when the second blockchain service platform determines that the second organization rejects networking, the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform, so as to send a networking rejection feedback result to the user terminal of the first organization. Therefore, the second blockchain service platform can send the feedback result of refusing networking to the user terminal of the first organization, so that developers do 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 expenditure of computer resources is reduced.
In one embodiment, a process of a first blockchain service platform networking through a networking invitation is shown. Specifically, as shown in fig. 3, the first blockchain service platform and the second blockchain service platform establish a remote call connection. When the first organization appoints to invite the second organization to join the first target network where the first organization is located, the first blockchain service platform takes the appointed account as an access parameter, calls a first inquiry organization list interface provided by the second blockchain service platform, and returns an organization list under the appointed account. The first blockchain service platform acquires an organization identifier of a second organization. The first blockchain service platform calls an invitation networking interface of the second blockchain service platform, takes the organization identification as an entry parameter, and invites the second organization to join the first organization in a first target network. And after the invitation networking 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 agreement or rejection of 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, and indicating the agreement or rejection of networking in a participating manner. And the first block chain 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 the networking, the first organization of the first blockchain service platform calls an interface provided by the second blockchain service platform for obtaining the certificate information, the second blockchain service platform returns the 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 the networking between the first organization and the second organization.
In one embodiment, a process of a first blockchain service platform applying for networking is shown, and specifically, as shown in fig. 4, the first blockchain service platform and a second blockchain service platform establish a remote invocation connection. When the first organization appoints to apply for joining a second target network where the second organization is located, the first block chain service platform takes the block chain network identification of the second target network as an access parameter, calls a second inquiry organization list interface provided by the second block chain service platform, and returns an organization list in the block chain network corresponding to the appointed block chain network identification. The first blockchain service platform acquires an organization identifier of a second organization. And the first blockchain service platform calls an application networking interface of the second blockchain service platform, takes the organization identification as an entry parameter, and applies for adding into a second target network where a second organization is positioned. And after the application networking interface is called, the second blockchain service platform sends a networking application notification to the user terminal of the second organization through an event callback mechanism. And responding to the agreement or rejection of 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, and indicating the agreement or rejection of networking in a participating manner. And the first block chain 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 the networking, the second organization of the second blockchain service platform calls an interface provided by the first blockchain service platform for obtaining the certificate information, 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 the networking between the first organization and the second organization.
It should be understood that, although the steps in the flowcharts in the embodiments of the present application are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flow chart may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or the stages is not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a part of the steps or the stages in 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, which is used for realizing the networking method of the cross-block chain service platform. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the method, so that specific limitations in the networking system embodiment of one or more inter-block chain service platforms provided below can be referred to the limitations of the networking method of the inter-block chain service platform in the foregoing, and details are not repeated herein.
In an embodiment, as shown in fig. 5, a networking system 500 of a cross-blockchain service platform is provided, which is implemented by interaction among a plurality of blockchain service platforms, each blockchain service platform provides networking related interfaces according to respective implementation logics, the networking related interfaces are unified interfaces that are agreed among the blockchain service platforms and are used for implementing networking processing, the networking related interfaces include 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:
a first blockchain service platform 502, configured to, when a first organization in the first blockchain service platform 502 specifies a 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 a remote call connection by the first blockchain service platform 502 to trigger the second blockchain service platform 504 to send a networking request notification for the second organization in a case where the first blockchain service platform 502 and the second blockchain service platform 504 establish the remote call connection.
A second blockchain service platform 504, configured to, in a case that it is determined that the second organization agrees to network, call the networking feedback interface provided by the first blockchain service platform 502 by the second blockchain service platform 504, so as to trigger the first blockchain service platform 502 to determine that the second organization agrees to network.
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 networking, invoke a certificate acquisition interface provided by the second blockchain service platform 504 by the first blockchain service platform 502 to trigger acquisition of 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 to the blockchain configuration of the first blockchain service platform 502 to realize the 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, a second blockchain service platform 504 calls a certificate acquisition interface provided by a 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 certificate information of the first organization to 504 blockchain configuration of the second blockchain service platform so as 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 the first blockchain service platform 502 is further configured to call the query organization list interface provided by the second blockchain service platform 504, and when the first organization specifies to invite the second organization to join the first target network where the first organization is located, trigger querying of an organization list under an account from the second blockchain service platform 504 according to the account specified by the first blockchain service platform 502; when a first organization appoints to apply for joining a second target network where a second organization is located, triggering to query an organization list of a blockchain network corresponding to a blockchain network identifier from a second blockchain service platform 504 according to the blockchain network identifier appointed by a first blockchain service platform 502; the first blockchain service platform 502 acquires an organization identifier of a second organization designated for networking from the queried organization list; the first blockchain service platform 502 takes the organization identifier as an entry and calls a networking request interface provided by the second blockchain service platform 504 based on the remote call connection.
In one embodiment, the request networking interface is an invitation networking interface; first blockchain service platform 502 is further configured to, when the first organization specifies to invite the second organization to join a first target network in which the first organization is located, invoke, by first blockchain service platform 502, an invitation networking interface provided by second blockchain service platform 504 based on the remote invocation connection to trigger second blockchain service platform 504 to send a networking invitation 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 to apply for joining a second target network where the second organization is located, call, by the first blockchain service platform 502, an application networking 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 application notification for the second target network for the second organization.
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 a user terminal corresponding to the second organization by using an event callback mechanism; and in response to the agreement of the user terminal on networking operation, triggering the second blockchain service platform 504 to call a networking feedback interface provided by the first blockchain service platform 502.
In one embodiment, the first blockchain service platform 502 is further configured to, in a case that the first blockchain service platform 502 determines that the second organization agrees with networking, send a feedback result of agreement with 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 a case that the second blockchain service platform 504 confirms that the second organization rejects networking, the second blockchain service platform 504 is further configured to call the networking feedback interface provided by the first blockchain service platform 502, so as to trigger the first blockchain service platform 502 to determine that the second organization rejects networking, and send a feedback result of rejecting networking to the user terminal of the first organization through an event callback mechanism.
The system of the cross-block-chain service platform is realized by 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 which is agreed among the block-chain service platforms and is used for realizing networking processing, and the networking related interface comprises a networking request interface, a networking feedback interface and a certificate acquisition interface. Under the condition that a remote call connection is established between a first blockchain service platform and a second blockchain service platform, when a first organization in the first blockchain service platform designates a 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 the remote call connection so as to trigger the second blockchain service platform to send a networking request notice for the second organization. In this way, the first blockchain service platform can trigger sending of a networking request notification to the second organization without concern for the manner of communication 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 calls 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 the networking result without paying attention to the internal implementation logic of the first blockchain service platform. The first blockchain service platform calls 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. In this way, the first blockchain service platform can obtain the certificate information of the second organization without paying attention to the specific process of obtaining the certificate information by the second blockchain service platform. And the first blockchain service platform updates the acquired certificate information of the second organization to the blockchain configuration of the first blockchain service platform so as to realize networking between the first organization and the second organization. Therefore, after different block chain service platforms provide networking related interfaces according to respective implementation logics, networking related interfaces provided by other block chain service platforms are called according to a commonly agreed networking related interface calling sequence, the networking process is abstracted and simplified through the networking related interfaces, the complicated calling relation in the networking process is shielded, the understanding cost of developers for the bottom details of different block chain service platforms is reduced, developers can concentrate on business logics more, the debugging error rate in the development process is greatly reduced, and the resource overhead of a computer is reduced.
For specific limitations of the networking system of the service platform across block chains, reference may be made to the above limitations on the networking method of the service platform across block chains, and details are not described here again. Each device in the networking system of the service platform across block chains may be wholly or partially implemented by software, hardware and a combination thereof. The above devices may be embedded in hardware or independent from a processor in the computer device, or may be stored in a memory in the computer device in software, so that the processor can call and execute operations corresponding to the above devices.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram 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 comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used 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 is executed by a processor to implement a networking method across a blockchain service platform.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A networking method of a cross-block chain service platform is characterized in that interaction among a plurality of block chain service platforms is realized, each block chain service platform provides a networking related interface according to respective realization logic, the networking related interface is a unified interface which is agreed among the block chain service platforms and is used for realizing networking processing, 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 a networking request notification to the second organization;
under the condition that the second organization agrees to network, the second blockchain service platform calls 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 network;
under the condition that the second organization is to join a first target network where the first organization is located so as to complete networking, the first blockchain service platform calls the certificate acquisition interface provided by the second blockchain service platform so as 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 to a blockchain configuration of the first blockchain service platform so as 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 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 to a blockchain configuration of the second blockchain service platform so as 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, and 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 invoking the networking request interface provided by the second blockchain service platform based on the remote invocation connection comprises:
the first blockchain service platform calls a query organization list interface provided by the second blockchain service platform, and 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 triggers to query an organization list under an account from the second blockchain service platform according to the account appointed by the first blockchain service platform; when the first organization appoints to apply for joining a second target network where the second organization is located, triggering to inquire an organization list in a blockchain network corresponding to a blockchain network identifier from the second blockchain service platform according to the blockchain network identifier appointed by the first blockchain service platform;
the first block chain service platform acquires an organization identifier of a second organization designated for networking from the inquired organization list;
and the first blockchain service platform takes the organization identifier as an input parameter 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 requesting networking interface is an inviting networking interface; when a first organization in a first blockchain service platform designates to be networked 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 so as to trigger the second blockchain service platform to send a networking request notification to the second organization, wherein the first blockchain service platform comprises:
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 an invitation networking 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 a networking invitation notification aiming at the first target network aiming at the second organization.
4. The method of claim 1, wherein the requesting networking interface is an application networking interface; when a first organization in a first blockchain service platform designates to be networked 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 so as to trigger the second blockchain service platform to send a networking request notification to the second organization, wherein the first blockchain service platform comprises:
when the first organization appoints 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 so as to trigger the second blockchain service platform to send a networking application notification aiming at 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 block chain service platform to send a networking request notification to the user terminal corresponding to the second organization by using an event callback mechanism;
the second blockchain service platform calls a networking feedback interface provided by the first blockchain service platform under the condition that the second organization agrees to networking, and the method comprises the following steps:
and responding to the agreement of the user terminal on networking operation, and triggering the second block chain service platform to call a networking feedback interface provided by the first block chain service platform.
6. The method of claim 1, further comprising:
and under the condition that the first blockchain service platform determines 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 blockchain service platform confirms that the second organization rejects networking, the second blockchain service platform calls the networking feedback interface provided by the first blockchain service platform to trigger the first blockchain service platform to judge that the second organization rejects networking, and sends a networking rejection feedback result to the user terminal of the first organization through an event callback mechanism.
8. The utility model provides a networking system of block chain service platform of crossing, its characterized in that, realizes through the interaction between a plurality of block chain service platforms, and every block chain service platform provides the relevant interface of network deployment according to respective realization logic, the relevant interface of network deployment is the unified interface that agrees between each block chain service platform, is used for realizing networking processing, the relevant interface of network deployment includes networking request interface, networking feedback interface and certificate acquisition interface, the system includes: the system comprises a first block chain service platform and a second block chain service platform;
the first blockchain service platform is configured to, when a first organization in the first blockchain service platform specifies a second organization network in the second blockchain service platform under the condition that a remote call connection is established between the first blockchain service platform and the second blockchain service platform, call the networking request interface provided by the second blockchain service platform based on the remote call connection by the first blockchain service platform to trigger the second blockchain service platform to send a networking request notification for the second organization;
the second blockchain service platform 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 by the second blockchain service platform to trigger the first blockchain service platform to determine 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 by the first 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 to a blockchain configuration of the first blockchain service platform so as 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 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 to a blockchain configuration of the second blockchain service platform so as 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 realizes the steps of the method of any one of claims 1 to 9 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
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 true CN114268628A (en) 2022-04-01
CN114268628B 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)

Cited By (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 (5)

* 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
US20190036711A1 (en) * 2017-07-26 2019-01-31 Alibaba Group Holding Limited Method, apparatus, and electronic device for communication between blockchain nodes, and method, apparatus, and electronic device for blockchain-based certificate management
CN111262872A (en) * 2020-01-20 2020-06-09 新晨科技股份有限公司 Enterprise block chain service platform
US20210058234A1 (en) * 2019-08-22 2021-02-25 Myndshft Technologies, Inc. Blockchain network control system and methods
US20210352139A1 (en) * 2017-09-13 2021-11-11 Vijay Madisetti Service meshes and smart contracts for zero-trust systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190036711A1 (en) * 2017-07-26 2019-01-31 Alibaba Group Holding Limited Method, apparatus, and electronic device for communication between blockchain nodes, and method, apparatus, and electronic device for blockchain-based certificate management
US20210352139A1 (en) * 2017-09-13 2021-11-11 Vijay Madisetti Service meshes and smart contracts for zero-trust systems
CN109104472A (en) * 2018-07-26 2018-12-28 北京京东尚科信息技术有限公司 Block chain network network-building method, device, equipment and computer readable storage medium
US20210058234A1 (en) * 2019-08-22 2021-02-25 Myndshft Technologies, Inc. Blockchain network control system and methods
CN111262872A (en) * 2020-01-20 2020-06-09 新晨科技股份有限公司 Enterprise block chain service platform

Cited By (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

Also Published As

Publication number Publication date
CN114268628B (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US11336465B2 (en) Sending cross-chain authenticatable messages
CN114268628B (en) Method, system, equipment and storage medium for networking cross-block chain service platform
CN106572054B (en) Distributed lock service implementing method and device in distributed system
CN110430235B (en) Method, apparatus, storage medium and computing device for cross-chain transmission of authenticatable messages
WO2021159606A1 (en) Organization node chaining method and system based on blockchain
CN113067901B (en) Method for creating block chain subnet
CN111400112A (en) Writing method and device of storage system of distributed cluster and readable storage medium
CN111506584A (en) Service data processing method and device based on block chain and computer equipment
WO2023040502A1 (en) User service registration
CN104615489A (en) Multi-node data interaction achieving method
CN112866421B (en) Intelligent contract operation method and device based on distributed cache and NSQ
CN110908812A (en) Business data processing method and device, readable storage medium and computer equipment
CN111260475A (en) Data processing method, block chain node point equipment and storage medium
WO2023040498A1 (en) User service utilization
CN113691635A (en) Method and device for calling micro service, electronic equipment and readable storage medium
WO2022252996A1 (en) Method for scheduling computing service for service flow contract
CN113535335B (en) Virtual resource allocation method and device based on block chain and electronic equipment
CN113469811A (en) Block chain transaction processing method and device
CN110662210B (en) Secondary or repeated mobile phone number identification method, system and equipment based on block chain
CN113095825A (en) Asset management method and device based on block chain and electronic equipment
WO2023040450A1 (en) Blockchain service network establishment
CN113259465B (en) Business execution method based on off-chain computing service
CN116389385A (en) System resource processing method, device, storage medium and equipment
CN114640684A (en) Organization member extension method, processor and storage medium for federation chain
CN113612732A (en) Resource calling method and device and multi-party secure computing system

Legal Events

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