CN112689026A - Block chain as service server and block chain sharing method - Google Patents

Block chain as service server and block chain sharing method Download PDF

Info

Publication number
CN112689026A
CN112689026A CN202011429140.2A CN202011429140A CN112689026A CN 112689026 A CN112689026 A CN 112689026A CN 202011429140 A CN202011429140 A CN 202011429140A CN 112689026 A CN112689026 A CN 112689026A
Authority
CN
China
Prior art keywords
block chain
blockchain
edge cloud
service
service server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011429140.2A
Other languages
Chinese (zh)
Inventor
周哲
谢国涛
冯毅
余志祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011429140.2A priority Critical patent/CN112689026A/en
Publication of CN112689026A publication Critical patent/CN112689026A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a block chain as a service server and a block chain sharing method, relates to the field of communication, and can deploy a plurality of block chains in one server to reduce the waste of hardware resources. The server includes: the edge cloud block chain organizer comprises an edge cloud block chain organizer and at least one edge cloud host; the edge cloud block chain orchestrator is used for managing an edge cloud host and deploying at least one block chain to the edge cloud host; the edge cloud host is used for deploying the block chain and providing corresponding block chain service for the terminal; and the edge cloud block chain organizer is also used for calling the corresponding block chain according to the service request of the terminal and distributing calculation, storage and network resources for the corresponding block chain. The invention is used for deploying the block chain.

Description

Block chain as service server and block chain sharing method
Technical Field
The present invention relates to the field of communications, and in particular, to a block chain as a service server and a block chain sharing method.
Background
A federation chain is one of the blockchains for use by a particular individual or organization. At present, most of the deployment of the alliance chain is constructed by users of the alliance chain, and each alliance chain is constructed by deploying an independent hardware system. Therefore, when different individuals or organizations build alliance chains, a set of hardware system needs to be deployed for each alliance chain, and multiple sets of hardware systems need to be deployed for the building of multiple alliance chains, so that the building cost of the alliance chains is high, and a large amount of hardware resources are wasted.
Disclosure of Invention
Embodiments of the present invention provide a blockchain as a service server and a blockchain sharing method, which can enable a plurality of blockchains to be deployed in one server, share server resources, and reduce waste of hardware resources.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, a blockchain as a service server is provided, including: the edge cloud block chain organizer comprises an edge cloud block chain organizer and at least one edge cloud host; the edge cloud block chain orchestrator is used for managing an edge cloud host and deploying at least one block chain to the edge cloud host; the edge cloud host is used for deploying the block chain and providing corresponding block chain service for the terminal; and the edge cloud block chain organizer is also used for calling the corresponding block chain according to the service request of the terminal and distributing calculation, storage and network resources for the corresponding block chain.
In a second aspect, a method for sharing a blockchain is provided, where the method is applied to the blockchain as a service server provided in the first aspect, and the method includes: a block chain, namely a service server, receives a service request sent by a terminal; the service request includes at least one blockchain identification; the block chain, namely the service server, determines a block chain corresponding to the service request according to the block chain identifier and the mapping relation; the block chain, i.e., the service server, provides a service to the terminal through the block chain.
In a third aspect, a block chain as a service server is provided, including: a memory, a processor, a bus, and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the blockchain as a service server is running, the processor executes the computer-executable instructions stored in the memory to cause the blockchain as a service server to perform the blockchain sharing method as provided by the second aspect.
In a fourth aspect, a computer-readable storage medium is provided, comprising: the computer executes instructions that, when executed on a computer, cause the computer to perform the blockchain sharing method as provided by the second aspect.
The block chain as a service server provided by the embodiment of the invention comprises: the edge cloud block chain organizer comprises an edge cloud block chain organizer and at least one edge cloud host; the edge cloud block chain orchestrator is used for managing an edge cloud host and deploying at least one block chain to the edge cloud host; the edge cloud host is used for deploying the block chain and providing block chain service for the terminal; and the edge cloud block chain organizer is also used for calling the corresponding block chain according to the service request of the terminal and distributing calculation, storage and network resources for the corresponding block chain. The block chain as a service server provided by the invention can deploy the edge cloud host through the edge cloud block chain orchestrator and deploy at least one block chain in the edge cloud host. Because the edge cloud block chain organizer and the edge cloud host can be deployed in one server or cloud end, the block chains can share the computing, storage and network resources of the server or cloud end. When a terminal needs to call a block chain, namely the block chain in the service server, the edge cloud block chain organizer can call the corresponding block chain through the edge cloud host and allocate required calculation, storage and network resources to the block chain, so that calculation, storage and network resource sharing among a plurality of block chains is realized, and resource waste caused by the deployment of a plurality of sets of hardware systems for the construction of the plurality of block chains is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application architecture of a block chain as a service server according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a connection relationship between a block chain as a service server and a core network according to an embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a block chain as a service server according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a block chain as a service server according to an embodiment of the present invention;
fig. 5 is a third schematic structural diagram of a block chain as a service server according to an embodiment of the present invention;
fig. 6 is a first flowchart illustrating a block chain sharing method according to an embodiment of the present invention;
fig. 7 is a second flowchart illustrating a block chain sharing method according to an embodiment of the present invention;
fig. 8 is a third flowchart illustrating a block chain sharing method according to an embodiment of the present invention;
fig. 9 is a fourth schematic structural diagram of a block chain as a service server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a block chain as a service server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another block chain, i.e., a service server, according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used for distinguishing the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the words "first", "second", and the like are not limited in number or execution order.
The existing block chain is usually constructed by users of the block chain, and the users of the block chain need to deploy an independent hardware system for the block chain when the block chain is constructed, and the hardware system supports the operation of the block chain, thereby causing a great deal of hardware resource waste.
The embodiment of the invention provides a block as a service (BaaS) server based on a multi-access edge computing (MEC) architecture, which is used for rapidly deploying a block chain, realizing the sharing of computing, storage and network resources among a plurality of block chains and avoiding the waste of hardware resources caused by the deployment of an independent hardware system for each block chain.
The technical scheme provided by the embodiment of the invention can be applied to a wireless communication system, and the wireless communication system can be a Long Term Evolution (LTE) system, an LTE-Advanced (LTE-A) system, a 5th-generation (5G) system, or other future communication systems and the like. The technical scheme provided by the embodiment of the invention is suitable for mass machine type of communication (mMTC) scenes, ultra reliable and low latency communication (uRLLC) scenes and the like.
As shown in fig. 1, an embodiment of the present invention provides an application architecture diagram of a block chain as a service server, where the application architecture may include a terminal, a radio access network, a block chain as a service server, and a core network.
The terminal can communicate with the BaaS server through the wireless access network to request the BaaS server to provide the block chain service. The terminal may be a mobile phone, a computer, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a smart phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a laptop computer, a handheld communication device, a handheld computing device, a satellite radio device, a wireless modem card, a Set Top Box (STB), a Customer Premises Equipment (CPE), and/or other devices for communicating over a wireless system.
The wireless access network can provide a data transmission channel for communication between the terminal and the BaaS server. The radio access network may be provided by a base station, such as a Base Transceiver Station (BTS) in a global system for mobile communications (GSM) or Code Division Multiple Access (CDMA) network, or node B (NodeB, NB) in Wideband Code Division Multiple Access (WCDMA), or evolved base station B (evolved node B, eNB or eNodeB) in Long Term Evolution (LTE), or a transmission node in the NR system, such as a Transmission Reception Point (TRP) or a Transmission Point (TP), or a next generation node B (gNB), a base station or network device, a relay station, an access point, a vehicle-mounted device, a wearable device in a future communication network, a wireless-fidelity (Wi-Fi) station, a wireless backhaul node, a small station, a micro station, and the like.
The BaaS server can be deployed between the wireless access network and the core network according to the MEC architecture, and can provide a local block chain service and a cloud computing function for the terminal through the wireless access network. In the embodiment of the present invention, the BaaS server may be established by a telecommunications operator, or may be established by a service provider. Of course, the present invention may also be established by a combination of a telecommunications carrier and a service provider, and the embodiment of the present invention is not limited thereto. The core network can establish a data transmission channel between the BaaS server and other network equipment, and provide network support for the BaaS server.
It should be noted that the application architecture shown in fig. 1 may also include a cloud data center and other networks, such as an enterprise intranet. The cloud data center can provide data query and service calculation functions for the BaaS server, and the other networks can be a local area network or other networks and are combined with the BaaS server to realize service management in the network. Of course, the application architecture shown in fig. 1 may also include other structures, and the embodiment of the present invention is not limited thereto.
As shown in fig. 2, an embodiment of the present invention provides a connection relationship between a BaaS server and a core network, where a UPF network element is connected to an edge cloud host of the BaaS server, and a NEF network element is connected to an edge cloud block chain organizer.
The core network includes a Network Slice Selection Function (NSSF) network element, a Network Registration Function (NRF) network element, a Unified Data Management (UDM) network element, a Policy Control Function (PCF) network element, a network capability exposure (NEF) network element, an authentication server function (AUSF) network element, an access and mobility management (AMF) network element, a Session Management Function (SMF) network element, a Policy Control Function (PCF) network element, and a User Plane Function (UPF) network element.
In the embodiment of the invention, the NEF network element is used for opening network data to the BaaS server, and the UPF network element is used for connecting the terminal and the block chain service of the BaaS server and providing a communication route between the terminal and the BaaS server.
The BaaS server comprises an edge cloud area block chain organizer and an edge cloud host, wherein the edge cloud host is used for providing business services based on the block chain, and the edge cloud area block chain organizer is used for configuring the BaaS server so as to provide the business services based on the block chain.
It should be noted that the functions of other network elements in the core network are the same as those conventionally used in the art, and are not described in detail here. Fig. 2 shows only a partial structure of the BaaS server, and actually, the BaaS server also includes other structures that are not shown in fig. 2. Moreover, the BaaS server and the UPF network element shown in fig. 2 are separated, and in practice, the UPF network element may also be integrally deployed with the BaaS server, which is not limited in this embodiment of the present invention.
As shown in fig. 3, an embodiment of the present invention provides a block chain as a service server, including: the system comprises an operating system, an edge cloud block chain organizer, at least one edge cloud host and a service registration manager.
The operating system is used for managing hardware resources and software resources of the BaaS server and supporting the running of the block chain application.
The edge cloud block chain organizer is used for managing virtual resources or physical resources related to block chain application; the edge cloud block chain orchestrator is also used for managing an edge cloud host and deploying at least one block chain to the edge cloud host; the edge cloud block chain organizer is further used for calling the corresponding block chain according to the service request of the terminal and distributing computing, storage and network resources for the corresponding block chain. The block chain application in the embodiment of the invention refers to a block chain deployed in a BaaS server.
Specifically, the edge cloud block chain orchestrator may be deployed through Openstack. The Openstack is an open-source cloud computing management platform project and mainly comprises a Nova module and a Swift module, wherein the Nova module is used for virtual server deployment and service computing, and the Swift module is a distributed storage module. Openstack is also used to provide an Application Programming Interface (API), through which different application services can be integrated. For example, the Nova module can provide virtual services, and the terminal can implement operations such as virtual machine creation and deletion through the Nova-API. Of course, the edge cloud block chain orchestrator may also be deployed in other manners, which is not limited in the embodiment of the present invention.
Based on Openstack, the edge cloud block chain orchestrator in the embodiment of the present invention may create an edge cloud host or delete an edge cloud host in a BaaS server. Of course, the edge cloud block chain orchestrator may also add a block chain in the created edge cloud host, so that the edge cloud host may provide an application service based on the block chain for the terminal.
The edge cloud host can be a virtual machine created by the edge cloud blockchain organizer, and is used for deploying the blockchain and providing corresponding blockchain services for the terminal.
The service registration manager is used for storing a mapping relation between the block chain and the edge cloud host, so that when the terminal initiates a service request, the BaaS server can determine the edge cloud host stored in the block chain according to the block chain identifier carried in the service request and the mapping relation.
For example, the mapping relationship stored in the service registration manager may be as shown in table 1 below:
TABLE 1
Block chain identification Edge cloud host Remarks for note
0000019d763ae46a2a6c172b60a8ce26f First edge cloud host
000001gretgrfrea423a6c172b3f1bce26f Second edge cloud host
000001ngd543v5ha2a6c172b3f1b60a8c Third edge cloud host
According to the mapping relationship shown in table 1 above, if the blockchain identifier carried in the service request is 0000019d763ae46a2a6c172b60a8ce26f, it may be determined that the blockchain called by the terminal is stored in the first edge cloud host.
It should be noted that the above-mentioned blockchain identifier is only exemplary, and in practice, the blockchain identifier may also be generated by an encryption algorithm and a key, and thus the blockchain identifier may also be constantly changing.
Optionally, the service request sent by the terminal includes a blockchain identifier. As shown in fig. 4, an edge cloud host includes an edge cloud management platform, a virtualization infrastructure, and at least one blockchain.
The edge cloud management platform is used for determining a corresponding block chain according to the block chain identifier.
Specifically, the edge cloud management platform includes a service registry and a domain name management system, the service registry can store a mapping relationship between a block chain identifier and a block chain, the BaaS server can determine a block chain called by a terminal according to the block chain identifier carried in a service request sent by the terminal and the mapping relationship, the mapping relationship stored in the service registry can be as shown in table 1, and the difference is that the mapping relationship in the service registry is used for reflecting a corresponding relationship between the block chain identifier and the block chain; the domain name management system is used for determining the address of the block chain, so that the BaaS server can call the block chain according to the address of the block chain.
It should be noted that the edge cloud management platform is a set of basic functions required for running an application on a virtualization infrastructure and enabling it to provide and use a blockchain service. Optionally, the edge cloud management platform is further configured to provide hosting of blockchain services, receive domain name system records, and configure domain name system agents/servers. The blockchain service here includes: the BaaS server can determine the relevant information of the block chain through an edge management platform, such as the data function of the block chain; and the information sent by the terminal can be positioned through the edge management platform so as to point to the corresponding block chain.
The virtualization infrastructure is used to provide computing, storage, and network resources for the blockchain.
In particular, the virtualization infrastructure may provide computing, storage, and network resources for the operation of blockchains, and may provide persistent storage and time-related information for blockchains; the virtualization infrastructure comprises a data plane, and is used for executing forwarding rules on data sent by the edge cloud management platform and carrying out traffic routing between the block chain and the network.
The block chain is used for providing a corresponding block chain service for the terminal.
Specifically, the blockchain may be a virtual machine instance running on a virtualization infrastructure, and the blockchain-based service may be provided to the outside through the edge cloud management platform.
Optionally, as shown in fig. 5, the BaaS server further includes an edge cloud management platform manager and a virtualization infrastructure manager.
The edge cloud management platform manager comprises block chain life cycle management and block chain rule and requirement management. A blockchain lifecycle management for managing creation and termination of blockchains; and the block chain rule and demand management is used for managing the flow rule of the edge cloud management platform and the configuration of the domain name management system. The flow rule is used for indicating forwarding of flow in the BaaS server, for example, indicating forwarding of flow among the block chain, the edge cloud management platform and the edge cloud management platform manager.
The virtualized infrastructure manager is used to provide computing, storage, and network resources for the blockchain.
In particular, the virtualization infrastructure manager may manage virtual resources of the blockchain, where management may refer to allocation and release of virtual compute, storage, and network resources; the virtualization infrastructure manager may also store the impact of blockchain applications to facilitate fast instantiation of blockchain applications. Certainly, the virtualization infrastructure manager may obtain information of the virtual resource, and report the information to the edge cloud block chain organizer and the edge cloud platform manager, so that the edge cloud block chain organizer and the edge cloud platform manager can know the use information of the virtual resource and provide a basis for running the block chain application. The virtual resources herein may be provided by a virtualization infrastructure.
It should be noted that the BaaS server provided in the embodiment of the present invention may include an edge cloud system layer, an edge cloud host layer, and a network layer, where the edge cloud system layer includes the operating system, the edge cloud block chain organizer, and the service registration manager, the edge cloud host layer includes an edge cloud host, an edge cloud management platform manager, and a virtualization infrastructure manager, and the network layer includes a third generation partnership project (3 GPP) cellular network, a local network, and an external network, and is configured to provide the BaaS server with access to a mobile cellular network, a local network, or an external network. The edge cloud system layer, the edge cloud host layer and the network layer may be deployed on the same server, or may be separately deployed, for example, the edge cloud system layer is deployed to the cloud, and the edge cloud host layer and the network layer are deployed on another server.
It should be noted that the above forwarding rule may be received by the edge cloud management platform from the edge cloud management platform manager and the blockchain, and is used to indicate the routing of the data traffic between the BaaS servers. The BaaS server provided by the embodiment of the invention realizes the rapid deployment of the block chain based on the MEC architecture, so that the block chain can share the calculation, storage and network resources of the server. In practice, the BaaS server may further include other functional modules, which are not described in detail in the embodiments of the present invention, for example, the edge cloud host may further include a service in addition to the blockchain, and divide the blockchain into a blockchain application and a blockchain service, and a person skilled in the art may add a corresponding functional module to the BaaS server as needed, which is not limited in the embodiments of the present invention.
The block chain as a service server provided by the embodiment of the invention comprises: the edge cloud block chain organizer comprises an edge cloud block chain organizer and at least one edge cloud host; the edge cloud block chain orchestrator is used for managing an edge cloud host and deploying at least one block chain to the edge cloud host; the edge cloud host is used for deploying the block chain and providing block chain service for the terminal; and the edge cloud block chain organizer is also used for calling the corresponding block chain according to the service request of the terminal and distributing calculation, storage and network resources for the corresponding block chain. The block chain as a service server provided by the invention can deploy the edge cloud host through the edge cloud block chain orchestrator and deploy at least one block chain in the edge cloud host. Because the edge cloud block chain organizer and the edge cloud host can be deployed in one server or cloud end, the block chains can share the computing, storage and network resources of the server or cloud end. When a terminal needs to call a block chain, namely the block chain in the service server, the edge cloud block chain organizer can call the corresponding block chain through the edge cloud host and allocate required calculation, storage and network resources to the block chain, so that calculation, storage and network resource sharing among a plurality of block chains is realized, and resource waste caused by the deployment of a plurality of sets of hardware systems for the construction of the plurality of block chains is avoided.
The deployment of the BaaS server may include: 1. deploying an edge cloud block chain organizer at a server by using Openstack; 2. deploying at least one edge cloud host in a server through an edge cloud block chain orchestrator; 3. deploying at least one block chain to an edge cloud host through an edge cloud block chain orchestrator; 4. registering the edge cloud host and the block chain to a service registration manager through an edge cloud block chain organizer; 5. and deploying a service registry in the edge cloud host through the edge cloud block chain organizer, and registering the block chain to the service registry.
Optionally, the edge cloud block chain organizer may be deployed in a separate cloud server through an Openstack, or may be deployed in the same cloud server with the edge cloud host. The above process only includes the deployment of the edge cloud host, and in practice, the edge cloud platform manager and the virtualization infrastructure manager may also be deployed by the edge cloud block chain organizer. Registering the blockchain to the service registry may be performed by the edge cloud blockchain organizer or the edge cloud platform manager, which is not limited in the embodiment of the present invention.
Based on the foregoing BaaS server, as shown in fig. 6, an embodiment of the present invention provides a block chain sharing method, including:
s101, a block chain, namely a service server receives a service request sent by a terminal.
Wherein the service request comprises at least one blockchain identification.
Specifically, when the terminal needs to call a blockchain application in the BaaS server, a service request may be sent to the BaaS server, and after receiving the service request, the BaaS server obtains a blockchain identifier carried by the service request by analyzing the service request.
S102, the block chain, namely the service server, determines the block chain corresponding to the service request according to the block chain identifier and the mapping relation.
Specifically, since a plurality of edge cloud hosts may be deployed in the BaaS server, and each edge cloud host may deploy a block chain, after receiving a service request, the BaaS server needs to determine an edge cloud host that provides a block chain service for the service request, and then determine a block chain that specifically provides the service.
Optionally, the mapping relationship includes a first mapping relationship and a second mapping relationship, where the first mapping relationship is used to indicate a corresponding relationship between the blockchain identifier and the edge cloud host, and the second mapping relationship is used to indicate a corresponding relationship between the blockchain identifier and the blockchain; the first mapping relationship may be stored in a service registration manager and the second mapping relationship may be stored in a service registry. As shown in fig. 7, step S102 may include:
s1021, the blockchain as a service server determines the edge cloud host corresponding to the service request according to the blockchain identifier and the first mapping relation.
Specifically, after determining the blockchain identifier, the BaaS server may query the service registration manager for the edge cloud host corresponding to the blockchain identifier, as shown in table 1 above, if the blockchain identifier is 000001 gretgrifea 423a6c172b3f1bce26 8926 26f, it is determined that the blockchain called by the service request is stored in the second edge host, and the corresponding blockchain needs to be run by the second edge host, and the terminal provides the corresponding service.
S1022, the blockchain, i.e., the service server, determines the blockchain corresponding to the service request according to the blockchain identifier and the second mapping relationship.
Specifically, as in step S1021, after the BaaS server determines the edge cloud host, since the edge cloud host can store a plurality of block chains, the BaaS server also needs to determine a corresponding block chain according to the block chain identifier, and the block chain provides a service for the terminal.
It should be noted that, when only one edge cloud host is included in the BaaS server, step S1021 may not be executed any more; when the BaaS server determines that only one blockchain is included in the edge cloud host, step S1022 may not be executed any more, and the blockchain in the edge cloud host may directly provide a service for the terminal.
And S103, the block chain, namely the service server, provides services for the terminal through the block chain.
Specifically, after the BaaS server determines a specific block chain, the corresponding service can be provided for the terminal through the block chain.
Optionally, as shown in fig. 8, after step S103, the method further includes:
and S104, the blockchain serving server allocates corresponding calculation, storage and network resources for the blockchain.
Specifically, the BaaS server may obtain, through the virtualization infrastructure manager, usage of virtual resources, such as computation, storage, and network resource usage of the virtualization infrastructure, and allocate corresponding computation, storage, and network resources to the block chain requested by the terminal according to the usage of these resources.
In the block chain sharing method provided by the embodiment of the invention, a plurality of block chains can be deployed on one edge cloud host, and the plurality of edge cloud hosts can be deployed in the same server. When the BaaS server receives a service request of a terminal, different calculation, storage and network resources can be allocated to the BaaS server according to different block chains of the request, so that server resources are shared by a plurality of block chains, and waste of hardware resources is avoided.
As shown in fig. 9, an embodiment of the present invention provides a block chain as a service server 20, including:
a receiving module 201, configured to receive a service request sent by a terminal; the service request includes at least one blockchain identification.
The processing module 202 is configured to determine a blockchain corresponding to the service request according to the blockchain identifier and the mapping relationship received by the receiving module 201.
The processing module 202 is further configured to provide a service to the terminal through the blockchain.
Optionally, the mapping relationship includes a first mapping relationship and a second mapping relationship, where the first mapping relationship is used to indicate a corresponding relationship between the blockchain identifier and the edge cloud host, and the second mapping relationship is used to indicate a corresponding relationship between the blockchain identifier and the blockchain.
The processing module 202 is specifically configured to determine an edge cloud host corresponding to the service request according to the blockchain identifier and the first mapping relationship;
the processing module 202 is further specifically configured to determine a blockchain corresponding to the service request according to the blockchain identifier and the second mapping relationship.
Optionally, as shown in fig. 10, the blockchain as a service server 20 further includes a configuration module 203.
A configuration module 203 for allocating corresponding computation, storage and network resources for the blockchain.
In the block chain, namely the service server provided by the embodiment of the invention, a plurality of block chains can be deployed on one edge cloud host, and a plurality of edge cloud hosts can be deployed in the same server. When the BaaS server receives a service request of a terminal, different calculation, storage and network resources can be allocated to the BaaS server according to different block chains of the request, so that server resources are shared by a plurality of block chains, and waste of hardware resources is avoided.
As shown in fig. 11, another blockchain as a service server is provided in the embodiment of the present invention, which includes a memory 31, a processor 32, a bus 33, and a communication interface 34; the memory 31 is used for storing computer execution instructions, and the processor 32 is connected with the memory 31 through a bus 33; when the blockchain service server is running, the processor 32 executes the computer executable instructions stored in the memory 31 to make the blockchain service server execute the blockchain sharing method provided in the above embodiments.
In particular implementations, processor 32(32-1 and 32-2) may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 11, for example, as one embodiment. And as an example, the blockchain as a service server may include a plurality of processors 32, such as processor 32-1 and processor 32-2 shown in fig. 11. Each of these processors 32 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 32 may refer herein to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 31 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory 31 may be self-contained and coupled to the processor 32 via a bus 33. The memory 31 may also be integrated with the processor 32.
In a specific implementation, the memory 31 is used for storing data in the present application and computer-executable instructions corresponding to software programs for executing the present application. The processor 32 may perform various functions of the blockchain, i.e., the service server, by running or executing software programs stored in the memory 31 and calling data stored in the memory 31.
The communication interface 34, which may be any transceiver or other communication device, is used for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), and the like. The communication interface 34 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.
The bus 33 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus 33 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 11, but this is not intended to represent only one bus or type of bus.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is enabled to execute the block chain sharing method provided in the foregoing embodiment.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into a memory and contains a software code, and the computer program is loaded and executed by a computer, so as to implement the block chain sharing method provided in the foregoing embodiment.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A blockchain as a service server, comprising: the edge cloud block chain organizer comprises an edge cloud block chain organizer and at least one edge cloud host;
the edge cloud block chain orchestrator is used for managing the edge cloud host and deploying at least one block chain to the edge cloud host;
the edge cloud host is used for deploying the block chain and providing corresponding block chain service for the terminal;
the edge cloud block chain organizer is further configured to call a corresponding block chain according to the service request of the terminal, and allocate calculation, storage and network resources to the corresponding block chain.
2. The blockchain as service server of claim 1, wherein the blockchain as service server further comprises: a service registration manager;
the service registration manager is used for storing the mapping relation between the block chain and the edge cloud host.
3. The blockchain as service server of claim 2, wherein the service request includes a blockchain identification; the edge cloud host comprises an edge cloud management platform, a virtualization infrastructure and at least one block chain;
the edge cloud management platform is used for determining a corresponding block chain according to the block chain identifier;
the virtualization infrastructure is used for providing computing, storage and network resources for the block chain;
and the block chain is used for providing corresponding block chain service for the terminal.
4. The blockchain as a service server of claim 3, wherein the edge cloud management platform includes a service registry and a domain name management system;
the service registry is used for storing the mapping relation between the block chain identification and the block chain;
and the domain name management system is used for determining the address of the block chain.
5. The blockchain as a service server of claim 4, wherein the blockchain as a service server further comprises an edge cloud management platform manager and a virtualization infrastructure manager; the edge cloud management platform manager comprises block chain life cycle management and block chain rule and requirement management;
the block chain life cycle management is used for managing the creation and termination of the block chain;
the block chain rule and demand management is used for managing the flow rule of the edge cloud management platform and the configuration of the domain name management system; the traffic rule is used for indicating the block chain as the forwarding of the traffic in the service server;
the virtualized infrastructure manager is configured to provide computing, storage, and network resources for the blockchain.
6. A blockchain sharing method, applied to the blockchain as a service server according to any one of claims 1 to 5; the method comprises the following steps:
a block chain, namely a service server, receives a service request sent by a terminal; the service request comprises at least one blockchain identification;
the block chain, namely the service server, determines a block chain corresponding to the service request according to the block chain identifier and the mapping relation;
and the block chain, namely the service server, provides services for the terminal through the block chain.
7. The blockchain sharing method according to claim 6, wherein the mapping relationship includes a first mapping relationship and a second mapping relationship, the first mapping relationship is used for indicating a corresponding relationship between the blockchain identifier and an edge cloud host, and the second mapping relationship is used for indicating a corresponding relationship between the blockchain identifier and the blockchain; the determining, by the blockchain as a service server according to the blockchain identifier and the mapping relationship, the blockchain corresponding to the service request includes:
the block chain serving server determines an edge cloud host corresponding to the service request according to the block chain identifier and the first mapping relation;
and the blockchain serving server determines the blockchain corresponding to the service request according to the blockchain identifier and the second mapping relation.
8. The blockchain sharing method according to claim 6, wherein after the blockchain as-a-service server provides a service to the terminal through the blockchain, the method further comprises:
and the blockchain, namely the service server, allocates corresponding calculation, storage and network resources for the blockchain.
9. A blockchain as a service server comprising a memory, a processor, a bus and a communication interface; the memory is used for storing computer execution instructions, and the processor is connected with the memory through the bus; when the blockchain as a service server is running, the processor executes the computer-executable instructions stored by the memory to cause the blockchain as a service server to perform the blockchain sharing method of any one of claims 6 to 8.
10. A computer-readable storage medium comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the blockchain sharing method of any one of claims 6-8.
CN202011429140.2A 2020-12-07 2020-12-07 Block chain as service server and block chain sharing method Pending CN112689026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011429140.2A CN112689026A (en) 2020-12-07 2020-12-07 Block chain as service server and block chain sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011429140.2A CN112689026A (en) 2020-12-07 2020-12-07 Block chain as service server and block chain sharing method

Publications (1)

Publication Number Publication Date
CN112689026A true CN112689026A (en) 2021-04-20

Family

ID=75446401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011429140.2A Pending CN112689026A (en) 2020-12-07 2020-12-07 Block chain as service server and block chain sharing method

Country Status (1)

Country Link
CN (1) CN112689026A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN114089919A (en) * 2021-11-25 2022-02-25 中国联合网络通信集团有限公司 Heterogeneous MEC data collaboration method, collaboration service center and system
CN114172804A (en) * 2021-12-01 2022-03-11 杭州云象网络技术有限公司 Alliance chain separation deployment method, system, medium and electronic device
WO2023179450A1 (en) * 2022-03-23 2023-09-28 中国联合网络通信集团有限公司 Multi-blockchain collaborative service methods, and systems

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189857A (en) * 2018-09-17 2019-01-11 北京京东尚科信息技术有限公司 Data-sharing systems, method and apparatus based on block chain
CN110380898A (en) * 2019-07-08 2019-10-25 紫光云技术有限公司 Multi-operator edge service chain layout strategy based on Hyperledger Fabric
CN110489493A (en) * 2019-08-27 2019-11-22 山东浪潮人工智能研究院有限公司 A kind of cloudy data center services quality identification based on block chain
CN111090386A (en) * 2018-10-23 2020-05-01 北京白山耘科技有限公司 Cloud storage method, device and system and computer equipment
US20200220791A1 (en) * 2019-01-08 2020-07-09 Hewlett Packard Enterprise Development Lp Instantiation of a telco blockchain in a nfv environment
US10725803B1 (en) * 2019-06-21 2020-07-28 Alibaba Group Holding Limited Methods and systems for automatic blockchain deployment based on cloud platform
CN111543073A (en) * 2017-11-03 2020-08-14 联想(新加坡)私人有限公司 User authentication using connection information provided by blockchain networks
CN111797173A (en) * 2020-09-10 2020-10-20 联通(浙江)产业互联网有限公司 Alliance chain sharing system, method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111543073A (en) * 2017-11-03 2020-08-14 联想(新加坡)私人有限公司 User authentication using connection information provided by blockchain networks
CN109189857A (en) * 2018-09-17 2019-01-11 北京京东尚科信息技术有限公司 Data-sharing systems, method and apparatus based on block chain
CN111090386A (en) * 2018-10-23 2020-05-01 北京白山耘科技有限公司 Cloud storage method, device and system and computer equipment
US20200220791A1 (en) * 2019-01-08 2020-07-09 Hewlett Packard Enterprise Development Lp Instantiation of a telco blockchain in a nfv environment
US10725803B1 (en) * 2019-06-21 2020-07-28 Alibaba Group Holding Limited Methods and systems for automatic blockchain deployment based on cloud platform
CN110380898A (en) * 2019-07-08 2019-10-25 紫光云技术有限公司 Multi-operator edge service chain layout strategy based on Hyperledger Fabric
CN110489493A (en) * 2019-08-27 2019-11-22 山东浪潮人工智能研究院有限公司 A kind of cloudy data center services quality identification based on block chain
CN111797173A (en) * 2020-09-10 2020-10-20 联通(浙江)产业互联网有限公司 Alliance chain sharing system, method and device, electronic equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN113612854B (en) * 2021-08-16 2023-07-25 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN114089919A (en) * 2021-11-25 2022-02-25 中国联合网络通信集团有限公司 Heterogeneous MEC data collaboration method, collaboration service center and system
CN114172804A (en) * 2021-12-01 2022-03-11 杭州云象网络技术有限公司 Alliance chain separation deployment method, system, medium and electronic device
CN114172804B (en) * 2021-12-01 2024-03-01 杭州云象网络技术有限公司 Alliance chain separation deployment method, system, medium and electronic equipment
WO2023179450A1 (en) * 2022-03-23 2023-09-28 中国联合网络通信集团有限公司 Multi-blockchain collaborative service methods, and systems

Similar Documents

Publication Publication Date Title
US11212731B2 (en) Mobile network interaction proxy
Harutyunyan et al. Flex5G: Flexible functional split in 5G networks
CN112689026A (en) Block chain as service server and block chain sharing method
US10361843B1 (en) Native blockchain platform for improving workload mobility in telecommunication networks
CN110447208B (en) Network slice management method, unit and system
CN110896355B (en) Network slice selection method and device
CN110120988B (en) Address management method, equipment and system
CN108024270B (en) Information sending method, unit and system
EP3648432A1 (en) Discovery method and device for network function service
CN110519709B (en) Context management method and device
CN111132238B (en) Network access method and device
Chiha et al. Network slicing cost allocation model
KR102322814B1 (en) Partitioning method and user terminal of resource block group
CN114270789A (en) Method and device for acquiring information
CN111797173B (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
Huang et al. Distributed resource allocation for network slicing of bandwidth and computational resource
WO2021227600A1 (en) Network slice control method and communication apparatus
CN113949705B (en) Communication method and communication device
US11575617B2 (en) Management of services in an Edge Computing system
CN110677838A (en) Service distribution method and device
US20220030508A1 (en) Apparatus, method, and computer program
CN113784419B (en) Information sending method, unit and system
CN115826845A (en) Storage resource allocation method and device, storage medium and electronic device
CN110958603B (en) Capability reporting method and device
US20240064822A1 (en) System and method for enhanced prach configuration and improved preamble success rate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420