CN106815060A - Virtual machine distribution method and system - Google Patents
Virtual machine distribution method and system Download PDFInfo
- Publication number
- CN106815060A CN106815060A CN201710044619.6A CN201710044619A CN106815060A CN 106815060 A CN106815060 A CN 106815060A CN 201710044619 A CN201710044619 A CN 201710044619A CN 106815060 A CN106815060 A CN 106815060A
- Authority
- CN
- China
- Prior art keywords
- user
- virtual machine
- machine
- pond
- label
- 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/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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- 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/4557—Distribution of virtual machine instances; Migration and load balancing
Abstract
The invention discloses a kind of virtual machine distribution method and system, virtual machine distribution method is comprised the following steps:Distributor is created, the corresponding relation in user tag and device label and machine pond defined in it;Obtain user post information;Obtain the user tag and device label of mapping user post information;Into the distributor corresponding to the user tag and the device label;The virtual machine of free time is chosen from machine pond.Virtual machine distribution system includes obtaining the user interface of user post information;Allocation unit including label list and allocation table;The allocation unit obtains the machine pond that there are mapping relations by mapping to the user tag and device label of the user post information that the user interface is obtained, and the virtual machine of free time is chosen from the machine pond that there are mapping relations.The present invention realizes the distribution and management of automation, for the different distributor of different machines pond correspondence, supports machine rotation either statically or dynamically.
Description
Technical field
The present invention relates to a kind of virtual machine distribution method and system.
Background technology
With the popularization of cloud desktop system, current enterprise generally accesses desktop cloud and is handled official business using cloud terminal device.By
In all departments of enterprise, each rank, each technical ability group employee, mirror image, internal memory CPU configurations, disk size to virtual machine etc. have
Different demand, while the mode of operation of timing or rotation typesetting also determines dynamic or static state to the degree of dependence of virtual machine
Different binding demands, and various manufacturers of enterprise procurement cloud terminal device, so the distribution of virtual machine need to consider it is a large amount of
Configuration factor, general way is by keeper's virtual machine that manually binding different user is used by hand at present.This side
Formula is on the one hand, it is necessary to substantial amounts of manual maintenance, underaction;On the other hand, it is impossible to meet the dynamic binding demand of security, it is past
Toward the free time and waste of causing resource.
The content of the invention
The technical problem to be solved in the present invention is in order to the mode of manual maintenance in overcoming prior art virtual machine to distribute is made
Into system is dumb and defect of the idle waste of resource, there is provided a kind of virtual machine distribution method and system, realize automatic
The distribution and management of change, for the different distributor of different machines pond correspondence, support machine rotation either statically or dynamically.
The present invention is to solve above-mentioned technical problem by following technical proposals:
The invention provides a kind of virtual machine distribution method, it is characterized in, comprises the following steps:
Distributor is created, the corresponding relation in user tag and device label and machine pond defined in it;
Obtain user post information;
Obtain the user tag and the device label of mapping user post information;
Into the distributor corresponding to the user tag and the device label;
The virtual machine of free time is chosen from the corresponding machine pond of distributor.
The present invention realizes the distribution of virtual machine by the tagging management to user, consequently facilitating the pipe of dummy machine system
Reason, upgrading and maintenance, while the management of labeling also allows for the configuration of different user and different allocation strategies.
It is preferred that before user post information is obtained, verifying user's logon information.The present invention is in certification user identity or use
After the authority of family, the distribution of correspondingly virtual machine is just carried out.
It is preferred that when the user tag and device label of mapping user post information is obtained, being looked into from label list
Look for the user tag and device label corresponding to user post information.
The tagging management of user is realized in the present invention using the form for building label list.
It is preferred that when virtual machine to be allocated is obtained by the user tag and the device label, from distributor table
The middle machine pond obtained corresponding to the user tag and the device label.
The unified management that different machines pond is also realized using the distributor table including machine pond of the invention, and further with
Label realizes the selection in different machines pond.
It is preferred that when the virtual machine of free time is chosen from machine pond, it is idle that identification-state is chosen from machine pond
Virtual machine simultaneously pushes to user;The virtual machine that the machine pond will be selected is designated use state.
The invention provides a kind of virtual machine distribution system, it is characterized in, including:
Obtain the user interface of user post information;
Allocation unit including label list and allocation table, wherein the label list includes the user with mapping relations
Post information and user tag and device label, the allocation table include the user tag and equipment with mapping relations
Label and machine pond;
The allocation unit is by mapping to the user tag and equipment of the user post information that the user interface is obtained
Label obtains the machine pond that there are mapping relations, and the virtual machine of free time is chosen from the machine pond that there are mapping relations.
It is preferred that the user interface also verifies user login information.
It is preferred that it is idle void that the allocation unit chooses identification-state from the machine pond that there are mapping relations
Plan machine simultaneously pushes to user, and the virtual machine being selected in the machine pond that there are mapping relations is designated has used shape
State.
On the basis of common sense in the field is met, above-mentioned each optimum condition can be combined, and obtain final product each preferable reality of the present invention
Example.
Positive effect of the invention is:
The present invention can automatically create recycling machine resource using the mode of label mark according to the user's request of different departments,
And adjustment allocation strategy can be flexibly defined, so as to realize the distribution and management of automation, corresponded to for different machines pond different
Distributor, supports machine rotation either statically or dynamically.
Brief description of the drawings
Fig. 1 is the flow chart of the virtual machine distribution method of embodiments of the invention 1.
Specific embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to described reality
Apply among a scope.
As cloud computing is in the popularization of enterprise office field, the user group of cloud desktop is more and more.Different departments have respectively
From system image, different technical ability groups have different virutal machine memories, CPU (central processing unit) due to the difference of action
Specification, different mode of operation can determine the rotation that uses of virtual machine, the different allocation strategy of correspondence.User is one-to-one with machine
The method of salary distribution be perhaps adapted to set time molding formula, but be not suitable for being had holidays by turns the mode of operation arranged an order according to class and grade such as call center's formula, now
Unnecessary machine idle is caused to waste unavoidably.And different cloud desktop terminal equipment, it is meant that usable backstage is virtual
The difference of physical machine entity scope where machine.In order to solve the above problems, so virtual machine distribution method of the invention and system
Automatic identification different user and terminal device, the feature of identifying user are completed using label list, and distributes suitable virtual machine, together
When keeper can accomplish flexible configuration.
The present invention is further explained below by following embodiments.
Embodiment 1
The virtual machine distribution system of the present embodiment includes user interface, allocation unit and multiple machine ponds, and wherein user connects
Mouth is for verifying user login information and obtaining user post information.Allocation unit includes label list and allocation table, wherein label
Table includes user post information and user tag and device label, there is corresponding relation, allocation table bag between label and information
User tag and device label and machine pond are included, corresponding relation is there is also between machine pond and label.
Allocation unit is obtained corresponding to these labels by the corresponding user tag of user post information and device label
Machine pond, and selection identification-state is idle virtual machine and pushes to user from machine pond, while virtual by what is be selected
Machine is designated the state such as used.
Wherein use idle in the present embodiment and used as the label for distinguishing virtual machine state in which in machine pond
Content, the content of label can according to actual needs be adjusted and change, and such as use can be medium using busy, work
Used as logo content, the present embodiment does not limit the content of mark virtual machine state label.
As shown in figure 1, the distribution method of the virtual machine distribution system of the present embodiment is comprised the following steps:
Step S1, checking user's logon information.Judge login user whether be certification user.
Step S2, acquisition user post information.Upon user authentication, the related information of login user is obtained.Wherein originally
The relevant information of login user derives from user's table as shown in table 1 in embodiment.The facility information of login user derives from table 2
Shown equipment list.
If, king two is initiated to obtain the request of virtual machine in equipment vendor1 by client, and the request of king two is passed through first
Crossing user interface carries out the certification of user name and password, and certification obtains user related information and learns after passing through:King two belongs to<Hotel
Department>, affiliated group<3 grades of employees>.The facility information of equipment vendor1 is obtained by information table simultaneously, is learnt that king two uses and is set
The device number of standby vendor1 is<TC-111111111111>.
As long as it should be noted that just can apply to this comprising the user post information for needing in user's table and equipment list
Specific storage organization of embodiment, user's table and equipment list etc. can be adjusted according to actual needs, and the present invention is not intended to limit
The structure of table.
Table 1 (user's table)
Table 2 (equipment list)
Step S3, user tag and device label of the lookup corresponding to user post information from label list.
Wherein label list includes the user post information and user tag and device label that there are mapping relations.For example
Label list shown in table 3.According to the virtual machine method of salary distribution based on label in the present embodiment, for the department of user
(project), the manufacturer's information (vendor) of user's group (groups) and equipment establishes five labels:vendor1Tag、
Vendor2Tag, hotel Tag, air ticket Tag, virtual machine advanced configuration Tag.And it is associated with label and the user post information content.
The facility information and the user profile of king two for being used king two by the label list shown in table 3 are converted into two marks
Sign:<Hotel Tag>、<vendor1Tag>.
Table 3 (label list)
Step S4, allocation unit obtain the machine corresponding to the user tag and the device label from distributor table
Pond.The distributor corresponding to label is searched in distributor table for example shown in table 5, is then looked into by the machine pond table shown in table 4
Look for the machine pond for being allocated operation.There are four machine ponds in the system of the present embodiment, hotel, air ticket respectively have a standard configuration
With the machine pond of advanced configuration, the label according to concern is the machine assignment in pond to user.
So be can see in table 5<Hotel's standard dispensers>Just pay close attention to<Hotel Tag>、<vendor1Tag>This two
Individual label, so will be by<Hotel's standard dispensers>Corresponding machine pond is responsible for distributing virtual machine, i.e.,<Hotel's standard dispensers>
It is corresponding<Hotel departmental standard configuration machine pond>In carry out the distribution of virtual machine.
Table 4 (machine pond table)
Table 5 (distributor table)
Step S5, choose identification-state from machine pond and be idle virtual machine and push to user;The machine pond will
The virtual machine being selected is designated use state.
In the present embodiment according to types of dispensers (<By distribution of attending a banquet>) allocation strategy therefrom select a mesa-shaped state for " empty
The virtual machine in spare time " is used to king two, and the virtual machine is set to states such as " uses ", " busy " or " in work ".
The description of the specific embodiment of virtual machine distribution method and system more than, those skilled in the art
Member can be understood that the virtual machine allocation flow of the application can add the mode of required general hardware platform by software
To realize.Based on such understanding, the part that the technical scheme of the application substantially contributes to prior art in other words can
Embodied with the form of software product, the computer software product can be stored in storage medium, such as ROM/RAM
(read-only storage/random access memory), magnetic disc, CD etc., including some instructions are used to so that a computer equipment (can
Being personal computer, server, or network equipment etc.) perform described in some parts of the embodiment of the present application or embodiment
Method.
The application can be used in numerous general or special purpose computing system environments or configuration.For example:Personal computer, service
Device computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC (PC), minicom, mainframe computer, including any of the above system
DCE of system or equipment etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be in a distributed computing environment put into practice, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
In local and remote computer-readable storage medium including including storage device.
Although the foregoing describing specific embodiment of the invention, it will be appreciated by those of skill in the art that these
It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back
On the premise of principle of the invention and essence, various changes or modifications can be made to these implementation methods, but these are changed
Protection scope of the present invention is each fallen within modification.
Claims (8)
1. a kind of virtual machine distribution method, it is characterised in that the virtual machine distribution method is comprised the following steps:
Distributor is created, the corresponding relation in user tag and device label and machine pond defined in it;
Obtain user post information;
Obtain the user tag and the device label of mapping user post information;
Into the distributor corresponding to the user tag and the device label;
The virtual machine of free time is chosen from the corresponding machine pond of distributor.
2. virtual machine distribution method as claimed in claim 1, it is characterised in that before user post information is obtained, checking is used
Family logon information.
3. virtual machine distribution method as claimed in claim 2, it is characterised in that obtaining mapping user post information
When user tag and device label, the user tag and device label corresponding to user post information are searched from label list.
4. virtual machine distribution method as claimed in claim 3, it is characterised in that by the user tag and the equipment
When label obtains virtual machine to be allocated, the machine corresponding to the user tag and the device label is obtained from distributor table
Pond.
5. virtual machine distribution method as claimed in claim 4, it is characterised in that the virtual machine of free time is being chosen from machine pond
When, identification-state is chosen from machine pond and is idle virtual machine and is pushed to user;The machine pond is virtual by what is be selected
Machine is designated use state.
6. a kind of virtual machine distribution system, it is characterised in that the virtual machine distribution system includes:
Obtain the user interface of user post information;
Allocation unit including label list and allocation table, wherein the label list includes the user post with mapping relations
Information and user tag and device label, the allocation table include the user tag and device label with mapping relations
And machine pond;
The allocation unit is by mapping to the user tag and device label of the user post information that the user interface is obtained
There is the machine pond of mapping relations in acquisition, and the virtual machine of free time is chosen from the machine pond that there are mapping relations.
7. virtual machine distribution system as claimed in claim 6, it is characterised in that the user interface also verifies that User logs in is believed
Breath.
8. virtual machine distribution system as claimed in claim 7, it is characterised in that the allocation unit has mapping and close from described
Identification-state is chosen in the machine pond of system to be idle virtual machine and push to user, and by the machine that there are mapping relations
The virtual machine being selected in pond is designated use state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710044619.6A CN106815060A (en) | 2017-01-19 | 2017-01-19 | Virtual machine distribution method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710044619.6A CN106815060A (en) | 2017-01-19 | 2017-01-19 | Virtual machine distribution method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106815060A true CN106815060A (en) | 2017-06-09 |
Family
ID=59111156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710044619.6A Pending CN106815060A (en) | 2017-01-19 | 2017-01-19 | Virtual machine distribution method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106815060A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748675A (en) * | 2017-10-30 | 2018-03-02 | 新华三云计算技术有限公司 | Virtual machine entry switching method and apparatus in VDI environment |
CN108491251A (en) * | 2018-04-15 | 2018-09-04 | 肖恒念 | A kind of Cloud Server virtual machine management method and Cloud Server |
CN109636090A (en) * | 2018-10-25 | 2019-04-16 | 平安科技(深圳)有限公司 | Work position distribution method, apparatus, equipment and storage medium |
CN112685136A (en) * | 2021-01-07 | 2021-04-20 | 腾讯科技(深圳)有限公司 | Intelligent contract operation method, device, equipment and storage medium |
WO2021164385A1 (en) * | 2020-02-21 | 2021-08-26 | 苏州浪潮智能科技有限公司 | Virtualization method, apparatus and device for internet of things device system, and storage medium |
CN116483505A (en) * | 2023-05-08 | 2023-07-25 | 江苏云之遥信息科技有限公司 | Intelligent multifunctional cloud desktop system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102291452A (en) * | 2011-08-09 | 2011-12-21 | 北京星网锐捷网络技术有限公司 | Virtual machine management method, cloud management server and cloud system based on cloud strategy |
CN102446121A (en) * | 2010-10-12 | 2012-05-09 | 思杰系统有限公司 | Allocating virtual machines according to user-specific virtual machine metrics |
CN102577315A (en) * | 2011-12-21 | 2012-07-11 | 华为技术有限公司 | Method, device and system for setting user access to virtual machine |
CN102760081A (en) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | Method and device for allocating virtual machine resources |
CN104202419A (en) * | 2014-09-18 | 2014-12-10 | 温武少 | Method for dynamic allocation of virtual machines for cloud computing system |
CN104281496A (en) * | 2014-10-27 | 2015-01-14 | 深圳中兴网信科技有限公司 | Virtual resource distribution method and virtual resource distribution device |
CN105975340A (en) * | 2016-03-24 | 2016-09-28 | 国云科技股份有限公司 | Deployment algorithm of application distribution of virtual machine |
-
2017
- 2017-01-19 CN CN201710044619.6A patent/CN106815060A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102446121A (en) * | 2010-10-12 | 2012-05-09 | 思杰系统有限公司 | Allocating virtual machines according to user-specific virtual machine metrics |
CN102760081A (en) * | 2011-04-29 | 2012-10-31 | 国际商业机器公司 | Method and device for allocating virtual machine resources |
CN102291452A (en) * | 2011-08-09 | 2011-12-21 | 北京星网锐捷网络技术有限公司 | Virtual machine management method, cloud management server and cloud system based on cloud strategy |
CN102577315A (en) * | 2011-12-21 | 2012-07-11 | 华为技术有限公司 | Method, device and system for setting user access to virtual machine |
CN104202419A (en) * | 2014-09-18 | 2014-12-10 | 温武少 | Method for dynamic allocation of virtual machines for cloud computing system |
CN104281496A (en) * | 2014-10-27 | 2015-01-14 | 深圳中兴网信科技有限公司 | Virtual resource distribution method and virtual resource distribution device |
CN105975340A (en) * | 2016-03-24 | 2016-09-28 | 国云科技股份有限公司 | Deployment algorithm of application distribution of virtual machine |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107748675A (en) * | 2017-10-30 | 2018-03-02 | 新华三云计算技术有限公司 | Virtual machine entry switching method and apparatus in VDI environment |
CN108491251A (en) * | 2018-04-15 | 2018-09-04 | 肖恒念 | A kind of Cloud Server virtual machine management method and Cloud Server |
CN109636090A (en) * | 2018-10-25 | 2019-04-16 | 平安科技(深圳)有限公司 | Work position distribution method, apparatus, equipment and storage medium |
CN109636090B (en) * | 2018-10-25 | 2023-12-26 | 平安科技(深圳)有限公司 | Station allocation method, device, equipment and storage medium |
WO2021164385A1 (en) * | 2020-02-21 | 2021-08-26 | 苏州浪潮智能科技有限公司 | Virtualization method, apparatus and device for internet of things device system, and storage medium |
CN112685136A (en) * | 2021-01-07 | 2021-04-20 | 腾讯科技(深圳)有限公司 | Intelligent contract operation method, device, equipment and storage medium |
CN116483505A (en) * | 2023-05-08 | 2023-07-25 | 江苏云之遥信息科技有限公司 | Intelligent multifunctional cloud desktop system |
CN116483505B (en) * | 2023-05-08 | 2024-03-19 | 江苏云之遥信息科技有限公司 | Intelligent multifunctional cloud desktop system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106815060A (en) | Virtual machine distribution method and system | |
Riahi | E-learning systems based on cloud computing: A review | |
CN104636077B (en) | Network control techology storage system and method for virtual machine | |
CN111159134B (en) | Multi-tenant oriented distributed file system security access control method and system | |
US7502793B2 (en) | Method and apparatus for assigning roles to devices using physical tokens | |
CN104536965B (en) | A kind of data query display systems under the conditions of big data and method | |
CN103795804A (en) | Storage resource scheduling method and storage calculation system | |
CN102710793B (en) | Network printing system based on cloud computing and data storage method thereof | |
CN102185926A (en) | Cloud computing resource management system and method | |
CN108881500B (en) | Configuration method and configuration device of domain name protection system | |
CN102801636A (en) | Method for limiting bandwidth of cloud hosting network of cloud computing platform | |
CN105184463A (en) | Patent product member management system | |
CN107977773A (en) | A kind of method for the entry resource amount for managing multiple cloud platforms | |
CN104246811B (en) | Prove data administrator and prove data managing method | |
WO2011160331A1 (en) | Identifier assigning, parsing method and multimedia reading | |
CN105335235A (en) | IaaS mode based resource management system and method | |
CN109857541A (en) | A kind of resource allocation methods of server, system and associated component | |
CN109286617B (en) | Data processing method and related equipment | |
CN115129423A (en) | Resource management method, device, equipment and storage medium | |
CN108925145A (en) | Equipment supply | |
CN116894732A (en) | Digital asset management method, device, system and readable storage medium | |
CN106651290A (en) | Flow management software system and the authority management method thereof | |
US8949149B2 (en) | Attribute based inventory usage and stocking | |
CN111143421A (en) | Data sharing method and device, electronic equipment and storage medium | |
CN206805617U (en) | A kind of wage distribution management system based on cloud |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170609 |