WO2023179450A1 - Multi-blockchain collaborative service methods, and systems - Google Patents

Multi-blockchain collaborative service methods, and systems Download PDF

Info

Publication number
WO2023179450A1
WO2023179450A1 PCT/CN2023/081911 CN2023081911W WO2023179450A1 WO 2023179450 A1 WO2023179450 A1 WO 2023179450A1 CN 2023081911 W CN2023081911 W CN 2023081911W WO 2023179450 A1 WO2023179450 A1 WO 2023179450A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
service
service system
slave
client
Prior art date
Application number
PCT/CN2023/081911
Other languages
French (fr)
Chinese (zh)
Inventor
加雄伟
Original Assignee
中国联合网络通信集团有限公司
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 中国联合网络通信集团有限公司 filed Critical 中国联合网络通信集团有限公司
Publication of WO2023179450A1 publication Critical patent/WO2023179450A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present disclosure relates to the field of communication technology, specifically to a multi-blockchain collaborative service method, a master blockchain service system, a slave blockchain service system and a collaborative service system.
  • Nodes of decentralized applications are usually deployed on the device side or in the cloud.
  • decentralized applications are susceptible to the impact of device storage, computing, and communication capabilities.
  • decentralized applications are susceptible to communication delays and access speeds.
  • the present disclosure provides a multi-blockchain collaborative service method, a blockchain service system and a collaborative service system to fully leverage the characteristics and service capabilities of edge clouds and core clouds to achieve elastic, stable, fast and secure Blockchain services.
  • the first aspect of the present disclosure provides a multi-blockchain collaborative service method, which is applied to the main blockchain service system, and the main blockchain service system is deployed in the core cloud; the method includes:
  • the method before sending the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, the method further includes:
  • the first edge cloud does not correspond to a slave blockchain service system, send slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave zone.
  • Blockchain service system When the first edge cloud does not correspond to a slave blockchain service system, send slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave zone.
  • the method further includes:
  • the second blockchain service data is the first slave blockchain service system for the blockchain client.
  • Service data generated during the process of providing blockchain services.
  • the step of determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client includes:
  • the method further includes:
  • the edge cloud corresponding to the blockchain client When the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, send the second service notification information to the second slave blockchain service system corresponding to the second edge cloud. , for the second slave blockchain service system to synchronize the third blockchain service data from the main blockchain service system, and based on the synchronized third blockchain service data for the block
  • the chain client provides blockchain services
  • the method further includes:
  • the method further includes:
  • the second aspect of this disclosure provides a multi-blockchain collaborative service method, applied to a slave blockchain service system, and the slave blockchain service system is deployed in an edge cloud; the method includes:
  • the blockchain service data is synchronized from the main blockchain service system; the service notification information is based on the pre-received area of the main blockchain service system.
  • a blockchain service is provided to the blockchain client based on the synchronized blockchain service data.
  • the blockchain client when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, the blockchain client is provided with the synchronized blockchain service data based on the synchronized blockchain service data.
  • the method also includes:
  • the service migration reminder information includes migration data and client location change reminder information for the main blockchain service system to determine the blockchain client.
  • service notification information is sent to the slave blockchain service system corresponding to the changed edge cloud.
  • the method further includes:
  • the third aspect of the present disclosure provides a main blockchain service system.
  • the main blockchain service system is deployed in the core cloud.
  • the main blockchain service system includes:
  • a determination module configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client;
  • the first sending module is configured to send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can obtain the information from the master blockchain. Synchronize the first blockchain service data in the service system, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data;
  • the second sending module is configured to return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
  • a fourth aspect of the present disclosure provides a secondary blockchain service system, which is deployed in an edge cloud.
  • the secondary blockchain service system includes:
  • a synchronization module configured to synchronize blockchain service data from the main blockchain service system in response to service notification information sent by the main blockchain service system; the service notification information is the main blockchain service system.
  • the service system sends information based on the pre-received service access request sent by the blockchain client;
  • a processing module configured to, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, provide the blockchain client with the synchronized blockchain service data based on the synchronized blockchain service data. Provide blockchain services.
  • the fifth aspect of this disclosure provides a collaborative service system.
  • the collaborative service system includes: at least one blockchain client, a main blockchain service system as provided in the third aspect of this disclosure, and at least one as provided in the fourth aspect of this disclosure. From the blockchain service system.
  • the multi-blockchain collaborative service method applied to the main blockchain service system provided by the embodiment of the present disclosure first determines the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client. ; Then, send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first block from the master blockchain service system. chain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data; finally, return request response information to the blockchain client for the blockchain client to use based on the request The response information accesses the first slave blockchain service system, which can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services for the blockchain client.
  • the master blockchain service Due to the master blockchain service The system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps It is designed to give full play to the characteristics and service capabilities of edge clouds and core clouds to achieve flexible, stable, fast and secure blockchain services, and is suitable for providing stable, fast and secure blockchain services for mobile devices.
  • Figure 1 is a flow chart of a multi-blockchain collaborative service method provided by an embodiment of the present disclosure
  • Figure 2 is a flow chart of another multi-blockchain collaborative service method provided by an embodiment of the present disclosure.
  • Figure 3 is a flow chart of yet another multi-blockchain collaborative service method provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic structural diagram of a main blockchain service system provided by an embodiment of the present disclosure.
  • Figure 5 is a schematic structural diagram of a slave blockchain service system provided by an embodiment of the present disclosure.
  • Figure 6 is a schematic diagram of the system composition of a collaborative service system provided by an embodiment of the present disclosure.
  • Figure 7 is a schematic diagram of the logical structure of a collaborative service system provided by an embodiment of the present disclosure.
  • Embodiments of the present disclosure may be described with reference to plan and/or cross-sectional illustrations, in conjunction with idealized schematic illustrations of the present disclosure. Accordingly, example illustrations may be modified based on manufacturing techniques and/or tolerances.
  • Figure 1 is a flow chart of a multi-blockchain collaborative service method provided by an embodiment of the present disclosure.
  • the multi-blockchain includes a master blockchain service system and at least one slave blockchain service system.
  • the main blockchain service system refers to the basic blockchain service system.
  • the main blockchain service system is used to provide blockchain services to the blockchain client when there is no slave blockchain service system.
  • the slave blockchain service system refers to a dynamic blockchain service system that maintains all or part of the data synchronization with the main blockchain service system , providing blockchain services to blockchain clients; the slave blockchain service system can be dynamically created and destroyed, and the data it saves is dynamically synchronized with the main blockchain service system, and the data can also be dynamically destroyed.
  • the main blockchain service system can be deployed in the core cloud, and the slave blockchain service system can be deployed in the edge cloud close to the blockchain terminal.
  • Blockchain terminal refers to the terminal where blockchain clients or blockchain nodes are deployed. It can be a fixed network terminal or a mobile network terminal. Deploying the blockchain service system in the edge cloud can take advantage of the edge cloud.
  • the slave blockchain service system needs to dynamically synchronize data with the main blockchain service system and dynamically manage the synchronized data in order to provide blockchain services to the blockchain terminal.
  • the multi-blockchain collaborative service method provided by the embodiment of the present disclosure is applied to the main blockchain service system, and the main blockchain service system is deployed in the core cloud.
  • the method includes the following steps S101 to S103.
  • the blockchain client is the application software for organizations or individuals to participate in blockchain services.
  • the blockchain client is deployed on the blockchain terminal, such as through the blockchain client software development kit (SDK). ) Deploy the blockchain client on the blockchain terminal.
  • Blockchain clients access blockchain services by interacting with blockchain nodes.
  • Blockchain nodes are an integral part of the blockchain service system and are the part that specifically provides blockchain service capabilities.
  • Blockchain nodes collaborate with each other to implement and provide blockchain services.
  • the blockchain service system refers to the application system that provides blockchain services, also known as the blockchain platform.
  • the blockchain node group constitutes the blockchain service system.
  • Blockchain services or applications refer to blockchain model services or applications provided by the blockchain service system.
  • a service access request is a request sent by a blockchain client to access a blockchain service.
  • the service access request includes: at least one of the blockchain client identifier, the type of requested service, the first location information, and the terminal identifier of the blockchain terminal where the blockchain client is located.
  • the blockchain client identifier is used to uniquely identify the blockchain client;
  • the type of requested service is, for example, storage type, calculation type, etc.;
  • the first location information is the current location of the blockchain terminal where the blockchain client is located. location information.
  • the step of determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client may further include:
  • Step 1 Obtain the first location information of the blockchain client based on the service access request.
  • the main blockchain service system may extract the first location information from the service access request.
  • the main blockchain service system can determine from the terminal identifier included in the service access request that the blockchain terminal corresponding to the blockchain client is located.
  • the communication function entity for example, the mobility management function entity of the communication network, and then obtains the first location information of the blockchain terminal where the blockchain client is located through the communication function entity.
  • Step 2 Determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
  • the first edge cloud currently corresponding to the blockchain client may be less than a predetermined distance from the blockchain terminal where it is located.
  • the edge cloud with the best performance among all edge clouds at a certain distance may also be the edge cloud closest to the blockchain terminal where the blockchain client is located.
  • the main blockchain service system can determine whether to support the blockchain service mode of the master-slave collaboration mode based on its own preset service policy. If the main blockchain service system does not support the master-slave collaboration model, the main blockchain service system can directly provide blockchain services to the blockchain client or reject the block. The chain client provides blockchain services. If the master blockchain service system supports the master-slave collaboration mode blockchain service mode, the above step S101 can be executed.
  • it can be beneficial to improve the breadth of the main blockchain service system to which the multi-blockchain collaborative service method provided by the embodiment of the present disclosure is applied, and it is beneficial to improve the main blockchain service that does not support the master-slave collaboration mode. How efficiently the system handles service access requests.
  • the method may further include:
  • Step 1 Determine whether the first edge cloud corresponds to the first slave blockchain service system.
  • the first slave blockchain service system corresponding to the first edge cloud is a slave blockchain service system deployed in the first edge cloud for providing blockchain services.
  • Step 2 If the first edge cloud does not correspond to the slave blockchain service system, send the slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave blockchain service system.
  • the creation information from the blockchain is information used to enable the first edge cloud to create the first slave blockchain service system.
  • the logical entity can be used to receive and process the information sent by the main blockchain service system for searching, creating, and destroying the slave blockchain service system. The command.
  • the master blockchain service system can directly provide blockchain services to the blockchain client, or can refuse to provide blockchain services to the blockchain client.
  • the blockchain client provides blockchain services.
  • Step 3 If the first edge cloud corresponds to the slave blockchain service system, perform the following step S102.
  • the first service notification information is notification information used to enable the first slave blockchain service system to learn that it needs to provide blockchain services to the blockchain client.
  • the first service notification information may include a blockchain client identifier. , terminal identification and other information of the blockchain terminal where the blockchain client is located.
  • the first blockchain service data is the data needed to provide blockchain services to the blockchain client from the blockchain service system.
  • the first blockchain service data may include: at least one type of data such as on-chain data, off-chain data, and smart contract data, where the on-chain data refers to the data in the blockchain ledger.
  • Off-chain data refers to data that is related to the data in the blockchain ledger but is stored outside the blockchain ledger. It should be noted that during actual application, the first blockchain service data can further add other relevant data according to actual needs.
  • the request response information is information used to instruct the blockchain client to access the first slave blockchain service system to obtain the blockchain service.
  • the request response information may include the first slave blockchain service system identifier, the first slave blockchain service system identifier, and the first slave blockchain service system identifier.
  • Information such as the IP address from the blockchain service system.
  • the blockchain client accesses the first slave blockchain service system based on the request response information, and the first slave blockchain service system provides the blockchain client with the synchronized first blockchain service data based on the synchronized first blockchain service data. Provides blockchain services on the end.
  • the method may further include:
  • Step 1 Receive and store the second blockchain service data sent from the first blockchain service system.
  • the second blockchain service data is the first service data generated from the process of providing blockchain services to the blockchain client by the blockchain service system.
  • Step 2 In response to the data synchronization request sent by the first slave blockchain service system, send the data that needs to be synchronized to the first slave blockchain service system.
  • the nodes in the first slave blockchain service system can continuously synchronize data with the nodes in the master blockchain service system, so that the first slave blockchain service system provides updated data to the blockchain client.
  • High-quality blockchain service in which the synchronized data can be the first slave blockchain service system to upload data to the main blockchain service system, or it can be the first slave blockchain service system to upload data from the main blockchain service system Download data.
  • the multi-blockchain collaborative service method applied to the main blockchain service system provided by the embodiment of the present disclosure first determines the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client. ; Then, send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first block from the master blockchain service system. chain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data; finally, return request response information to the blockchain client for the blockchain client to use based on the request The response information accesses the first slave blockchain service system, which can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services for the blockchain client.
  • the master blockchain service Due to the master blockchain service The system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps It is designed to give full play to the characteristics and service capabilities of edge clouds and core clouds to achieve flexible, stable, fast and secure blockchain services, and is suitable for providing stable, fast and secure blockchain services for mobile devices.
  • Figure 2 is a flow chart of another multi-blockchain collaborative service method provided by an embodiment of the present disclosure.
  • the method further includes: step S201-step S202.
  • Step S201 When the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, send the second service notification information to the second slave blockchain service system corresponding to the second edge cloud, For the second slave blockchain service system to synchronize the third blockchain service data from the main blockchain service system and based on the synchronized third block Chain service data provides blockchain services to blockchain clients.
  • the second edge cloud can be the edge cloud that is closest to the blockchain terminal after the location of the blockchain terminal where the blockchain client is located changes, or the distance to the blockchain terminal is less than The best performing edge cloud among all edge clouds at a preset distance.
  • the second slave blockchain service system corresponding to the second edge cloud is a slave blockchain service system deployed in the second edge cloud for providing blockchain services.
  • the third blockchain service data is the data needed to provide blockchain services to the blockchain client from the second blockchain service system.
  • the third blockchain service data may include the aforementioned first blockchain service data and second blockchain service data, and may also include migration data from the first slave blockchain service system. This migration data is all data generated by the first blockchain service system in the process of providing blockchain services to blockchain clients.
  • the second service notification information may also include the first slave blockchain service system identifier, so that the second slave blockchain service system can combine the first slave blockchain service system identifier with the first slave blockchain service system based on the first slave blockchain service system identifier.
  • the blockchain service system interacts to obtain the migration data from the first slave blockchain service system.
  • the main blockchain service system can also instruct the second edge cloud to build the corresponding second slave blockchain service system.
  • the relevant description of the first edge cloud creating the first slave blockchain service system in the previous embodiment please refer to the relevant description of the first edge cloud creating the first slave blockchain service system in the previous embodiment, and will not be described again here.
  • the second service is sent to the second slave blockchain service system corresponding to the second edge cloud.
  • the method may further include:
  • Step 1 Receive the service migration reminder message sent from the first blockchain service system.
  • the service migration reminder information includes migration data and client location change reminder information.
  • This migration data is all data generated by the first blockchain service system in the process of providing blockchain services to blockchain clients.
  • Step 2 In response to the client location change reminder information, obtain the second location information of the blockchain client, and determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
  • the second location information is the current location information of the blockchain terminal where the blockchain client is located after the location change occurs.
  • the second edge cloud currently corresponding to the blockchain client may be the edge cloud currently closest to the blockchain terminal where the blockchain client is located, or all edges that are less than a preset distance from the blockchain terminal. The best-performing edge cloud in the cloud.
  • the main blockchain service system can dynamically track the location change information of the blockchain terminal where the blockchain client is located, and determine in a timely manner whether the edge cloud corresponding to the blockchain client has been changed from the first edge cloud. It is the second edge cloud.
  • the blockchain terminal where the blockchain client is located can reconnect to the main area based on changes in its own location and the quality of the accessed blockchain services, and based on the current corresponding second location information of the blockchain terminal.
  • the blockchain service system or, sends location change reminder information to the main blockchain service system to facilitate migration to a more appropriate slave blockchain service system in the edge cloud.
  • Step S202 Return service change reminder information to the blockchain client so that the blockchain client can provide services based on The change reminder information is accessed from the second slave blockchain service system.
  • the service change reminder information is a reminder information used to indicate to the blockchain client that the blockchain service provider has changed.
  • the service change reminder information may include the second slave blockchain service system identifier, the IP address information of the second slave blockchain service system, etc.
  • the method may further include: sending service resource clearing information to the first slave blockchain service system for the first slave blockchain
  • the service system clears the first blockchain service data synchronized with the main blockchain service system based on the service resource clearing information or releases the service resources that provide blockchain services for the blockchain client.
  • the service resource clearing information is used to enable the first slave blockchain service system to clear the first blockchain service data synchronized with the main blockchain service system or to release services that provide blockchain services to blockchain clients.
  • the instruction information of the resource that is, the service resource clearing information, is an instruction for causing the first slave blockchain service system to destroy data according to the service policy or to destroy the first slave blockchain service system.
  • the first slave blockchain service system when the first slave blockchain service system stops providing blockchain services to any blockchain client, the first slave blockchain service system can actively destroy data and data according to the service policy. First from the blockchain service system.
  • a blockchain client may move from one edge cloud service area to another edge cloud service area. But in special cases, for example, when the blockchain client is at the intersection of multiple edge cloud service areas, or the blockchain terminal where the blockchain client is located moves quickly, it may occur within a short period of time.
  • a slave blockchain service system and corresponding slave blockchain nodes can be established in each edge cloud, and the newly generated slave blockchain service system and corresponding slave blockchain Nodes can be treated equally.
  • the successor location of the blockchain client is determined, the original and other newly generated slave blockchain service systems and blockchain nodes can be automatically or passively destroyed to release the corresponding edge cloud. Resources are reserved for other blockchain clients to provide blockchain services.
  • a slave blockchain service system and slave blockchain node can simultaneously provide services for blockchain clients corresponding to multiple edge clouds. That is to say, when the location of the blockchain client changes and moves from one edge cloud to another, if the slave blockchain service system and slave blockchain nodes that provide blockchain services do not change, there is no need to re- Find and create new slave blockchain service systems.
  • the multi-blockchain collaborative service method provided by the disclosed embodiment deploys a master blockchain service system in the core cloud, deploys a slave blockchain service system in the edge cloud, and the master blockchain service system and slave blockchain services
  • the system collaborates to provide blockchain services for blockchain terminals (clients).
  • different slave blockchain service systems can be deployed, and these slave blockchain service systems can synchronize data with the main blockchain service system.
  • This disclosed embodiment focuses on the data collaboration between the master blockchain service system and the slave blockchain service system, and provides blockchain services to blockchain terminals (clients) in a master-slave collaboration manner.
  • the slave blockchain service system can be dynamically created and destroyed, and the blockchain nodes and data of the slave blockchain service system can also be dynamically created and destroyed.
  • the blockchain client accesses the blockchain service, it can dynamically migrate from one slave blockchain service system to another slave blockchain service system according to the situation (for example, the location changes). At this time, the two slave blockchain service systems
  • the blockchain service system can provide seamless blockchain service connection.
  • FIG 3 is a flow chart of yet another multi-blockchain collaborative service method provided by an embodiment of the present disclosure.
  • This multi-blockchain collaborative service method is applied to a slave blockchain service system, which is deployed in the edge cloud.
  • the slave blockchain service system may be the third one in the aforementioned embodiment.
  • the first slave blockchain service system can also be the second slave blockchain service system.
  • the method includes: step S301-step S302.
  • Step S301 In response to the service notification information sent by the main blockchain service system, synchronize the blockchain service data from the main blockchain service system.
  • the service notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance.
  • the service notification information may include the blockchain client identifier, the terminal identifier of the blockchain terminal where the blockchain client is located, and other information.
  • Blockchain service data is the data needed to provide blockchain services to the blockchain client from the blockchain service system.
  • the blockchain service data may include at least one type of data such as on-chain data, off-chain data, and smart contract data, where the on-chain data refers to the data in the blockchain ledger.
  • Off-chain data refers to data that is related to the data in the blockchain ledger but is stored outside the blockchain ledger. It should be noted that during actual application, the first blockchain service data can further add other relevant data according to actual needs.
  • Step S302 When the blockchain client corresponding to the service notification information accesses the slave blockchain service system, provide blockchain services to the blockchain client based on the synchronized blockchain service data.
  • the slave blockchain service system in the process of providing blockchain services to blockchain clients based on synchronized blockchain service data, can dynamically track the location of the blockchain terminal where the blockchain client is located. Location change information to determine whether the blockchain terminal where the blockchain client is located has moved to other edge clouds.
  • the method may further include:
  • service migration reminder information is sent to the main blockchain service system.
  • the service migration reminder information can include migration data and client location change reminder information. , so that when the main blockchain service system determines that the edge cloud corresponding to the blockchain client has changed, it can send service notification information to the slave blockchain service system corresponding to the changed edge cloud.
  • migration data is all data generated from the process of providing blockchain services to blockchain clients by the blockchain service system.
  • the client location change reminder information is used to remind the main blockchain service system that the location of the blockchain terminal where the blockchain client is located has changed, so that the main blockchain service system can obtain the area in response to the client location change reminder information.
  • the current location information of the blockchain terminal where the blockchain client is located, and the current corresponding edge cloud of the blockchain client is determined based on the current location information of the blockchain terminal where the blockchain client is located, and then the main blockchain service
  • the system sends service change reminder information to the blockchain client so that the blockchain client can access other slave blockchain service systems based on the service change reminder information.
  • the method may further include: when stopping providing blockchain services to the blockchain client, performing a destruction operation to Release edge cloud resources occupied from the blockchain service system.
  • the multi-blockchain collaborative service method applied to the slave blockchain service system affects Synchronize the blockchain service data from the main blockchain service system in response to the service notification information sent by the main blockchain service system, where the service notification information is based on the blockchain client received in advance by the main blockchain service system
  • the information sent by the service access request is sent; then, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, the blockchain client is provided with a zone based on the synchronized blockchain service data.
  • Blockchain services can realize the collaboration between the main blockchain service system and the slave blockchain service system to provide blockchain services for blockchain clients.
  • the slave blockchain service system is deployed in the edge cloud network.
  • the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps to give full play to the edge cloud and core cloud.
  • FIG 4 is a schematic structural diagram of a main blockchain service system provided by an embodiment of the present disclosure.
  • the main blockchain service system is deployed in the core cloud.
  • the main blockchain service system 40 includes: a determination module 41, a first sending module 42 and a second sending module 43.
  • the determination module 41 is configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client.
  • the first sending module 42 is configured to send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can obtain the information from the master blockchain service system. Synchronize the first blockchain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data.
  • the second sending module 43 is configured to return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
  • the main blockchain service system may further include a first judgment module.
  • the first judgment module is configured to judge whether the first edge cloud corresponds to the first slave blockchain service system.
  • the above-mentioned first sending module 42 is also configured to send the slave blockchain creation information to the first edge cloud when the first edge cloud does not correspond to the slave blockchain service system, so that the first edge cloud can create the second blockchain service system. One from the blockchain service system.
  • the main blockchain service system 40 may further include a first receiving module and a first storage module.
  • the first receiving module is configured to receive the second blockchain service data sent by the first slave blockchain service system, wherein the second blockchain service data is the first slave blockchain service system for the blockchain client. Service data generated during the process of providing blockchain services.
  • the first storage module is configured to store the second blockchain service data.
  • the above-mentioned determination module 41 is configured to obtain the first location information of the blockchain client based on the service access request; and determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
  • the above-mentioned first sending module 42 is also configured to send a message to the third edge cloud corresponding to the second edge cloud when the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud.
  • the second slave blockchain service system sends the second service notification information for the second slave blockchain service system to synchronize the third slave blockchain service system with the main blockchain service system.
  • Blockchain service data and provide blockchain services to the blockchain client based on the synchronized third blockchain service data.
  • the above-mentioned second sending module 43 is also configured to return service change reminder information to the blockchain client, so that the blockchain client can access the second slave blockchain service system based on the service change reminder information.
  • the main blockchain service system 40 may further include a first acquisition module.
  • the above-mentioned first receiving module is also configured to receive the first service migration reminder information sent from the blockchain service system.
  • the service migration reminder information may include migration data and client location change reminder information.
  • the first acquisition module is configured to acquire the second location information of the blockchain client in response to the client location change reminder information.
  • the above-mentioned determination module 41 is also configured to determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
  • the above-mentioned first sending module 42 is also configured to send service resource clearing information to the first slave blockchain service system, so that the first slave blockchain service system clears the slave master based on the service resource clearing information.
  • the first blockchain service data synchronized by the blockchain service system or the service resources that provide blockchain services for the blockchain client are released.
  • the determination module is configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client; the first sending module is configured To send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first blockchain service from the master blockchain service system.
  • the second sending module is configured to return request response information to the blockchain client for the blockchain client.
  • Accessing the first slave blockchain service system based on the request response information can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services to the blockchain client, and, because the master zone The blockchain service system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in the embodiment of the present disclosure is helpful Give full play to the characteristics and service capabilities of the edge cloud and core cloud to achieve flexible, stable, fast and secure blockchain services. It is suitable for providing stable, fast and secure blockchain services for mobile devices.
  • FIG 5 is a schematic structural diagram of a slave blockchain service system provided by an embodiment of the present disclosure.
  • the slave blockchain service system is deployed in the edge cloud.
  • the slave blockchain service system 50 includes: a synchronization module 51 and a processing module 52.
  • the synchronization module 51 is configured to synchronize the blockchain service data from the main blockchain service system in response to the service notification information sent by the main blockchain service system.
  • the service notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance.
  • the processing module 52 is configured to provide blockchain services to the blockchain client based on the synchronized blockchain service data when the blockchain client corresponding to the service notification information accesses the slave blockchain service system. .
  • the slave blockchain service system 50 may further include a third sending module.
  • the third sending module is configured to send service migration reminder information to the main blockchain service system.
  • the service migration reminder information includes migration data and client location change reminder information for the main blockchain service system to determine the blockchain.
  • service notification information is sent to the slave blockchain service system corresponding to the changed edge cloud.
  • the slave blockchain service system 50 may further include an active clearing module.
  • the active clearing module is configured to perform a destruction operation to release the resources of the edge cloud occupied by the blockchain service system when the blockchain service system stops providing blockchain services to the blockchain client.
  • the synchronization module is configured to respond to the service notification information sent by the master blockchain service system, and synchronize the blockchain service data from the master blockchain service system, where, the service The notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance; the processing module is configured to access the slave blockchain service on the blockchain client corresponding to the service notification information.
  • blockchain services are provided to the blockchain client based on synchronized blockchain service data, which can realize the collaboration between the main blockchain service system and the slave blockchain service system to provide blockchain clients with Blockchain service, and because the main blockchain service system is deployed in the core network and the slave blockchain service system is deployed in the edge cloud network, therefore, in the embodiment of the present disclosure, the main blockchain service system and the slave area
  • the collaborative work of the blockchain service system helps to give full play to the characteristics and service capabilities of the edge cloud and core cloud to achieve flexible, stable, fast and secure blockchain services, which is suitable for providing stable, fast and secure mobile devices.
  • Blockchain services are provided to the blockchain client based on synchronized blockchain service data, which can realize the collaboration between the main blockchain service system and the slave blockchain service system to provide blockchain clients with Blockchain service, and because the main blockchain service system is deployed in the core network and the slave blockchain service system is deployed in the edge cloud network, therefore, in the embodiment of the present disclosure, the main blockchain service system and the slave area
  • the collaborative work of the blockchain service system helps to give full play to the characteristics and service capabilities
  • FIG. 6 is a schematic diagram of the system composition of a collaborative service system provided by an embodiment of the present disclosure.
  • the collaborative service system includes: at least one blockchain client 61, at least one master blockchain service system 62, and at least one slave blockchain service system 63.
  • the blockchain client 61 is deployed on a blockchain terminal, such as a computer, a mobile phone, etc.
  • a blockchain terminal such as a computer, a mobile phone, etc.
  • Each main blockchain service system 62 is deployed on the core cloud, and communication connections can be made between each main blockchain service system 62.
  • Each slave blockchain service system 63 is deployed on the edge cloud, and each slave blockchain service system 63 can interact with each other through the master blockchain service system 62 or directly.
  • FIG. 7 is a schematic diagram of the logical structure of a collaborative service system provided by an embodiment of the present disclosure.
  • the collaborative service system includes: at least one blockchain client 61, at least one master blockchain service system 62, and at least one slave blockchain service system 63.
  • the blockchain client 61 is deployed on the blockchain terminal.
  • the blockchain client SDK is also included on this blockchain terminal.
  • the logical architecture of the master-slave blockchain is transparent to the blockchain client 61 or blockchain terminal.
  • the blockchain client 61 can connect to the designated blockchain service system according to designated information (such as the IP address, port, etc. of the blockchain service system) or its own location information to obtain blockchain services. For the blockchain client 61, there is no need to know whether the main blockchain service system or the slave blockchain service system is providing blockchain services.
  • the main blockchain service system 62 may include: a first on-chain data synchronization module 621, a first off-chain data synchronization module 622, a first contract synchronization module 623, a first master-slave collaboration module 624, At least one of the blockchain service capability modules 625.
  • the master blockchain service system 62 can adopt the same or similar data storage mode as the slave blockchain service system 63.
  • the stored data includes on-chain data, off-chain data, smart contract data, etc.
  • the first on-chain data synchronization module 621 is configured to support interaction with the second on-chain data synchronization module of the slave blockchain service system 63 (or the slave blockchain node in the slave blockchain service system) to Realize on-chain data synchronization (all or part of the on-chain data) with the slave blockchain service system 63.
  • On-chain data usually refers to data in the blockchain ledger.
  • This synchronization refers to the downloading of on-chain data from the slave blockchain node of the blockchain service system 63 from the master blockchain node of the master blockchain service system 62, and the downloading of on-chain data from the slave blockchain node of the blockchain service system 63.
  • the node uploads on-chain data to the main blockchain node of the main blockchain service system 62 .
  • the slave blockchain service system 63 when synchronizing on-chain data between the master and slave blockchain service systems, the slave blockchain service system 63 needs to submit the range of synchronized on-chain data (for example, time) to the master blockchain service system 62 scope, regional scope, user scope, etc.), and whether to upload or download, etc.
  • the master-slave blockchain service system requires mutual identity authentication and data verification to ensure the security of the data and system.
  • the first off-chain data synchronization module 622 is configured to support interaction with the second off-chain data synchronization module of the slave blockchain service system to achieve off-chain data synchronization of the blockchain (all or part of the off-chain data).
  • Off-chain data usually refers to data outside the blockchain ledger, which is in turn correlated with data in the blockchain ledger.
  • This synchronization refers to downloading off-chain data from the blockchain service system to the main blockchain service system, and uploading off-chain data from the blockchain service system to the main blockchain service system.
  • the slave blockchain service system needs to submit the scope of synchronized off-chain data to the master blockchain service system (for example, time range, regional range, user range, etc.
  • the master-slave blockchain service system requires mutual identity authentication and data verification to ensure the security of the data and system.
  • the on-chain data of the master-slave blockchain service system is synchronized, the corresponding off-chain data also needs to be synchronized.
  • the first contract synchronization module 623 supports synchronization of smart contracts with slave blockchain nodes of the slave blockchain service system to achieve synchronization of smart contracts of the master-slave blockchain service system.
  • smart contracts can be deployed on the main blockchain service system first or on the slave blockchain service system first. Synchronize smart contracts and related information between master-slave blockchain service systems.
  • the first master-slave collaboration module 624 is configured to dynamically notify the edge cloud to create a slave blockchain service system and its blockchain nodes according to the service access request of the blockchain client (including service type, location information and other information), and Notifications provide blockchain services to blockchain clients from the blockchain service system and its blockchain nodes.
  • the edge cloud there is a logical entity that can receive the control information of the first master-slave collaboration module 624, and create and configure the slave blockchain service system and its blockchain nodes according to the control information.
  • the slave blockchain service system and its blockchain nodes After the creation and configuration of the blockchain node is completed, the slave blockchain service system and its blockchain nodes can collaborate with the main blockchain service system.
  • the logical entity in the edge cloud can also receive other control information from the first master-slave collaboration module 624 to add or destroy slave blockchain nodes or slave blockchain service systems.
  • the first blockchain service capability module 625 is configured to provide blockchain-related service capabilities (service capabilities of the traditional blockchain itself), including interaction capabilities with blockchain nodes of other main blockchain service systems, etc. .
  • the slave blockchain service system 63 includes: a second on-chain data synchronization module 631, a second off-chain data synchronization module 632, a second contract synchronization module 633, a synchronization management module 634, and a data migration module 635.
  • the second blockchain service capability module 636 The master blockchain service system 62 and the slave blockchain service system 63 adopt the same or similar data storage mode, and the stored data includes on-chain data, off-chain data, smart contract data, etc. Data can be synchronized between different slave blockchain service systems 63, and the same or similar data storage mode is also adopted between each slave blockchain service system 63.
  • the second on-chain data synchronization module 631 supports interaction with the first on-chain data synchronization module of the main blockchain service system to achieve on-chain data synchronization with the main blockchain service system.
  • This synchronization includes downloading on-chain data from the main blockchain node and uploading on-chain data to the main blockchain node.
  • the second off-chain data synchronization module 632 supports interaction with the first off-chain data synchronization module of the master blockchain service system to achieve off-chain data synchronization with the master-slave blockchain service system.
  • this synchronization refers to downloading off-chain data from the main blockchain node and uploading off-chain data to the main blockchain node.
  • the second contract synchronization module 633 supports smart contract synchronization with the main blockchain node of the main blockchain service system to achieve synchronization of smart contracts in the master-slave blockchain service system.
  • the data migration module 635 supports synchronous data migration with other slave blockchain service systems except the slave blockchain service system.
  • Synchronized migration data includes on-chain data, off-chain data, contract data, and service site data.
  • the service site data is the context information generated by the slave blockchain service system when it provides blockchain services to the blockchain client, such as operating parameters, environment variables and other information.
  • This context information can be synchronized between different slave blockchain service systems to provide seamless blockchain services when the blockchain client migrates.
  • Information can be synchronized directly between different slave blockchain service systems, or it can be transferred through the main blockchain service system.
  • the synchronization management module 634 is configured to control data synchronization with the main blockchain service system or data migration with other slave blockchain service systems based on the location change reminder information sent by the blockchain client.
  • the second blockchain service capability module 636 provides blockchain-related service capabilities (service capabilities of the traditional blockchain itself), including interaction capabilities with other main blockchain service systems. It should be noted that the master-slave blockchain service system has the ability to provide the same blockchain services.
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media.
  • Computer storage media includes but is not limited to Random Access Memory (RAM, abbreviated as RAM, more specifically Synchronous Dynamic Random-Access Memory, abbreviated as SDRAM, Double Data Rate SDRAM, abbreviated as DDR, etc.), Read-Only Memory (Read-Only Memory) , abbreviated ROM), Electrically Erasable Programmable read only memory (EEPROM), flash memory (FLASH) or other memory technology, Compact Disc Read-Only Memory (CD-ROM) , Digital Video Disc (DVD) or other optical disk storage, magnetic cassette, tape, disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • RAM Random Access Memory
  • SDRAM Synchronous Dynamic Random-Access Memory
  • DDR

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides multi-blockchain collaborative service methods, and systems, and relates to the technical field of communications. A method comprises: on the basis of a service access request sent by a blockchain client, determining a first edge cloud currently corresponding to the blockchain client; sending first service notification information to a first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system synchronizes first blockchain service data from a master blockchain service system, and provides a blockchain service for the blockchain client on the basis of the synchronized first blockchain service data; and returning request response information to the blockchain client, so that the blockchain client accesses the first slave blockchain service system on the basis of the request response information. By means of the collaborative operation of the master and slave blockchain service systems, the present disclosure may achieve an elastic, stable, rapid and secure blockchain service, and is suitable for providing the stable, rapid and secure blockchain service for a mobile terminal.

Description

多区块链协同服务方法及系统Multi-blockchain collaborative service method and system 技术领域Technical field
本公开涉及通信技术领域,具体涉及一种多区块链协同服务方法、主区块链服务系统、从区块链服务系统和协同服务系统。The present disclosure relates to the field of communication technology, specifically to a multi-blockchain collaborative service method, a master blockchain service system, a slave blockchain service system and a collaborative service system.
背景技术Background technique
去中心化应用(例如,区块链应用)的节点通常部署在设备端或者部署在云端上。但是,当去中心化应用部署在设备端时,去中心化应用易受到设备存储、计算和通信等能力的影响。而当去中心化应用部署在云端上时,去中心化应用易受通信延迟和访问速度的影响。Nodes of decentralized applications (for example, blockchain applications) are usually deployed on the device side or in the cloud. However, when decentralized applications are deployed on the device side, decentralized applications are susceptible to the impact of device storage, computing, and communication capabilities. When decentralized applications are deployed on the cloud, decentralized applications are susceptible to communication delays and access speeds.
发明内容Contents of the invention
为此,本公开提供一种多区块链协同服务方法、区块链服务系统和协同服务系统,以充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务。To this end, the present disclosure provides a multi-blockchain collaborative service method, a blockchain service system and a collaborative service system to fully leverage the characteristics and service capabilities of edge clouds and core clouds to achieve elastic, stable, fast and secure Blockchain services.
为了实现上述目的,本公开第一方面提供一种多区块链协同服务方法,应用于主区块链服务系统,该主区块链服务系统部署在核心云中;该方法包括:In order to achieve the above purpose, the first aspect of the present disclosure provides a multi-blockchain collaborative service method, which is applied to the main blockchain service system, and the main blockchain service system is deployed in the core cloud; the method includes:
基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云;Based on the service access request sent by the blockchain client, determine the first edge cloud currently corresponding to the blockchain client;
向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供所述第一从区块链服务系统从所述主区块链服务系统中同步第一区块链服务数据,并基于同步的所述第一区块链服务数据为所述区块链客户端提供区块链服务;Send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first zone from the master blockchain service system. Blockchain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data;
向所述区块链客户端返回请求响应信息,以供所述区块链客户端基于所述请求响应信息访问所述第一从区块链服务系统。Return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
可选地,在所述向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息之前,所述方法还包括:Optionally, before sending the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, the method further includes:
判断所述第一边缘云是否对应有第一从区块链服务系统;Determine whether the first edge cloud corresponds to the first slave blockchain service system;
在所述第一边缘云未对应有从区块链服务系统的情况下,向所述第一边缘云发送从区块链创建信息,以供所述第一边缘云创建所述第一从区块链服务系统。When the first edge cloud does not correspond to a slave blockchain service system, send slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave zone. Blockchain service system.
可选地,在所述向所述区块链客户端返回请求响应信息之后,所述方法还包括:Optionally, after returning the request response information to the blockchain client, the method further includes:
接收并存储所述第一从区块链服务系统发送的第二区块链服务数据;所述第二区块链服务数据是所述第一从区块链服务系统为所述区块链客户端提供区块链服务的过程中生成的服务数据。Receive and store the second blockchain service data sent by the first slave blockchain service system; the second blockchain service data is the first slave blockchain service system for the blockchain client. Service data generated during the process of providing blockchain services.
可选地,所述基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云的步骤,包括: Optionally, the step of determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client includes:
基于所述服务访问请求获取所述区块链客户端的第一位置信息;Obtain the first location information of the blockchain client based on the service access request;
基于所述第一位置信息确定所述区块链客户端当前对应的第一边缘云。Determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
可选地,在所述向所述区块链客户端返回请求响应信息之后,所述方法还包括:Optionally, after returning the request response information to the blockchain client, the method further includes:
在所述区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向所述第二边缘云对应的第二从区块链服务系统发送第二服务通知信息,以供所述第二从区块链服务系统从所述主区块链服务系统中同步第三区块链服务数据,并基于同步的所述第三区块链服务数据为所述区块链客户端提供区块链服务;When the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, send the second service notification information to the second slave blockchain service system corresponding to the second edge cloud. , for the second slave blockchain service system to synchronize the third blockchain service data from the main blockchain service system, and based on the synchronized third blockchain service data for the block The chain client provides blockchain services;
向所述区块链客户端返回服务变更提醒信息,以供所述区块链客户端基于所述服务变更提醒信息访问所述第二从区块链服务系统。Return service change reminder information to the blockchain client, so that the blockchain client can access the second slave blockchain service system based on the service change reminder information.
可选地,所述在所述区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向所述第二边缘云对应的第二从区块链服务系统发送第二服务通知信息之前,所述方法还包括:Optionally, when the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, the second slave blockchain service system corresponding to the second edge cloud Before sending the second service notification information, the method further includes:
接收所述第一从区块链服务系统发送的服务迁移提醒信息,所述服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息;Receive the service migration reminder information sent by the first slave blockchain service system, where the service migration reminder information includes migration data and client location change reminder information;
响应于所述客户端位置变更提醒信息,获取所述区块链客户端的第二位置信息,并根据所述第二位置信息确定所述区块链客户端当前对应的第二边缘云。In response to the client location change reminder information, obtain the second location information of the blockchain client, and determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
可选地,在所述向所述区块链客户端返回服务变更提醒信息之后,所述方法还包括:Optionally, after returning service change reminder information to the blockchain client, the method further includes:
向所述第一从区块链服务系统发送服务资源清除信息,以供所述第一从区块链服务系统基于所述服务资源清除信息清除与主区块链服务系统同步的第一区块链服务数据或者释放为所述区块链客户端提供区块链服务的服务资源。Send service resource clearing information to the first slave blockchain service system, so that the first slave blockchain service system clears the first block synchronized with the main blockchain service system based on the service resource clearing information. Chain service data or release service resources that provide blockchain services to the blockchain client.
本公开第二方面提供一种多区块链协同服务方法,应用于从区块链服务系统,该从区块链服务系统部署在边缘云中;该方法包括:The second aspect of this disclosure provides a multi-blockchain collaborative service method, applied to a slave blockchain service system, and the slave blockchain service system is deployed in an edge cloud; the method includes:
响应于主区块链服务系统发送的服务通知信息,从所述主区块链服务系统中同步区块链服务数据;所述服务通知信息是所述主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;In response to the service notification information sent by the main blockchain service system, the blockchain service data is synchronized from the main blockchain service system; the service notification information is based on the pre-received area of the main blockchain service system. Information sent by the service access request sent by the blockchain client;
在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务。When the blockchain client corresponding to the service notification information accesses the slave blockchain service system, a blockchain service is provided to the blockchain client based on the synchronized blockchain service data.
可选地,所述在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务之后,所述方法还包括:Optionally, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, the blockchain client is provided with the synchronized blockchain service data based on the synchronized blockchain service data. After the blockchain service, the method also includes:
向所述主区块链服务系统发送服务迁移提醒信息,所述服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息,以供所述主区块链服务系统在确定所述区块链客户端对应的边缘云发生变更的情况下,向变更后的边缘云对应的从区块链服务系统发送服务通知信息。Send service migration reminder information to the main blockchain service system. The service migration reminder information includes migration data and client location change reminder information for the main blockchain service system to determine the blockchain client. When the edge cloud corresponding to the client changes, service notification information is sent to the slave blockchain service system corresponding to the changed edge cloud.
可选地,在所述向所述主区块链服务系统发送服务迁移提醒信息之后,所述方法还包括: Optionally, after sending the service migration reminder information to the main blockchain service system, the method further includes:
在停止为区块链客户端提供区块链服务的情况下,执行销毁操作,以释放从区块链服务系统占用的边缘云的资源。When the blockchain service is stopped for the blockchain client, a destruction operation is performed to release the resources of the edge cloud occupied from the blockchain service system.
本公开第三方面提供一种主区块链服务系统,该主区块链服务系统部署在核心云中,所述主区块链服务系统包括:The third aspect of the present disclosure provides a main blockchain service system. The main blockchain service system is deployed in the core cloud. The main blockchain service system includes:
确定模块,其被配置为基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云;A determination module configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client;
第一发送模块,其被配置为向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供所述第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的所述第一区块链服务数据为所述区块链客户端提供区块链服务;The first sending module is configured to send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can obtain the information from the master blockchain. Synchronize the first blockchain service data in the service system, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data;
第二发送模块,其被配置为向所述区块链客户端返回请求响应信息,以供所述区块链客户端基于所述请求响应信息访问所述第一从区块链服务系统。The second sending module is configured to return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
本公开第四方面提供一种从区块链服务系统,该从区块链服务系统部署在边缘云中,所述从区块链服务系统包括:A fourth aspect of the present disclosure provides a secondary blockchain service system, which is deployed in an edge cloud. The secondary blockchain service system includes:
同步模块,其被配置为响应于主区块链服务系统发送的服务通知信息,从所述主区块链服务系统中同步区块链服务数据;所述服务通知信息是所述主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;A synchronization module configured to synchronize blockchain service data from the main blockchain service system in response to service notification information sent by the main blockchain service system; the service notification information is the main blockchain service system. The service system sends information based on the pre-received service access request sent by the blockchain client;
处理模块,其被配置为在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务。A processing module configured to, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, provide the blockchain client with the synchronized blockchain service data based on the synchronized blockchain service data. Provide blockchain services.
本公开第五方面提供一种协同服务系统,该协同服务系统包括:至少一个区块链客户端、如本公开第三方面提供的主区块链服务系统和至少一个如本公开第四方面提供的从区块链服务系统。The fifth aspect of this disclosure provides a collaborative service system. The collaborative service system includes: at least one blockchain client, a main blockchain service system as provided in the third aspect of this disclosure, and at least one as provided in the fourth aspect of this disclosure. From the blockchain service system.
本公开实施例提供的应用于主区块链服务系统的多区块链协同服务方法,首先,基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云;然后,向该第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供该第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的第一区块链服务数据为区块链客户端提供区块链服务;最后,向区块链客户端返回请求响应信息,以供区块链客户端基于该请求响应信息访问第一从区块链服务系统,能够实现主区块链服务系统和从区块链服务系统的协同进而为区块链客户端提供区块链服务,并且,由于主区块链服务系统部署在核心网中,而从区块链服务系统部署在边缘云网络中,因此,该多区块链协同服务方法中主区块链服务系统和从区块链服务系统的协同工作有助于充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务,适用于为移动设备提供稳定、快速和安全的区块链服务。The multi-blockchain collaborative service method applied to the main blockchain service system provided by the embodiment of the present disclosure first determines the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client. ; Then, send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first block from the master blockchain service system. chain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data; finally, return request response information to the blockchain client for the blockchain client to use based on the request The response information accesses the first slave blockchain service system, which can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services for the blockchain client. Moreover, due to the master blockchain service The system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps It is designed to give full play to the characteristics and service capabilities of edge clouds and core clouds to achieve flexible, stable, fast and secure blockchain services, and is suitable for providing stable, fast and secure blockchain services for mobile devices.
附图说明Description of the drawings
附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体 实施方式一起用于解释本公开,但并不构成对本公开的限制。The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification. The embodiments are used together to explain the present disclosure, but do not constitute limitations to the present disclosure.
图1为本公开实施例提供的一种多区块链协同服务方法的流程图;Figure 1 is a flow chart of a multi-blockchain collaborative service method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的另一种多区块链协同服务方法的流程图;Figure 2 is a flow chart of another multi-blockchain collaborative service method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的又一种多区块链协同服务方法的流程图;Figure 3 is a flow chart of yet another multi-blockchain collaborative service method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种主区块链服务系统的结构示意图;Figure 4 is a schematic structural diagram of a main blockchain service system provided by an embodiment of the present disclosure;
图5为本公开实施例提供的一种从区块链服务系统的结构示意图;Figure 5 is a schematic structural diagram of a slave blockchain service system provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种协同服务系统的系统组成示意图;Figure 6 is a schematic diagram of the system composition of a collaborative service system provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种协同服务系统的逻辑结构示意图。Figure 7 is a schematic diagram of the logical structure of a collaborative service system provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.
如本公开所使用的,术语“和/或”包括一个或多个相关列举条目的任何和全部组合。As used in this disclosure, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本公开所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本公开所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。The terminology used in this disclosure is for describing particular embodiments only and is not intended to limit the disclosure. As used in this disclosure, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
当本公开中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。When the terms "comprising" and/or "made of" are used in this disclosure, the presence of the stated features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or addition of one or more other Features, integers, steps, operations, elements, components and/or groups thereof.
本公开所述实施例可借助本公开的理想示意图而参考平面图和/或截面图进行描述。因此,可根据制造技术和/或容限来修改示例图示。Embodiments of the present disclosure may be described with reference to plan and/or cross-sectional illustrations, in conjunction with idealized schematic illustrations of the present disclosure. Accordingly, example illustrations may be modified based on manufacturing techniques and/or tolerances.
除非另外限定,否则本公开所用的全部术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本公开明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present disclosure, and will not be construed as having idealized or excessive formal meanings, Unless the disclosure is expressly so limited.
图1为本公开实施例提供的一种多区块链协同服务方法的流程图。其中,该多区块链包括主区块链服务系统和至少一个从区块链服务系统。其中,主区块链服务系统是指基本的区块链服务系统,主区块链服务系统用于在没有从区块链服务系统时,为区块链客户端提供区块链服务,还用于为从区块链服务系统提供数据同步服务;从区块链服务系统,是指动态的区块链服务系统,该从区块链服务系统保持与主区块链服务系统全部或部分数据同步,为区块链客户端提供区块链服务;从区块链服务系统可以动态创建和销毁,其保存的数据与主区块链服务系统动态同步,并且该数据也可以被动态销毁。Figure 1 is a flow chart of a multi-blockchain collaborative service method provided by an embodiment of the present disclosure. Among them, the multi-blockchain includes a master blockchain service system and at least one slave blockchain service system. Among them, the main blockchain service system refers to the basic blockchain service system. The main blockchain service system is used to provide blockchain services to the blockchain client when there is no slave blockchain service system. It is also used To provide data synchronization services for the slave blockchain service system; the slave blockchain service system refers to a dynamic blockchain service system that maintains all or part of the data synchronization with the main blockchain service system , providing blockchain services to blockchain clients; the slave blockchain service system can be dynamically created and destroyed, and the data it saves is dynamically synchronized with the main blockchain service system, and the data can also be dynamically destroyed.
需要说明的是,传统的区块链服务,通常部署在云端上(云侧)和/或终端(端侧)。当区块链服务的区块链节点全部都部署在端侧时,区块链节点之间的网络通信质量和效率通常会受到所在终端的网络状况影响。当区块链节点都部署在云侧时,区块链客户端和区块链节点之间的网络通信质量和效率通常会受到终端的网络状态和区块链节点及核心云的服务能力的影响。 It should be noted that traditional blockchain services are usually deployed on the cloud (cloud side) and/or terminals (device side). When all blockchain nodes of the blockchain service are deployed on the terminal side, the quality and efficiency of network communication between blockchain nodes are usually affected by the network conditions of the terminals where they are located. When blockchain nodes are deployed on the cloud side, the quality and efficiency of network communication between the blockchain client and the blockchain node are usually affected by the network status of the terminal and the service capabilities of the blockchain node and the core cloud. .
因此,本公开实施例提供的多区块链协同服务方法中,主区块链服务系统可以部署在核心云中,从区块链服务系统可以部署在靠近区块链终端的边缘云中,该区块链终端是指部署区块链客户端或者区块链节点的终端,可以是固网终端,也可以是移动网终端。把从区块链服务系统部署在边缘云中,可以发挥边缘云的优势。但由于通信网络的边缘云的存储和通信能力及网络覆盖能力有限,难以在每个边缘云中分配固定地资源(例如,存储空间)为每个区块链终端提供区块链服务,所以,从区块链服务系统需要动态地与主区块链服务系统同步数据,并动态管理同步的数据,以便为区块链终端提供区块链服务。Therefore, in the multi-blockchain collaborative service method provided by the embodiments of the present disclosure, the main blockchain service system can be deployed in the core cloud, and the slave blockchain service system can be deployed in the edge cloud close to the blockchain terminal. Blockchain terminal refers to the terminal where blockchain clients or blockchain nodes are deployed. It can be a fixed network terminal or a mobile network terminal. Deploying the blockchain service system in the edge cloud can take advantage of the edge cloud. However, due to the limited storage and communication capabilities and network coverage capabilities of the edge cloud of the communication network, it is difficult to allocate fixed resources (for example, storage space) in each edge cloud to provide blockchain services for each blockchain terminal. Therefore, The slave blockchain service system needs to dynamically synchronize data with the main blockchain service system and dynamically manage the synchronized data in order to provide blockchain services to the blockchain terminal.
本公开实施例提供的该多区块链协同服务方法应用于主区块链服务系统,该主区块链服务系统部署在核心云中。The multi-blockchain collaborative service method provided by the embodiment of the present disclosure is applied to the main blockchain service system, and the main blockchain service system is deployed in the core cloud.
如图1所示,该方法包括以下步骤S101-步骤S103。As shown in Figure 1, the method includes the following steps S101 to S103.
S101、基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云。S101. Based on the service access request sent by the blockchain client, determine the first edge cloud currently corresponding to the blockchain client.
其中,区块链客户端是组织或个人参与区块链服务的应用软件,该区块链客户端部署在区块链终端上,例如通过区块链客户端软件开发包(Software Development Kit,SDK)将区块链客户端部署在区块链终端上。区块链客户端通过与区块链节点交互以访问区块链服务。区块链节点是区块链服务系统的组成部分,是具体提供区块链服务能力的部分,区块链节点之间相互协作,实现和提供区块链服务。区块链服务系统是指提供区块链服务的应用系统,也称为区块链平台,区块链节点群体构成区块链服务系统。区块链服务或应用是指由区块链服务系统提供的区块链模式的服务或应用。Among them, the blockchain client is the application software for organizations or individuals to participate in blockchain services. The blockchain client is deployed on the blockchain terminal, such as through the blockchain client software development kit (SDK). ) Deploy the blockchain client on the blockchain terminal. Blockchain clients access blockchain services by interacting with blockchain nodes. Blockchain nodes are an integral part of the blockchain service system and are the part that specifically provides blockchain service capabilities. Blockchain nodes collaborate with each other to implement and provide blockchain services. The blockchain service system refers to the application system that provides blockchain services, also known as the blockchain platform. The blockchain node group constitutes the blockchain service system. Blockchain services or applications refer to blockchain model services or applications provided by the blockchain service system.
服务访问请求是区块链客户端发送的用于访问区块链服务的请求。该服务访问请求包括:区块链客户端标识、请求服务的类型、第一位置信息、区块链客户端所在的区块链终端的终端标识中的至少一种。其中,区块链客户端标识用于唯一标识该区块链客户端;请求服务的类型例如是存储类型、计算类型等;第一位置信息是该区块链客户端所在区块链终端的当前的位置信息。A service access request is a request sent by a blockchain client to access a blockchain service. The service access request includes: at least one of the blockchain client identifier, the type of requested service, the first location information, and the terminal identifier of the blockchain terminal where the blockchain client is located. Among them, the blockchain client identifier is used to uniquely identify the blockchain client; the type of requested service is, for example, storage type, calculation type, etc.; the first location information is the current location of the blockchain terminal where the blockchain client is located. location information.
在一个实施方式中,基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云的步骤,可以进一步包括:In one embodiment, the step of determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client may further include:
步骤一、基于该服务访问请求获取区块链客户端的第一位置信息。Step 1: Obtain the first location information of the blockchain client based on the service access request.
在一些实施中,在该服务访问请求包括第一位置信息的情况下,主区块链服务系统可以从该服务访问请求中提取第一位置信息。In some implementations, in the case where the service access request includes the first location information, the main blockchain service system may extract the first location information from the service access request.
在另一些实施例中,在该服务访问请求不包括第一位置信息的情况下,主区块链服务系统可以从该服务访问请求包括的终端标识确定区块链客户端所在区块链终端对应的通信功能实体,例如,通信网络的移动性管理功能实体,然后通过该通信功能实体获取区块链客户端所在区块链终端的第一位置信息。In other embodiments, when the service access request does not include the first location information, the main blockchain service system can determine from the terminal identifier included in the service access request that the blockchain terminal corresponding to the blockchain client is located. The communication function entity, for example, the mobility management function entity of the communication network, and then obtains the first location information of the blockchain terminal where the blockchain client is located through the communication function entity.
步骤二、基于该第一位置信息确定该区块链客户端当前对应的第一边缘云。Step 2: Determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
其中,该区块链客户端当前对应的第一边缘云可以是与所在区块链终端距离小于预 设距离的所有边缘云中性能最优的边缘云,还可以是与该区块链客户端所在的区块链终端距离最近的边缘云。Among them, the first edge cloud currently corresponding to the blockchain client may be less than a predetermined distance from the blockchain terminal where it is located. The edge cloud with the best performance among all edge clouds at a certain distance may also be the edge cloud closest to the blockchain terminal where the blockchain client is located.
在一个实施方式中,主区块链服务系统在接收到区块链客户端发送的服务访问请求之后,可以基于自身预置的服务策略判断是否支持主从协作模式的区块链服务模式。若主区块链服务系统不支持该主从协作模式的区块链服务模式,则主区块链服务系统可以直接为该区块链客户端提供区块链服务,也可以拒绝为该区块链客户端提供区块链服务。若该主区块链服务系统支持该主从协作模式的区块链服务模式,则可以执行上述步骤S101。通过该实施方式,能够有利于提高本公开实施例提供的多区块链协同服务方法应用于的主区块链服务系统的广泛性,有利于改善不支持主从协作模式的主区块链服务系统对服务访问请求的处理效率。In one implementation, after receiving the service access request sent by the blockchain client, the main blockchain service system can determine whether to support the blockchain service mode of the master-slave collaboration mode based on its own preset service policy. If the main blockchain service system does not support the master-slave collaboration model, the main blockchain service system can directly provide blockchain services to the blockchain client or reject the block. The chain client provides blockchain services. If the master blockchain service system supports the master-slave collaboration mode blockchain service mode, the above step S101 can be executed. Through this implementation, it can be beneficial to improve the breadth of the main blockchain service system to which the multi-blockchain collaborative service method provided by the embodiment of the present disclosure is applied, and it is beneficial to improve the main blockchain service that does not support the master-slave collaboration mode. How efficiently the system handles service access requests.
在一个实施方式中,在基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云之后,该方法还可以进一步包括:In one embodiment, after determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client, the method may further include:
步骤一、判断第一边缘云是否对应有第一从区块链服务系统。Step 1: Determine whether the first edge cloud corresponds to the first slave blockchain service system.
其中,第一边缘云对应的第一从区块链服务系统是部署在该第一边缘云中的用于提供区块链服务的从区块链服务系统。Wherein, the first slave blockchain service system corresponding to the first edge cloud is a slave blockchain service system deployed in the first edge cloud for providing blockchain services.
步骤二、在第一边缘云未对应有从区块链服务系统的情况下,向第一边缘云发送从区块链创建信息,以供第一边缘云创建第一从区块链服务系统。Step 2: If the first edge cloud does not correspond to the slave blockchain service system, send the slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave blockchain service system.
其中,从区块链创建信息是用于使第一边缘云创建第一从区块链服务系统的信息。Among them, the creation information from the blockchain is information used to enable the first edge cloud to create the first slave blockchain service system.
需要说明的是,本公开实施例中的第一边缘云中存在逻辑实体,该逻辑实体可以用于接收和处理主区块链服务系统发送的用于查找、创建、销毁从区块链服务系统的命令。It should be noted that there is a logical entity in the first edge cloud in the embodiment of the present disclosure, and the logical entity can be used to receive and process the information sent by the main blockchain service system for searching, creating, and destroying the slave blockchain service system. The command.
在一些实施例中,若第一边缘云最终未能创建第一从区块链服务系统,则主区块链服务系统可以直接为该区块链客户端提供区块链服务,也可以拒绝为区块链客户端提供区块链服务。In some embodiments, if the first edge cloud ultimately fails to create the first slave blockchain service system, the master blockchain service system can directly provide blockchain services to the blockchain client, or can refuse to provide blockchain services to the blockchain client. The blockchain client provides blockchain services.
步骤三、在第一边缘云对应有从区块链服务系统的情况下,执行下述步骤S102。Step 3: If the first edge cloud corresponds to the slave blockchain service system, perform the following step S102.
S102、向第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的第一区块链服务数据为区块链客户端提供区块链服务。S102. Send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first blockchain service data from the master blockchain service system. , and provide blockchain services to blockchain clients based on synchronized first blockchain service data.
其中,第一服务通知信息是用于使第一从区块链服务系统获知需要为区块链客户端提供区块链服务的通知信息,该第一服务通知信息可以包括区块链客户端标识、区块链客户端所在区块链终端的终端标识等信息。The first service notification information is notification information used to enable the first slave blockchain service system to learn that it needs to provide blockchain services to the blockchain client. The first service notification information may include a blockchain client identifier. , terminal identification and other information of the blockchain terminal where the blockchain client is located.
第一区块链服务数据是第一从区块链服务系统为该区块链客户端提供区块链服务需要用到的数据。该第一区块链服务数据可以包括:链上数据、链下数据、智能合约数据等至少一种数据,其中,链上数据是指区块链账本中的数据。链下数据是指与区块链账本中的数据相互关联、但存储在区块链账本外的数据。需要说明的是,在实际应用过程中,该第一区块链服务数据还可以根据实际需要进一步增加其他相关数据。The first blockchain service data is the data needed to provide blockchain services to the blockchain client from the blockchain service system. The first blockchain service data may include: at least one type of data such as on-chain data, off-chain data, and smart contract data, where the on-chain data refers to the data in the blockchain ledger. Off-chain data refers to data that is related to the data in the blockchain ledger but is stored outside the blockchain ledger. It should be noted that during actual application, the first blockchain service data can further add other relevant data according to actual needs.
S103、向区块链客户端返回请求响应信息,以供区块链客户端基于该请求响应信息 访问第一从区块链服务系统。S103. Return request response information to the blockchain client for the blockchain client to respond based on the request information. Access the first blockchain service system.
其中,请求响应信息是用于指示区块链客户端访问第一从区块链服务系统以获得区块链服务的信息,该请求响应信息可以包括第一从区块链服务系统标识、第一从区块链服务系统的IP地址等信息。The request response information is information used to instruct the blockchain client to access the first slave blockchain service system to obtain the blockchain service. The request response information may include the first slave blockchain service system identifier, the first slave blockchain service system identifier, and the first slave blockchain service system identifier. Information such as the IP address from the blockchain service system.
在一个实施方式中,区块链客户端基于该请求响应信息访问第一从区块链服务系统,该第一从区块链服务系统基于同步的第一区块链服务数据为区块链客户端提供区块链服务。In one implementation, the blockchain client accesses the first slave blockchain service system based on the request response information, and the first slave blockchain service system provides the blockchain client with the synchronized first blockchain service data based on the synchronized first blockchain service data. Provides blockchain services on the end.
在一个实施方式中,在向区块链客户端返回请求响应信息后,在第一从区块链服务系统为区块链客户端提供区块链服务的过程中,该方法还可以进一步包括:In one embodiment, after returning the request response information to the blockchain client, during the process of providing blockchain services to the blockchain client from the first slave blockchain service system, the method may further include:
步骤一、接收并存储第一从区块链服务系统发送的第二区块链服务数据。其中,第二区块链服务数据是第一从区块链服务系统为区块链客户端提供区块链服务的过程中生成的服务数据。Step 1: Receive and store the second blockchain service data sent from the first blockchain service system. Among them, the second blockchain service data is the first service data generated from the process of providing blockchain services to the blockchain client by the blockchain service system.
步骤二、响应于第一从区块链服务系统发送的数据同步请求,向该第一从区块链服务系统发送需要同步的数据。Step 2: In response to the data synchronization request sent by the first slave blockchain service system, send the data that needs to be synchronized to the first slave blockchain service system.
需要说明的是,对步骤的描述顺序并不构成对步骤执行顺序的限定。通过本实施方式,第一从区块链服务系统中的节点可以与主区块链服务系统中的节点持续同步数据,以使该第一从区块链服务系统向区块链客户端提供更优质的区块链服务,其中,同步数据可以是第一从区块链服务系统向主区块链服务系统上传数据,也可以是第一从区块链服务系统从主区块链服务系统中下载数据。It should be noted that the description order of the steps does not constitute a limitation on the execution order of the steps. Through this implementation, the nodes in the first slave blockchain service system can continuously synchronize data with the nodes in the master blockchain service system, so that the first slave blockchain service system provides updated data to the blockchain client. High-quality blockchain service, in which the synchronized data can be the first slave blockchain service system to upload data to the main blockchain service system, or it can be the first slave blockchain service system to upload data from the main blockchain service system Download data.
本公开实施例提供的应用于主区块链服务系统的多区块链协同服务方法,首先,基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云;然后,向该第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供该第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的第一区块链服务数据为区块链客户端提供区块链服务;最后,向区块链客户端返回请求响应信息,以供区块链客户端基于该请求响应信息访问第一从区块链服务系统,能够实现主区块链服务系统和从区块链服务系统的协同进而为区块链客户端提供区块链服务,并且,由于主区块链服务系统部署在核心网中,而从区块链服务系统部署在边缘云网络中,因此,该多区块链协同服务方法中主区块链服务系统和从区块链服务系统的协同工作有助于充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务,适用于为移动设备提供稳定、快速和安全的区块链服务。The multi-blockchain collaborative service method applied to the main blockchain service system provided by the embodiment of the present disclosure first determines the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client. ; Then, send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first block from the master blockchain service system. chain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data; finally, return request response information to the blockchain client for the blockchain client to use based on the request The response information accesses the first slave blockchain service system, which can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services for the blockchain client. Moreover, due to the master blockchain service The system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps It is designed to give full play to the characteristics and service capabilities of edge clouds and core clouds to achieve flexible, stable, fast and secure blockchain services, and is suitable for providing stable, fast and secure blockchain services for mobile devices.
图2为本公开实施例提供的另一种多区块链协同服务方法的流程图。在一个实施方式中,在向区块链客户端返回请求响应信息之后,如图2所示,该方法还包括:步骤S201-步骤S202。Figure 2 is a flow chart of another multi-blockchain collaborative service method provided by an embodiment of the present disclosure. In one implementation, after returning the request response information to the blockchain client, as shown in Figure 2, the method further includes: step S201-step S202.
步骤S201、在区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向第二边缘云对应的第二从区块链服务系统发送第二服务通知信息,以供第二从区块链服务系统从主区块链服务系统中同步第三区块链服务数据,并基于同步的第三区块 链服务数据为区块链客户端提供区块链服务。Step S201: When the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, send the second service notification information to the second slave blockchain service system corresponding to the second edge cloud, For the second slave blockchain service system to synchronize the third blockchain service data from the main blockchain service system and based on the synchronized third block Chain service data provides blockchain services to blockchain clients.
其中,第二边缘云可以是在区块链客户端所在的区块链终端的位置发生移动变更后,与该区块链终端当前距离最近的边缘云,或者是与该区块链终端距离小于预设距离的所有边缘云中性能最优的边缘云。第二边缘云对应的第二从区块链服务系统是部署在该第二边缘云中的用于提供区块链服务的从区块链服务系统。Among them, the second edge cloud can be the edge cloud that is closest to the blockchain terminal after the location of the blockchain terminal where the blockchain client is located changes, or the distance to the blockchain terminal is less than The best performing edge cloud among all edge clouds at a preset distance. The second slave blockchain service system corresponding to the second edge cloud is a slave blockchain service system deployed in the second edge cloud for providing blockchain services.
第三区块链服务数据是第二从区块链服务系统为该区块链客户端提供区块链服务需要用到的数据。The third blockchain service data is the data needed to provide blockchain services to the blockchain client from the second blockchain service system.
在一些实施例中,该第三区块链服务数据可以包括前述第一区块链服务数据、第二区块链服务数据,还可以包括来自第一从区块链服务系统的迁移数据。该迁移数据是第一从区块链服务系统为区块链客户端提供区块链服务的过程中生成的全部数据。In some embodiments, the third blockchain service data may include the aforementioned first blockchain service data and second blockchain service data, and may also include migration data from the first slave blockchain service system. This migration data is all data generated by the first blockchain service system in the process of providing blockchain services to blockchain clients.
在一些实施例中,第二服务通知信息还可以包括第一从区块链服务系统标识,以供该第二从区块链服务系统基于第一从区块链服务系统标识与该第一从区块链服务系统进行交互,以获得来自第一从区块链服务系统的迁移数据。In some embodiments, the second service notification information may also include the first slave blockchain service system identifier, so that the second slave blockchain service system can combine the first slave blockchain service system identifier with the first slave blockchain service system based on the first slave blockchain service system identifier. The blockchain service system interacts to obtain the migration data from the first slave blockchain service system.
需要说明的是,在第二边缘云未对应有第二从区块链服务系统的情况下,主区块链服务系统同样可以命令该第二边缘云构建对应的第二从区块链服务系统,具体过程详见前述实施例中第一边缘云创建第一从区块链服务系统的相关描述,此处不再赘述。It should be noted that when the second edge cloud does not correspond to the second slave blockchain service system, the main blockchain service system can also instruct the second edge cloud to build the corresponding second slave blockchain service system. , for the specific process, please refer to the relevant description of the first edge cloud creating the first slave blockchain service system in the previous embodiment, and will not be described again here.
在一个实施方式中,在区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向第二边缘云对应的第二从区块链服务系统发送第二服务通知信息之前,该方法还可以进一步包括:In one embodiment, when the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, the second service is sent to the second slave blockchain service system corresponding to the second edge cloud. Before notifying the information, the method may further include:
步骤一、接收第一从区块链服务系统发送的服务迁移提醒信息。Step 1: Receive the service migration reminder message sent from the first blockchain service system.
其中,服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息。该迁移数据是第一从区块链服务系统为区块链客户端提供区块链服务的过程中生成的全部数据。Among them, the service migration reminder information includes migration data and client location change reminder information. This migration data is all data generated by the first blockchain service system in the process of providing blockchain services to blockchain clients.
步骤二、响应于客户端位置变更提醒信息,获取区块链客户端的第二位置信息,并根据该第二位置信息确定区块链客户端当前对应的第二边缘云。Step 2: In response to the client location change reminder information, obtain the second location information of the blockchain client, and determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
其中,第二位置信息是该区块链客户端所在区块链终端在发生位置变更后的当前的位置信息。该区块链客户端当前对应的第二边缘云可以是当前距离该区块链客户端所在的区块链终端最近的边缘云,或者是与该区块链终端距离小于预设距离的所有边缘云中性能最优的边缘云。The second location information is the current location information of the blockchain terminal where the blockchain client is located after the location change occurs. The second edge cloud currently corresponding to the blockchain client may be the edge cloud currently closest to the blockchain terminal where the blockchain client is located, or all edges that are less than a preset distance from the blockchain terminal. The best-performing edge cloud in the cloud.
在另一个实施方式中,主区块链服务系统可以动态跟踪区块链客户端所在区块链终端的位置变化信息,以及时确定区块链客户端对应的边缘云是否由第一边缘云变更为第二边缘云。In another implementation, the main blockchain service system can dynamically track the location change information of the blockchain terminal where the blockchain client is located, and determine in a timely manner whether the edge cloud corresponding to the blockchain client has been changed from the first edge cloud. It is the second edge cloud.
在又一个实施方式中,区块链客户端所在区块链终端可以基于自身位置变化以及访问的区块链服务的质量变化,根据区块链终端当前对应的第二位置信息,重新连接主区块链服务系统,或者,向主区块链服务系统发送位置变更提醒信息,以便于迁移到更合适的边缘云中的从区块链服务系统。In another embodiment, the blockchain terminal where the blockchain client is located can reconnect to the main area based on changes in its own location and the quality of the accessed blockchain services, and based on the current corresponding second location information of the blockchain terminal. The blockchain service system, or, sends location change reminder information to the main blockchain service system to facilitate migration to a more appropriate slave blockchain service system in the edge cloud.
步骤S202、向区块链客户端返回服务变更提醒信息,以供区块链客户端基于服务 变更提醒信息访问第二从区块链服务系统。Step S202: Return service change reminder information to the blockchain client so that the blockchain client can provide services based on The change reminder information is accessed from the second slave blockchain service system.
其中,服务变更提醒信息是用于向区块链客户端表示区块链服务提供方发生变更的提醒信息。该服务变更提醒信息可以包括第二从区块链服务系统标识、第二从区块链服务系统的IP地址信息等。Among them, the service change reminder information is a reminder information used to indicate to the blockchain client that the blockchain service provider has changed. The service change reminder information may include the second slave blockchain service system identifier, the IP address information of the second slave blockchain service system, etc.
在一个实施方式中,在向区块链客户端返回服务变更提醒信息之后,该方法还可以进一步包括:向第一从区块链服务系统发送服务资源清除信息,以供第一从区块链服务系统基于服务资源清除信息清除与主区块链服务系统同步的第一区块链服务数据或者释放为所述区块链客户端提供区块链服务的服务资源。In one embodiment, after returning the service change reminder information to the blockchain client, the method may further include: sending service resource clearing information to the first slave blockchain service system for the first slave blockchain The service system clears the first blockchain service data synchronized with the main blockchain service system based on the service resource clearing information or releases the service resources that provide blockchain services for the blockchain client.
其中,服务资源清除信息是用于使第一从区块链服务系统清除与主区块链服务系统同步的第一区块链服务数据或者释放为区块链客户端提供区块链服务的服务资源的指令信息,即该服务资源清除信息是用于使第一从区块链服务系统按照服务策略销毁数据或者销毁该第一从区块链服务系统的指令。Among them, the service resource clearing information is used to enable the first slave blockchain service system to clear the first blockchain service data synchronized with the main blockchain service system or to release services that provide blockchain services to blockchain clients. The instruction information of the resource, that is, the service resource clearing information, is an instruction for causing the first slave blockchain service system to destroy data according to the service policy or to destroy the first slave blockchain service system.
在另一个实施方式中,第一从区块链服务系统在停止为任意区块链客户端提供区块链服务的情况下,该第一从区块链服务系统可以按照服务策略主动销毁数据和第一从区块链服务系统。In another embodiment, when the first slave blockchain service system stops providing blockchain services to any blockchain client, the first slave blockchain service system can actively destroy data and data according to the service policy. First from the blockchain service system.
在一个实施方式中,一个区块链客户端可能从一个边缘云服务区域移动到另一个边缘云服务区域。但在特殊情况下,例如,当区块链客户端在多个边缘云服务区域的交叉点处时,或者区块链客户端所在的区块链终端快速移动导致可能在较短的时间段内跨越多个边缘云服务区域时,可以在每个边缘云中都建立一个从区块链服务系统和相应的从区块链节点,新生成的从区块链服务系统和相应的从区块链节点可以一视同仁对待,此时,当确定区块链客户端的后继位置后,原有的和其它新生成的从区块链服务系统及区块链节点可以自动或被动销毁,以释放相应边缘云的资源,为其它的区块链客户端提供区块链服务时预留下可用资源。In one implementation, a blockchain client may move from one edge cloud service area to another edge cloud service area. But in special cases, for example, when the blockchain client is at the intersection of multiple edge cloud service areas, or the blockchain terminal where the blockchain client is located moves quickly, it may occur within a short period of time. When spanning multiple edge cloud service areas, a slave blockchain service system and corresponding slave blockchain nodes can be established in each edge cloud, and the newly generated slave blockchain service system and corresponding slave blockchain Nodes can be treated equally. At this time, when the successor location of the blockchain client is determined, the original and other newly generated slave blockchain service systems and blockchain nodes can be automatically or passively destroyed to release the corresponding edge cloud. Resources are reserved for other blockchain clients to provide blockchain services.
需要说明的是,一个从区块链服务系统及从区块链节点可以同时为多个边缘云对应的区块链客户端提供服务。也即,区块链客户端发生位置变化,从一个边缘云移动到另一个边缘云时,若提供区块链服务的从区块链服务系统及从区块链节点没有变化,则不需要重新查找、创建新的从区块链服务系统。It should be noted that a slave blockchain service system and slave blockchain node can simultaneously provide services for blockchain clients corresponding to multiple edge clouds. That is to say, when the location of the blockchain client changes and moves from one edge cloud to another, if the slave blockchain service system and slave blockchain nodes that provide blockchain services do not change, there is no need to re- Find and create new slave blockchain service systems.
本公开实施例提供的多区块链协同服务方法,在核心云中部署主区块链服务系统,在边缘云中部署从区块链服务系统,主区块链服务系统与从区块链服务系统协同,为区块链终端(客户端)提供区块链服务。在不同的边缘云中,可以部署不同的从区块链服务系统,这些从区块链服务系统都可以与主区块链服务系统同步数据。本公开实施例聚焦主区块链服务系统与从区块链服务系统的数据协同,以主从协同方式向区块链终端(客户端)提供区块链服务。其中,从区块链服务系统可以动态创建和销毁,从区块链服务系统的区块链节点以及数据也可以动态创建和销毁。区块链客户端在访问区块链服务时,可以根据情况(例如,位置发生变化)从一个从区块链服务系统中动态迁移到另一个从区块链服务系统,此时,两个从区块链服务系统可以提供无缝的区块链服务衔接。 The multi-blockchain collaborative service method provided by the disclosed embodiment deploys a master blockchain service system in the core cloud, deploys a slave blockchain service system in the edge cloud, and the master blockchain service system and slave blockchain services The system collaborates to provide blockchain services for blockchain terminals (clients). In different edge clouds, different slave blockchain service systems can be deployed, and these slave blockchain service systems can synchronize data with the main blockchain service system. This disclosed embodiment focuses on the data collaboration between the master blockchain service system and the slave blockchain service system, and provides blockchain services to blockchain terminals (clients) in a master-slave collaboration manner. Among them, the slave blockchain service system can be dynamically created and destroyed, and the blockchain nodes and data of the slave blockchain service system can also be dynamically created and destroyed. When the blockchain client accesses the blockchain service, it can dynamically migrate from one slave blockchain service system to another slave blockchain service system according to the situation (for example, the location changes). At this time, the two slave blockchain service systems The blockchain service system can provide seamless blockchain service connection.
图3为本公开实施例提供的又一种多区块链协同服务方法的流程图。该多区块链协同服务方法应用于从区块链服务系统,该从区块链服务系统部署在边缘云中,需要说明的是,该从区块链服务系统可以是前述实施例中的第一从区块链服务系统,也可以是第二从区块链服务系统。如图3所示,该方法包括:步骤S301-步骤S302。Figure 3 is a flow chart of yet another multi-blockchain collaborative service method provided by an embodiment of the present disclosure. This multi-blockchain collaborative service method is applied to a slave blockchain service system, which is deployed in the edge cloud. It should be noted that the slave blockchain service system may be the third one in the aforementioned embodiment. The first slave blockchain service system can also be the second slave blockchain service system. As shown in Figure 3, the method includes: step S301-step S302.
步骤S301、响应于主区块链服务系统发送的服务通知信息,从主区块链服务系统中同步区块链服务数据。Step S301: In response to the service notification information sent by the main blockchain service system, synchronize the blockchain service data from the main blockchain service system.
其中,服务通知信息是主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息。该服务通知信息可以包括区块链客户端标识、区块链客户端所在区块链终端的终端标识等信息。区块链服务数据是从区块链服务系统为该区块链客户端提供区块链服务需要用到的数据。该区块链服务数据可以包括:链上数据、链下数据、智能合约数据等至少一种数据,其中,链上数据是指区块链账本中的数据。链下数据是指与区块链账本中的数据相互关联、但存储在区块链账本外的数据。需要说明的是,在实际应用过程中,该第一区块链服务数据还可以根据实际需要进一步增加其他相关数据。Among them, the service notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance. The service notification information may include the blockchain client identifier, the terminal identifier of the blockchain terminal where the blockchain client is located, and other information. Blockchain service data is the data needed to provide blockchain services to the blockchain client from the blockchain service system. The blockchain service data may include at least one type of data such as on-chain data, off-chain data, and smart contract data, where the on-chain data refers to the data in the blockchain ledger. Off-chain data refers to data that is related to the data in the blockchain ledger but is stored outside the blockchain ledger. It should be noted that during actual application, the first blockchain service data can further add other relevant data according to actual needs.
步骤S302、在与服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的区块链服务数据为区块链客户端提供区块链服务。Step S302: When the blockchain client corresponding to the service notification information accesses the slave blockchain service system, provide blockchain services to the blockchain client based on the synchronized blockchain service data.
在一个实施方式中,从区块链服务系统在基于同步的区块链服务数据为区块链客户端提供区块链服务的过程中,可以动态跟踪区块链客户端所在区块链终端的位置变化信息,以判断区块链客户端所在区块链终端是否移动到其它边缘云。In one embodiment, in the process of providing blockchain services to blockchain clients based on synchronized blockchain service data, the slave blockchain service system can dynamically track the location of the blockchain terminal where the blockchain client is located. Location change information to determine whether the blockchain terminal where the blockchain client is located has moved to other edge clouds.
在一个实施方式中,在与服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的区块链服务数据为区块链客户端提供区块链服务之后,该方法还可以进一步包括:In one embodiment, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, after providing the blockchain service to the blockchain client based on the synchronized blockchain service data, The method may further include:
在区块链客户端所在区块链终端移动到其它边缘云的情况下,向主区块链服务系统发送服务迁移提醒信息,其中,服务迁移提醒信息可以包括迁移数据和客户端位置变更提醒信息,以供主区块链服务系统在确定区块链客户端对应的边缘云发生变更的情况下,向变更后的边缘云对应的从区块链服务系统发送服务通知信息。When the blockchain terminal where the blockchain client is located moves to another edge cloud, service migration reminder information is sent to the main blockchain service system. The service migration reminder information can include migration data and client location change reminder information. , so that when the main blockchain service system determines that the edge cloud corresponding to the blockchain client has changed, it can send service notification information to the slave blockchain service system corresponding to the changed edge cloud.
其中,迁移数据是从区块链服务系统为区块链客户端提供区块链服务的过程中生成的全部数据。客户端位置变更提醒信息用于提醒主区块链服务系统区块链客户端所在区块链终端的位置发生了变更,以供主区块链服务系统响应于客户端位置变更提醒信息,获取区块链客户端所在区块链终端的当前的位置信息,并根据区块链客户端所在区块链终端的当前的位置信息确定区块链客户端当前对应的边缘云,进而主区块链服务系统向区块链客户端发送服务变更提醒信息,以供区块链客户端基于服务变更提醒信息访问其他的从区块链服务系统。Among them, migration data is all data generated from the process of providing blockchain services to blockchain clients by the blockchain service system. The client location change reminder information is used to remind the main blockchain service system that the location of the blockchain terminal where the blockchain client is located has changed, so that the main blockchain service system can obtain the area in response to the client location change reminder information. The current location information of the blockchain terminal where the blockchain client is located, and the current corresponding edge cloud of the blockchain client is determined based on the current location information of the blockchain terminal where the blockchain client is located, and then the main blockchain service The system sends service change reminder information to the blockchain client so that the blockchain client can access other slave blockchain service systems based on the service change reminder information.
在一个实施方式中,在向主区块链服务系统发送服务迁移提醒信息之后,该方法还可以进一步包括:在停止为区块链客户端提供区块链服务的情况下,执行销毁操作,以释放从区块链服务系统占用的边缘云的资源。In one implementation, after sending the service migration reminder information to the main blockchain service system, the method may further include: when stopping providing blockchain services to the blockchain client, performing a destruction operation to Release edge cloud resources occupied from the blockchain service system.
本公开实施例提供的应用于从区块链服务系统的多区块链协同服务方法,首先,响 应于主区块链服务系统发送的服务通知信息,从主区块链服务系统中同步区块链服务数据,其中,服务通知信息是主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;然后,在与服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的区块链服务数据为区块链客户端提供区块链服务,能够实现主区块链服务系统和从区块链服务系统的协同进而为区块链客户端提供区块链服务,并且,由于主区块链服务系统部署在核心网中,而从区块链服务系统部署在边缘云网络中,因此,该多区块链协同服务方法中主区块链服务系统和从区块链服务系统的协同工作有助于充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务,适用于为移动设备提供稳定、快速和安全的区块链服务。The multi-blockchain collaborative service method applied to the slave blockchain service system provided by the embodiment of the present disclosure, first of all, affects Synchronize the blockchain service data from the main blockchain service system in response to the service notification information sent by the main blockchain service system, where the service notification information is based on the blockchain client received in advance by the main blockchain service system The information sent by the service access request is sent; then, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, the blockchain client is provided with a zone based on the synchronized blockchain service data. Blockchain services can realize the collaboration between the main blockchain service system and the slave blockchain service system to provide blockchain services for blockchain clients. Moreover, since the main blockchain service system is deployed in the core network, The slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in this multi-blockchain collaborative service method helps to give full play to the edge cloud and core cloud. Features and service capabilities to achieve flexible, stable, fast and secure blockchain services, suitable for providing stable, fast and secure blockchain services for mobile devices.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The steps of the various methods above are divided just for the purpose of clear description. During implementation, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process without changing the core design of the algorithm and process are within the scope of protection of this patent.
图4为本公开实施例提供的一种主区块链服务系统的结构示意图。该主区块链服务系统部署在核心云中,如图4所示,该主区块链服务系统40包括:确定模块41、第一发送模块42和第二发送模块43。Figure 4 is a schematic structural diagram of a main blockchain service system provided by an embodiment of the present disclosure. The main blockchain service system is deployed in the core cloud. As shown in Figure 4, the main blockchain service system 40 includes: a determination module 41, a first sending module 42 and a second sending module 43.
其中,确定模块41,其被配置为基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云。Among them, the determination module 41 is configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client.
第一发送模块42,其被配置为向第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的第一区块链服务数据为区块链客户端提供区块链服务。The first sending module 42 is configured to send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can obtain the information from the master blockchain service system. Synchronize the first blockchain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data.
第二发送模块43,其被配置为向区块链客户端返回请求响应信息,以供区块链客户端基于请求响应信息访问第一从区块链服务系统。The second sending module 43 is configured to return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
在一个实施方式中,主区块链服务系统还可以进一步包括第一判断模块。In one implementation, the main blockchain service system may further include a first judgment module.
其中,第一判断模块被配置为判断第一边缘云是否对应有第一从区块链服务系统。Wherein, the first judgment module is configured to judge whether the first edge cloud corresponds to the first slave blockchain service system.
上述第一发送模块42,还被配置为在第一边缘云未对应有从区块链服务系统的情况下,向第一边缘云发送从区块链创建信息,以供第一边缘云创建第一从区块链服务系统。The above-mentioned first sending module 42 is also configured to send the slave blockchain creation information to the first edge cloud when the first edge cloud does not correspond to the slave blockchain service system, so that the first edge cloud can create the second blockchain service system. One from the blockchain service system.
在一个实施方式中,主区块链服务系统40还可以进一步包括第一接收模块和第一存储模块。该第一接收模块被配置为接收第一从区块链服务系统发送的第二区块链服务数据,其中,第二区块链服务数据是第一从区块链服务系统为区块链客户端提供区块链服务的过程中生成的服务数据。第一存储模块被配置为存储该第二区块链服务数据。In one embodiment, the main blockchain service system 40 may further include a first receiving module and a first storage module. The first receiving module is configured to receive the second blockchain service data sent by the first slave blockchain service system, wherein the second blockchain service data is the first slave blockchain service system for the blockchain client. Service data generated during the process of providing blockchain services. The first storage module is configured to store the second blockchain service data.
在一个实施方式中,上述确定模块41,被配置为基于服务访问请求获取区块链客户端的第一位置信息;基于第一位置信息确定区块链客户端当前对应的第一边缘云。In one embodiment, the above-mentioned determination module 41 is configured to obtain the first location information of the blockchain client based on the service access request; and determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
在一个实施方式中,上述第一发送模块42,还被配置为在区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向第二边缘云对应的第二从区块链服务系统发送第二服务通知信息,以供第二从区块链服务系统从主区块链服务系统中同步第三 区块链服务数据,并基于同步的第三区块链服务数据为区块链客户端提供区块链服务。上述第二发送模块43,还被配置为向区块链客户端返回服务变更提醒信息,以供区块链客户端基于服务变更提醒信息访问第二从区块链服务系统。In one embodiment, the above-mentioned first sending module 42 is also configured to send a message to the third edge cloud corresponding to the second edge cloud when the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud. The second slave blockchain service system sends the second service notification information for the second slave blockchain service system to synchronize the third slave blockchain service system with the main blockchain service system. Blockchain service data, and provide blockchain services to the blockchain client based on the synchronized third blockchain service data. The above-mentioned second sending module 43 is also configured to return service change reminder information to the blockchain client, so that the blockchain client can access the second slave blockchain service system based on the service change reminder information.
在一个实施方式中,主区块链服务系统40还可以进一步包括第一获取模块。In one implementation, the main blockchain service system 40 may further include a first acquisition module.
上述第一接收模块,还被配置为接收第一从区块链服务系统发送的服务迁移提醒信息,该服务迁移提醒信息可以包括迁移数据和客户端位置变更提醒信息。The above-mentioned first receiving module is also configured to receive the first service migration reminder information sent from the blockchain service system. The service migration reminder information may include migration data and client location change reminder information.
第一获取模块,被配置为响应于客户端位置变更提醒信息,获取区块链客户端的第二位置信息。The first acquisition module is configured to acquire the second location information of the blockchain client in response to the client location change reminder information.
上述确定模块41,还被配置为根据第二位置信息确定区块链客户端当前对应的第二边缘云。The above-mentioned determination module 41 is also configured to determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
在一个实施方式中,上述第一发送模块42,还被配置为向第一从区块链服务系统发送服务资源清除信息,以供第一从区块链服务系统基于服务资源清除信息清除从主区块链服务系统同步的第一区块链服务数据或者释放为区块链客户端提供区块链服务的服务资源。In one embodiment, the above-mentioned first sending module 42 is also configured to send service resource clearing information to the first slave blockchain service system, so that the first slave blockchain service system clears the slave master based on the service resource clearing information. The first blockchain service data synchronized by the blockchain service system or the service resources that provide blockchain services for the blockchain client are released.
需要明确的是,本公开并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。To be clear, the present disclosure is not limited to the specific configurations and processes described in the embodiments above and illustrated in the figures. For the convenience and simplicity of description, detailed descriptions of known methods are omitted here, and for the specific working processes of the systems, modules and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be described again here.
本公开实施例提供的主区块链服务系统,确定模块被配置为基于区块链客户端发送的服务访问请求,确定区块链客户端当前对应的第一边缘云;第一发送模块被配置为向该第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供该第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的第一区块链服务数据为区块链客户端提供区块链服务;第二发送模块被配置为向区块链客户端返回请求响应信息,以供区块链客户端基于该请求响应信息访问第一从区块链服务系统,能够实现主区块链服务系统和从区块链服务系统的协同进而为区块链客户端提供区块链服务,并且,由于主区块链服务系统部署在核心网中,而从区块链服务系统部署在边缘云网络中,因此,本公开实施例中主区块链服务系统和从区块链服务系统的协同工作有助于充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务,适用于为移动设备提供稳定、快速和安全的区块链服务。In the main blockchain service system provided by the embodiment of the present disclosure, the determination module is configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client; the first sending module is configured To send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first blockchain service from the master blockchain service system. data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data; the second sending module is configured to return request response information to the blockchain client for the blockchain client Accessing the first slave blockchain service system based on the request response information can realize the coordination of the master blockchain service system and the slave blockchain service system to provide blockchain services to the blockchain client, and, because the master zone The blockchain service system is deployed in the core network, while the slave blockchain service system is deployed in the edge cloud network. Therefore, the collaborative work of the master blockchain service system and the slave blockchain service system in the embodiment of the present disclosure is helpful Give full play to the characteristics and service capabilities of the edge cloud and core cloud to achieve flexible, stable, fast and secure blockchain services. It is suitable for providing stable, fast and secure blockchain services for mobile devices.
图5为本公开实施例提供的一种从区块链服务系统的结构示意图。该从区块链服务系统部署在边缘云中,如图5所示,从区块链服务系统50包括:同步模块51和处理模块52。Figure 5 is a schematic structural diagram of a slave blockchain service system provided by an embodiment of the present disclosure. The slave blockchain service system is deployed in the edge cloud. As shown in Figure 5, the slave blockchain service system 50 includes: a synchronization module 51 and a processing module 52.
其中,同步模块51,其被配置为响应于主区块链服务系统发送的服务通知信息,从主区块链服务系统中同步区块链服务数据。Among them, the synchronization module 51 is configured to synchronize the blockchain service data from the main blockchain service system in response to the service notification information sent by the main blockchain service system.
其中,服务通知信息是主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息。 Among them, the service notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance.
处理模块52,其被配置为在与服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的区块链服务数据为区块链客户端提供区块链服务。The processing module 52 is configured to provide blockchain services to the blockchain client based on the synchronized blockchain service data when the blockchain client corresponding to the service notification information accesses the slave blockchain service system. .
在一个实施方式中,该从区块链服务系统50还可以进一步包括第三发送模块。该第三发送模块被配置为向主区块链服务系统发送服务迁移提醒信息,该服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息,以供主区块链服务系统在确定区块链客户端对应的边缘云发生变更的情况下,向变更后的边缘云对应的从区块链服务系统发送服务通知信息。In one embodiment, the slave blockchain service system 50 may further include a third sending module. The third sending module is configured to send service migration reminder information to the main blockchain service system. The service migration reminder information includes migration data and client location change reminder information for the main blockchain service system to determine the blockchain. When the edge cloud corresponding to the client changes, service notification information is sent to the slave blockchain service system corresponding to the changed edge cloud.
在一个实施方式中,该从区块链服务系统50还可以进一步包括主动清除模块。该主动清除模块被配置为在从区块链服务系统停止为区块链客户端提供区块链服务的情况下,执行销毁操作,以释放从区块链服务系统占用的边缘云的资源。In one embodiment, the slave blockchain service system 50 may further include an active clearing module. The active clearing module is configured to perform a destruction operation to release the resources of the edge cloud occupied by the blockchain service system when the blockchain service system stops providing blockchain services to the blockchain client.
需要明确的是,本公开并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应的过程,在此不再赘述。To be clear, the present disclosure is not limited to the specific configurations and processes described in the embodiments above and illustrated in the figures. For the convenience and simplicity of description, detailed descriptions of known methods are omitted here, and for the specific working processes of the systems, modules and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be described again here.
本公开实施例提供的从区块链服务系统,同步模块被配置为响应于主区块链服务系统发送的服务通知信息,从主区块链服务系统中同步区块链服务数据,其中,服务通知信息是主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;处理模块被配置为在与服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的区块链服务数据为区块链客户端提供区块链服务,能够实现主区块链服务系统和从区块链服务系统的协同进而为区块链客户端提供区块链服务,并且,由于主区块链服务系统部署在核心网中,而从区块链服务系统部署在边缘云网络中,因此,本公开实施例中主区块链服务系统和从区块链服务系统的协同工作有助于充分发挥边缘云和核心云的特性和服务能力,实现富有弹性、稳定、快速和安全的区块链服务,适用于为移动设备提供稳定、快速和安全的区块链服务。In the slave blockchain service system provided by the embodiment of the present disclosure, the synchronization module is configured to respond to the service notification information sent by the master blockchain service system, and synchronize the blockchain service data from the master blockchain service system, where, the service The notification information is information sent by the main blockchain service system based on the service access request sent by the blockchain client received in advance; the processing module is configured to access the slave blockchain service on the blockchain client corresponding to the service notification information. In the case of the system, blockchain services are provided to the blockchain client based on synchronized blockchain service data, which can realize the collaboration between the main blockchain service system and the slave blockchain service system to provide blockchain clients with Blockchain service, and because the main blockchain service system is deployed in the core network and the slave blockchain service system is deployed in the edge cloud network, therefore, in the embodiment of the present disclosure, the main blockchain service system and the slave area The collaborative work of the blockchain service system helps to give full play to the characteristics and service capabilities of the edge cloud and core cloud to achieve flexible, stable, fast and secure blockchain services, which is suitable for providing stable, fast and secure mobile devices. Blockchain services.
图6为本公开实施例提供的一种协同服务系统的系统组成示意图。该协同服务系统包括:至少一个区块链客户端61、至少一个主区块链服务系统62和至少一个从区块链服务系统63。Figure 6 is a schematic diagram of the system composition of a collaborative service system provided by an embodiment of the present disclosure. The collaborative service system includes: at least one blockchain client 61, at least one master blockchain service system 62, and at least one slave blockchain service system 63.
其中,区块链客户端61部署在区块链终端上,该区块链终端例如电脑、手机等。各主区块链服务系统62部署在核心云上,各主区块链服务系统62之间可以进行通信连接。各从区块链服务系统63部署在边缘云上,各从区块链服务系统63之间可以通过主区块链服务系统62进行交互,也可以直接进行交互。Among them, the blockchain client 61 is deployed on a blockchain terminal, such as a computer, a mobile phone, etc. Each main blockchain service system 62 is deployed on the core cloud, and communication connections can be made between each main blockchain service system 62. Each slave blockchain service system 63 is deployed on the edge cloud, and each slave blockchain service system 63 can interact with each other through the master blockchain service system 62 or directly.
需要说明的是,该区块链客户端、主区块链服务系统和从区块链服务系统的工作方式详见前述实施例中相关的描述,此处不再赘述。It should be noted that the working methods of the blockchain client, the main blockchain service system and the slave blockchain service system are detailed in the relevant descriptions in the foregoing embodiments, and will not be described again here.
图7为本公开实施例提供的一种协同服务系统的逻辑结构示意图。该协同服务系统包括:至少一个区块链客户端61、至少一个主区块链服务系统62和至少一个从区块链服务系统63。 Figure 7 is a schematic diagram of the logical structure of a collaborative service system provided by an embodiment of the present disclosure. The collaborative service system includes: at least one blockchain client 61, at least one master blockchain service system 62, and at least one slave blockchain service system 63.
其中,区块链客户端61部署于区块链终端上。该区块链终端上还包括区块链客户端SDK。主从区块链的逻辑架构对区块链客户端61或者区块链终端是透明的。区块链客户端61可以根据指定的信息(例如区块链服务系统的IP地址、端口等)或者自己的位置信息连接指定区块链服务系统,以获得区块链服务。对于区块链客户端61而言,可以不需要知晓是主区块链服务系统还是从区块链服务系统在提供区块链服务。Among them, the blockchain client 61 is deployed on the blockchain terminal. The blockchain client SDK is also included on this blockchain terminal. The logical architecture of the master-slave blockchain is transparent to the blockchain client 61 or blockchain terminal. The blockchain client 61 can connect to the designated blockchain service system according to designated information (such as the IP address, port, etc. of the blockchain service system) or its own location information to obtain blockchain services. For the blockchain client 61, there is no need to know whether the main blockchain service system or the slave blockchain service system is providing blockchain services.
在一个实施方式中,主区块链服务系统62可以包括:第一链上数据同步模块621、第一链下数据同步模块622、第一合约同步模块623、第一主从协同模块624、第一区块链服务能力模块625中的至少一个。主区块链服务系统62可以与从区块链服务系统63采用相同或类似的数据存储模式,存储的数据包括链上数据、链下数据和智能合约数据等。In one implementation, the main blockchain service system 62 may include: a first on-chain data synchronization module 621, a first off-chain data synchronization module 622, a first contract synchronization module 623, a first master-slave collaboration module 624, At least one of the blockchain service capability modules 625. The master blockchain service system 62 can adopt the same or similar data storage mode as the slave blockchain service system 63. The stored data includes on-chain data, off-chain data, smart contract data, etc.
其中,第一链上数据同步模块621,被配置为支持与从区块链服务系统63(或者从区块链服务系统中的从区块链节点)的第二链上数据同步模块交互,以实现与从区块链服务系统63之间的链上数据同步(全部或部分链上数据)。链上数据通常是指区块链账本中的数据。该同步指的是从区块链服务系统63的从区块链节点从主区块链服务系统62的主区块链节点下载链上数据,以及从区块链服务系统63的从区块链节点向主区块链服务系统62的主区块链节点上传链上数据。Among them, the first on-chain data synchronization module 621 is configured to support interaction with the second on-chain data synchronization module of the slave blockchain service system 63 (or the slave blockchain node in the slave blockchain service system) to Realize on-chain data synchronization (all or part of the on-chain data) with the slave blockchain service system 63. On-chain data usually refers to data in the blockchain ledger. This synchronization refers to the downloading of on-chain data from the slave blockchain node of the blockchain service system 63 from the master blockchain node of the master blockchain service system 62, and the downloading of on-chain data from the slave blockchain node of the blockchain service system 63. The node uploads on-chain data to the main blockchain node of the main blockchain service system 62 .
在一些实施例中,在主从区块链服务系统之间同步链上数据时,从区块链服务系统63需要向主区块链服务系统62提交同步的链上数据的范围(例如,时间范围、区域范围、用户范围等),以及是上传还是下载等。主从区块链服务系统在同步数据时,需要有相互的身份认证以及数据的检验,以保证数据和系统的安全。In some embodiments, when synchronizing on-chain data between the master and slave blockchain service systems, the slave blockchain service system 63 needs to submit the range of synchronized on-chain data (for example, time) to the master blockchain service system 62 scope, regional scope, user scope, etc.), and whether to upload or download, etc. When synchronizing data, the master-slave blockchain service system requires mutual identity authentication and data verification to ensure the security of the data and system.
第一链下数据同步模块622,被配置为支持与从区块链服务系统的第二链下数据同步模块交互,以实现区块链的链下数据同步(全部或部分链下数据)。链下数据通常是指区块链账本外的数据,这些数据又与区块链账本中的数据相互关联。该同步指的是从区块链服务系统从主区块链服务系统下载链下数据,以及从区块链服务系统向主区块链服务系统上传链下数据。在主从区块链服务系统之间同步链下数据时,从区块链服务系统需要向主区块链服务系统提交同步的链下数据的范围(例如,时间范围、区域范围、用户范围等),以及是上传还是下载等。主从区块链服务系统在同步数据时,需要有相互的身份认证以及数据的检验,以保证数据和系统的安全。在主从区块链服务系统的链上数据同步时,相应的链下数据也需要同步。The first off-chain data synchronization module 622 is configured to support interaction with the second off-chain data synchronization module of the slave blockchain service system to achieve off-chain data synchronization of the blockchain (all or part of the off-chain data). Off-chain data usually refers to data outside the blockchain ledger, which is in turn correlated with data in the blockchain ledger. This synchronization refers to downloading off-chain data from the blockchain service system to the main blockchain service system, and uploading off-chain data from the blockchain service system to the main blockchain service system. When synchronizing off-chain data between the master and slave blockchain service systems, the slave blockchain service system needs to submit the scope of synchronized off-chain data to the master blockchain service system (for example, time range, regional range, user range, etc. ), and whether to upload or download, etc. When synchronizing data, the master-slave blockchain service system requires mutual identity authentication and data verification to ensure the security of the data and system. When the on-chain data of the master-slave blockchain service system is synchronized, the corresponding off-chain data also needs to be synchronized.
第一合约同步模块623,支持与从区块链服务系统的从区块链节点同步智能合约,以实现主从区块链服务系统的智能合约的同步。一般来说,智能合约可以先部署在主区块链服务系统上,也可以先部署在从区块链服务系统上。主从区块链服务系统之间同步智能合约及相关信息。The first contract synchronization module 623 supports synchronization of smart contracts with slave blockchain nodes of the slave blockchain service system to achieve synchronization of smart contracts of the master-slave blockchain service system. Generally speaking, smart contracts can be deployed on the main blockchain service system first or on the slave blockchain service system first. Synchronize smart contracts and related information between master-slave blockchain service systems.
第一主从协同模块624,被配置为根据区块链客户端的服务访问请求(包括服务类型、位置信息等信息),动态通知边缘云创建从区块链服务系统及其区块链节点,以及通知从区块链服务系统及其区块链节点为区块链客户端提供区块链服务。需要说明的是, 在边缘云中,存在逻辑实体可以接收第一主从协同模块624的控制信息,并按照控制信息创建和配置从区块链服务系统及其区块链节点,当从区块链服务系统及其区块链节点创建和配置完成后,从区块链服务系统及其区块链节点可以自己与主区块链服务系统协同。该边缘云中的逻辑实体,还可以接收第一主从协同模块624的其他控制信息,以增加或销毁从区块链节点或从区块链服务系统。The first master-slave collaboration module 624 is configured to dynamically notify the edge cloud to create a slave blockchain service system and its blockchain nodes according to the service access request of the blockchain client (including service type, location information and other information), and Notifications provide blockchain services to blockchain clients from the blockchain service system and its blockchain nodes. It should be noted, In the edge cloud, there is a logical entity that can receive the control information of the first master-slave collaboration module 624, and create and configure the slave blockchain service system and its blockchain nodes according to the control information. When the slave blockchain service system and its blockchain nodes After the creation and configuration of the blockchain node is completed, the slave blockchain service system and its blockchain nodes can collaborate with the main blockchain service system. The logical entity in the edge cloud can also receive other control information from the first master-slave collaboration module 624 to add or destroy slave blockchain nodes or slave blockchain service systems.
第一区块链服务能力模块625,被配置为提供区块链相关的服务能力(传统区块链本身的服务能力),包括与其它主区块链服务系统的区块链节点的交互能力等。The first blockchain service capability module 625 is configured to provide blockchain-related service capabilities (service capabilities of the traditional blockchain itself), including interaction capabilities with blockchain nodes of other main blockchain service systems, etc. .
在一个实施方式中,从区块链服务系统63包括:第二链上数据同步模块631、第二链下数据同步模块632、第二合约同步模块633、同步管理模块634、数据迁移模块635、第二区块链服务能力模块636。主区块链服务系统62与从区块链服务系统63采用相同或类似的数据存储模式,存储的数据包括链上数据、链下数据和智能合约数据等。不同的从区块链服务系统63之间可以同步数据,各从区块链服务系统63之间也采用相同或类似的数据存储模式。In one embodiment, the slave blockchain service system 63 includes: a second on-chain data synchronization module 631, a second off-chain data synchronization module 632, a second contract synchronization module 633, a synchronization management module 634, and a data migration module 635. The second blockchain service capability module 636. The master blockchain service system 62 and the slave blockchain service system 63 adopt the same or similar data storage mode, and the stored data includes on-chain data, off-chain data, smart contract data, etc. Data can be synchronized between different slave blockchain service systems 63, and the same or similar data storage mode is also adopted between each slave blockchain service system 63.
第二链上数据同步模块631,支持与主区块链服务系统的第一链上数据同步模块交互,以实现与主区块链服务系统的链上数据同步。该同步包括从主区块链节点下载链上数据,以及向主区块链节点上传链上数据。The second on-chain data synchronization module 631 supports interaction with the first on-chain data synchronization module of the main blockchain service system to achieve on-chain data synchronization with the main blockchain service system. This synchronization includes downloading on-chain data from the main blockchain node and uploading on-chain data to the main blockchain node.
第二链下数据同步模块632,支持与主区块链服务系统的第一链下数据同步模块交互,以实现与主从区块链服务系统的链下数据同步。其中,该同步指的是从主区块链节点下载链下数据,以及向主区块链节点上传链下数据。The second off-chain data synchronization module 632 supports interaction with the first off-chain data synchronization module of the master blockchain service system to achieve off-chain data synchronization with the master-slave blockchain service system. Among them, this synchronization refers to downloading off-chain data from the main blockchain node and uploading off-chain data to the main blockchain node.
第二合约同步模块633,支持与主区块链服务系统的主区块链节点同步智能合约,以实现主从区块链服务系统的智能合约的同步。The second contract synchronization module 633 supports smart contract synchronization with the main blockchain node of the main blockchain service system to achieve synchronization of smart contracts in the master-slave blockchain service system.
数据迁移模块635,支撑与除所在从区块链服务系统外的其它从区块链服务系统同步迁移数据,同步的迁移数据包括链上数据、链下数据、合约数据,以及服务现场数据等。其中,服务现场数据是该从区块链服务系统在为区块链客户端提供区块链服务时产生的上下文信息,例如运行参数、环境变量等信息。不同的从区块链服务系统之间,可以同步该上下文信息,以为区块链客户端发生迁移时提供无缝区块链服务。不同从区块链服务系统之间可以直接同步信息,也可以通过主区块链服务系统来中转。The data migration module 635 supports synchronous data migration with other slave blockchain service systems except the slave blockchain service system. Synchronized migration data includes on-chain data, off-chain data, contract data, and service site data. Among them, the service site data is the context information generated by the slave blockchain service system when it provides blockchain services to the blockchain client, such as operating parameters, environment variables and other information. This context information can be synchronized between different slave blockchain service systems to provide seamless blockchain services when the blockchain client migrates. Information can be synchronized directly between different slave blockchain service systems, or it can be transferred through the main blockchain service system.
同步管理模块634,被配置为根据区块链客户端发送的位置变更提醒信息,管控与主区块链服务系统的数据同步,或者与其它从区块链服务系统的数据迁移。The synchronization management module 634 is configured to control data synchronization with the main blockchain service system or data migration with other slave blockchain service systems based on the location change reminder information sent by the blockchain client.
第二区块链服务能力模块636,提供区块链相关的服务能力(传统区块链本身的服务能力),包括与其它主区块链服务系统的交互能力。需要说明的是,主从区块链服务系统具有提供相同的区块链服务的能力。The second blockchain service capability module 636 provides blockchain-related service capabilities (service capabilities of the traditional blockchain itself), including interaction capabilities with other main blockchain service systems. It should be noted that the master-slave blockchain service system has the ability to provide the same blockchain services.
需要明确的是,本公开并不局限于上文实施例中所描述并在图中示出的特定配置和处理。为了描述的方便和简洁,这里省略了对已知方法的详细描述,并且上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 To be clear, the present disclosure is not limited to the specific configurations and processes described in the embodiments above and illustrated in the figures. For the convenience and simplicity of description, detailed descriptions of known methods are omitted here, and for the specific working processes of the systems, modules and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, which will not be described again here.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(Random Access Memory,缩写RAM,更具体如Synchronous Dynamic Random-Access Memory,缩写SDRAM、Double Data Rate SDRAM,缩写DDR等)、只读存储器(Read-Only Memory,缩写ROM)、带电可擦可编程只读存储器(Electrically Erasable Programmable read only memory,缩写EEPROM)、闪存(FLASH)或其它存储器技术、只读光盘(Compact Disc Read-Only Memory,缩写CD-ROM)、数字多功能盘(Digital Video Disc,缩写DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes but is not limited to Random Access Memory (RAM, abbreviated as RAM, more specifically Synchronous Dynamic Random-Access Memory, abbreviated as SDRAM, Double Data Rate SDRAM, abbreviated as DDR, etc.), Read-Only Memory (Read-Only Memory) , abbreviated ROM), Electrically Erasable Programmable read only memory (EEPROM), flash memory (FLASH) or other memory technology, Compact Disc Read-Only Memory (CD-ROM) , Digital Video Disc (DVD) or other optical disk storage, magnetic cassette, tape, disk storage or other magnetic storage device, or any other medium that can be used to store the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprising" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or device that includes that element.
本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本实施例的范围之内并且形成不同的实施例。Those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the present embodiments. within and form different embodiments.
可以理解的是,以上实施方式仅仅是为了说明本公开的原理而采用的示例性实施方式,然而本公开并不局限于此。对于本领域内的普通技术人员而言,在不脱离本公开的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本公开的保护范围。 It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the disclosure, and these modifications and improvements are also regarded as the protection scope of the disclosure.

Claims (13)

  1. 一种多区块链协同服务方法,应用于主区块链服务系统,所述主区块链服务系统部署在核心云中;所述方法包括:A multi-blockchain collaborative service method, applied to the main blockchain service system, the main blockchain service system is deployed in the core cloud; the method includes:
    基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云;Based on the service access request sent by the blockchain client, determine the first edge cloud currently corresponding to the blockchain client;
    向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供所述第一从区块链服务系统从所述主区块链服务系统中同步第一区块链服务数据,并基于同步的所述第一区块链服务数据为所述区块链客户端提供区块链服务;Send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can synchronize the first zone from the master blockchain service system. Blockchain service data, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data;
    向所述区块链客户端返回请求响应信息,以供所述区块链客户端基于所述请求响应信息访问所述第一从区块链服务系统。Return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
  2. 根据权利要求1所述的方法,其中在所述向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息之前,所述方法还包括:The method according to claim 1, wherein before sending the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, the method further includes:
    判断所述第一边缘云是否对应有第一从区块链服务系统;Determine whether the first edge cloud corresponds to the first slave blockchain service system;
    在所述第一边缘云未对应有从区块链服务系统的情况下,向所述第一边缘云发送从区块链创建信息,以供所述第一边缘云创建所述第一从区块链服务系统。When the first edge cloud does not correspond to a slave blockchain service system, send slave blockchain creation information to the first edge cloud so that the first edge cloud can create the first slave zone. Blockchain service system.
  3. 根据权利要求1所述的方法,其中在所述向所述区块链客户端返回请求响应信息之后,所述方法还包括:The method according to claim 1, wherein after the request response information is returned to the blockchain client, the method further includes:
    接收并存储所述第一从区块链服务系统发送的第二区块链服务数据;所述第二区块链服务数据是所述第一从区块链服务系统为所述区块链客户端提供区块链服务的过程中生成的服务数据。Receive and store the second blockchain service data sent by the first slave blockchain service system; the second blockchain service data is the first slave blockchain service system for the blockchain client. Service data generated during the process of providing blockchain services.
  4. 根据权利要求1所述的方法,其中所述基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云的步骤,包括:The method according to claim 1, wherein the step of determining the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client includes:
    基于所述服务访问请求获取所述区块链客户端的第一位置信息;Obtain the first location information of the blockchain client based on the service access request;
    基于所述第一位置信息确定所述区块链客户端当前对应的第一边缘云。Determine the first edge cloud currently corresponding to the blockchain client based on the first location information.
  5. 根据权利要求1所述的方法,其中在所述向所述区块链客户端返回请求响应信息之后,所述方法还包括:The method according to claim 1, wherein after the request response information is returned to the blockchain client, the method further includes:
    在所述区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向所述第二边缘云对应的第二从区块链服务系统发送第二服务通知信息,以供所述第二从区块链服务系统从所述主区块链服务系统中同步第三区块链服务数据,并基于同步的所述第三区块链服务数据为所述区块链客户端提供区块链服务;When the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, send the second service notification information to the second slave blockchain service system corresponding to the second edge cloud. , for the second slave blockchain service system to synchronize the third blockchain service data from the main blockchain service system, and based on the synchronized third blockchain service data for the block The chain client provides blockchain services;
    向所述区块链客户端返回服务变更提醒信息,以供所述区块链客户端基于所述服务 变更提醒信息访问所述第二从区块链服务系统。Return service change reminder information to the blockchain client for the blockchain client to use the service based on the The change reminder information accesses the second slave blockchain service system.
  6. 根据权利要求5所述的方法,其中所述在所述区块链客户端对应的边缘云由第一边缘云变更为第二边缘云的情况下,向所述第二边缘云对应的第二从区块链服务系统发送第二服务通知信息之前,所述方法还包括:The method according to claim 5, wherein when the edge cloud corresponding to the blockchain client is changed from the first edge cloud to the second edge cloud, the second edge cloud corresponding to the second edge cloud is Before sending the second service notification information from the blockchain service system, the method further includes:
    接收所述第一从区块链服务系统发送的服务迁移提醒信息,所述服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息;Receive the service migration reminder information sent by the first slave blockchain service system, where the service migration reminder information includes migration data and client location change reminder information;
    响应于所述客户端位置变更提醒信息,获取所述区块链客户端的第二位置信息,并根据所述第二位置信息确定所述区块链客户端当前对应的第二边缘云。In response to the client location change reminder information, obtain the second location information of the blockchain client, and determine the second edge cloud currently corresponding to the blockchain client based on the second location information.
  7. 根据权利要求5所述的方法,其中在所述向所述区块链客户端返回服务变更提醒信息之后,所述还包括:The method according to claim 5, wherein after returning service change reminder information to the blockchain client, the method further includes:
    向所述第一从区块链服务系统发送服务资源清除信息,以供所述第一从区块链服务系统基于所述服务资源清除信息清除从所述主区块链服务系统同步的第一区块链服务数据或者释放为所述区块链客户端提供区块链服务的服务资源。Send service resource clearing information to the first slave blockchain service system, so that the first slave blockchain service system clears the first synchronized data from the main blockchain service system based on the service resource clearing information. Blockchain service data or release service resources that provide blockchain services for the blockchain client.
  8. 一种多区块链协同服务方法,应用于从区块链服务系统,所述从区块链服务系统部署在边缘云中;所述方法包括:A multi-blockchain collaborative service method, applied to a slave blockchain service system deployed in an edge cloud; the method includes:
    响应于主区块链服务系统发送的服务通知信息,从所述主区块链服务系统中同步区块链服务数据;所述服务通知信息是所述主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;In response to the service notification information sent by the main blockchain service system, the blockchain service data is synchronized from the main blockchain service system; the service notification information is based on the pre-received area of the main blockchain service system. Information sent by the service access request sent by the blockchain client;
    在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务。When the blockchain client corresponding to the service notification information accesses the slave blockchain service system, a blockchain service is provided to the blockchain client based on the synchronized blockchain service data.
  9. 根据权利要求8所述的方法,其中所述在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务之后,所述方法还包括:The method according to claim 8, wherein when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, the synchronized blockchain service data is the After the blockchain client provides the blockchain service, the method further includes:
    向所述主区块链服务系统发送服务迁移提醒信息,所述服务迁移提醒信息包括迁移数据和客户端位置变更提醒信息,以供所述主区块链服务系统在确定所述区块链客户端对应的边缘云发生变更的情况下,向变更后的边缘云对应的从区块链服务系统发送服务通知信息。Send service migration reminder information to the main blockchain service system. The service migration reminder information includes migration data and client location change reminder information for the main blockchain service system to determine the blockchain client. When the edge cloud corresponding to the client changes, service notification information is sent to the slave blockchain service system corresponding to the changed edge cloud.
  10. 根据权利要求9所述的方法,其中在所述向所述主区块链服务系统发送服务迁移提醒信息之后,所述方法还包括:The method according to claim 9, wherein after sending service migration reminder information to the main blockchain service system, the method further includes:
    在停止为区块链客户端提供区块链服务的情况下,执行销毁操作,以释放从区块链服务系统占用的边缘云的资源。 When the blockchain service is stopped for the blockchain client, a destruction operation is performed to release the resources of the edge cloud occupied from the blockchain service system.
  11. 一种主区块链服务系统,所述主区块链服务系统部署在核心云中,所述主区块链服务系统包括:A main blockchain service system, the main blockchain service system is deployed in the core cloud, the main blockchain service system includes:
    确定模块,其被配置为基于区块链客户端发送的服务访问请求,确定所述区块链客户端当前对应的第一边缘云;A determination module configured to determine the first edge cloud currently corresponding to the blockchain client based on the service access request sent by the blockchain client;
    第一发送模块,其被配置为向所述第一边缘云对应的第一从区块链服务系统发送第一服务通知信息,以供所述第一从区块链服务系统从主区块链服务系统中同步第一区块链服务数据,并基于同步的所述第一区块链服务数据为所述区块链客户端提供区块链服务;The first sending module is configured to send the first service notification information to the first slave blockchain service system corresponding to the first edge cloud, so that the first slave blockchain service system can obtain the information from the master blockchain. Synchronize the first blockchain service data in the service system, and provide blockchain services to the blockchain client based on the synchronized first blockchain service data;
    第二发送模块,其被配置为向所述区块链客户端返回请求响应信息,以供所述区块链客户端基于所述请求响应信息访问所述第一从区块链服务系统。The second sending module is configured to return request response information to the blockchain client, so that the blockchain client can access the first slave blockchain service system based on the request response information.
  12. 一种从区块链服务系统,所述从区块链服务系统部署在边缘云中,所述从区块链服务系统包括:A slave blockchain service system, the slave blockchain service system is deployed in the edge cloud, and the slave blockchain service system includes:
    同步模块,其被配置为响应于主区块链服务系统发送的服务通知信息,从所述主区块链服务系统中同步区块链服务数据;所述服务通知信息是所述主区块链服务系统基于预先接收的区块链客户端发送的服务访问请求发送的信息;A synchronization module configured to synchronize blockchain service data from the main blockchain service system in response to service notification information sent by the main blockchain service system; the service notification information is the main blockchain service system. The service system sends information based on the pre-received service access request sent by the blockchain client;
    处理模块,其被配置为在与所述服务通知信息对应的区块链客户端访问从区块链服务系统的情况下,基于同步的所述区块链服务数据为所述区块链客户端提供区块链服务。A processing module configured to, when the blockchain client corresponding to the service notification information accesses the slave blockchain service system, provide the blockchain client with the synchronized blockchain service data based on the synchronized blockchain service data. Provide blockchain services.
  13. 一种协同服务系统,所述协同服务系统包括:至少一个区块链客户端、如权利要求11所述的主区块链服务系统和至少一个如权利要求12所述的从区块链服务系统。 A collaborative service system, the collaborative service system includes: at least one blockchain client, the master blockchain service system as claimed in claim 11, and at least one slave blockchain service system as claimed in claim 12 .
PCT/CN2023/081911 2022-03-23 2023-03-16 Multi-blockchain collaborative service methods, and systems WO2023179450A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210294251.X 2022-03-23
CN202210294251.XA CN114679467A (en) 2022-03-23 2022-03-23 Multi-block chain cooperative service method, block chain service system and cooperative service system

Publications (1)

Publication Number Publication Date
WO2023179450A1 true WO2023179450A1 (en) 2023-09-28

Family

ID=82075042

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/081911 WO2023179450A1 (en) 2022-03-23 2023-03-16 Multi-blockchain collaborative service methods, and systems

Country Status (2)

Country Link
CN (1) CN114679467A (en)
WO (1) WO2023179450A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114679467A (en) * 2022-03-23 2022-06-28 中国联合网络通信集团有限公司 Multi-block chain cooperative service method, block chain service system and cooperative service system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040337A (en) * 2018-07-19 2018-12-18 网宿科技股份有限公司 A kind of information query method, Edge Server and information query system
US20190042315A1 (en) * 2018-09-28 2019-02-07 Ned M. Smith Secure edge-cloud function as a service
CN112689026A (en) * 2020-12-07 2021-04-20 中国联合网络通信集团有限公司 Block chain as service server and block chain sharing method
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN114020845A (en) * 2021-11-05 2022-02-08 深圳壹账通智能科技有限公司 Block chain network management method, system, electronic equipment and storage medium
CN114679467A (en) * 2022-03-23 2022-06-28 中国联合网络通信集团有限公司 Multi-block chain cooperative service method, block chain service system and cooperative service system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10754847B2 (en) * 2018-06-19 2020-08-25 Cannagri Blockchain, Inc. Method, apparatus and system for production management
CN111045690B (en) * 2018-10-12 2023-04-28 阿里巴巴集团控股有限公司 Block chain node service deployment method, device, system, computing equipment and medium
CN111159736B (en) * 2019-12-25 2022-03-25 联通(广东)产业互联网有限公司 Application control method and system of block chain
CN111211930B (en) * 2019-12-31 2022-08-26 杭州趣链科技有限公司 Block chain service disaster-tolerant backup containerized deployment method
CN113746872B (en) * 2020-05-27 2023-04-28 中国联合网络通信集团有限公司 Service access method and device
CN114116898A (en) * 2021-11-19 2022-03-01 中国电信股份有限公司 Method, apparatus, and storage medium for content acquisition at edge clouds

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040337A (en) * 2018-07-19 2018-12-18 网宿科技股份有限公司 A kind of information query method, Edge Server and information query system
US20190042315A1 (en) * 2018-09-28 2019-02-07 Ned M. Smith Secure edge-cloud function as a service
CN112689026A (en) * 2020-12-07 2021-04-20 中国联合网络通信集团有限公司 Block chain as service server and block chain sharing method
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN114020845A (en) * 2021-11-05 2022-02-08 深圳壹账通智能科技有限公司 Block chain network management method, system, electronic equipment and storage medium
CN114679467A (en) * 2022-03-23 2022-06-28 中国联合网络通信集团有限公司 Multi-block chain cooperative service method, block chain service system and cooperative service system

Also Published As

Publication number Publication date
CN114679467A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US11258822B2 (en) Network function service discovery method and device
WO2020073859A1 (en) Blockchain node service deployment method, apparatus and system, and computing device and medium
WO2018059238A1 (en) Cloud storage based data processing method and system
US20230008666A1 (en) Group Creation Method, Apparatus, and System
WO2023179450A1 (en) Multi-blockchain collaborative service methods, and systems
CN108632063B (en) Method, device and system for managing network slice instances
WO2019184285A1 (en) Communication apparatus, node connection method, storage medium, and electronic device
US11489686B2 (en) Virtual meetings in ad-hoc networks
CN113612854B (en) Communication method, server and terminal based on block chain
CN104247380A (en) Binding crud-type protocols in distributed agreement protocols
CN111083177B (en) Cross-domain collaborative interaction method based on collaborative gateway
CN113260010A (en) SMF discovery method, device, electronic equipment and medium
CN107872492B (en) Method and device for supporting multi-user editing of data object at server
CN113923232B (en) Information synchronization method and device for block chain subnetwork
EP3806389A1 (en) Virtual subnet constructing method and device, and storage medium
CN113572650A (en) Network regulation and control method, equipment and medium based on SDN
CN108738027B (en) Network processing method, resource management system and network equipment
CN113300866A (en) Node capacity control method, device, system and storage medium
CN110011850B (en) Management method and device for services in cloud computing system
WO2023045472A1 (en) Communication method, apparatus and system
US20220303261A1 (en) Methods and apparatus for lightweight machine to machine communication
CN113766436B (en) Wireless intercom method and system
CN114301909A (en) Edge distributed management and control system, method, equipment and storage medium
CN114979098A (en) WebRTC-based communication method and device and electronic equipment
CN112416495A (en) Super-fusion cloud terminal resource unified management system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23773698

Country of ref document: EP

Kind code of ref document: A1