The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
The embodiment of the application provides a cloud service evaluation method which is used for evaluating from two dimensions of cloud supply and cloud utilization. The cloud service use system and the cloud service providing system are evaluated according to the cloud use amount, the cloud service providing system is evaluated according to the cloud use amount, a cloud use calculation model for calculating cloud use index values and a cloud supply calculation model for calculating cloud use index values are given, and therefore modeling of evaluation of the cloud service use system and the cloud service providing system is achieved. According to the scheme, the cloud amount used by the cloud service using system can be evaluated, and the cloud amount used by the cloud service providing system can be evaluated.
The cloud supply amount is a reference value obtained by comprehensively and quantitatively counting the cloud resource supply of each item which can be provided by the cloud supply amount aiming at a cloud service provider which has an independent machine room and can provide cloud service and the cloud infrastructure resource supply scale conditions of each region, and integrally reflects the scale construction condition of the novel cloud computing infrastructure.
The cloud consumption is a cloud scale reference value obtained by carrying out quantitative statistics on factors such as resource use or cost and the like aiming at the condition that cloud enterprises or regions use cloud computing related products and services, and integrally reflects the scale application condition of the related cloud computing products and services in the novel infrastructure of cloud computing.
The cloud service index evaluation process is given below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic view illustrating a cloud service index evaluation process according to an embodiment of the present application. The method comprises the following specific steps:
step 101, acquiring the number of cloud host CPU cores and the cost of a single CPU core used in a cloud service using system.
102, acquiring block storage quantity and block storage unit cost used in a cloud service use system; file storage capacity and file storage unit cost; as well as object storage and object storage unit cost.
Step 103, acquiring the total number of network bandwidths used in the cloud service use system and the unit cost of the network bandwidths.
And 104, acquiring the total cost of using the application software in the cloud service using system.
Here, the application software is application software such as database, security, etc.
And 105, acquiring a cloud use index value of the cloud service use system based on a cloud use computing model.
And (4) taking the parameter values obtained in the steps 101 and 104 as input parameters of the cloud computing model, and outputting cloud use index values by using the cloud computing model.
The execution sequence of steps 101 to 14 is not limited, i.e. not in a sequential order.
The internal computing process using the cloud computing model may be: calculating the product of the number of the CPU cores used in the obtained cloud service using system and the cost of a single CPU core as a first cost of the CPU core using the cloud host in the cloud service using system; calculating the product of the block storage capacity used in the obtained cloud service use system and the unit cost of the block storage; the product of the file storage capacity used in the cloud service usage system and the file storage unit cost; and a product of the object storage amount used in the cloud service usage system and the object storage unit cost and summing up a second cost as a storage capacity used in the cloud service usage system; calculating the product of the total number of the obtained network bandwidths used in the cloud service use system and the unit cost of the network bandwidth as a third cost of the network bandwidth used in the cloud service use system; and calculating the cloud volume index value according to the first cost, the second cost, the third cost and a fourth cost, wherein the fourth cost is the total cost of using the application software.
The calculating the cloud volume index value according to the first cost, the second cost, the third cost and the fourth cost comprises:
calculating a cloud index CIU value by:
(α×(Puc+Pus+Pub)+β×It)÷Ku;
wherein; puc=Cu×Pcpu;Pus=BSu×Pbs+FSu×Pfs+OSu×Pos;Pub=Bu×Pbw;
Wherein, PucRepresenting a first cost; pusRepresenting a second cost; pubRepresenting a third cost; i istRepresents a fourth cost; alpha and beta are weight factors, and alpha + beta is 1; kuRepresenting a cloud cost conversion factor (in units of elements);
Cuusing the number of CPU cores (cores in units) used in the system for cloud services, PcpuCost per CPU core (unit is element/core); BSuUsing the block storage (in TB) used in the system for cloud services, PbsStore unit cost for a block (unit is element/TB); FS (file system)uUsing the amount of file storage used in the system (in TB) for cloud services, PfsCost per unit of file storage (unit is element/TB); OSuUsing the amount of object storage (in TB) used in the system for cloud services, PosStore unit cost for object (unit is element/TB); b isuUsing the total amount of network bandwidth used in the system (in G), P, for cloud servicesbwIs the unit cost of network bandwidth (in units of grams/G).
And 106, evaluating the cloud using condition of the cloud service using system according to the cloud using index value.
When the cloud service using system is evaluated by using the cloud use index value, a threshold value can be set, the cloud service using system can be directly evaluated to be not up to the standard, a grade range can also be given, the cloud use condition of the current cloud service using system is determined according to the grade range to which the cloud use index belongs, and the grade range can be more than two, namely more than two grades.
In the embodiment, the cloud condition of the cloud service using system is quantitatively evaluated by acquiring parameters of a cloud host CPU core, cloud storage, a cloud network and the like in the cloud service using system and determining the cloud use index value based on the cloud use computing model. The scheme can quantitatively evaluate the use condition of the cloud service.
Example two
Referring to fig. 2, fig. 2 is a schematic view of a cloud service evaluation process in the second embodiment of the present application. The method comprises the following specific steps:
step 201, acquiring the number of CPU cores providing cloud services and the cost of a single CPU core in the cloud service providing system.
Step 202, obtaining a block storage amount and a block storage unit cost, a file storage amount and a file storage unit cost, and an object storage amount and an object storage unit cost of the cloud service provided in the cloud service providing system.
Step 203, acquiring the total network bandwidth and the unit cost of the network bandwidth for providing the cloud service in the cloud service providing system.
The execution sequence of steps 201 to 203 is not limited, i.e. not in sequence.
And 204, acquiring a cloud supply index value of the cloud service providing system based on a cloud supply computing model.
And taking the parameter values obtained in the step 201 and the step 203 as input parameters of the cloud computing model, and outputting cloud quantity index values by the cloud computing model.
The internal computing process of the cloud computing model can be as follows:
calculating the product of the number of CPU cores providing cloud services in the obtained cloud service providing system and the cost of a single CPU core as a fifth cost; calculating and acquiring a product of block storage capacity and block storage unit cost for providing cloud services in a cloud service providing system, a product of file storage capacity and file storage unit cost for providing cloud services in the cloud service providing system, and a product of object storage capacity and object storage unit cost for providing cloud services in the cloud service providing system, and summing the products to obtain a sixth cost; calculating the product of the total number of network bandwidths for providing the cloud service in the acquired cloud service providing system and the unit cost of the network bandwidths as a seventh cost; and calculating a cloud provision index value based on the fifth cost, the sixth cost, and the seventh cost.
Wherein calculating the cloud provision index value according to the fifth cost, the sixth cost, and the seventh cost includes:
cloud index CIP values were calculated by the following formula:
(Pc+Ps+Pb)÷Kt;
wherein, Pc=Ct×Pcpu;Ps=BSt×Pbs+FSt×Pfs+OSt×Pos;Pb=Bt×Pbw;
PcRepresents a fifth cost; psRepresents a sixth cost; pbRepresents a seventh cost; ktRepresenting a supply cloud quantum cost conversion factor (in units of elements);
Ctnumber of CPU cores (core in units) for providing cloud services, PcpuCost per CPU core (unit is element/core); BStBlock storage (in TB) for providing cloud services, PbsFor Block storage Unit cost (Unit is element/TB), FStStorage of files (in TB) for providing cloud services, PfsFor the cost of the file storage unit (unit is element/TB), OStAmount of object storage (in TB) for providing cloud services, PosStore unit cost for object (unit is element/TB); b istTotal amount of network bandwidth (in G), P, to provide cloud servicesbwIs the unit cost of network bandwidth (in units of grams/G).
And step 205, evaluating the cloud supply condition of the cloud service providing system according to the cloud supply index value.
When the cloud use condition of the cloud service providing system is evaluated by using the cloud supply index value, a threshold value can be set, the standard reaching and non-standard reaching can be directly evaluated, a grade range can also be given, the cloud supply condition of the current cloud service providing system is determined according to the grade range to which the cloud supply index belongs, and the grade range can be more than two, namely more than two grades are divided.
In the embodiment, the cloud supply condition of the cloud service providing system is quantitatively evaluated by acquiring parameters of a cloud host CPU core, cloud storage, a cloud network and the like in the cloud service providing system and determining the cloud supply index value based on the cloud computing model. The scheme can quantitatively evaluate the cloud supply condition of the cloud service.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic view of a cloud service evaluation process in the third embodiment of the present application. The method comprises the following specific steps:
step 301, obtaining a cloud supply index value of the cloud service providing system.
And obtaining a cloud supply index value by the method in the second embodiment.
Step 302, obtaining a cloud use index value of a cloud service use system corresponding to the cloud service providing system.
The cloud amount index value is obtained through the method in the first embodiment.
Step 303, determining the cloud service utilization efficiency according to the cloud volume index value for the cloud service providing system and the cloud volume index value for the cloud service utilization system.
When one cloud service providing system corresponds to a plurality of cloud service using systems, the cloud use index values of each cloud service using system need to be obtained respectively, and the cloud use index values are summed to obtain an overall cloud use index value.
When calculating the cloud service use efficiency, the ratio of the cloud use index value of the cloud service use system to the cloud supply index value of the cloud service providing system may be used as the cloud service use efficiency, or other manners may be used.
The unit costs of the storage amount, the number of CPU cores, the bandwidth, and the like in the first and second embodiments may be provided by the corresponding system, or may be set by the present cloud service evaluation apparatus.
The cloud service evaluation scheme provided by the embodiment of the application can provide a scientific measuring mechanism for measuring local cloud computing infrastructure construction and local cloud computing application scale for various levels of information-based departments in various cities, and provides a reference basis for promoting balanced layout and scale construction of the local cloud computing infrastructures in various places in follow-up overall planning.
The cloud utilization degree evaluation method can provide visual reference for cloud-going enterprises to measure self cloud-going and cloud utilization degree, facilitates the enterprises to evaluate self cloud utilization scale, and provides a measuring basis for the enterprises to apply for cloud volume loan according to 'implementation scheme for promoting' cloud-going number intelligence development by action 'action cultivation new economic development'.
The method can provide a scientific measuring method for the third-party institution to measure and calculate the construction scale of the cloud computing infrastructure of enterprises in all parts of the country and in all vertical industries and actually provide powerful support for fully understanding the development and application degree of the cloud computing industry.
Based on the same inventive concept, the embodiment of the application also provides a cloud service evaluation device. Referring to fig. 4, fig. 4 is a schematic structural diagram of the present application. The device comprises: a storage unit 401, an acquisition unit 402, a calculation unit 403, and an evaluation unit 404;
a storage unit 401 for storing the cloud computing model;
an obtaining unit 402, configured to obtain the number of CPU cores of a cloud host and the cost of a single CPU core used in a cloud service usage system; acquiring block storage capacity and block storage unit cost used in a cloud service use system, file storage capacity and file storage unit cost, and object storage capacity and object storage unit cost; acquiring the total number of network bandwidths used in a cloud service use system and the unit cost of the network bandwidths; acquiring the total cost of application software used in a cloud service use system;
a calculating unit 403, configured to obtain a cloud usage index value of the cloud service usage system based on the cloud usage model stored in the storage unit 401 and the parameter obtained by the obtaining unit 402;
an evaluating unit 404, configured to evaluate a cloud usage situation of the cloud service usage system according to the cloud usage index value obtained by the computing unit 403.
Preferably, the first and second electrodes are formed of a metal,
the product of the number of CPU cores used in the cloud service using system and the cost of a single CPU core obtained by using the cloud computing model is used as a first cost of the CPU core using the cloud host in the cloud service using system; calculating the product of the block storage capacity used in the obtained cloud service use system and the unit cost of the block storage; the product of the file storage capacity used in the cloud service usage system and the file storage unit cost; and a product of the object storage amount used in the cloud service usage system and the object storage unit cost and summing up a second cost as a storage capacity used in the cloud service usage system; calculating the product of the total number of the obtained network bandwidths used in the cloud service use system and the unit cost of the network bandwidth as a third cost of the network bandwidth used in the cloud service use system; and calculating the cloud volume index value according to the first cost, the second cost, the third cost and a fourth cost, wherein the fourth cost is the total cost of using the application software.
Preferably, the calculating the cloud index value according to the first cost, the second cost, the third cost and the fourth cost includes:
calculating a cloud index CIU value by:
(α×(Puc+Pus+Pub)+β×It)÷Ku;
wherein, PucRepresenting a first cost; pusRepresenting a second cost; pubRepresenting a third cost; i istRepresents a fourth cost; alpha and beta are weight factors, and alpha + beta is 1; kuRepresenting the cost conversion factor in terms of cloud cover.
Preferably, the first and second electrodes are formed of a metal,
the storage unit 401 is further used for storing the cloud computing model;
an obtaining unit 402, further configured to obtain the number of CPU cores providing cloud services in the cloud service providing system and the cost of a single CPU core; acquiring block storage capacity and block storage unit cost, file storage capacity and file storage unit cost, and object storage capacity and object storage unit cost for providing cloud services in a cloud service providing system; acquiring the total network bandwidth and the unit cost of the network bandwidth for providing cloud services in a cloud service providing system;
a calculating unit 403, configured to obtain a cloud supply index value of the cloud service providing system based on the cloud supply calculation model stored in the storage unit 401;
the evaluation unit 404 is further configured to evaluate a cloud supply situation of the cloud service providing system according to the cloud supply index value obtained by the computing unit 403.
Preferably, the first and second electrodes are formed of a metal,
the product of the number of CPU cores providing cloud services in the cloud service providing system for cloud computing model calculation and the cost of a single CPU core is used as a fifth cost; calculating and acquiring a product of block storage capacity and block storage unit cost for providing cloud services in a cloud service providing system, a product of file storage capacity and file storage unit cost for providing cloud services in the cloud service providing system, and a product of object storage capacity and object storage unit cost for providing cloud services in the cloud service providing system, and summing the products to obtain a sixth cost; calculating the product of the total number of network bandwidths for providing the cloud service in the acquired cloud service providing system and the unit cost of the network bandwidths as a seventh cost; and calculating a cloud provision index value based on the fifth cost, the sixth cost, and the seventh cost.
Preferably, said calculating a cloud offer index value according to a fifth cost, a sixth cost, and a seventh cost includes:
cloud index CIP values were calculated by the following formula:
(Pc+Ps+Pb)÷Kt;
wherein, PcRepresents a fifth cost; psRepresents a sixth cost; pbRepresents a seventh cost; ktRepresenting a cloud supply cost conversion factor.
Preferably, the first and second electrodes are formed of a metal,
the evaluation unit 404 is further configured to determine cloud service usage efficiency according to the cloud supply index value of the cloud service providing system and the cloud usage index value of the cloud service using system when the cloud service providing system provides cloud service for the cloud service using system.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In another embodiment, an electronic device is also provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the cloud service evaluation method when executing the program.
In another embodiment, a computer-readable storage medium is also provided having stored thereon computer instructions that, when executed by a processor, may implement the steps in the cloud service evaluation method.
Fig. 5 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 5, the electronic device may include: a Processor (Processor)510, a communication Interface (Communications Interface)520, a Memory (Memory)530 and a communication bus 540, wherein the Processor 510, the communication Interface 520 and the Memory 530 communicate with each other via the communication bus 540. Processor 510 may call logic instructions in memory 530 to perform the following method:
acquiring the number of cloud host CPU cores and the cost of a single CPU core used in a cloud service use system;
acquiring block storage capacity and block storage unit cost used in a cloud service use system, file storage capacity and file storage unit cost, and object storage capacity and object storage unit cost;
acquiring the total number of network bandwidths used in a cloud service use system and the unit cost of the network bandwidths;
acquiring the total cost of application software used in a cloud service use system;
acquiring a cloud use index value of the cloud service use system based on a cloud use computing model;
and evaluating the cloud use condition of the cloud service use system according to the cloud use index value.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units 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: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
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.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.