The content of the invention
An object of the present invention is to provide a kind of enhancing cloud computing environment energy conserving system, can solve to exist in the prior art
Technical problem.It can be effectively reduced to node processings such as the physical computing devices and virtual computing device in cloud computing environment
The energy expenditure of equipment, and scheduling, migration and the efficiency merged for virtual machine are further improved, strengthen cloud computing environment
Security.
The present invention is to solve the technical scheme taken of above-mentioned technical problem:One kind enhancing cloud computing environment energy-conservation system
System, including:Client, sends cloud computing request, and received by cloud computing environment platform;And cloud computing environment C, including:Cloud
Computing environment platform, analyzes, assesses and obtain the workload that request includes, according to the workload is compared, determine Energy Saving Strategy;
Node computing device, receives cloud computing environment platform and scheduling is performed according to Energy Saving Strategy, then performs the workload, calculates
After processing terminates, result is handed back to cloud computing environment platform;And the cloud computing environment platform is further to client
The result of the cloud computing request of transmission.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:The enhancing cloud computing
Cloud computing environment C in environment energy-saving system further comprises:Historian database, and cloud computing environment C is configured
Into:The cloud computing request sent from client is received by cloud computing environment platform;Computation requests are entered by cloud computing environment platform
Row security credential, certification passes through rear execution operations described below;By cloud computing environment Platform Analysis, assess and obtain and ask to include
Workload;By cloud computing environment platform by call historian database analysis judge cloud computing request it is previous whether by
Request is treated, directly calls previous result from historian database if being processed, and to client
End sends the result for the cloud computing request for being computed processing;If previous not processed mistake, continues;By cloud computing environment platform
Update ability, capacity and the priority of each node computing device;According to the priority of existing node computing device, by cloud computing ring
The workload that request includes one by one is compared by border platform with the information processing surplus in existing node computing device;Such as
Really the former is less than the latter, then cloud computing environment platform after the workload encryption that priority includes request according to selected by being delivered to
Node computing device, after calculating processing terminates, be handed back to cloud computing environment platform;Following decryption are performed afterwards;If the former
More than the latter, then cloud computing environment platform carries out the configuration of the main frame and virtual machine in node computing device and/or by virtual machine
Migrated and/or combined, to reduce after the sum of the node computing device used, and the workload encryption that request is included
Selected node computing device is delivered to, after calculating processing terminates, cloud computing environment platform is handed back to;Following solutions are performed afterwards
It is close;Data are decrypted by cloud computing environment platform;The cloud for being computed processing is sent from cloud computing environment platform to client
The result of computation requests.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:The enhancing cloud computing
Node computing device in environment energy-saving system is configured to:The workload included in the request is more than existing node computing device
In information processing surplus in the case of, recognize virtual machine to be migrated;Obtain to be tested with the centre for the main frame i being migrated
Manage the use parameter Par of devicei, parameter PariCurrently processed workload for main frame i central processing unit is distributed with main frame
Average poor quadratic power is cumulative and the then business with host number, i.e.,:Wherein represent main frame i
Central processing unit currently processed workload, B represents main frame distribution average, and M represents host number, and its value is at least
For 2 positive integer;For same virtual machine to be migrated, back operation is repeated, until M main frame;For to be migrated
J-th of virtual machine, repeats first two steps operation until M main frame, is repeated up to N number of virtual machine to be migrated, that is, performs M
× (N-1) is secondary, and wherein N represents the quantity of virtual machine to be migrated, and its value is at least 2 positive integer;For each to be migrated
Virtual machine and each main frame, create central processing unit use parameter array Ary:From
Minimum value is selected in often going, the minimum value array Ary of the use parameter of central processing unit is createdMIN,
Calculate AryMINMinimum value, it corresponds to preferred transportable virtual machine and preferred main frame, and carries out dispatching distribution and move
Move.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:The enhancing cloud computing
Node computing device in environment energy-saving system is configured to:The workload included in the request is more than existing node computing device
In information processing surplus in the case of, the workload computing unit capacity to be scheduled included according to request it is virtual
Machine quantity;Multiple virtual machines of unit capacity to be scheduled are resolved into packet;Determine that virtual machine is according to grouping number
It is no to need migration;Need, otherwise need not if beyond critical value;If enough node meters in low power consumpting state
Equipment is calculated, then according to the central processing unit, static memory, dynamic memory of the node computing device in low power consumpting state
Performance and capacity are by the virtual machine (vm) migration described in previous step to the node computing device in low power consumpting state;Not enough
Words, then according to the central processing unit, static memory, the performance of dynamic memory of the node computing device in low power consumpting state
And capacity, by will signature performance and capacity divided by unit capacity, using rounding the method for truncating by integer processed in units energy
The data of power are passed to the node computing device in low power consumpting state.
According to another aspect of the present invention, wherein low power consumpting state includes dormancy, wait standby, that run to delay
State.
According to another aspect of the present invention, wherein the workload computing processed in units to be scheduled included according to request
The virtual machine quantity of ability further comprises:Quantity, quantity are obtained using following mannerWherein
DkRepresent virtual machine quantity, EkThe numerical value of the task amount of virtual machine is represented, E represents number of servers.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:Client includes using
User equipment (UE) in family, desk-top or portable PC, the terminal with PC functions or the communication technology.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:Cloud computing environment is put down
Platform first recognizes the information type in request, removes request header information therein, retains, assesses and obtain and asks what is included to treat
The information of processing.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:Existing node is calculated
The priority of equipment is the central processing unit based on node computing device, static memory, the performance of dynamic memory and capacity
Come what is determined, and these parameters regularly update cloud computing environment platform.
According to another aspect of the present invention, enhancing cloud computing environment energy conserving system further comprises:Existing node is calculated
Information processing surplus in equipment refers to that the predetermined threshold value of existing node computing device subtracts the workload at current point in time, institute
State total performance and capacity that predetermined threshold value is node computing device to multiply in certain proportion, the ratio is at least 80%.
Enhancing cloud computing environment energy conserving system as described herein, can be effectively reduced to the physics meter in cloud computing environment
Calculate the energy expenditure of the node processing equipment such as equipment and virtual computing device, and further improve scheduling for virtual machine,
Migration and the efficiency merged, strengthen the security of cloud computing environment.
Embodiment
In the following description, refer to the attached drawing and several specific embodiments are diagrammatically shown.It will be appreciated that:
It is contemplated that and other embodiment can be made without departing from the scope of the present disclosure or spirit.Therefore, it is described in detail below should not be by
Think in a limiting sense.
According to an exemplary embodiment of the invention, a kind of enhancing cloud computing environment power-economizing method of Fig. 1 diagrams, including following step
Suddenly:
Receive the cloud computing request sent from client;
Cloud computing environment Platform Analysis, assess and obtain the workload that includes of request;
According to the workload is compared, determine Energy Saving Strategy and scheduling resource performs the workload, after calculating processing terminates, pass
Send cloud computing environment platform back to;And
The result for the cloud computing request that cloud computing environment platform is sent to client.
According to an exemplary embodiment of the invention, Fig. 2 diagrams are a kind of strengthens the schematic diagram of cloud computing environment energy conserving system.Its
In the system contain client 1, and the cloud computing environment C for being communicated and being interacted with client 1.Cloud computing environment C
Including cloud computing environment platform 1 and multiple node computing device 2-6.Node can rationally be called by cloud computing environment platform 1
Computing device, it is optimized after small number of node computing device can be used to reduce the energy expenditure of whole system.
Correspondingly, the enhancing cloud computing environment energy conserving system includes:
Client, sends cloud computing request, and received by cloud computing environment platform;And
Cloud computing environment C, including:
Cloud computing environment platform, analyzes, assesses and obtain the workload that request includes, according to the workload is compared, really
Determine Energy Saving Strategy;
Node computing device, receives cloud computing environment platform and scheduling is performed according to Energy Saving Strategy, then perform the work
Measure, after calculating processing terminates, result is handed back to cloud computing environment platform;And
The result for the cloud computing request that the cloud computing environment platform is further sent to client.
According to an exemplary embodiment of the invention, Fig. 3 diagrams are a kind of strengthens the flow chart of cloud computing environment power-economizing method.Tool
Body, this method comprises the following steps:
In step sl, the cloud computing request sent from client is received;
In step s 2, cloud computing environment platform carries out security credential to computation requests, and certification passes through rear execution step
S3;
In step s3, cloud computing environment Platform Analysis, assess and obtain the workload that includes of request;
In step s 4, cloud computing environment platform is by calling historian database analysis to judge cloud computing request first
It is preceding whether requested treated, previous result is directly called from historian database if being processed,
And perform step S10;If previous not processed mistake, performs step S5;
In step s 5, cloud computing environment platform updates ability, capacity and the priority of each node computing device;
In step s 6, according to the priority of existing node computing device, cloud computing environment platform includes request
Workload is one by one compared with the information processing surplus in existing node computing device;
In the step s 7, if the former is less than the latter, passed after the workload encryption for being included request according to priority
Selected node computing device is sent to, after calculating processing terminates, cloud computing environment platform is handed back to;Step S9 is performed afterwards;
In step s 8, if the former is more than the latter, the configuration of the main frame and virtual machine in node computing device is carried out
And/or virtual machine is migrated and/or combined, to reduce the sum of the node computing device used, and request is included
Workload encryption after be delivered to selected node computing device, after calculating processing terminates, be handed back to cloud computing environment platform;It
Step S9 is performed afterwards;
In step s 9, data are decrypted cloud computing environment platform;
In step slo, cloud computing environment platform sends the result for the cloud computing request for being computed processing to client.
Correspondingly, the cloud computing environment C in the enhancing cloud computing environment energy conserving system further comprises historical record data
Storehouse, and cloud computing environment C is configured to:
The cloud computing request sent from client is received by cloud computing environment platform;
Security credential is carried out to computation requests by cloud computing environment platform, certification passes through rear execution operations described below;
By cloud computing environment Platform Analysis, assess and obtain the workload that request includes;
By cloud computing environment platform by call historian database analysis judge cloud computing request it is previous whether by
Request is treated, directly calls previous result from historian database if being processed, and to client
End sends the result for the cloud computing request for being computed processing;If previous not processed mistake, continues;
Ability, capacity and the priority of each node computing device are updated by cloud computing environment platform;
According to the priority of existing node computing device, the workload for being included request by cloud computing environment platform with it is existing
There is the information processing surplus in node computing device to be one by one compared;
If the former is less than the latter, after cloud computing environment platform encrypts the workload that request includes according to priority
Selected node computing device is delivered to, after calculating processing terminates, cloud computing environment platform is handed back to;Following solutions are performed afterwards
It is close;
If the former is more than the latter, the main frame and virtual machine that cloud computing environment platform is carried out in node computing device are matched somebody with somebody
Put and/or virtual machine is migrated and/or combined, to reduce the sum of the node computing device used, and will be wrapped in request
Selected node computing device is delivered to after the workload encryption included, after calculating processing terminates, cloud computing environment platform is handed back to;
Following decryption are performed afterwards;
Data are decrypted by cloud computing environment platform;
The result for the cloud computing request for being computed processing is sent from cloud computing environment platform to client.
Specifically, client can be user, can be desk-top or portable PC, the terminal with PC functions, can also
It is mobile phone or the user equipment (UE) referred to as in the mobile device or the communication technology of mobile phone etc.
Specifically, cloud computing environment platform first recognizes the information type in request, removes request header information therein, protects
Stay, assess and obtain the pending information that request includes, i.e., the workload of processing to be calculated.
Specifically, the priority of existing node computing device is that the central processing unit based on node computing device, static state are deposited
Reservoir, the performance of dynamic memory and capacity are determined, and these parameters regularly update cloud computing environment platform.
Information processing surplus in existing node computing device refers to that the predetermined threshold value of existing node computing device is subtracted and worked as
Workload at preceding time point, the predetermined threshold value is that the total performance and capacity of node computing device multiply in certain proportion,
Such as 80%, to ensure normally to run without causing the running at full capacity of node computing device or more than service ability or long-term usury
Cause node computing device service life reduction with rate.
In addition, node computing device includes but not limited to the main frame containing virtual machine, it can additionally include positioned at node
Other information processing equipment, such as dispatches computing device.
According to an exemplary embodiment of the invention, the main frame and virtual machine that Fig. 4 diagrams are carried out in node computing device are matched somebody with somebody
Put and/or virtual machine is migrated and/or combined, to reduce the sum of the node computing device used, and calculate processing
Flow chart;
Specifically, in step s 5, the configuration of main frame and virtual machine in node computing device is carried out and/or by virtual machine
Migrated and/or combined, to reduce the sum of the node computing device used, and calculated processing and include:
In step S510, virtual machine to be migrated is recognized;
In step S511, obtain to be tested with the use parameter Par for the main frame i central processing unit being migratedi, the ginseng
Number PariFor main frame i central processing unit currently processed workload and main frame be distributed average poor quadratic power it is cumulative and
Then with the business of host number, i.e.,:
Wherein represent the currently processed workload of main frame i central processing unit, B represents main frame distribution average, and M tables
Show host number, its value is at least 2 positive integer.
In step S512, for same virtual machine to be migrated, repeat step S511, until M main frame.
In step S513, for j-th of virtual machine to be migrated, repeat step S511-S512 until M main frame, holds
Row is up to N number of virtual machine to be migrated, that is, execution M × (N-1) is secondary, and wherein N represents the quantity of virtual machine to be migrated, its value
To be at least 2 positive integer.
In step S514, for each virtual machine to be migrated and each main frame, the use ginseng of central processing unit is created
Several array Ary:
In step S515, minimum value is selected from every row, the minimum value array of the use parameter of central processing unit is created
AryMIN,
In step S516, Ary is calculatedMINMinimum value, it corresponds to preferred transportable virtual machine and preferred master
Machine.
Correspondingly, the node computing device in the enhancing cloud computing environment energy conserving system is configured to:
In the case that the workload included in the request is more than the information processing surplus in existing node computing device,
Identification virtual machine to be migrated;
Obtain to be tested with the use parameter Par for the main frame i central processing unit being migratedi, parameter PariFor the main frame
The currently processed workload of i central processing unit and main frame be distributed average poor quadratic power it is cumulative and then with host number
Business, i.e.,:
Wherein represent the currently processed workload of main frame i central processing unit, B represents main frame distribution average, and M tables
Show host number, its value is at least 2 positive integer.
For same virtual machine to be migrated, back operation is repeated, until M main frame.
For j-th of virtual machine to be migrated, first two steps operation is repeated until M main frame, is repeated until N number of wait to move
The virtual machine of shifting, that is, perform that M × (N-1) is secondary, wherein N represents the quantity of virtual machine to be migrated, and its value is at least 2 just
Integer.
For each virtual machine to be migrated and each main frame, the array Ary of the use parameter of central processing unit is created:
Minimum value is selected from every row, the minimum value array Ary of the use parameter of central processing unit is createdMIN,
Calculate AryMINMinimum value, it corresponds to preferred transportable virtual machine and preferred main frame, and is scheduled
Distribution migration.
According to an exemplary embodiment of the invention, the main frame and virtual machine that Fig. 5 diagrams are carried out in node computing device are matched somebody with somebody
Put and/or virtual machine is migrated and/or combined, to reduce the sum of the node computing device used, and calculate processing
Alternative flow chart.
Alternately, step S5 comprises the following steps:
In step S520, the virtual machine number of the workload computing unit capacity to be scheduled included according to request
Amount;
In step S521, multiple virtual machines of unit capacity to be scheduled are resolved into packet;
In step S522, determine whether virtual machine needs migration according to grouping number;Needed if beyond critical value,
Otherwise need not;
In step S523, if enough node computing devices in low power consumpting state, then according in low work(
Central processing unit, static memory, the performance of dynamic memory and the capacity of the node computing device of consumption state are by previous step
Described in virtual machine (vm) migration in low power consumpting state node computing device;If deficiency, then according in low-power consumption shape
Central processing unit, static memory, the performance of dynamic memory and the capacity of the node computing device of state, by the way that performance will be signed
With capacity divided by unit capacity, the data of integer unit capacity are passed in low work(using the method for truncating is rounded
The node computing device of consumption state;
Wherein low power consumpting state include but not limited to dormancy, it is standby, run in the wait of delay (in order to optimize energy consumption simultaneously
Take into account from dormancy or standby often use delay is run in startup speed and treatment effeciency, this area, so as to when there is demand
Quick response).
Correspondingly, the node computing device in the enhancing cloud computing environment energy conserving system is configured to:
In the case that the workload included in the request is more than the information processing surplus in existing node computing device,
The virtual machine quantity of the workload computing unit capacity to be scheduled included according to request;
Multiple virtual machines of unit capacity to be scheduled are resolved into packet;
Determine whether virtual machine needs migration according to grouping number;Need, otherwise need not if beyond critical value;
If enough node computing devices in low power consumpting state, then according to the node meter for being in low power consumpting state
Central processing unit, static memory, the performance of dynamic memory and the capacity of equipment are calculated by the virtual machine described in previous step
Move to the node computing device in low power consumpting state;If deficiency, then calculated and set according to the node in low power consumpting state
Standby central processing unit, static memory, the performance of dynamic memory and capacity, by the way that performance and capacity divided by unit will be signed
The data of integer unit capacity, the node meter in low power consumpting state is passed to using the method for truncating is rounded by disposal ability
Calculate equipment;Wherein low power consumpting state include but not limited to dormancy, it is standby, run in the wait of delay.
The virtual machine quantity of the workload computing unit capacity to be scheduled included according to request further comprises:
Quantity, quantity are obtained using following mannerWherein DkRepresent virtual machine quantity, EkRepresent virtual machine
Task amount numerical value, E represents number of servers, and L is represented.
In addition, specifically, data are encrypted and decrypted cloud computing environment platform, it can eliminate due in cloud computing environment
The node computing device of connection is numerous, the potential safety hazard present in the calculating processing of data.
According to an exemplary embodiment of the invention, energy-saving effect figure of Fig. 6 diagrams present invention relative to prior art.Its
In:A represent the method applied in the present invention and system, B expressions it is of the prior art by assign priority queueing or
Sequence carrys out the method and system to load scheduling;Transverse axis represents the request rate that client is sent, and unit is per minute ten number
Magnitude, the longitudinal axis represents to save ratio.After tested, the present invention has 1%-4% relative to the method and system that prior art is used
Improvement, this has larger energy-saving effect to improve for big cloud computing environment.
To sum up, in the inventive solutions, by using enhancing cloud computing environment energy conserving system as described herein,
Including:Client, sends cloud computing request, and received by cloud computing environment platform;Cloud computing environment platform, analysis, assessment are simultaneously
The workload that request includes is obtained, according to the workload is compared, Energy Saving Strategy is determined;Node computing device, receives cloud computing
The scheduling that environmental level is performed according to Energy Saving Strategy, then performs the workload, after calculating processing terminates, result is passed
Send cloud computing environment platform back to;And the result of cloud computing request that the cloud computing environment platform is further sent to client.
The system can be effectively reduced to node processing equipments such as the physical computing devices and virtual computing device in cloud computing environment
Energy expenditure, and further improve scheduling for virtual machine, migration and the efficiency merged, strengthen the peace of cloud computing environment
Quan Xing.
It will be appreciated that:The example and reality of the present invention can be realized in the form of the combination of hardware, software or hardware and software
Apply example.As described above, any main body for performing this method can be stored, in the form of volatibility or non-volatile memories, for example
Storage device, it is no matter erasable or whether rewritable as ROM, or in the form of a memory, such as RAM, storage core
Piece, equipment or integrated circuit or on the readable medium of light or magnetic, such as CD, DVD, disk or tape.It will be appreciated that:
Storage device and storage medium are suitable for storing the example of the machine readable storage of one or more programs, upon being performed,
One or more of programs realize the example of the present invention.Via any medium, such as connect what is be loaded with by wired or wireless
Signal of communication, can electronically transmit the example of the present invention, and example suitably includes identical content.
It should be noted that:Because present invention employs the root after reading this description of technical staff in computer realm
Technological means to understand is instructed according to it, technical problem is solved and obtains the thing being effectively reduced in cloud computing environment
The energy expenditure of the node processing equipment such as computing device and virtual computing device is managed, and further improves the tune for virtual machine
Degree, migration and the efficiency merged, strengthen the advantageous effects of the security of cloud computing environment, so in the following claims
The technical scheme that claimed scheme belongs on patent law purposes.In addition, because the technology that appended claims are claimed
Scheme can be made or used in industry, therefore the program possesses practicality.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in,
It should all be encompassed within protection scope of the present invention.Unless be otherwise expressly recited, otherwise disclosed each feature is only
Equivalent or similar characteristics a example for general series.Therefore, protection scope of the present invention should be with the guarantor of claims
Shield scope is defined.