CN102123084B - Resource scheduling method and system in cloud computing operating system - Google Patents

Resource scheduling method and system in cloud computing operating system Download PDF

Info

Publication number
CN102123084B
CN102123084B CN 201110021734 CN201110021734A CN102123084B CN 102123084 B CN102123084 B CN 102123084B CN 201110021734 CN201110021734 CN 201110021734 CN 201110021734 A CN201110021734 A CN 201110021734A CN 102123084 B CN102123084 B CN 102123084B
Authority
CN
China
Prior art keywords
resource
virtual resource
consumption
physical
complementary relationship
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.)
Active
Application number
CN 201110021734
Other languages
Chinese (zh)
Other versions
CN102123084A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN 201110021734 priority Critical patent/CN102123084B/en
Publication of CN102123084A publication Critical patent/CN102123084A/en
Application granted granted Critical
Publication of CN102123084B publication Critical patent/CN102123084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a resource scheduling method and system in a cloud computing operating system, which overcomes the defect that the sidedness of the existing scheduling strategy easily causes blind circulation of physical resources. The method comprises the following steps of: obtaining multiple physical resources screened according to the predetermined scheduling strategy; calculating the complementary relationship between a virtual resource to be implanted and the existing virtual resource of each physical resource; and preferentially scheduling the physical resource of which the existing virtual resource has a relatively close complementary relationship with the virtual resource to be implanted. Compared with the prior art, the technical scheme disclosed by the invention preferentially allocates different virtual resources in a relatively strong complementary relationship on the same physical resource, overcomes the defect that the sidedness of the scheduling strategy of the prior art easily causes blind circulation of physical resources, and effectively improves the effectiveness of resource scheduling.

Description

Resource regulating method and system in the cloud computing operating system
Technical field
The present invention relates to cloud computing operating system, relate in particular to resource regulating method and system in a kind of cloud computing operating system.
Background technology
Current, industry circulates, charges according to quantity, supports to have reached common recognition on isomery, the many core concepts such as energy-saving and cost-reducing in cloud computing distribution according to need, resource.
Yet in cloud computing IaaS field, the through engineering approaches of cloud computing is still difficult, and relevant IT technical staff does not find exercisable system architecture and implementation.For this reason; Most computers manufacturer; Particularly single-set operation system, server, the Internet manufacturer have proposed a series of cloud computing infrastructure solutions, but also do not have emphasis to relate to the optimisation technique of scheduling of resource in this cloud computing infrastructure of cloud computing operating system.
In the existing cloud computing operating-system resources dispatching technique, the one-sidedness of existing scheduling strategy may cause the appearance of the blindness circulation of physical resource, need avoid as far as possible.
Summary of the invention
Technical problem to be solved by this invention is that the scheduling of resource technology need be provided in a kind of cloud computing operating system, overcomes the defective that physical resource that the one-sidedness of existing scheduling strategy causes easily blindly circulates.
In order to solve the problems of the technologies described above, the invention provides resource regulating method in a kind of cloud computing operating system, comprise the steps:
Obtain according to being scheduled to some physical resources that scheduling strategy is filtered out;
Calculating waits to implant the complementary relationship between the existing virtual resource on virtual resource and each the said physical resource;
Priority scheduling and virtual resource said to be implanted have the closely physical resource at the existing virtual resource place of complementary relationship.
Preferably, calculate the said step of waiting to implant the said complementary relationship between virtual resource and the above existing virtual resource of each said physical resource, comprising:
In the historical data of said cloud computing operating-system resources scheduling, extract said first consumption information of waiting to implant each said physical resource of virtual resource consumption in a period of time;
In said historical data, extract second consumption information of each said existing virtual resource consumption place physical resource;
Obtain said complementary relationship according to said first consumption information and second consumption information.
Preferably, said first consumption information is expressed as the said resource consumption curve of virtual resource to each said physical resource of waiting to implant; Said second consumption information is expressed as each said existing virtual resource respectively to belonging to the resource consumption curve of physical resource.
Preferably, this method further comprises:
Each resource consumption curve is carried out filtering.
Preferably, obtain the step of said complementary relationship, comprising according to said first consumption information and second consumption information:
Calculate the integral mean of each resource consumption curve to the time;
Calculate the error amount of each resource consumption curve and this integral mean;
Average or weighted mean according to each error amount obtain said complementary relationship.
The present invention also provides resource scheduling system in a kind of cloud computing operating system, comprising:
Acquisition module is used to obtain according to being scheduled to some physical resources that scheduling strategy is filtered out;
Computing module is used to calculate and waits to implant the complementary relationship between the existing virtual resource on virtual resource and each the said physical resource;
Scheduler module is used for priority scheduling and virtual resource said to be implanted and has the closely physical resource at the existing virtual resource place of complementary relationship.
Preferably, said computing module comprises:
First extracts submodule, is used for the historical data in said cloud computing operating-system resources scheduling, extracts said first consumption information of waiting to implant each said physical resource of virtual resource consumption in a period of time;
Second extracts submodule, is used for extracting in said historical data second consumption information of each said existing virtual resource consumption place physical resource;
Obtain submodule, be used for obtaining said complementary relationship according to said first consumption information and second consumption information.
Preferably, the said first extraction submodule is used for said first consumption information of extracting is expressed as the said resource consumption curve of virtual resource to each said physical resource of waiting to implant; Said second extracts submodule is used for said second consumption information of extracting is expressed as each said existing virtual resource respectively to belonging to the resource consumption curve of physical resource.
Preferably, said computing module further comprises:
The filtering submodule is used for each resource consumption curve is carried out filtering.
Preferably, the said submodule that obtains comprises:
First computing unit is used to calculate the integral mean of each resource consumption curve to the time;
Second computing unit is used to calculate the error amount of each resource consumption curve and this integral mean;
The 3rd calculating unit is used for obtaining said complementary relationship according to the average or the weighted mean of each error amount.
Compared with prior art; Technical scheme of the present invention preferentially will have the different virtual resource deployment of strong complementary relationship to same physical resource; Overcome the defective that physical resource that prior art scheduling strategy one-sidedness causes easily blindly circulates, effectively improved the validity of scheduling of resource.
Other features and advantages of the present invention will be set forth in specification subsequently, and, partly from specification, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in specification, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Description of drawings
Accompanying drawing is used to provide the further understanding to technical scheme of the present invention, and constitutes the part of specification, is used to explain technical scheme of the present invention with embodiments of the invention, does not constitute the restriction to technical scheme of the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of resource regulating method embodiment in the cloud computing operating system of the present invention;
Fig. 2 is the composition sketch map of resource scheduling system embodiment in the cloud computing operating system of the present invention.
Embodiment
Below will combine accompanying drawing and embodiment to specify execution mode of the present invention, how the application technology means solve technical problem to the present invention whereby, and the implementation procedure of reaching technique effect can make much of and implement according to this.
At first, if do not conflict, the mutually combining of each characteristic among the embodiment of the invention and the embodiment is all within protection scope of the present invention.In addition; Can in computer system, carry out in the step shown in the flow chart of accompanying drawing such as a set of computer-executable instructions, and, though logical order has been shown in flow chart; But in some cases, can carry out step shown or that describe with the order that is different from here.
Resource regulating method in embodiment one, the cloud computing operating system
Fig. 1 is the schematic flow sheet of resource regulating method embodiment in the cloud computing operating system of the present invention.Present embodiment can be applicable in the existing scheduling of resource process in the cloud computing operating system, and as shown in Figure 1, present embodiment mainly comprises the steps:
Step S110 obtains the some physical resources that filtered out according to predetermined scheduling strategy in this scheduling of resource process;
Step S120 calculates and waits to implant the complementary relationship between the existing virtual resource on virtual resource and these physical resources that filters out;
Present embodiment adopts complementary degree to represent this complementary relationship; The higher expression of complementation degree wait to implant virtual resource and existing virtual resource have more closely complementary relationship (wait to implant virtual resource and existing virtual resource one of them when calling this physical resource; Another also calls this physical resource comparatively frequently); The low expression of complementation degree wait to implant virtual resource and existing virtual resource have more sparse complementary relationship (wait to implant virtual resource and existing virtual resource one of them when calling this physical resource, another also calls this physical resource infrequently);
Step S130; Priority scheduling has the closely physical resource at the existing virtual resource place of complementary relationship with virtual resource to be implanted, and also is about to wait to implant the virtual resource priority scheduling and to the physical resource at the existing virtual resource place that higher complementary degree is arranged with it, uses.
In technical scheme of the present invention, physical resource can be a calculation server node, also can be a calculation services district; Certainly, also can be other physical equipment or physical environment zone etc., the present invention does not do qualification to this.
Among the above-mentioned steps S120, calculate and to wait to implant the implementation procedure that has the complementary relationship between the virtual resource on virtual resource and these physical resources that filters out, can for:
In the historical data of cloud computing operating-system resources scheduling, extract interior this of a period of time and wait to implant first consumption information that virtual resource consumes the above-mentioned physical resource that respectively filters out, and second consumption information of each existing virtual resource consumption place physical resource; According to this first consumption information and second consumption information, obtain this and wait to implant the complementary relationship between virtual resource and these the existing virtual resources.
In the present embodiment; This first consumption information can be expressed as this and wait to implant virtual resource to the resource consumption curve of the physical resource that respectively filters out (wait to implant virtual resource to each physical resource all to a resource consumption curve should be arranged), and this second consumption information can be expressed as each existing virtual resource respectively to the resource consumption curve of place physical resource.In other embodiments of the invention, can also carry out filtering with the filtering peak value, reduce in first consumption information and second consumption information incident the influence of scheduling of resource to each resource consumption curve.
Based on this, above-mentioned according to this first consumption information and second consumption information, obtain this and wait to implant the complementary relationship between virtual resource and these the existing virtual resources, can comprise the steps:
(1) calculates the integral mean of each resource consumption curve to the time;
(2) pass through the error amount that variance equal error account form is calculated each resource consumption curve and this integral mean;
(3) average or the weighted mean according to each error amount obtains this complementary relationship.
Resource scheduling system in embodiment two, the cloud computing operating system
Fig. 2 is the composition sketch map of resource scheduling system embodiment in the cloud computing operating system of the present invention.As shown in Figure 2, present embodiment mainly comprises acquisition module 210, computing module 220 and scheduler module 230, wherein:
Acquisition module 210 is used to obtain according to being scheduled to some physical resources that scheduling strategy is filtered out;
Computing module 220 links to each other with acquisition module 210, is used to calculate wait to implant the complementary relationship between the existing virtual resource on virtual resource and each physical resource;
Scheduler module 230 links to each other with computing module 220, is used for priority scheduling and has the closely physical resource at the existing virtual resource place of complementary relationship with virtual resource to be implanted.
Aforementioned calculation module 220 can comprise:
First extracts submodule, is used for the historical data in the scheduling of cloud computing operating-system resources, extracts and waits to implant first consumption information that virtual resource consumes each physical resource in a period of time;
Second extracts submodule, is used for extracting in historical data second consumption information of each existing virtual resource consumption place physical resource;
Obtain submodule, extract submodule with the first extraction submodule and second and link to each other, be used for obtaining complementary relationship according to first consumption information and second consumption information.
Wherein, the first extraction submodule can be used for first consumption information of extracting is expressed as waiting to implant the resource consumption curve of virtual resource to each physical resource; Second extracts submodule can be used for second consumption information of extracting is expressed as each existing virtual resource respectively to belonging to the resource consumption curve of physical resource.
So, aforementioned calculation module 220 may further include:
The filtering submodule is used for each resource consumption curve is carried out filtering.
Wherein, the above-mentioned submodule that obtains can comprise:
First computing unit is used to calculate the integral mean of each resource consumption curve to the time;
Second computing unit links to each other with first computing unit, is used to calculate the error amount of each resource consumption curve and this integral mean;
The 3rd calculating unit links to each other with second computing unit, is used for obtaining complementary relationship according to the average or the weighted mean of each error amount.
Technical scheme of the present invention is through analyzing the consumption relation of different virtual resource to physical resource; Set up the complementary relationship that takies same physical resource between these virtual resources; When especially the consumption of the same physical resource of different virtual resource occupation concerns that equivalence is a constant approx, can think to have stronger complementary relationship between these virtual resources.So, the different virtual resource deployment that preferentially will have strong complementary relationship can effectively improve the validity of scheduling of resource to same physical resource, can effectively prevent the blindness circulation of physical resource.
Those skilled in the art should be understood that; Above-mentioned each module of the present invention, submodule, unit or each step can realize that they can concentrate on the single calculation element with the general calculation device, perhaps are distributed on the network that a plurality of calculation element forms; Alternatively; They can realize with the executable program code of calculation element, thereby, can they be stored in the storage device and carry out by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Though the execution mode that the present invention disclosed as above, the execution mode that described content just adopts for the ease of understanding the present invention is not in order to limit the present invention.Technical staff under any the present invention in the technical field; Under the prerequisite of spirit that does not break away from the present invention and disclosed and scope; Can do any modification and variation what implement in form and on the details; But scope of patent protection of the present invention still must be as the criterion with the scope that appending claims was defined.

Claims (8)

1. resource regulating method in the cloud computing operating system is characterized in that, comprises the steps:
Obtain according to being scheduled to some physical resources that scheduling strategy is filtered out;
Calculating waits to implant the complementary relationship between the existing virtual resource on virtual resource and each the said physical resource;
Priority scheduling and virtual resource said to be implanted have the closely physical resource at the existing virtual resource place of complementary relationship;
Wherein, calculating the said step of implanting the said complementary relationship between virtual resource and the above existing virtual resource of each said physical resource of waiting comprises:
In the historical data of said cloud computing operating-system resources scheduling, extract said first consumption information of waiting to implant each said physical resource of virtual resource consumption in a period of time;
In said historical data, extract second consumption information of each said existing virtual resource consumption place physical resource;
Obtain said complementary relationship according to said first consumption information and second consumption information.
2. method according to claim 1 is characterized in that:
Said first consumption information is expressed as the said resource consumption curve of virtual resource to each said physical resource of waiting to implant;
Said second consumption information is expressed as each said existing virtual resource respectively to belonging to the resource consumption curve of physical resource.
3. method according to claim 2 is characterized in that, this method further comprises:
Each resource consumption curve is carried out filtering.
4. according to claim 2 or 3 described methods, it is characterized in that, obtain the step of said complementary relationship, comprising according to said first consumption information and second consumption information:
Calculate the integral mean of each resource consumption curve to the time;
Calculate the error amount of each resource consumption curve and this integral mean;
Average or weighted mean according to each error amount obtain said complementary relationship.
5. resource scheduling system in the cloud computing operating system is characterized in that, comprising:
Acquisition module is used to obtain according to being scheduled to some physical resources that scheduling strategy is filtered out;
Computing module is used to calculate and waits to implant the complementary relationship between the existing virtual resource on virtual resource and each the said physical resource;
Scheduler module is used for priority scheduling and virtual resource said to be implanted and has the closely physical resource at the existing virtual resource place of complementary relationship;
Wherein, said computing module comprises:
First extracts submodule, is used for the historical data in said cloud computing operating-system resources scheduling, extracts said first consumption information of waiting to implant each said physical resource of virtual resource consumption in a period of time;
Second extracts submodule, is used for extracting in said historical data second consumption information of each said existing virtual resource consumption place physical resource;
Obtain submodule, be used for obtaining said complementary relationship according to said first consumption information and second consumption information.
6. system according to claim 5 is characterized in that:
Said first extracts submodule is used for said first consumption information of extracting is expressed as the said resource consumption curve of virtual resource to each said physical resource of waiting to implant;
Said second extracts submodule is used for said second consumption information of extracting is expressed as each said existing virtual resource respectively to belonging to the resource consumption curve of physical resource.
7. system according to claim 6 is characterized in that, said computing module further comprises:
The filtering submodule is used for each resource consumption curve is carried out filtering.
8. according to claim 6 or 7 described systems, it is characterized in that the said submodule that obtains comprises:
First computing unit is used to calculate the integral mean of each resource consumption curve to the time;
Second computing unit is used to calculate the error amount of each resource consumption curve and this integral mean;
The 3rd calculating unit is used for obtaining said complementary relationship according to the average or the weighted mean of each error amount.
CN 201110021734 2011-01-19 2011-01-19 Resource scheduling method and system in cloud computing operating system Active CN102123084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110021734 CN102123084B (en) 2011-01-19 2011-01-19 Resource scheduling method and system in cloud computing operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110021734 CN102123084B (en) 2011-01-19 2011-01-19 Resource scheduling method and system in cloud computing operating system

Publications (2)

Publication Number Publication Date
CN102123084A CN102123084A (en) 2011-07-13
CN102123084B true CN102123084B (en) 2012-12-19

Family

ID=44251540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110021734 Active CN102123084B (en) 2011-01-19 2011-01-19 Resource scheduling method and system in cloud computing operating system

Country Status (1)

Country Link
CN (1) CN102123084B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427468B (en) * 2011-11-01 2014-07-02 浪潮(北京)电子信息产业有限公司 Cloud computing operating system and scheduling method thereof
CN103186410B (en) * 2011-12-28 2016-08-17 英业达股份有限公司 The collocation method of virtual machine and the server system using the method
CN103562852B (en) * 2011-12-28 2017-11-17 华为技术有限公司 A kind of method and apparatus for ensureing cloud application procedure service quality
CN102780759B (en) * 2012-06-13 2016-05-18 合肥工业大学 Based on the cloud computing resource scheduling method in regulation goal space
CN103414784B (en) * 2013-08-26 2016-05-11 浙江大学 Support the cloud computing resource scheduling method of contingency mode
CN103473115B (en) * 2013-09-06 2017-04-05 华为技术有限公司 virtual machine placement method and device
CN103533086B (en) * 2013-10-31 2017-02-01 中国科学院计算机网络信息中心 Uniform resource scheduling method in cloud computing system
CN104378310B (en) * 2014-11-26 2017-07-04 中国联合网络通信集团有限公司 A kind of resource regulating method and device
CN105245536B (en) * 2015-10-26 2018-07-03 中国互联网络信息中心 A kind of cloud data center resource allocation methods based on safety evaluation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894050A (en) * 2010-07-28 2010-11-24 山东中创软件工程股份有限公司 Method, device and system for flexibly scheduling JEE application resources of cloud resource pool
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN101937368A (en) * 2010-08-31 2011-01-05 苏州阊亦宏环保科技有限公司 Cloud computation-oriented data center management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894050A (en) * 2010-07-28 2010-11-24 山东中创软件工程股份有限公司 Method, device and system for flexibly scheduling JEE application resources of cloud resource pool
CN101937368A (en) * 2010-08-31 2011-01-05 苏州阊亦宏环保科技有限公司 Cloud computation-oriented data center management system
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources

Also Published As

Publication number Publication date
CN102123084A (en) 2011-07-13

Similar Documents

Publication Publication Date Title
CN102123084B (en) Resource scheduling method and system in cloud computing operating system
US10572285B2 (en) Method and apparatus for elastically scaling virtual machine cluster
CN107391243B (en) Thread task processing equipment, device and method
CN105677469A (en) Timing task executing method and device
CN104951340A (en) Information processing method and device
CN104239150B (en) A kind of method and device of hardware resource adjustment
CN107818012B (en) Data processing method and device and electronic equipment
CN109739627B (en) Task scheduling method, electronic device and medium
CN106528065B (en) A kind of thread acquisition methods and equipment
CN105700877A (en) Application deployment method and apparatus
CN103336702A (en) Method and device of accelerating webpage loading
CN103984594A (en) Task scheduling method and system based on distributed configurable weighting algorithm
CN102023899B (en) Multithreaded data synchronization method and device
CN102929929B (en) A kind of data summarization method and device
CN112148481B (en) Method, system, equipment and medium for executing simulation test task
CN104461710A (en) Method and device for processing tasks
CN104572279A (en) Node binding-supporting virtual machine dynamic scheduling method
CN106775975B (en) Process scheduling method and device
CN112799777B (en) Preheating scheduling method in assembly line
CN111078397B (en) Load balancing task allocation method and system suitable for server cluster
CN103019819A (en) Dynamic link library uniform scheduling method based on plug-in mechanism
CN110888739B (en) Distributed processing method and device for delayed tasks
CN102143206A (en) Storage pool regulation method, device and system for cluster storage system
CN102427468A (en) Cloud computing operating system and scheduling method thereof
CN104951373A (en) Message queue processing method of scheduling system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201112

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Patentee after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road to information on the ground floor, building 2-1, No. 1, C

Patentee before: Inspur (Beijing) Electronic Information Industry Co.,Ltd.

TR01 Transfer of patent right