CN102629216A - Cloud operating system (OS) scheduling method and cloud system scheduling device - Google Patents

Cloud operating system (OS) scheduling method and cloud system scheduling device Download PDF

Info

Publication number
CN102629216A
CN102629216A CN2012100439166A CN201210043916A CN102629216A CN 102629216 A CN102629216 A CN 102629216A CN 2012100439166 A CN2012100439166 A CN 2012100439166A CN 201210043916 A CN201210043916 A CN 201210043916A CN 102629216 A CN102629216 A CN 102629216A
Authority
CN
China
Prior art keywords
virtual machine
machine operations
operations request
physical
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012100439166A
Other languages
Chinese (zh)
Inventor
郭锋
刘俊鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry 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 CN2012100439166A priority Critical patent/CN102629216A/en
Publication of CN102629216A publication Critical patent/CN102629216A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

The invention provides a cloud operating system (OS) scheduling method and a cloud OS scheduling device, relates to the field of computer application, and solves the problems of low efficiency and low availability of a cloud OS. The method includes the steps that two or more concurrent virtual machine operation requests are received, wherein the concurrent virtual machine operation requests are stored in a virtual machine operation instruction queue; one virtual machine operation request is extracted from the virtual machine operation instruction queue, and a physical machine capable of completing the virtual machine operation request is selected from the cloud OS according to the virtual machine operation request; and the virtual machine operation request is sent to the physical machine capable of completing the virtual machine operation request. The technical field provided by the invention is suitable for cloud OSs, and high-efficiency cloud OS scheduling is realized.

Description

Cloud system dispatching method and system
Technical field
The present invention relates to computer application field, relate in particular to a kind of cloud system dispatching method and system.
Background technology
Current, by the industry approval, cloud operating system (cloud OS) realizes and is committed to practice gradually gradually in cloud computing.In cloud OS, the dispatching system of virtual machine is a most important component, and the concurrent operations of virtual machine is one of main contents of dispatching system.The concurrent operations of virtual machine makes that the service efficiency of cloud OS system is higher, has avoided user's wait as long for or operation overtime.
Traditional concurrent operations strategy is that the operation requests serial in the request queue is carried out, waits for that a virtual machine complete operation is accomplished after, just carry out the next one and operate, thereby greatly reduce the efficient and the availability of cloud OS system.
Summary of the invention
The invention provides a kind of cloud system dispatching method and system, solved the efficient and the low problem of availability of cloud OS system.
A kind of cloud system dispatching method comprises:
Receive two or more concurrent virtual machine operations requests, said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
From said virtual machine operations instruction queue, extract a virtual machine operations request, from cloud system, select to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
Said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request.
Preferably, the said physical machine of from cloud system, selecting to accomplish this virtual machine operations request according to said virtual machine operations request comprises:
Obtain whole physical machine of current normal operation in the said cloud system;
The physical resource that the virtual machine of being asked according to said virtual machine operations request takies from whole physical machine of said current normal operation, filters out the physical machine that can satisfy the required physical resource that takies of said virtual machine operations request.
Preferably, the said physical machine that can satisfy the required physical resource that takies of said virtual machine operations request that filters out comprises:
Obtain the state parameter of the physical machine of said whole operate as normal, whether said state parameter comprises normal, CPU, internal memory, the virtual machine number that enables, moves, the virtual machine number operated;
According to said state parameter, the physical machine that can move said virtual machine operations request screens.
Preferably, said virtual machine operations request is sent to after the step of the said physical machine that can accomplish this virtual machine operations request, also comprises:
The virtual machine operations request that is sent to physics is deleted from said virtual machine operations instruction queue.
Preferably, after the step that the said virtual machine operations request that will be sent to physics is deleted from said virtual machine operations instruction queue, also comprise:
From said virtual machine operations instruction queue, select a virtual machine operations request again, and to said virtual machine operations request operation dispatching.
The present invention also provides a kind of cloud system dispatching device, comprising:
The scheduling queue maintenance module is used to receive two or more concurrent virtual machine operations requests, and said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
The physical machine screening module is used for extracting a virtual machine operations request from said virtual machine operations instruction queue, from cloud system, selects to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
The scheduled for executing module is used for said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request.
Preferably, said physical machine screening module comprises:
The resource acquisition unit is used for obtaining whole physical machine of the current normal operation of said cloud system;
The physical machine selected cell; Be used for the physical resource that takies according to the virtual machine that said virtual machine operations request is asked; From whole physical machine of said current normal operation, filter out the physical machine that can satisfy the required physical resource that takies of said virtual machine operations request.
Preferably, said scheduling queue maintenance module also is used for the virtual machine operations request that is sent to physics is deleted from said virtual machine operations instruction queue.
The invention provides a kind of cloud system dispatching method and system; Receive two or more concurrent virtual machine operations requests; Said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue; From said virtual machine operations instruction queue, extract a virtual machine operations request; From cloud system, select to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request, said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request, solved the efficient and the low problem of availability of cloud OS system.
Description of drawings
The process flow diagram of a kind of cloud system dispatching method that Fig. 1 provides for embodiments of the invention one;
A kind of cloud system dispatching device and structural representation that Fig. 2 provides for embodiments of the invention two.
Embodiment
For the efficient and the low problem of availability that solve cloud OS system, embodiments of the invention provide a kind of cloud system dispatching method and device.Hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
At first combine accompanying drawing, the embodiment of the invention one is described.
The embodiment of the invention provides a kind of cloud system dispatching method, uses the flow process of this method completion cloud system internal schedule as shown in Figure 1, comprising:
Step 101, receive two or more concurrent virtual machine operations requests, said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
In this step, the user is saved in the virtual machine operations instruction queue the virtual machine operations request of virtual machine operations, the later stage is all extracted request in the formation from then on for the response of virtual machine operations request instruction.
Step 102, from said virtual machine operations instruction queue, extract a virtual machine operations request, from cloud system, select to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
In this step,, obtain whole physical machine of current normal operation in the said cloud system to physical machine state analysis in the total system, thus the only physical machine of selecting virtual machine to move.Concrete; Through reasonable physical machine state model efficiently; Judge the various state parameters of each physical machine in the system (whether normal, CPU, internal memory, the virtual machine number that enables, moves, the virtual machine number operated etc.) fast; According to said state parameter, the physical machine that can move said virtual machine operations request screens, thereby which platform physical machine is the operation requests that decision will be handled will operate on.
Preferably, physical machine in the total system is carried out state analysis, thus correlation behavior in the system that upgrades in time, for next time virtual machine concurrent operations feeds back information accurately.
Step 103, said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request;
Step 104, the virtual machine operations request that will be sent to physics are deleted from said virtual machine operations instruction queue;
Step 105, from said virtual machine operations instruction queue, select a virtual machine operations request again, and to said virtual machine operations request operation dispatching;
In this step, accomplish on after the scheduling of a virtual machine operations request, can get started repeating step 102 to step 104, next bar virtual machine operations request is dispatched, need not wait for that a virtual machine operations request is complete.
Step 106, receive the execution feedback of said physical machine, when said physical machine is carried out said virtual machine operations request failure, said virtual machine operations request is added in the said virtual machine operations instruction queue again;
In this step,, start the virtual machine monitoring process, in real time virtual machine state is carried out monitoring analysis in order further to increase the accuracy of cloud system scheduling, thus the operation requests of success of difference processing execution or failure, for scheduling provides foundation accurately.
Below in conjunction with accompanying drawing, embodiments of the invention two are described.
The embodiment of the invention provides a kind of cloud system dispatching device, and its structure is as shown in Figure 2, comprising:
Scheduling queue maintenance module 201 is used to receive two or more concurrent virtual machine operations requests, and said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
Physical machine screening module 202 is used for extracting a virtual machine operations request from said virtual machine operations instruction queue, from cloud system, selects to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
Scheduled for executing module 203 is used for said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request.
Preferably, said physical machine screening module 202 comprises:
The resource acquisition unit is used for obtaining whole physical machine of the current normal operation of said cloud system;
The physical machine selected cell; Be used for the physical resource that takies according to the virtual machine that said virtual machine operations request is asked; From whole physical machine of said current normal operation, filter out the physical machine that can satisfy the required physical resource that takies of said virtual machine operations request.
Preferably, said scheduling queue maintenance module 201 also is used for the virtual machine operations request that is sent to physics is deleted from said virtual machine operations instruction queue.
Preferably, said scheduling queue maintenance module 201 also is used to receive the execution feedback of said physical machine, when said physical machine is carried out said virtual machine operations request failure, said virtual machine operations request is added in the said virtual machine operations instruction queue again.
The cloud system dispatching device of embodiments of the invention; Can combine with a kind of cloud system dispatching method that embodiments of the invention are provided; Receive two or more concurrent virtual machine operations requests; Said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue, from said virtual machine operations instruction queue, extracts a virtual machine operations request, from cloud system, select to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request; Said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request; And after the scheduling of accomplishing a virtual machine operations request, get started scheduling to another virtual machine operations request in the virtual machine operations instruction queue, solved the efficient and the low problem of availability of cloud OS system.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized; Said computer program can be stored in the computer-readable recording medium; Said computer program (like system, unit, device etc.) on the relevant hardware platform is carried out; When carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be a ROM (read-only memory), disk or CD etc.
Any technician who is familiar with the present technique field can expect changing or replacement in the technical scope that the present invention discloses easily, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection domain of claim.

Claims (10)

1. a cloud system dispatching method is characterized in that, this method comprises:
Receive two or more concurrent virtual machine operations requests, said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
From said virtual machine operations instruction queue, extract a virtual machine operations request, from cloud system, select to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
Said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request.
2. cloud system dispatching method according to claim 1 is characterized in that, the said physical machine of from cloud system, selecting to accomplish this virtual machine operations request according to said virtual machine operations request comprises:
Obtain whole physical machine of current normal operation in the said cloud system;
The physical resource that the virtual machine of being asked according to said virtual machine operations request takies from whole physical machine of said current normal operation, filters out the physical machine that can satisfy the required physical resource that takies of said virtual machine operations request.
3. cloud system dispatching method according to claim 2 is characterized in that, the said physical machine that can satisfy the required physical resource that takies of said virtual machine operations request that filters out comprises:
Obtain the state parameter of the physical machine of said whole operate as normal, whether said state parameter comprises normal, CPU, internal memory, the virtual machine number that enables, moves, the virtual machine number operated;
According to said state parameter, the physical machine that can move said virtual machine operations request screens.
4. cloud system dispatching method according to claim 1 is characterized in that, said virtual machine operations request is sent to after the step of the said physical machine that can accomplish this virtual machine operations request, also comprises:
The virtual machine operations request that is sent to physics is deleted from said virtual machine operations instruction queue.
5. cloud system dispatching method according to claim 4 is characterized in that, after the step that the said virtual machine operations request that will be sent to physics is deleted from said virtual machine operations instruction queue, also comprises:
From said virtual machine operations instruction queue, select a virtual machine operations request again, and to said virtual machine operations request operation dispatching.
6. cloud system dispatching method according to claim 1 is characterized in that, said virtual machine operations request is sent to after the step of the said physical machine that can accomplish this virtual machine operations request, also comprises:
Receive the execution feedback of said physical machine, when said physical machine is carried out said virtual machine operations request failure, said virtual machine operations request is added in the said virtual machine operations instruction queue again.
7. a cloud system dispatching device is characterized in that, comprising:
The scheduling queue maintenance module is used to receive two or more concurrent virtual machine operations requests, and said concurrent virtual machine operations request is saved in the virtual machine operations instruction queue;
The physical machine screening module is used for extracting a virtual machine operations request from said virtual machine operations instruction queue, from cloud system, selects to accomplish the physical machine of this virtual machine operations request according to said virtual machine operations request;
The scheduled for executing module is used for said virtual machine operations request is sent to the said physical machine that can accomplish this virtual machine operations request.
8. cloud system dispatching device according to claim 7 is characterized in that, said physical machine screening module comprises:
The resource acquisition unit is used for obtaining whole physical machine of the current normal operation of said cloud system;
The physical machine selected cell; Be used for the physical resource that takies according to the virtual machine that said virtual machine operations request is asked; From whole physical machine of said current normal operation, filter out the physical machine that can satisfy the required physical resource that takies of said virtual machine operations request.
9. cloud system dispatching device according to claim 7 is characterized in that, said scheduling queue maintenance module also is used for the virtual machine operations request that is sent to physics is deleted from said virtual machine operations instruction queue.
10. cloud system dispatching device according to claim 7; It is characterized in that; Said scheduling queue maintenance module also is used to receive the execution feedback of said physical machine; When said physical machine is carried out said virtual machine operations request failure, said virtual machine operations request is added in the said virtual machine operations instruction queue again.
CN2012100439166A 2012-02-24 2012-02-24 Cloud operating system (OS) scheduling method and cloud system scheduling device Pending CN102629216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100439166A CN102629216A (en) 2012-02-24 2012-02-24 Cloud operating system (OS) scheduling method and cloud system scheduling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100439166A CN102629216A (en) 2012-02-24 2012-02-24 Cloud operating system (OS) scheduling method and cloud system scheduling device

Publications (1)

Publication Number Publication Date
CN102629216A true CN102629216A (en) 2012-08-08

Family

ID=46587476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100439166A Pending CN102629216A (en) 2012-02-24 2012-02-24 Cloud operating system (OS) scheduling method and cloud system scheduling device

Country Status (1)

Country Link
CN (1) CN102629216A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946413A (en) * 2012-10-17 2013-02-27 北京搜狐新媒体信息技术有限公司 Method and system for resource preprocessing in dispatching and deployment performing process of virtual machine
CN103019849A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Method for managing virtual machine in cloud computing environment
CN109992357A (en) * 2019-04-10 2019-07-09 北京隆普智能科技有限公司 It is a kind of to execute the method and its system that conflict is avoided when change for virtual machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005486A (en) * 2006-12-28 2007-07-25 金蝶软件(中国)有限公司 Resource access control method and system
CN101334742A (en) * 2008-08-05 2008-12-31 中国科学院软件研究所 Java EE applications server parallel processing method
CN101694633A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Equipment, method and system for dispatching of computer operation
CN102075429A (en) * 2011-01-21 2011-05-25 北京邮电大学 Virtual network mapping method based on principle of proximity
CN102158535A (en) * 2011-02-10 2011-08-17 浪潮(北京)电子信息产业有限公司 Cloud computing operating system
CN102185759A (en) * 2011-04-12 2011-09-14 田文洪 Multi-physical server load equalizing method and device capable of meeting requirement characteristic

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005486A (en) * 2006-12-28 2007-07-25 金蝶软件(中国)有限公司 Resource access control method and system
CN101334742A (en) * 2008-08-05 2008-12-31 中国科学院软件研究所 Java EE applications server parallel processing method
CN101694633A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Equipment, method and system for dispatching of computer operation
CN102075429A (en) * 2011-01-21 2011-05-25 北京邮电大学 Virtual network mapping method based on principle of proximity
CN102158535A (en) * 2011-02-10 2011-08-17 浪潮(北京)电子信息产业有限公司 Cloud computing operating system
CN102185759A (en) * 2011-04-12 2011-09-14 田文洪 Multi-physical server load equalizing method and device capable of meeting requirement characteristic

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946413A (en) * 2012-10-17 2013-02-27 北京搜狐新媒体信息技术有限公司 Method and system for resource preprocessing in dispatching and deployment performing process of virtual machine
CN102946413B (en) * 2012-10-17 2015-07-08 北京搜狐新媒体信息技术有限公司 Method and system for resource preprocessing in dispatching and deployment performing process of virtual machine
CN103019849A (en) * 2012-12-31 2013-04-03 无锡城市云计算中心有限公司 Method for managing virtual machine in cloud computing environment
CN103019849B (en) * 2012-12-31 2015-10-07 无锡城市云计算中心有限公司 Virtual machine management method under cloud computing environment
CN109992357A (en) * 2019-04-10 2019-07-09 北京隆普智能科技有限公司 It is a kind of to execute the method and its system that conflict is avoided when change for virtual machine
CN109992357B (en) * 2019-04-10 2022-01-14 中航金网(北京)电子商务有限公司 Method and system for avoiding conflict when executing change to virtual machine

Similar Documents

Publication Publication Date Title
CN102214139B (en) Automatic test performance control and debugging method facing distributed system
CN103209197B (en) cluster server deployment method and system
CN102414674B (en) Application efficiency engine
JP2007215005A5 (en)
CN104572290A (en) Method and device for controlling message processing threads
CN106557369A (en) A kind of management method and system of multithreading
CN107943577A (en) Method and apparatus for scheduler task
CN103164253A (en) Virtual machine deployment system and virtual machine deployment method
CN102521218B (en) File combining method and file combining device
CN104243617A (en) Task scheduling method and system facing mixed load in heterogeneous cluster
CN108681598A (en) Task runs method, system, computer equipment and storage medium again automatically
CN107832130A (en) A kind of job stream scheduling of banking system performs method, apparatus and electronic equipment
EP2612240A1 (en) Automatic application tuning
CN102455932B (en) Serial execution method, device and system for task instances
CN102629216A (en) Cloud operating system (OS) scheduling method and cloud system scheduling device
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
CN104572279A (en) Node binding-supporting virtual machine dynamic scheduling method
CN102624544A (en) Method and device for creating monitoring tasks
US11194623B2 (en) Resource scheduling method and related apparatus
CN102096606A (en) Virtual machine migration method, device and system
CN114356714A (en) Resource integration monitoring and scheduling device based on Kubernetes intelligent board card cluster
WO2021253239A1 (en) Method and apparatus for determining resource configuration of cloud service system
WO2023241680A1 (en) Edge node control method based on cloud computing technology, and cloud management platform
CN102591714B (en) Process calling method, system and application server
CN108055161A (en) A kind of networking optimization method and device

Legal Events

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

Application publication date: 20120808