CN112488706A - Cloud service management method and system based on block chain - Google Patents

Cloud service management method and system based on block chain Download PDF

Info

Publication number
CN112488706A
CN112488706A CN202011324394.8A CN202011324394A CN112488706A CN 112488706 A CN112488706 A CN 112488706A CN 202011324394 A CN202011324394 A CN 202011324394A CN 112488706 A CN112488706 A CN 112488706A
Authority
CN
China
Prior art keywords
service
cloud
block chain
matching
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011324394.8A
Other languages
Chinese (zh)
Other versions
CN112488706B (en
Inventor
王心妍
李东
贾峥
郭少勇
张鸿雁
刘博�
张静
代美玲
朱贝贝
远方
阮琳娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Beijing University of Posts and Telecommunications
Information and Telecommunication Branch of State Grid Henan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing University of Posts and Telecommunications
Information and Telecommunication Branch of State Grid Henan Electric Power 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 State Grid Corp of China SGCC, Beijing University of Posts and Telecommunications, Information and Telecommunication Branch of State Grid Henan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202011324394.8A priority Critical patent/CN112488706B/en
Publication of CN112488706A publication Critical patent/CN112488706A/en
Application granted granted Critical
Publication of CN112488706B publication Critical patent/CN112488706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis

Abstract

The invention provides a cloud service management method and system based on a block chain, comprising the following steps: receiving a service registration request of a cloud server; extracting service related information by using an intelligent contract so as to add the service registration request of each cloud server into the block chain; receiving a service request of a cloud user; and matching the target service registration request by using the intelligent contract according to the service request, and establishing the matching between the cloud user and the target cloud server. According to the distributed cloud service method based on the block chain technology and constructed based on the intelligent contract technology, social idle resources can be registered in the distributed cloud service, and the utilization efficiency of the social idle resources is improved; meanwhile, a better service selection platform is provided for the user, and the user can select the cloud service which meets the self requirement; and the cloud service transaction is recorded by using the block chain, so that the transaction certificate is guaranteed not to be tampered, and the optimized bidirectional selection of the user and the service provider can be better met.

Description

Cloud service management method and system based on block chain
Technical Field
The invention relates to the technical field of computers, in particular to a cloud service management method and system based on a block chain.
Background
The cloud computing integrates IT resources to a large-scale and extensible resource pool by utilizing a virtualization technology, and provides flexible, extensible and diversified on-demand services for various enterprises and users through the Internet.
Cloud computing has become a widely recognized innovative computing model, motivating the emergence of a large number of cloud computing service providers. The number of service providers is increased, so that on one hand, different service providers can provide the same or similar cloud services with different service qualities; on the other hand, since some service providers may provide false and untrusted service information to participate in the service selection process, the service user cannot effectively obtain a true and reliable high-quality service, and the quality of service selection is not high. This poses challenges for efficient utilization of cloud service resources, efficient execution of user tasks, and minimization of cloud user payments.
The current cloud service provides a method for facilitating the discovery, monitoring and selection of more suitable cloud users by adding cloud agents between a cloud user and a plurality of cloud service providers in a service selection stage. The cloud service provider registers the cloud service information to the cloud agent, the cloud agent takes the service requirement from the cloud user as input, finds the service meeting the requirement of the cloud user, and responds to the service related information.
However, with the recent further increase of the number of cloud service providers and service types, cloud service management by means of cloud agents has become an increasingly time-consuming management mode, and cloud service selection by means of cloud agents also faces the risk of unreliable selection (such as the selection result is manipulated).
In view of this, a highly centralized service method cannot provide satisfactory services for consumers, and obviously, it is urgently needed to develop a more effective cloud service management method to provide more efficient and secure cloud services for users.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a block chain-based cloud service management method and system.
The invention provides a cloud service management method based on a block chain, which comprises the following steps: receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information;
extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain;
receiving a service request of at least one cloud user;
matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server;
the target cloud server is a cloud server corresponding to the target service registration request.
According to the cloud service management method based on the block chain, the matching of the target service registration request from the block chain by using the intelligent contract according to the service request specifically comprises the following steps:
and matching the service demand information of the service request with the service related information of each service registration request based on a service matching algorithm of an intelligent contract technology to determine a target service registration request corresponding to the service request.
According to the cloud service management method based on the block chain, provided by the invention, the service matching algorithm based on the intelligent contract technology matches the service demand information of the service request with the service related information of each service registration request, and the method comprises the following steps:
under a single-user service matching scene, determining one of service related information of all the service registration requests with the highest matching degree with service demand information of the service request of the cloud user as a matching object;
under a multi-user service matching scene, a target service registration request corresponding to a service request of each cloud user is determined based on maximization of a total matching rate and a total matching quality of the cloud users and minimization of a total matching price as matching targets.
According to the cloud service management method based on the block chain, before receiving the service registration requests of a plurality of cloud service providers, the method further comprises the following steps:
registering each cloud server based on a distributed cloud service network of a block chain, and distributing a unique service account for each cloud server;
before receiving the service request of at least one cloud user, the method further comprises the following steps:
and registering each cloud user based on the distributed cloud service network of the block chain, wherein each cloud user is not allocated with a unique user account.
According to the cloud service management method based on the block chain provided by the invention, the service related information at least comprises the following steps: service type, service quality parameter set, service resource amount and service unit resource price;
the service requirement information at least comprises: service attribute demand, resource quantity demand, demand unit resource price.
According to the cloud service management method based on the block chain, after the target service registration request is matched from the block chain by using the intelligent contract according to the service request so as to establish matching between each cloud user and the target cloud server, the method further comprises the following steps:
storing a service level agreement in the blockchain;
each cloud user and the target cloud server sign up under the chain and upload the sign up to the block chain according to the service level agreement.
According to the cloud service management method based on the block chain, provided by the invention, the evaluation of each cloud user on the target cloud server is collected so as to call the intelligent contract to update the service credit of the target cloud server;
uploading the service reputation of the target cloud server into the blockchain as part of the service-related information of the target cloud server.
The invention also provides a cloud service management system based on the block chain, which comprises the following components: the device comprises a first receiving unit, a first processing unit, a second receiving unit and a second processing unit; the cloud service registration system comprises a first receiving unit, a second receiving unit and a service registration unit, wherein the first receiving unit is used for receiving service registration requests of a plurality of cloud servers, and each service registration request at least comprises service related information;
a first processing unit, configured to extract the service-related information by using an intelligent contract, so as to add the service registration request of each cloud server into a blockchain;
a second receiving unit, configured to receive a service request of at least one cloud user;
the second processing unit is used for matching a target service registration request from the block chain by using the intelligent contract according to the service request so as to establish matching between each cloud user and the target cloud server;
the target cloud server is a cloud server corresponding to the target service registration request.
The invention further provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the above block chain-based cloud service management methods.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the block chain based cloud service management method as described in any of the above.
The cloud service management method and system based on the block chain provided by the invention provide a distributed cloud service method based on the block chain technology and constructed based on the intelligent contract technology, social idle resources can be registered in the distributed cloud service, and the utilization efficiency of the social idle resources is improved; meanwhile, a better service selection platform is provided for the user, and the user can select the cloud service which meets the self requirement; and the cloud service transaction is recorded by using the block chain, so that the transaction certificate is guaranteed not to be tampered, and the optimized bidirectional selection of the user and the service provider can be better met.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is one of the flow diagrams of a block chain-based cloud service management method provided in the present invention;
fig. 2 is a second schematic flowchart of a block chain-based cloud service management method according to the present invention;
fig. 3 is a schematic diagram of a service request in the block chain based cloud service management method provided by the present invention;
fig. 4 is a schematic diagram of service matching and transaction records in the cloud service management method based on the blockchain according to the present invention;
fig. 5 is a schematic diagram of identity registration in the block chain-based cloud service management method provided in the present invention;
fig. 6 is a schematic diagram of service provision and service evaluation in the block chain-based cloud service management method according to the present invention;
fig. 7 is a schematic diagram illustrating comparison between service matching times of a block chain-based cloud service management method and a brooker-based cloud service mechanism according to the present invention;
FIG. 8 is a schematic diagram illustrating a comparison of system gains of the block chain-based cloud service management method and the brooker-based cloud service mechanism provided in the present invention;
fig. 9 is a schematic diagram of comparing QoS of the cloud service management method based on the blockchain and the overall service of the cloud service mechanism based on the broker according to the present invention;
fig. 10 is a schematic structural diagram of a block chain-based cloud service management system provided in the present invention;
fig. 11 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
The following describes a block chain based cloud service management method and system provided by an embodiment of the present invention with reference to fig. 1 to 9.
Fig. 1 is a schematic flowchart of a block chain-based cloud service management method provided in the present invention, as shown in fig. 1, including, but not limited to, the following steps:
step S1: receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information;
step S2: extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain;
step S3: receiving a service request of at least one cloud user;
step S4: matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server;
the target cloud server is a cloud server corresponding to the target service registration request.
In consideration of the defects that the existing centralized cloud service management method for realizing cloud service management by means of cloud agents has higher unreliable selection risk and high time consumption of selection caused by a large number of similar cloud services, the cloud service management method based on the block chain provided by the invention adopts a decentralized block chain and utilizes the advantages of the block chain to design a distributed cloud service management mechanism based on the block chain. The implementation steps of the whole block chain-based cloud service management method can include, but are not limited to, four parts of cloud service and cloud user registration, service request, service matching and service transaction, service provision and service evaluation. The method realizes automatic retrieval, search, provision, use and release of all required cloud computing resources in a distributed cloud service system constructed based on a block chain and an intelligent contract technology, and completes reliable transaction between a cloud user and a cloud service provider.
Specifically, in step S1, the cloud service management system based on the block chain sequentially collects the service registration requests of all cloud servers
The distributed cloud service management system based on the block chain mainly comprises two major application entities, namely a cloud service provider (also called cloud server, CSP) and a cloud service consumer (also called cloud user). The cloud server can be divided into three types of different resource providers and corresponds to two types of cloud block chain nodes.
The nodes corresponding to the three types of service parties with different resources in the block chain are respectively a personal service provider, a cloud service agency and an enterprise-level cloud service provider, which are distributed at different geographic positions to form a cloud block chain network based on a block chain technology.
On the other hand, the cloud server is respectively a block chain light node and a block chain standard node according to two types of cloud block chain nodes corresponding to the self-capability. The block chain light node only stores part of the block data (for example, the relevant information of the service provider node in the close range) of interest of the block chain because of limited resources, and the standard node is a block chain network basic node and stores the whole network complete block chain data. Generally, the personal service provider and the cloud service agency are configured as blockchain light nodes due to their limited resources, while the enterprise-level cloud service provider is configured as blockchain standard nodes.
In step S1, a service registration request of each cloud server added to the block chain is acquired first. And each registration request sends a service registration request to a distributed cloud service network system. The service registration request must include service-related information to specify the service type, the set of service quality parameters, the amount of service resources, the price of the service unit resources, and the like that can be provided.
In step S2, the cloud service network system extracts the service-related information carried by each service registration request by using the intelligent contract in the blockchain, and publishes the information to the blockchain in the form of transaction, so that the service-related information corresponding to the service registration requests published by all cloud servers is published in the whole blockchain.
In step S3, when the cloud service network system receives the service requests of one or more cloud users at a certain time point, the service requirement information related to the service request issued by each cloud user is correspondingly read.
In step S4, after the service demand information of each cloud user is acquired, all the service demand information is matched with all the service related information related to service registration in the block chain by using an intelligent contract, so as to realize the optimal service matching between the cloud server and the cloud user.
Fig. 2 is a second schematic flowchart of the block chain based cloud service management method provided by the present invention, and as shown in fig. 2, on the basis of the foregoing embodiment, the present invention provides a block chain based cloud service management method, including but not limited to the following steps:
step 1, initializing a block chain network, designing and writing related intelligent contracts, and defining a data structure for storing data.
At Step 2, an input command (IN) is received.
Step 3, judging the type of the input instruction to realize the jump of different steps according to the difference of the instruction types, comprising the following steps: turning to the step of registration and service release (namely turning to step 4); go to the step of service request (i.e. go to step 5) or to the step of service evaluation (i.e. go to step 6).
Step 4, the steps of registration and service release mainly comprise: whether the cloud server user has a legal service account can be judged; if yes, analyzing whether the instruction of the cloud server is a service registration instruction; if yes, the registration of the service request is completed, so that the service attribute and the service related information of the service registration request are extracted, and the service attribute and the service related information are released to a block chain in a transaction form and then transferred to step 7; and if the instruction of the cloud server is not the service registration instruction, directly transferring to step 7. And if the cloud server does not own the legal service account, performing account registration for the cloud server.
Step 5, the Step of servicing the request mainly comprises: calling an intelligent contract to execute a Service matching algorithm, enabling a user to collaborate with a Service provider chain, signing a Service Level Agreement (SLA), storing the SLA into a block chain, completing Service transaction, updating a Service state, and transferring step 6. Business support
Step6, the service evaluation Step mainly comprises the following steps: and calling an intelligent contract to update the service credit, updating the service evaluation, storing the service evaluation to a block chain, and turning to Step 7.
Step 7, judging whether the system normally operates, if the system normally operates, entering Step 3 again, and executing iterative monitoring and processing; if not, the process goes to step 3 to step 8.
And Step 8, ending.
The invention provides a block chain-based cloud service management method, in particular to a block chain technology-based distributed cloud service method constructed based on a block chain and an intelligent contract technology, which can register social idle resources into distributed cloud services and improve the utilization efficiency of the social idle resources; meanwhile, a better service selection platform is provided for the user, and the user can select the cloud service which meets the self requirement; and the cloud service transaction is recorded by using the block chain, so that the transaction certificate is guaranteed not to be tampered, and the optimized bidirectional selection of the user and the service provider can be better met.
Based on the content of the foregoing embodiment, as an optional embodiment, the matching, according to the service request, a target service registration request from the block chain by using the intelligent contract specifically includes:
and matching the service demand information of the service request with the service related information of each service registration request based on a service matching algorithm of an intelligent contract technology to determine a target service registration request corresponding to the service request.
Fig. 3 is a schematic diagram of a service request in the cloud service management method based on a block chain provided in the present invention, and as shown in fig. 3, a cloud server sends a service registration request to a distributed cloud service network, where each service registration request includes corresponding service-related information, and mainly includes: service-related information such as service type, service quality parameter set, service resource amount, service unit resource price, etc. The intelligent contract in the blockchain will extract this information and write it into the blockchain, waiting for a service request.
The cloud user can initiate service requests to a distributed cloud service network based on a block chain, wherein each service request contains service requirement information corresponding to the service request, and the service requests comprise: various service attribute requirements (including functional attributes and non-functional attributes), resource quantity requirements and the like for the target service. The service request will trigger a service matching algorithm based on intelligent contract technology. The service matching algorithm respectively considers factors such as the maximum capital expenditure borne by the service requester (each cloud user) and the optimal service quality of the service provider (each cloud server) to complete the optimal service matching.
According to the cloud service management method based on the block chain, the intelligent contract technology of the block chain is utilized, the matching processing of the service request is realized, a distributed cloud service management mechanism based on the block chain is designed, and the safe p2p resource transaction is guaranteed. The distributed cloud service system constructed based on the block chain technology and the intelligent contract technology can realize automatic retrieval, search, provision, use and release of all required cloud computing resources, and complete reliable transactions.
Based on the content of the foregoing embodiment, as an optional embodiment, the matching, by the service matching algorithm based on the intelligent contract technology, the service requirement information of the service request and the service related information of each service registration request are matched, including:
under a single-user service matching scene, determining one of service related information of all the service registration requests with the highest matching degree with service demand information of the service request of the cloud user as a matching object;
under a multi-user service matching scene, a target service registration request corresponding to a service request of each cloud user is determined based on maximization of a total matching rate and a total matching quality of the cloud users and minimization of a total matching price as matching targets.
Further, in the process of realizing the matching operation of the service request by the service matching algorithm based on the intelligent contract technology, the cloud block chain network can realize the service matching algorithm based on the intelligent contract so as to realize comprehensive matching by considering the service related information of the service provider according to the service demand information of the user.
Specifically, under the single-user service matching scene, the service matching is completed by maximizing the service demand matching amount of the user, and meanwhile, the resource pricing is realized.
Since only one cloud user participates in matching, the matching amount of the service demand information of the cloud user and the service related information of any service registration request is maximized to serve as a matching target, so that the cloud user is matched with an optimal cloud server.
Fig. 4 is a schematic diagram of service matching and transaction records in the cloud service management method based on the block chain, and as shown in fig. 4, in the face of a more common multi-user simultaneous service matching scenario, the social welfare is maximized, and service matching is achieved with the service quality and the service price as factors.
For example, the goal of maximizing social welfare may be understood as: if 100 cloud users send service requests to participate in optimal matching, the social welfare maximization refers to the maximum quantity which can meet the requirements of the cloud users to the maximum extent. Such as: if the first matching result is a matching requirement that can simultaneously satisfy 80 cloud users, and the second matching result is a matching requirement that can simultaneously satisfy 98 cloud users, it can be considered that the second matching result is a matching result that aims at maximizing social welfare.
The quality of service may include attribute parameters such as jitter rate, interruption rate, and response time of the service. The quality of service is greater the smaller the jitter rate, the lower the outage rate, and the shorter the response time. And the total matching quality can be understood as the comprehensive quality (such as an average value or an accumulated value) of the matching qualities corresponding to all cloud users.
Wherein the matching price is a difference between a willingness price of the service request for each cloud user and a service price of each corresponding cloud server. Generally, the lower the matching price, the higher the matching degree. And the average matching price can be understood as a comprehensive price (such as an average value or an accumulated value) of the matching prices corresponding to all the cloud users.
Furthermore, the service matching algorithm based on the intelligent contract technology can also realize intelligent matching operation according to the comprehensive reputation of each cloud server and the standardized service quality of each cloud server, and the like, which are used as matching parameters, and the invention is not particularly limited.
According to the cloud service management method based on the block chain, the requirements of the cloud user and the cloud service provider are automatically matched by using the service matching algorithm of the intelligent contract technology, the service management mechanism provides a better service selection platform for the user, and the user can select the cloud service which meets the requirements of the user; and recording cloud service transactions by using a block chain, and ensuring that transaction certificates cannot be tampered. The distributed cloud service based on the block chain can better meet the optimized bidirectional selection of users and service providers.
Based on the content of the foregoing embodiment, as an optional embodiment, before receiving the service registration requests of the plurality of cloud servers, the method further includes:
registering each cloud server based on a distributed cloud service network of a block chain, and distributing a unique service account for each cloud server;
before receiving the service request of at least one cloud user, the method further comprises the following steps:
and registering each cloud user based on the distributed cloud service network of the block chain, wherein each cloud user is not allocated with a unique user account.
The distributed cloud service network based on the block chain allows access to various cloud service persons, the registered cloud service persons are assigned with a unique service account, and each cloud service person can use the service account to publish service information of the cloud service person to the block chain. As a client node in the blockchain network, each cloud user completes registration of a user account before requesting a service to obtain a service account of a target cloud server.
Fig. 5 is a schematic diagram of identity registration in the block chain-based cloud service management method provided in the present invention, and as shown in fig. 5, the registration of a cloud user includes: uploading, by a cloud user, a registration request to a block chain-based cloud service management network; and after receiving the registration request, the cloud service management network completes registration and publishing of information on the block chain and sends the generated account and the account private key to the cloud user.
The registration of the cloud server is relatively high in requirement, and includes: the cloud server uploads a service registration request to a cloud service management network; after receiving the service registration request, the cloud service management network completes registration and publication of corresponding information on a block chain and sends the generated account and the account private key to the cloud server; then, the cloud server can realize instant publishing of the service information based on the account, and can receive corresponding service registration corresponding information and the like at any time.
According to the cloud service management method based on the block chain, the identity, the release information and the like of each cloud user and each cloud server are managed in a unified mode through authentication and registration, and the safety and the reliability of transactions are effectively guaranteed.
Based on the content of the foregoing embodiment, as an optional embodiment, the service related information at least includes: service type, service quality parameter set, service resource amount and service unit resource price; the service requirement information at least comprises: service attribute demand, resource quantity demand, demand unit resource price.
Specifically, the service type may include: basic cloud service type: infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS); emerging cloud service types: a Backend-as-a-Service (Backend-as-a-Service), a Process-as-a-Service (Process-as-a-Service), a Security-as-a-Service (Security-as-a-Service), a Blockchain-as-a-Service (Blockchain-as-a-Service), and the like.
The set of quality of service parameters may include: safety; availability; reliability; responsiveness: satisfaction and assurances, each of which contains several specific indexes. Based on the basic index evaluation method, the service quality parameter set is defined as A ═ Aqual,Aquan} of whichIn Aqual={l1,...,lkIs k qualitative attributes, Aquan={n1,...,nmIs m quantitative attributes. Different service quality attribute parameters adopt different quantization methods, and quantized service parameter quantization value sets can be obtained
Figure BDA0002793870160000131
The amount of service resources may include: the cloud services virtual machine instance. Namely the number of service virtual machine instances of a given type which can be rented externally by the current cloud service provider, wherein the formalization definition is RCWhere C represents the current service provider identification.
The service unit resource price may include: service pricing p for unit service virtual machine instancesC
The service attribute requirements may include: minimum requirement of user on cloud service class service quality
Figure BDA0002793870160000132
Which describes a set of quality of service parameters for a corresponding cloud service.
The resource amount requirement may include: user required specified type cloud service virtual machine number Bu
The price per demand resource may include: maximum user tolerable resource per unit price pu
It should be noted that, in the actual working process, the service related information and the service requirement information may also include other contents, and the present invention is not specifically limited thereto.
Based on the content of the foregoing embodiment, as an optional embodiment, after matching, according to the service request, a target service registration request from the blockchain by using the smart contract to establish a match between each cloud user and the target cloud server, the method further includes:
storing a service level agreement in the blockchain;
the service level agreement is signed by each cloud user with the target cloud server under the chain and uploaded to the block chain.
Specifically, according to the cloud service management method based on the blockchain, provided by the invention, after service matching is completed, both participating cloud service providers and cloud users sign SLAs, and the agreement is recorded on the chain in a blockchain transaction form, so that responsibility guarantee is provided, and corroborative materials are provided for later-stage service provision level and service evaluation, so that false evaluation is prevented.
Based on the content of the foregoing embodiment, the block chain-based cloud service management method provided by the present invention may further include:
collecting the evaluation of each cloud user on the target cloud server to call the intelligent contract to update the service reputation of the target cloud server;
uploading the service reputation of the target cloud server into the blockchain as part of the service-related information of the target cloud server.
Fig. 6 is a schematic diagram of service provision and service evaluation in the cloud service management method based on the blockchain according to the present invention, and as shown in fig. 6, the provision of the service by the cloud server will occur outside the blockchain, that is, the cloud server provides the service for the cloud user according to the service agreement on the chain.
After the service is finished, the cloud user can evaluate the service provider, and the evaluation forms the service credit of the cloud service provider and provides reference for subsequent service management and user service selection. And the service reputation of each cloud server can be used as a matching index to be added into a service matching algorithm so as to realize supervision on each cloud server.
According to the cloud service management method based on the block chain, provided by the invention, the service evaluation is used as a mode for improving the service level of a cloud server, and meanwhile, the optimization selection of cloud users can be better met.
Fig. 7 is a schematic diagram illustrating performance comparison between a block chain-based cloud service management method and a brooker-based cloud service mechanism provided by the present invention, and as shown in fig. 7, a distributed cloud service architecture (DCS) provided by the present invention is compared with a conventional brooker-based cloud service mechanism (BCS).
In the BCS framework, the agent node analyzes the service provider according to the credit and QoS quantification method provided by the invention. The same service matching algorithm is run in consideration of the cloud user payment, the actual cost of the cloud server and the like, and the service matching time under the two architectures is obtained as shown in fig. 7.
As the number of cloud servers increases, it is necessary to analyze whether more cloud servers meet the demands of cloud users, which may result in an increase in time for service matching.
But it is known that: service matching under the DCS architecture is better than service selection under the BCS in time.
Fig. 8 is a schematic diagram comparing system gains of the cloud service management method based on the block chain and the cloud service mechanism based on the broker provided by the present invention, and fig. 9 is a schematic diagram comparing overall service QoS of the cloud service management method based on the block chain and the cloud service mechanism based on the broker provided by the present invention, as shown in fig. 8 and fig. 9, it can be clearly seen that service provision under DCS and BCS architecture is similar in performance, and as the number of cloud servers increases, under the condition that the task amount gradually increases, service performance received by a cloud user is better, and service gains of CSP are also better. By comprehensively considering fig. 8 and fig. 9, it can be concluded that the distributed cloud service mechanism effectively improves the service matching efficiency, reduces the user burden, and improves the comprehensive utilization rate of social resources while ensuring the service performance.
Fig. 10 is a schematic structural diagram of a block chain-based cloud service management system provided in the present invention, and as shown in fig. 10, the block chain-based cloud service management system provided in the present invention mainly includes, but is not limited to: a first receiving unit 1, a first processing unit 2, a second receiving unit 3 and a second processing unit 4.
The first receiving unit 1 is mainly configured to receive service registration requests of a plurality of cloud servers, where each service registration request at least includes service-related information;
the first processing unit 2 is mainly configured to extract the service-related information by using an intelligent contract, so as to add the service registration request of each cloud server into the blockchain;
the second receiving unit 3 is mainly used for receiving a service request of at least one cloud user;
the second processing unit 4 is mainly configured to match a target service registration request from the blockchain by using the smart contract according to the service request, so as to establish a match between each cloud user and the target cloud server; the target cloud server is a cloud server corresponding to the target service registration request.
In the first receiving unit 1, a service registration request of each cloud server added to the block chain is obtained first. And each registration request sends a service registration request to a distributed cloud service network system. The service registration request must include service-related information to specify the service type, the set of service quality parameters, the amount of service resources, the price of the service unit resources, and the like that can be provided.
In the first processing unit 2, the cloud service network system extracts the service-related information carried by each service registration request by using an intelligent contract in the blockchain, and publishes the information to the blockchain in a transaction form, so that the service-related information corresponding to the service registration requests published by all cloud servers is publicly published in the whole blockchain.
In the second receiving unit 3, when the cloud service network system receives the service requests of one or more cloud users at a certain time point, the service requirement information related to the service request issued by each cloud user is correspondingly read.
In the second processing unit 4, after the service demand information of each cloud user is acquired, all the service demand information is matched with all the service related information related to service registration in the block chain by using an intelligent contract, so that the optimal service matching between the cloud server and the cloud user is realized.
When the cloud service management system based on the block chain is specifically applied, the block chain and intelligent contract technology-based distributed cloud service method is provided, social idle resources can be registered in the distributed cloud service, and the utilization efficiency of the social idle resources is improved; meanwhile, a better service selection platform is provided for the user, and the user can select the cloud service which meets the self requirement; and the cloud service transaction is recorded by using the block chain, so that the transaction certificate is guaranteed not to be tampered, and the optimized bidirectional selection of the user and the service provider can be better met.
It should be noted that, when specifically executed, the cloud service management system based on the block chain provided in the embodiment of the present invention may be implemented based on the cloud service management method based on the block chain described in any of the above embodiments, and details of this embodiment are not described herein.
Fig. 11 is a schematic structural diagram of an electronic device provided in the present invention, and as shown in fig. 11, the electronic device may include: a processor (processor)110, a communication interface (communication interface)120, a memory (memory)130 and a communication bus 140, wherein the processor 110, the communication interface 120 and the memory 130 are communicated with each other via the communication bus 140. The processor 110 may call logic instructions in the memory 130 to perform a blockchain based cloud service management method, the method comprising: receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information; extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain; receiving a service request of at least one cloud user; matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server; the target cloud server is a cloud server corresponding to the target service registration request.
In addition, the logic instructions in the memory 130 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) 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 usb disk, a removable hard disk, a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In another aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the block chain based cloud service management method provided by the above methods, the method including: receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information; extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain; receiving a service request of at least one cloud user; matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server; the target cloud server is a cloud server corresponding to the target service registration request.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the method for cloud service management based on block chains provided in the foregoing embodiments, the method including: receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information; extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain; receiving a service request of at least one cloud user; matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server; the target cloud server is a cloud server corresponding to the target service registration request.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A cloud service management method based on a block chain is characterized by comprising the following steps:
receiving service registration requests of a plurality of cloud service providers, wherein each service registration request at least comprises service related information;
extracting the service related information by using an intelligent contract so as to add the service registration request of each cloud server into a blockchain;
receiving a service request of at least one cloud user;
matching a target service registration request from the blockchain according to the service request by using the intelligent contract to establish matching between each cloud user and the target cloud server;
the target cloud server is a cloud server corresponding to the target service registration request.
2. The block chain-based cloud service management method according to claim 1, wherein the matching, according to the service request, a target service registration request from the block chain by using the intelligent contract specifically includes:
and matching the service demand information of the service request with the service related information of each service registration request based on a service matching algorithm of an intelligent contract technology to determine a target service registration request corresponding to the service request.
3. The block chain-based cloud service management method according to claim 2, wherein the matching of the service demand information of the service request with the service-related information of each service registration request by the service matching algorithm based on the intelligent contract technology includes:
under a single-user service matching scene, determining one of service related information of all the service registration requests with the highest matching degree with service demand information of the service request of the cloud user as a matching object;
under a multi-user service matching scene, a target service registration request corresponding to a service request of each cloud user is determined based on maximization of a total matching rate and a total matching quality of the cloud users and minimization of a total matching price as matching targets.
4. The block chain based cloud service management method according to claim 1, further comprising, before receiving service registration requests of a plurality of cloud servers:
registering each cloud server based on a distributed cloud service network of a block chain, and distributing a unique service account for each cloud server;
before receiving the service request of at least one cloud user, the method further comprises the following steps:
and registering each cloud user based on the distributed cloud service network of the block chain, wherein each cloud user is not allocated with a unique user account.
5. The block chain based cloud service management method according to claim 2,
the service related information comprises at least: service type, service quality parameter set, service resource amount and service unit resource price;
the service requirement information at least comprises: service attribute demand, resource quantity demand, demand unit resource price.
6. The blockchain-based cloud service management method according to claim 1, further comprising, after matching a target service registration request from the blockchain according to the service request by using the smart contract to establish a match between each cloud user and the target cloud server:
storing a service level agreement in the blockchain;
each cloud user and the target cloud server sign up under the chain and upload the sign up to the block chain according to the service level agreement.
7. The block chain-based cloud service management method according to claim 1, further comprising:
collecting the evaluation of each cloud user on the target cloud server to call the intelligent contract to update the service reputation of the target cloud server;
uploading the service reputation of the target cloud server into the blockchain as part of the service-related information of the target cloud server.
8. A block chain-based cloud service management system, comprising:
the cloud service registration system comprises a first receiving unit, a second receiving unit and a service registration unit, wherein the first receiving unit is used for receiving service registration requests of a plurality of cloud servers, and each service registration request at least comprises service related information;
a first processing unit, configured to extract the service-related information by using an intelligent contract, so as to add the service registration request of each cloud server into a blockchain;
a second receiving unit, configured to receive a service request of at least one cloud user;
the second processing unit is used for matching a target service registration request from the block chain by using the intelligent contract according to the service request so as to establish matching between each cloud user and the target cloud server;
the target cloud server is a cloud server corresponding to the target service registration request.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the block chain based cloud service management method steps of any of claims 1 to 7 when executing the computer program.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the method steps of the block chain based cloud service management method according to any of claims 1 to 7.
CN202011324394.8A 2020-11-23 2020-11-23 Cloud service management method and system based on block chain Active CN112488706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011324394.8A CN112488706B (en) 2020-11-23 2020-11-23 Cloud service management method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011324394.8A CN112488706B (en) 2020-11-23 2020-11-23 Cloud service management method and system based on block chain

Publications (2)

Publication Number Publication Date
CN112488706A true CN112488706A (en) 2021-03-12
CN112488706B CN112488706B (en) 2023-02-17

Family

ID=74933037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011324394.8A Active CN112488706B (en) 2020-11-23 2020-11-23 Cloud service management method and system based on block chain

Country Status (1)

Country Link
CN (1) CN112488706B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device
CN114553495A (en) * 2022-01-27 2022-05-27 南京第三极区块链科技有限公司 Service registration and discovery system based on block chain and use method thereof
CN114760306A (en) * 2022-03-31 2022-07-15 广西玉林链向千禧大数据有限公司 Task scheduling method for cloud and mist edge collaborative environment based on block chain
CN115689202A (en) * 2022-11-01 2023-02-03 南京莫愁智慧信息科技有限公司 Three-dimensional digital data processing method based on block chain
WO2023066046A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Contract management method, apparatus and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150052009A1 (en) * 2013-08-16 2015-02-19 MDSave, LLC Network-based marketplace service for facilitating purchases of services and products
CN109064330A (en) * 2018-07-19 2018-12-21 中链科技有限公司 Service transacting processing method, system and device based on alliance's block chain
CN109714173A (en) * 2019-01-25 2019-05-03 北京邮电大学 A kind of Internet of Things authentication method and device based on block chain
CN110753126A (en) * 2019-10-28 2020-02-04 国网河南省电力公司信息通信公司 Service node selection method, device management method, device, system and medium
CN110855701A (en) * 2019-11-21 2020-02-28 清华大学 Block chain-based infrastructure service method and device
KR102131207B1 (en) * 2019-10-23 2020-07-07 비씨카드(주) Method, device and payment server for providing payment services based on bio information and supporting the same
CN111754307A (en) * 2020-06-28 2020-10-09 铭数科技(青岛)有限公司 Multi-factor electric quantity transaction matching method and device based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150052009A1 (en) * 2013-08-16 2015-02-19 MDSave, LLC Network-based marketplace service for facilitating purchases of services and products
CN109064330A (en) * 2018-07-19 2018-12-21 中链科技有限公司 Service transacting processing method, system and device based on alliance's block chain
CN109714173A (en) * 2019-01-25 2019-05-03 北京邮电大学 A kind of Internet of Things authentication method and device based on block chain
KR102131207B1 (en) * 2019-10-23 2020-07-07 비씨카드(주) Method, device and payment server for providing payment services based on bio information and supporting the same
CN110753126A (en) * 2019-10-28 2020-02-04 国网河南省电力公司信息通信公司 Service node selection method, device management method, device, system and medium
CN110855701A (en) * 2019-11-21 2020-02-28 清华大学 Block chain-based infrastructure service method and device
CN111754307A (en) * 2020-06-28 2020-10-09 铭数科技(青岛)有限公司 Multi-factor electric quantity transaction matching method and device based on block chain

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device
WO2023066046A1 (en) * 2021-10-22 2023-04-27 华为技术有限公司 Contract management method, apparatus and system
CN114553495A (en) * 2022-01-27 2022-05-27 南京第三极区块链科技有限公司 Service registration and discovery system based on block chain and use method thereof
CN114760306A (en) * 2022-03-31 2022-07-15 广西玉林链向千禧大数据有限公司 Task scheduling method for cloud and mist edge collaborative environment based on block chain
CN114760306B (en) * 2022-03-31 2024-04-09 四川链向科技集团有限公司 Task scheduling method for cloud and fog edge collaborative environment based on blockchain
CN115689202A (en) * 2022-11-01 2023-02-03 南京莫愁智慧信息科技有限公司 Three-dimensional digital data processing method based on block chain
CN115689202B (en) * 2022-11-01 2023-10-20 南京莫愁智慧信息科技有限公司 Three-dimensional digital data processing method based on block chain

Also Published As

Publication number Publication date
CN112488706B (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN112488706B (en) Cloud service management method and system based on block chain
US20210124616A1 (en) Workload management using blockchain-based transaction deferrals
Zhang et al. Live video analytics at scale with approximation and {Delay-Tolerance}
Harms et al. The economics of the cloud
US9531604B2 (en) Prediction-based provisioning planning for cloud environments
US10057186B2 (en) Service broker for computational offloading and improved resource utilization
US20140236864A1 (en) Allocating financial risk and reward in a multi-tenant environment
CN113599803A (en) Data processing method and device based on edge calculation and readable storage medium
US10783002B1 (en) Cost determination of a service call
WO2022252363A1 (en) Data processing method, computer device and readable storage medium
Dempsey et al. Industry trends in cloud computing
Debe et al. Blockchain-based decentralized reverse bidding in fog computing
US20160004984A1 (en) Service oriented architecture optimization system and method
EP2652695A2 (en) Hybrid cloud broker
US11113244B1 (en) Integrated data pipeline
CN113434294A (en) Data processing method, computer equipment and readable storage medium
Xu et al. Cost-aware resource management for federated clouds using resource sharing contracts
Rizvandi et al. A study on using uncertain time series matching algorithms for MapReduce applications
Xu et al. Optimized contract-based model for resource allocation in federated geo-distributed clouds
CN115033340A (en) Host selection method and related device
US20230300086A1 (en) On-demand resource capacity in a serverless function-as-a-service infrastructure
Sood Function points‐based resource prediction in cloud computing
US11755379B2 (en) Liaison system and method for cloud computing environment
Nadjaran Toosi et al. SipaaS: Spot instance pricing as a Service framework and its implementation in OpenStack
CN114253957A (en) Data processing method, related device, storage medium and computer program product

Legal Events

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