CN109240768A - The operation method and system of virtual machine under a kind of mixed computing model - Google Patents
The operation method and system of virtual machine under a kind of mixed computing model Download PDFInfo
- Publication number
- CN109240768A CN109240768A CN201811088130.XA CN201811088130A CN109240768A CN 109240768 A CN109240768 A CN 109240768A CN 201811088130 A CN201811088130 A CN 201811088130A CN 109240768 A CN109240768 A CN 109240768A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- calculation
- mode
- virtualized server
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45575—Starting, stopping, suspending or resuming virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses the operation methods and system of virtual machine under a kind of mixed computing model, belong to cloud computing and technical field of virtualization, this method comprises: virtualized server obtains the computing resource of itself and terminal respectively before the operation of S1, virtual machine;After S2, the virtualized server determine that the computing resource of itself and terminal meets the running configuration demand of virtual machine, corresponding calculation available mode mark and computing resource information are determined;S3, the virtualized server are identified according to the calculation available mode and the computing resource information, starts virtual machine with corresponding calculation.Present invention mainly solves users not to know the problem of how should reasonably selecting calculation, cannot efficiently use the computing resource of hardware;By the method for comparison, helps user to reasonably select calculation, avoid computing resource redundancy, be effectively utilized the computing resource of virtualized server and terminal.
Description
Technical field
The present invention relates to cloud computings and technical field of virtualization, more particularly to virtual machine under a kind of mixed computing model
Operation method and system.
Background technique
The realization of cloud computing is needed by virtualization technology, and virtualization technology passes through operation virtual machine behaviour on a hardware platform
Make system, and realizes the interaction of client and virtual machine by virtualization transport protocol.In cloud computing technology, it will usually use
Centralized calculation mode and edge calculations mode run virtual machine.
Centralized calculation mode is virtual machine to be run using the computing resource of virtualized server, such as virtual desktop is basic
Framework, i.e. Virtual Desktop Infrastructure, VDI, the framework run operation system by virtualized server
System, and interact the operating system run in terminal and virtualized server by virtualizing transport protocol, that is, it virtualizes
The operating system run in server is and virtual i/o interactive interfacing, interactive operation of the operating system itself to virtual i/o interface
It is consistent with the interactive operation to actual hardware I/O interface.It is powerful that virtualized server is played in the way of centralized calculation
Rear end computing resource provides calculating for user terminal and supports, mobile terminal device is enable to become the entrance of carry-on cloud desktop.
The computing resource of edge calculations mode then using terminal runs virtual machine, such as new virtual desktop framework,
Virtual OS Infrastructure, VOI, which realizes the standardization and distribution immediately of operating system, in the framework
Under, for operating system on the hardware platform of terminal, operating system is directly to interact operation to the I/O interface of terminal.
The personal computer powerful for performance can be used edge calculations mode and run virtual machine, give full play to personal computer CPU and
The performance of video card, the support without any redirecting technique can support the modeling, rendering, post-processing, height of 3D graph image
The work such as frequency decoding and post-processing, are almost not take up the computing resource of virtualized server.
In the concept for proposing mixing calculation, i.e. virtual machine can be supported to concentrate many businessmans for providing cloud computing service
Two kinds of calculations of calculation and edge calculations mode, mixing calculation meet user under different usage scenarios to cloud
The demand of computing system, still, the computer literacy level of public user are irregular, and many users, which do not know, is using cloud meter
How calculation should be reasonably selected when calculating service, if the selection of calculation is inappropriate, the performance of cloud computing system will be difficult
To reach the desired using effect of user, and the resource distribution of many redundancies can be generated, the meter of hardware cannot be efficiently used
Calculate resource.
Summary of the invention
To solve the problem above-mentioned, the present invention provides a kind of operation method of virtual machine under mixed computing model and it is
System helps user to reasonably select calculation.
The technical solution used in the present invention is: under a kind of mixed computing model virtual machine operation method, comprising:
Before S1, virtual machine operation, virtualized server obtains the computing resource of itself and terminal respectively;
S2, the virtualized server determine the computing resource of itself and terminal meet virtual machine running configuration demand it
Afterwards, corresponding calculation available mode mark and computing resource information are determined;
S3, the virtualized server are identified according to the calculation available mode and the computing resource information, with
Corresponding calculation starts virtual machine.
In the above method, the calculation available mode mark includes that centralized calculation mode can use mark, centralized calculation
The unavailable mark of mode, edge calculations mode can use mark and the unavailable mark of edge calculations mode.
In the above method, step S2 specifically:
S2.1, the virtualized server judge whether the computing resource of itself meets the running configuration demand of virtual machine,
If satisfied, then determine that centralized calculation mode can use mark and the computing resource information of the virtualized server, if not satisfied,
Then determine the unavailable mark of centralized calculation mode;
S2.2, the virtualized server judge whether the computing resource of the terminal meets the running configuration need of virtual machine
It asks, if satisfied, then determining that edge calculations mode can use mark and the computing resource information of the terminal, if not satisfied, then really
The unavailable mark of deckle edge calculation.
In the above method, the computing resource includes CPU residue Thread Count, memory surplus, GPU idleness and video memory
Surplus.
In the above method, step S3 includes:
If the virtualized server determines that centralized calculation mode can use mark and the unavailable mark of edge calculations mode,
Then start virtual machine in a manner of centralized calculation;
If the virtualized server determines that the unavailable mark of centralized calculation mode and edge calculations mode can use mark,
Then start virtual machine in a manner of edge calculations.
In the above method, step S3 be may further comprise:
If the virtualized server determines that centralized calculation mode can use mark with mark and edge calculations mode,
The computing resource information of the virtualized server and the computing resource information of the terminal are compared, selection possesses more excellent calculating money
A kind of calculation in source starts virtual machine;
When selection possesses a kind of calculation starting virtual machine of more excellent computing resource, according to preconfigured mode of priority
To select corresponding calculation;
The mode of priority includes cpu performance mode of priority, internal memory performance mode of priority and image property mode of priority;
Under cpu performance mode of priority, the virtualized server compares the CPU residue Thread Count of itself and the terminal,
If the CPU residue Thread Count of the virtualized server is greater than or equal to the CPU residue Thread Count of the terminal, fallen into a trap with collection
Calculation mode starts virtual machine, if the CPU residue Thread Count of the virtualized server is less than the CPU residue thread of the terminal
Number, then start virtual machine in a manner of edge calculations;
Under internal memory performance mode of priority, the virtualized server compares the memory surplus of itself and the terminal, if
The memory surplus of the virtualized server is greater than or equal to the memory surplus of the terminal, then is opened in a manner of centralized calculation
Dynamic virtual machine, if the memory surplus of the virtualized server is less than the memory surplus of the terminal, with edge calculations
Mode starts virtual machine;
Under image property mode of priority, the virtualized server obtains the video card model of itself and the terminal respectively,
And obtain the performance ranking of the video card of the virtualized server and the terminal respectively from video card capabilities ranked list, if institute
State the video card of virtualized server performance ranking be greater than or equal to the terminal video card performance ranking, then with centralized calculation
Mode starts virtual machine, if the performance ranking of the video card of the virtualized server is lower than the performance row of the video card of the terminal
Sequence then starts virtual machine in a manner of edge calculations.
In the above method, step S3 may further comprise: that the virtualized server selection possesses more excellent computing resource
After a kind of calculation, this kind of calculation is rendered as recommendations in the terminal;
After selecting a kind of calculation, the calculation mark of this kind of calculation is back to described virtual by the terminal
Change server and corresponding calculating is identified with the calculation after the virtualized server receives the calculation mark
Mode starts virtual machine.
It in the above method, after step S3, further comprises: described if starting virtual machine in a manner of edge calculations
Virtualized server persistently monitors the computing resource of the virtualized server, until the calculating that the virtualized server possesses
When resource is better than the computing resource that the terminal possesses, the virtualized server locks the virtualization clothes within a preset time
The computing resource that business device possesses, the virtualized server send prompting message to terminal, to prompt user the virtual machine
The method of operation switch to the centralized calculation mode.
The operating system of virtual machine, applies virtual machine under above-mentioned mixed computing model under a kind of mixed computing model
Operation method, comprising: including source obtaining module and calculation control module;
Wherein, the source obtaining module, for obtaining the computing resource of virtualized server and terminal, Yi Jifen respectively
Do not judge whether the computing resource of the virtualized server and the terminal meets the running configuration demand of virtual machine, and to meter
Calculation mode control module returns to corresponding calculation available mode mark and computing resource information;
The calculation control module, for according to the calculation available mode mark received and the calculating
Resource information starts virtual machine with corresponding calculation.
In above-mentioned technical proposal, the calculation control module, when being also used to start virtual machine in a manner of edge calculations,
The computing resource of the virtualized server is persistently monitored, until the computing resource that the virtualized server possesses is better than described
When the computing resource that terminal possesses, the computing resource that the virtualized server possesses is locked within a preset time, sends prompt
Message is to terminal, to prompt user that the method for operation of the virtual machine is switched in a manner of the centralized calculation.
The beneficial effects of the present invention are: under this kind of mixed computing model virtual machine operation method and system, virtualization clothes
Device be engaged according to determining calculation available mode mark and computing resource information, virtual machine is started with corresponding calculation,
By the method for comparison, user is helped to reasonably select one of centralized calculation side or edge calculations mode, reduces user's study
Cost improves user experience, avoids computing resource redundancy, be effectively utilized the computing resource of virtualized server and terminal.
Detailed description of the invention
Fig. 1 is the flow chart of the operation method of virtual machine under a kind of mixed computing model of the invention;
Fig. 2 is the flow chart of the operation method step S2.1 of virtual machine under a kind of mixed computing model of the invention;
Fig. 3 is the flow chart of the operation method step S2.2 of virtual machine under a kind of mixed computing model of the invention.
Specific embodiment
The invention will now be described in further detail with reference to the accompanying drawings.
The operation method of virtual machine, is applied in cloud computing system, the cloud computing system is extremely under a kind of mixed computing model
Virtual machine can be run using centralized calculation mode and edge calculations mode less.
Centralized calculation mode is virtual machine to be run using the computing resource of virtualized server, such as virtual desktop is basic
Framework, i.e. Virtual Desktop Infrastructure, VDI, the framework run operation system by virtualized server
System, and interact the operating system run in terminal and virtualized server by virtualizing transport protocol, that is, it virtualizes
The operating system run in server is and virtual i/o interactive interfacing, interactive operation of the operating system itself to virtual i/o interface
It is consistent with the interactive operation to actual hardware I/O interface.
The computing resource of edge calculations mode then using terminal runs virtual machine, such as new virtual desktop framework,
Virtual OS Infrastructure, VOI, which realizes the standardization and distribution immediately of operating system, in the framework
Under, for operating system on the hardware platform of terminal, operating system is directly to interact operation to the I/O interface of terminal.
The computing resource includes CPU residue Thread Count, memory surplus, GPU utilization rate and video memory surplus.
It is usually virtual machine the thread virtual of the CPU of the virtualized server in virtual machine operational process
CPU is used so that the virtual machine is run, when the CPU line journey of the virtualized server is without residue, be will be unable to fictionalize void
The CPU of quasi- machine, in this case, the computing resource are not able to satisfy needed for virtual machine operation.
By taking 64 7 operating system of Windows as an example, when creating virtual machine, according to configuration needs, virtualized server
The memory of 3~4G should be distributed, for virtual machine operation, whether detection memory surplus meets the configuration needs of operating system,
To ensure that VME operating system can normally start and smoothness is run.
Video card includes GPU computing unit and video memory, and the computing resource index of video card includes that GPU utilization rate and video memory are remaining
Amount.By taking 64 7 operating system of Windows as an example, when creating virtual machine, according to configuration needs, virtualized server should divide
With 256MB video memory, for virtual machine operation;In addition, it is difficult to realize Fast rendering figure if GPU utilization rate is excessively high, therefore,
Video card will be difficult to quickly export virtualization desktop image, and the frame per second of virtualization desktop image is lower, in this case, virtual machine
Operation can generate the Caton of user intuitively.
The operation method of virtual machine includes: under this kind of mixed computing model
S0, terminal log in virtual machine.
Before S1, virtual machine operation, virtualized server obtains the computing resource of itself and terminal respectively.
Specifically, this step obtains the computing resource of the virtualized server and the terminal respectively, i.e., obtains respectively
Take CPU residue Thread Count, memory surplus, GPU idleness and the video memory of the virtualized server and the terminal remaining
Amount.
S2, the virtualized server determine the computing resource information of itself and the terminal, and judge respectively itself and
Whether the computing resource of the terminal meets the running configuration demand of virtual machine, determines corresponding calculation available mode mark
Know.
The calculation available mode mark includes that centralized calculation mode can use mark, the unavailable mark of centralized calculation mode
Know, edge calculations mode can use mark and the unavailable mark of edge calculations mode.
Step S2 is specifically included:
S2.1, the virtualized server determine the computing resource information of itself, and judge itself computing resource whether
Meet the running configuration demand of virtual machine, if satisfied, then determining that centralized calculation mode can use mark and the virtualization services
The computing resource information of device, if not satisfied, then determining the unavailable mark of centralized calculation mode.
This step specifically:
The CPU residue Thread Count for detecting the virtualized server performs the next step if there is remaining thread, if without surplus
Remaining thread, then centralized calculation mode is unavailable, and the virtualized server determines the unavailable mark of centralized calculation mode;
The memory surplus of the virtualized server is detected, if memory surplus meets the operation of VME operating system
Demand, then centralized calculation mode is available, and the virtualized server determines that centralized calculation mode can use mark;If memory surplus
It is not able to satisfy the operation demand of VME operating system, then centralized calculation mode is unavailable, and the virtualized server determines collection
The middle unavailable mark of calculation.
S2.2, the virtualized server determine the computing resource information of the terminal, and judge the calculating of the terminal
Whether resource meets the running configuration demand of virtual machine, if satisfied, then determining that edge calculations mode can use mark and the end
The computing resource information at end, if not satisfied, then determining the unavailable mark of edge calculations mode.
This step specifically:
Detect the terminal whether have turned on hardware auxiliary virtualization technology performed the next step if having turned on, if not opening
It opens, then edge calculations mode is unavailable, and the virtualized server determines the unavailable mark of edge calculations mode;
The CPU line number of passes and dominant frequency for detecting the terminal, if CPU line number of passes and dominant frequency are all satisfied VME operating system
Operation demand then performs the next step;If CPU line number of passes and any operation demand for not being able to satisfy VME operating system of dominant frequency,
Then edge calculations mode is unavailable, and the virtualized server determines the unavailable mark of edge calculations mode;
The memory surplus of the terminal is detected, if memory surplus meets the operation demand of VME operating system,
Edge calculations mode is available, and the virtualized server determines that edge calculations mode can use mark;If memory surplus cannot expire
The operation demand of sufficient VME operating system, then edge calculations mode is unavailable, and the virtualized server determines edge calculations
The unavailable mark of mode.
Wherein, the hardware assists virtualization technology, that is, Virtualization Technology, VT;It is auxiliary to open hardware
After helping virtualization technology, by the way that single computer software environment is divided into multiple independent partitions, enable the same physical platform
Enough while multiple similar or inhomogeneous operating system is run, improves virtual machine runnability.
S3, the virtualized server are identified according to the calculation available mode and the computing resource information, with
Corresponding calculation starts virtual machine.
Specifically, if the virtualized server determines that centralized calculation mode can use mark and edge calculations mode not
Mark can be used, then start virtual machine in a manner of centralized calculation.
If the virtualized server determines that the unavailable mark of centralized calculation mode and edge calculations mode can use mark,
Then start virtual machine in a manner of edge calculations.
If the virtualized server determines that centralized calculation mode can use mark with mark and edge calculations mode,
The computing resource information of the virtualized server and the computing resource information of the terminal are compared, selection possesses more excellent calculating money
A kind of calculation in source starts virtual machine.
When selection possesses a kind of calculation of more excellent computing resource, select to correspond to according to preconfigured mode of priority
Calculation.
Specifically, the mode of priority includes cpu performance mode of priority, internal memory performance mode of priority and image property
Mode of priority.User can choose one of mode of priority by terminal when terminal logs in virtual machine.
Under cpu performance mode of priority, the virtualized server compares the CPU residue Thread Count of itself and the terminal,
If the CPU residue Thread Count of the virtualized server is greater than or equal to the CPU residue Thread Count of the terminal, fallen into a trap with collection
Calculation mode starts virtual machine, if the CPU residue Thread Count of the virtualized server is less than the CPU residue thread of the terminal
Number, then start virtual machine in a manner of edge calculations.
Under cpu performance mode of priority, can make virtual machine possess higher operational capability, data processing and processor active task compared with
More users can choose cpu performance mode of priority.
Under internal memory performance mode of priority, the virtualized server compares the memory surplus of itself and the terminal, if
The memory surplus of the virtualized server is greater than or equal to the memory surplus of the terminal, then is opened in a manner of centralized calculation
Dynamic virtual machine, if the memory surplus of the virtualized server is less than the memory surplus of the terminal, with edge calculations
Mode starts virtual machine.
Under internal memory performance mode of priority, virtual machine can be made to possess higher multitasking ability, need to open simultaneously
The user of more program window can choose cpu performance mode of priority.
The memory foundation of the virtualized server has video card capabilities ranked list, the video card capabilities ranked list note
Record has the video card model listed, and is ranked up by performance power.
Under image property mode of priority, the virtualized server obtains the video card model of itself and the terminal respectively,
And obtain the performance ranking of the video card of the virtualized server and the terminal respectively from the video card capabilities ranked list,
If the performance ranking of the video card of the virtualized server is greater than or equal to the performance ranking of the video card of the terminal, to concentrate
Calculation starts virtual machine, if the performance ranking of the video card of the virtualized server is lower than the performance of the video card of the terminal
Sequence, then start virtual machine in a manner of edge calculations.
Under image property mode of priority, virtual machine can be made to possess higher image property, need often to carry out at image
The user of reason and model rendering can choose image property mode of priority.
In some embodiments, if the virtualized server determines that centralized calculation mode can use mark and edge calculations
Mode can use mark, compare the computing resource information of the virtualized server and the computing resource information of the terminal, select
After a kind of calculation for possessing more excellent computing resource, this kind of calculation by dialog box or is chosen in the terminal
Frame, and user is recommended in the form of recommendations, i.e., it is in the form of recommendations in the terminal by this kind of calculation
Now specifically it can choose edge calculations mode and centralized calculation in the dialog box or tick boxes of the terminal to user
Mode, and a kind of calculation for possessing more excellent computing resource will be recommended to user, such as mark after this kind of calculation
The visual cues being recommended to use are infused, user can select required calculation to start virtual machine according to their needs, use
After the terminal selects a kind of calculation, the calculation mark of this kind of calculation is back to described by the terminal at family
Virtualized server is identified corresponding after the virtualized server receives the calculation mark with the calculation
Calculation starts virtual machine.
The calculation mark is identified including edge calculations mode and centralized calculation mode identifies.The virtualization clothes
Business device receives the edge calculations mode that the terminal returns and identifies, and starts virtual machine in a manner of edge calculations;The virtualization clothes
Business device receives the centralized calculation mode that the terminal returns and identifies, and starts virtual machine in a manner of centralized calculation.
After a kind of calculation for possessing more excellent computing resource is recommended user by the virtualized server, start to count
When, if not receiving the calculation mark that the terminal returns after countdown, yet to possess more excellent computing resource
A kind of calculation start virtual machine.
If S4, starting virtual machine in a manner of edge calculations, the virtualized server persistently monitors the virtualization clothes
The computing resource of business device, until the computing resource that the virtualized server possesses is better than the computing resource that the terminal possesses
When, the virtualized server locks owned computing resource within a preset time.
When the virtualized server locks the computing resource that the virtualized server possesses, the virtualized server
The virtual machine of subsequent login is prevented to occupy the computing resource, until gathering around more than the virtualized server is unlocked after preset time
Some computing resources, so that the virtual machine of subsequent login uses.
The preset time can be preset as 10-15 minutes, be used in order to avoid excessively influencing subsequent virtual machine.
S5, the virtualized server send prompting message to terminal, to prompt user the operation side of the virtual machine
Formula switches to the centralized calculation mode.
The embodiment of the present invention also provides a kind of operating system of virtual machine under mixed computing model, which applies
The operation method of virtual machine under the mixed computing model stated, the system include source obtaining module and calculation control module.
The source obtaining module and the calculation control module are established in virtualized server.
Wherein, the source obtaining module, for obtaining the computing resource of virtualized server and terminal, Yi Jifen respectively
Do not judge whether the computing resource of the virtualized server and the terminal meets the running configuration demand of virtual machine, and to meter
Calculation mode control module returns to corresponding calculation available mode mark and computing resource information.
The calculation control module, for according to the calculation available mode mark received and the calculating
Resource information starts virtual machine with corresponding calculation.
The calculation control module when being also used to start virtual machine in a manner of edge calculations, persistently monitors the void
The computing resource of quasi-ization server, until the computing resource that the virtualized server possesses is better than the calculating that the terminal possesses
When resource, the computing resource that the virtualized server possesses is locked within a preset time, sends prompting message to terminal, to mention
Show that the method for operation of the virtual machine is switched to the centralized calculation mode by user.
The above embodiments are merely illustrative and not limiting of the invention, therefore all according to described in present patent application range
The equivalent change or modification done of method, be included in the scope of the patent application of the present invention.
Claims (10)
1. the operation method of virtual machine under a kind of mixed computing model characterized by comprising
Before S1, virtual machine operation, virtualized server obtains the computing resource of itself and terminal respectively;
After S2, the virtualized server determine that the computing resource of itself and terminal meets the running configuration demand of virtual machine,
Determine corresponding calculation available mode mark and computing resource information;
S3, the virtualized server are identified according to the calculation available mode and the computing resource information, with correspondence
Calculation start virtual machine.
2. the operation method of virtual machine under mixed computing model according to claim 1, it is characterised in that: the calculating side
Formula available mode mark includes that centralized calculation mode can use the unavailable mark of mark, centralized calculation mode, edge calculations mode can
With mark and the unavailable mark of edge calculations mode.
3. the operation method of virtual machine under mixed computing model according to claim 2, which is characterized in that step S2 is specific
Are as follows:
S2.1, the virtualized server judge whether the computing resource of itself meets the running configuration demand of virtual machine, if full
Foot, it is determined that centralized calculation mode can use mark and the computing resource information of the virtualized server, if not satisfied, then really
Determine the unavailable mark of centralized calculation mode;
S2.2, the virtualized server judge whether the computing resource of the terminal meets the running configuration demand of virtual machine,
If satisfied, then determining that edge calculations mode can use mark and the computing resource information of the terminal, if not satisfied, then determining side
The unavailable mark of edge calculation.
4. the operation method of virtual machine under mixed computing model according to claim 3, it is characterised in that: the calculating money
Source includes CPU residue Thread Count, memory surplus, GPU idleness and video memory surplus.
5. the operation method of virtual machine under mixed computing model according to claim 4, which is characterized in that step S3 packet
It includes:
If the virtualized server determines that centralized calculation mode can use mark and the unavailable mark of edge calculations mode, with
Centralized calculation mode starts virtual machine;
If the virtualized server determines that the unavailable mark of centralized calculation mode and edge calculations mode can use mark, with
Edge calculations mode starts virtual machine.
6. the operation method of virtual machine under mixed computing model according to claim 5, which is characterized in that step S3 also into
One step includes:
If the virtualized server determines that centralized calculation mode can use mark with mark and edge calculations mode, compare
The computing resource information of the virtualized server and the computing resource information of the terminal, selection possess more excellent computing resource
A kind of calculation starting virtual machine;
When selection possesses a kind of calculation of more excellent computing resource, corresponding meter is selected according to preconfigured mode of priority
Calculation mode;
The mode of priority includes cpu performance mode of priority, internal memory performance mode of priority and image property mode of priority;
Under cpu performance mode of priority, the virtualized server compares the CPU residue Thread Count of itself and the terminal, if institute
The CPU residue Thread Count for stating virtualized server is greater than or equal to the CPU residue Thread Count of the terminal, then with centralized calculation side
Formula starts virtual machine, if the CPU residue Thread Count of the virtualized server is less than the CPU residue Thread Count of the terminal,
Start virtual machine in a manner of edge calculations;
Under internal memory performance mode of priority, the virtualized server compares the memory surplus of itself and the terminal, if described
The memory surplus of virtualized server is greater than or equal to the memory surplus of the terminal, then starts void in a manner of centralized calculation
Quasi- machine, if the memory surplus of the virtualized server is less than the memory surplus of the terminal, in a manner of edge calculations
Start virtual machine;
Under image property mode of priority, the virtualized server obtains the video card model of itself and the terminal respectively, and from
The performance ranking of the video card of the virtualized server and the terminal is obtained in video card capabilities ranked list respectively, if the void
The performance ranking of the video card of quasi-ization server is greater than or equal to the performance ranking of the video card of the terminal, then in a manner of centralized calculation
Start virtual machine, if the performance ranking of the video card of the virtualized server is lower than the performance ranking of the video card of the terminal,
Start virtual machine in a manner of edge calculations.
7. the operation method of virtual machine under mixed computing model according to claim 6, which is characterized in that step S3 also into
After one step includes: a kind of calculation that virtualized server selection possesses more excellent computing resource, by this kind of calculation
Recommendations are rendered as in the terminal;
After selecting a kind of calculation, the calculation mark of this kind of calculation is back to the virtualization clothes by the terminal
Business device identifies corresponding calculation after the virtualized server receives the calculation mark with the calculation
Start virtual machine.
8. according to the operation method of virtual machine under any mixed computing model of claim 5-7, which is characterized in that step
It after S3, further comprises: if starting virtual machine in a manner of edge calculations, described in the virtualized server persistently monitors
The computing resource of virtualized server, until the computing resource that the virtualized server possesses is better than the meter that the terminal possesses
When calculating resource, the virtualized server locks the computing resource that the virtualized server possesses within a preset time, described
Virtualized server sends prompting message to terminal, to prompt user that the method for operation of the virtual machine is switched to the concentration
Calculation.
9. the operating system of virtual machine under a kind of mixed computing model applies any mixing of claim 1-8 and calculates
The operation method of virtual machine under mode characterized by comprising including source obtaining module and calculation control module;
Wherein, the source obtaining module is sentenced for obtaining the computing resource of virtualized server and terminal respectively, and respectively
Whether the computing resource for the virtualized server and the terminal of breaking meets the running configuration demand of virtual machine, and to calculating side
Formula control module returns to corresponding calculation available mode mark and computing resource information;
The calculation control module, for according to the calculation available mode mark received and the computing resource
Information starts virtual machine with corresponding calculation.
10. the operating system of virtual machine under mixed computing model according to claim 9, it is characterised in that: the calculating
Mode control module when being also used to start virtual machine in a manner of edge calculations, persistently monitors the calculating of the virtualized server
Resource, until when the computing resource that the virtualized server possesses is better than the computing resource that the terminal possesses, when default
The computing resource that the interior locking virtualized server possesses sends prompting message to terminal, to prompt user the void
The method of operation of quasi- machine switches to the centralized calculation mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811088130.XA CN109240768A (en) | 2018-09-18 | 2018-09-18 | The operation method and system of virtual machine under a kind of mixed computing model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811088130.XA CN109240768A (en) | 2018-09-18 | 2018-09-18 | The operation method and system of virtual machine under a kind of mixed computing model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109240768A true CN109240768A (en) | 2019-01-18 |
Family
ID=65059714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811088130.XA Pending CN109240768A (en) | 2018-09-18 | 2018-09-18 | The operation method and system of virtual machine under a kind of mixed computing model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240768A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659034A (en) * | 2019-09-24 | 2020-01-07 | 合肥工业大学 | Combined optimization deployment method, system and storage medium of cloud-edge hybrid computing service |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080201414A1 (en) * | 2007-02-15 | 2008-08-21 | Amir Husain Syed M | Transferring a Virtual Machine from a Remote Server Computer for Local Execution by a Client Computer |
CN103164253A (en) * | 2011-12-16 | 2013-06-19 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine deployment system and virtual machine deployment method |
CN103309682A (en) * | 2012-03-07 | 2013-09-18 | 上海聚耘信息科技有限公司 | Fast start and allocation method for virtual machine |
CN104869167A (en) * | 2015-05-29 | 2015-08-26 | 深圳市云舒网络技术有限公司 | Server and load balance system of desktop virtual application |
CN105872016A (en) * | 2016-03-17 | 2016-08-17 | 广东微云科技股份有限公司 | Operation method of virtual machine in desktop cloud |
CN108279906A (en) * | 2018-01-11 | 2018-07-13 | 北京潘达互娱科技有限公司 | The method and apparatus of application deployment service on the server |
-
2018
- 2018-09-18 CN CN201811088130.XA patent/CN109240768A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080201414A1 (en) * | 2007-02-15 | 2008-08-21 | Amir Husain Syed M | Transferring a Virtual Machine from a Remote Server Computer for Local Execution by a Client Computer |
CN103164253A (en) * | 2011-12-16 | 2013-06-19 | 鸿富锦精密工业(深圳)有限公司 | Virtual machine deployment system and virtual machine deployment method |
CN103309682A (en) * | 2012-03-07 | 2013-09-18 | 上海聚耘信息科技有限公司 | Fast start and allocation method for virtual machine |
CN104869167A (en) * | 2015-05-29 | 2015-08-26 | 深圳市云舒网络技术有限公司 | Server and load balance system of desktop virtual application |
CN105872016A (en) * | 2016-03-17 | 2016-08-17 | 广东微云科技股份有限公司 | Operation method of virtual machine in desktop cloud |
CN108279906A (en) * | 2018-01-11 | 2018-07-13 | 北京潘达互娱科技有限公司 | The method and apparatus of application deployment service on the server |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659034A (en) * | 2019-09-24 | 2020-01-07 | 合肥工业大学 | Combined optimization deployment method, system and storage medium of cloud-edge hybrid computing service |
CN110659034B (en) * | 2019-09-24 | 2022-09-20 | 合肥工业大学 | Combined optimization deployment method, system and storage medium of cloud-edge hybrid computing service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8112527B2 (en) | Virtual machine management apparatus, and virtual machine management method and program | |
US11146498B2 (en) | Distributed resource scheduling based on network utilization | |
CN109643251B (en) | Resource oversubscription based on utilization patterns in computing systems | |
US9215142B1 (en) | Community analysis of computing performance | |
US20190188051A1 (en) | Constrained placement in hierarchical randomized schedulers | |
US9396042B2 (en) | Methods and systems for evaluating historical metrics in selecting a physical host for execution of a virtual machine | |
US9038083B2 (en) | Virtual machine provisioning based on tagged physical resources in a cloud computing environment | |
US7912955B1 (en) | Model-based provisioning of resources | |
US9582303B2 (en) | Extending placement constraints for virtual machine placement, load balancing migrations, and failover without coding | |
WO2018040525A1 (en) | Method, device, and equipment for processing resource pool | |
US20100274890A1 (en) | Methods and apparatus to get feedback information in virtual environment for server load balancing | |
US20090006875A1 (en) | Media Device Power Conservation | |
CN102622264A (en) | Multi-virtualization computing platform method in cloud computing | |
US20120239814A1 (en) | Clustered computer environment partition resolution | |
CN108132827B (en) | Network slice resource mapping method, related equipment and system | |
CN105677342B (en) | A kind of combined table top virtual method solving heterogeneous operating system | |
CN106663012A (en) | Hardware acceleration method and relevant device | |
Han et al. | Virtual resource monitoring in cloud computing | |
CN113010342A (en) | Operation and maintenance diagnosis method, device, equipment and storage medium | |
CN102567116A (en) | Cloud computing and virtualization system of digital home | |
CN112256439A (en) | Service directory dynamic updating system and method based on cloud computing resource pool | |
CN109240768A (en) | The operation method and system of virtual machine under a kind of mixed computing model | |
US20170364392A1 (en) | Distributed hierarchical scheduler | |
CN111290815B (en) | Method and system for fusing multi-mode virtual desktop of shared user environment, container and virtual machine | |
CN116510312A (en) | Cloud game multi-opening implementation method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190118 |
|
RJ01 | Rejection of invention patent application after publication |