CN106130765B - Virtual desktop distribution method and device - Google Patents
Virtual desktop distribution method and device Download PDFInfo
- Publication number
- CN106130765B CN106130765B CN201610481498.7A CN201610481498A CN106130765B CN 106130765 B CN106130765 B CN 106130765B CN 201610481498 A CN201610481498 A CN 201610481498A CN 106130765 B CN106130765 B CN 106130765B
- Authority
- CN
- China
- Prior art keywords
- terminal device
- virtual desktop
- address
- mac address
- mac
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/104—Grouping of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/08—Protocols specially adapted for terminal emulation, e.g. Telnet
Abstract
The application provides a kind of virtual desktop distribution method and device, wherein this method comprises: establishing the corresponding relationship between terminal device grouping and IP network section;Obtain the corresponding relationship between the MAC Address and IP address of terminal device;After receiving the virtual desktop access request message that first terminal equipment is sent, first terminal device packets corresponding with the source MAC of the virtual desktop access request message are searched, and search the corresponding first virtual desktop resource pool of first terminal device packets;A VM is selected from the first virtual desktop resource pool, and the VM chosen is distributed into first terminal equipment.The application realizes the automatic grouping of the MAC Address of terminal device, has saved the MAC Address of manual addition terminal device and has been grouped brought workload to MAC Address manually.
Description
Technical field
This application involves technical field of virtualization, in particular to a kind of virtual desktop distribution method and device.
Background technique
Virtual desktop architecture (Virtual Desktop Infrastructure, VDI) is a kind of table by user
The calculating mode that face operating system and application program are mutually separated with physical end equipment.It runs script on the terminal device
Virtual machine (Virtual Machine, the VM) operation of desktop operating system and application program trustship into server, and by terminal
Equipment is accessed by network remote, and terminal device itself only needs to realize input and output and interface display function.It can by VDI
To realize standardization and the centralized management of desktop operating system.
Terminal device, virtual desktop management platform and VM are specifically included that in VDI.Wherein, virtual desktop management platform is
The core of VDI is mainly responsible for the management of VM, the authorization of virtual desktop resource pool, user authentication and control strategy management etc..
Specifically, as shown in Figure 1, terminal device access virtual desktop method the following steps are included:
Step S101, virtual desktop manage platform and create virtual desktop resource pool, all VM in virtual desktop resource pool
Run identical desktop operating system and application program;
Step S102, in such a way that batch the imports manually or manual mode added one by one, by the MAC of terminal device
(Media Access Control, media access control) address is added in virtual desktop management platform, also, passes through hand
Terminal device is grouped by flowing mode on virtual desktop management platform;
In the actual implementation process, the terminal device in the same area is usually divided into same grouping, region therein
Such as can be reading room, classroom, computer room, working hall, workshop etc..
Step S103, virtual desktop manage platform and specified virtual desktop resource pool are licensed to specified grouping;
Step S104, when needing to access virtual desktop, terminal device issues virtual desktop access request message;
Step S105 is searched and the void after virtual desktop management platform receives the virtual desktop access request message
The corresponding grouping of source MAC of quasi- desktop access request message, also, further search for the corresponding virtual desktop money of the grouping
Source pond selects an idle VM from the virtual desktop resource pool, by the IP of the VM chosen (Internet Protocol, because
Special fidonetFido) address returns to terminal device;
Step S106, terminal device is by the desktop operating system in the Remote desk process protocol access VM and applies journey
Sequence, to realize the access of virtual desktop.
In the above method of the prior art, the MAC Address of terminal device needs to be added manually to virtual desktop management platform
On, furthermore, it is desirable to the MAC Address that virtual desktop manages the terminal device on platform is grouped manually, to need larger
Workload.
Summary of the invention
In view of this, the application provides a kind of virtual desktop distribution method and device.
Specifically, the application is achieved by the following technical solution:
On the one hand, a kind of virtual desktop distribution method is provided, comprising:
Establish the corresponding relationship between terminal device grouping and IP network section;
Obtain the corresponding relationship between the MAC Address and IP address of terminal device;
After receiving the virtual desktop access request message that first terminal equipment is sent, searches and visited with the virtual desktop
It asks the source MAC of request message corresponding first terminal device packets, and searches first terminal device packets corresponding first
Virtual desktop resource pool;
A VM is selected from the first virtual desktop resource pool, and the VM chosen is distributed into first terminal equipment.
On the other hand, a kind of virtual desktop distributor is additionally provided, comprising:
Module is established, the corresponding relationship for establishing between terminal device grouping and IP network section;
Relation acquisition module, for obtaining the corresponding relationship between the MAC Address of terminal device and IP address;
Receiving module, the virtual desktop access request message sent for receiving terminal apparatus;
Searching module, for receiving module receive virtual desktop access request message that first terminal equipment is sent it
Afterwards, first terminal device packets corresponding with the source MAC of the virtual desktop access request message are searched, and search first eventually
End equipment is grouped corresponding first virtual desktop resource pool;
Distribution module will be chosen for selecting a VM from the first virtual desktop resource pool that searching module is found
VM distribute to first terminal equipment.
By the above technical scheme of the application, virtual desktop management platform is established between terminal device grouping and IP network section
Corresponding relationship, and obtain the corresponding relationship between the MAC Address of terminal device and IP address, thus, save terminal device
Grouping, IP network section, terminal device MAC Address and IP address between corresponding relationship;It is subsequent, receiving first terminal equipment
After the virtual desktop access request message sent, virtual desktop manage platform can according to above-mentioned corresponding relationship, find with
The corresponding first terminal device packets of the source MAC of the virtual desktop access request message, and further find first eventually
End equipment is grouped corresponding first virtual desktop resource pool, selects a VM to distribute to first from the first virtual desktop resource pool
Terminal device a, that is, virtual desktop is assigned with for first terminal equipment, in this way, first terminal equipment is that may have access to choose
VM, to realize the access of virtual desktop.
In the above-mentioned methods, virtual desktop management platform can get the MAC Address and IP address of terminal device automatically
Between corresponding relationship, also, virtual desktop management platform on establish IP network section and terminal device grouping between it is corresponding close
System, it is thus possible to find the end automatically after receiving the virtual desktop access request message that any terminal equipment is sent
The corresponding terminal device grouping of the MAC Address of end equipment is saved to realize the automatic grouping of the MAC Address of terminal device
The MAC Address of manual addition terminal device and manually brought workload is grouped to MAC Address.
Detailed description of the invention
Fig. 1 is the flow chart of the virtual desktop distribution method of the prior art;
Fig. 2 is the process for the configuration process that the virtual desktop management platform shown in one exemplary embodiment of the application executes
Figure;
Fig. 3 is the interaction diagrams of the virtual desktop distribution method shown in one exemplary embodiment of the application;
Fig. 4 is a kind of structural schematic diagram of the virtual desktop distributor shown in one exemplary embodiment of the application;
Fig. 5 is another structural schematic diagram of the virtual desktop distributor shown in one exemplary embodiment of the application;
Fig. 6 is another structural schematic diagram of the virtual desktop distributor shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application.
It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
A kind of virtual desktop distribution method is provided in the application following embodiment, and one kind can be using this method
Virtual desktop distributor.
The virtual desktop distribution method of the embodiment of the present application is executed by virtual desktop management platform, and virtual desktop manages platform
Function mainly have: the operation management of virtual machine, the authorization of virtual desktop, the certification of terminal device, management of control strategy etc.,
Virtual desktop management platform may operate on the physical equipment for being equipped with 2008 operating system of Windows, for example, PC
VM in (Personal Computer, PC), server or server.The virtual desktop of the embodiment of the present application distributes
Method includes the following contents:
Firstly, virtual desktop management platform needs to be implemented configuration process as shown in Figure 2:
Step S201, creation terminal device grouping, establishes the corresponding relationship between terminal device grouping and IP network section;
For regions such as reading room, classroom, computer room, working hall, workshops, end is created using modes such as manual static configurations
End equipment grouping, a terminal device grouping corresponds to a region can be grouped terminal device in the actual implementation process
Mark (ID) be set as the title of corresponding region, for example, set reading room 1 for the ID that a terminal device is grouped, so as to
Embody the corresponding region of terminal device grouping.
Then, establish terminal device grouping with corresponding region in all terminal devices IP address belonging to IP network section it
Between corresponding relationship.In the actual implementation process, in order to ensure the IP address of the terminal device in a region is the region pair
The IP address in IP network section answered in the embodiment of the present application, can use the mode of manual static configuration for the end in the region
End equipment configures the IP address in the IP network section, can also use DHCP (Dynamic Host Configuration
Protocol, dynamic host configuration protocol) server dynamically distribute mode be the region in terminal device distribute the IP network
IP address in section.
Wherein, when by the way of dynamically distributing, VLAN (Virtual Local Area is preserved on Dynamic Host Configuration Protocol server
Network, virtual LAN) with the corresponding relationship of IP network section, wherein the VLAN is belonging to the terminal device in a region
VLAN, the IP network section are the corresponding IP network section in the region;When terminal device needs to apply IP address, application IP addresses report is issued
Text after access device receives the application IP addresses message, determines VLAN belonging to the application IP addresses message, which is encapsulated
Dynamic Host Configuration Protocol server is sent in the application IP addresses message, after Dynamic Host Configuration Protocol server receives the application IP addresses message, determining should
The corresponding IP network section of VLAN selects an idle IP address carrying to be sent to the terminal in response message from the IP network section
Equipment.
Step S202 obtains the corresponding relationship between the MAC Address of terminal device and IP address;
In step S202, the MAC Address of terminal device can be obtained using following acquisition modes one or acquisition modes two
Corresponding relationship between IP address:
Acquisition modes one: virtual desktop manages ARP (Address Resolution of the platform from access device
Protocol, address resolution protocol) access device connection is obtained in table terminal device MAC Address and IP address between
Corresponding relationship, access device for example can be Layer 2 switch;
Wherein, virtual desktop management platform can be used SNMP (Simple Network Management Protocol,
Simple Network Management Protocol) or other Network Management Protocol, above-mentioned corresponding relationship is obtained from access device.
Acquisition modes two: Network Management System with obtaining MAC Address and the IP of terminal device from the ARP table of access device
Corresponding relationship between location, later, virtual desktop management platform obtain the corresponding relationship to Network Management System again.
Wherein, SNMP or other Network Management Protocol can be used in Network Management System, obtains from access device
State corresponding relationship.
In above-mentioned acquisition modes one or acquisition modes two, virtual desktop management platform can be obtained periodically,
It can also be obtained, can also be being judged after receiving acquisition instruction after receiving virtual desktop access request message
It is local there is no being obtained when the source MAC of the message and the corresponding relationship of IP address out, the embodiment of the present application to this not
It limits.
Virtual desktop resource pool is licensed to corresponding terminal device and is grouped by step S203, is terminal device packet configuration
Corresponding control strategy.
By step S203, the virtual desktop resource pool that any terminal device packets to be accessed can be licensed into the end
End equipment grouping.Furthermore it is also possible to be the corresponding control strategy of terminal device packet configuration, the control strategy is for limiting the end
The access authority of terminal device in end equipment grouping, for example, the terminal device limited in terminal device grouping has management
Member permission or normal user permission etc., limit the terminal device in terminal device grouping allow or be forbidden to use peripheral hardware can
Mobile device (for example, USB flash disk), limiting the terminal device in terminal device grouping allows or forbids executing VM power on, power off
Deng operation.
To, preserved on virtual desktop at this time management platform terminal device grouping, IP network section, terminal device MAC
Corresponding relationship between address and IP address and virtual desktop resource pool.
Complete it is above-mentioned with postponing, after receiving the virtual desktop access request message that any terminal equipment is sent,
The corresponding IP address of source MAC that the virtual desktop access request message can be found, finds the affiliated IP of the IP address
The corresponding terminal device grouping of network segment, and finally find the terminal device and be grouped corresponding virtual desktop resource pool, from the void
One VM of selection distributes to the terminal device in quasi- desktop resource pool, that is, the information of the VM is sent to the terminal device, so as to
The terminal device accesses the VM, to realize the access of virtual desktop.
In addition, for the search procedure of increasing terminal device packets, it can be by the MAC of terminal device in the embodiment of the present application
Address is added in corresponding terminal device grouping, the subsequent virtual desktop access request report for receiving the terminal device again and sending
Wen Shi directly searches the grouping of terminal device belonging to the MAC Address of the terminal device, and the following provide two kinds of addition manners
To realize above-mentioned adding procedure.
When using addition manner a period of time, after having executed above-mentioned steps S201 and step S202, it is carried out adding procedure,
That is, for the MAC Address of each terminal device got in step S202, with being added to corresponding IP by the MAC Address
In the grouping of terminal device bound in the affiliated IP network section in location.To establish the corresponding pass that MAC Address is grouped with terminal device
System.
Subsequent, any terminal equipment (for convenience, referred to as first terminal equipment) accesses the interactive stream of virtual desktop
Journey is as shown in Figure 3, comprising the following steps:
Step S301, when needing to access virtual desktop, first terminal equipment sends virtual desktop access request message;
Step S302 is searched and the void after virtual desktop management platform receives the virtual desktop access request message
The corresponding terminal device grouping of the source MAC of quasi- desktop access request message (for convenience, referred to as first terminal equipment
Grouping), and search corresponding virtual desktop resource pool (for convenience, the referred to as first virtual table of first terminal device packets
Face resource pool);
Specifically, being grouped for each terminal device, judge in terminal device grouping with the presence or absence of with source MAC
The identical MAC Address in location, and if it exists, then determine that terminal device grouping is first terminal device packets.
Step S303, virtual desktop management platform select an idle VM from the first virtual desktop resource pool, that is, choosing
A virtual desktop is selected;
Step S304, virtual desktop manage platform and the VM chosen are distributed to first terminal equipment;
It is exactly that the information of the VM is sent to first terminal equipment that the VM chosen, which is distributed to first terminal equipment, wherein
The information of the VM chosen specifically can be the IP address of the VM.
Step S305, the desktop operating system in VM that first terminal equipment is chosen by Remote desk process protocol access
And application program, to realize the access of virtual desktop.
In addition, may be used also when the VM chosen is distributed to first terminal equipment by virtual desktop management platform in step s 304
The corresponding control strategy of first terminal device packets is sent to first terminal equipment, in this way, the first end in step S305
End equipment, can be corresponding according to first terminal device packets when accessing the desktop operating system and application program in the VM chosen
Control strategy access.
Using addition manner one, the MAC Address of terminal device can be added in corresponding terminal device grouping in advance,
After receiving the virtual desktop access request message that terminal device is sent, end belonging to the MAC Address can be directly found
End equipment grouping.
When using addition manner two, virtual desktop management platform receives the virtual desktop that first terminal equipment is sent and visits
After asking request message, the source MAC of the message (i.e. the MAC Address of first terminal equipment) is just added to corresponding first eventually
In end equipment grouping.Specifically, as shown in figure 3, first terminal access virtual desktop interaction flow the following steps are included:
Step S301, when needing to access virtual desktop, first terminal equipment sends virtual desktop access request message;
Step S302 is searched and the void after virtual desktop management platform receives the virtual desktop access request message
The corresponding first terminal device packets of source MAC of quasi- desktop access request message, and search first terminal device packets pair
The the first virtual desktop resource pool answered;
Specifically, in step s 302, after virtual desktop management platform receives the virtual desktop access request message,
It is grouped for each terminal device, judges to whether there is and the virtual desktop access request message in terminal device grouping
The identical MAC Address of source MAC, and if it exists, then illustrate to be transmitted across virtual desktop access request report before first terminal equipment
Text, the source MAC (that is, MAC Address of first terminal equipment) have added to terminal device grouping and suffer, which sets
Back-up group is first terminal device packets;
If the source MAC is not present in any terminal device packets, illustrate that first terminal equipment is to send out for the first time
Carry out virtual desktop access request message, then according to the corresponding relationship got in step S202, it is corresponding to search the source MAC
IP address, and further according to the corresponding relationship established in step S201, search the corresponding terminal of the affiliated IP network section of the IP address
Device packets, terminal device grouping are first terminal device packets, which is added to first terminal equipment point
In group.To establish the MAC Address of first terminal equipment and the corresponding relationship of first terminal device packets.
Step S303, virtual desktop management platform select an idle VM from the first virtual desktop resource pool, that is, choosing
A virtual desktop is selected;
Step S304, virtual desktop manage platform and the VM chosen are distributed to first terminal equipment;
It is exactly that the information of the VM is sent to first terminal equipment that the VM chosen, which is distributed to first terminal equipment, wherein
The information of the VM chosen specifically can be the IP address of the VM.
Step S305, the desktop operating system in VM that first terminal equipment is chosen by Remote desk process protocol access
And application program, to realize the access of virtual desktop.
In addition, may be used also when the VM chosen is distributed to first terminal equipment by virtual desktop management platform in step s 304
The corresponding control strategy of first terminal device packets is sent to first terminal equipment, in this way, the first end in step S305
It, can be according to the corresponding control of first terminal device packets when holding the desktop operating system and application program in the VM that access is chosen
Strategy processed accesses.
It, can be in the virtual desktop access request message for receiving terminal device and sending for the first time using addition manner two
Afterwards, the MAC Address of the terminal device is added in corresponding terminal device grouping, it is subsequent to receive the terminal device again
After virtual desktop access request message, the grouping of terminal device belonging to the MAC Address can be directly found.
It should be noted that if virtual desktop manage platform receive first terminal equipment by access device forwarding
After the virtual desktop access request message come, the local source MAC that the virtual desktop access request message is not present of discovery
Corresponding relationship with IP address in step S202 (that is, do not get the MAC Address of first terminal equipment and pair of IP address
Should be related to), then step S202 is executed again, it is corresponding with IP address so as to the MAC Address that gets first terminal equipment
Relationship, because access device may learn the source MAC of the message when forwarding above-mentioned virtual desktop access request message
With the corresponding relationship of source IP address.
If time-out does not receive the message of virtual desktop management platform response (that is, carrying the report of the information of the VM chosen
Text), then first terminal equipment can send virtual desktop access request message again, at this point, on virtual desktop management platform
There are the MAC Address of first terminal equipment and the corresponding relationship of IP address, therefore, it is virtual that virtual desktop management platform receives this
After desktop access request message, i.e., executable above-mentioned steps S302~step S304, so that terminal device pair still may be implemented
The access of virtual desktop.
In the method for the above embodiments of the present application, virtual desktop management platform is established between terminal device grouping and IP network section
Corresponding relationship, and obtain the corresponding relationship between the MAC Address of terminal device and IP address, thus, save terminal device
Grouping, IP network section, terminal device MAC Address and IP address between corresponding relationship;It is subsequent, receiving first terminal equipment
After the virtual desktop access request message sent, virtual desktop manage platform can according to above-mentioned corresponding relationship, find with
The corresponding first terminal device packets of the source MAC of the virtual desktop access request message, and further find first eventually
End equipment is grouped corresponding first virtual desktop resource pool, selects a VM to distribute to first from the first virtual desktop resource pool
Terminal device a, that is, virtual desktop is assigned with for first terminal equipment, in this way, first terminal equipment is that may have access to choose
VM, to realize the access of virtual desktop.
In the above-mentioned methods, virtual desktop management platform can get the MAC Address and IP address of terminal device automatically
Between corresponding relationship, also, virtual desktop management platform on establish IP network section and terminal device grouping between it is corresponding close
System, it is thus possible to find the end automatically after receiving the virtual desktop access request message that any terminal equipment is sent
The corresponding terminal device grouping of the MAC Address of end equipment is saved to realize the automatic grouping of the MAC Address of terminal device
The MAC Address of manual addition terminal device and manually brought workload is grouped to MAC Address.
In addition, if causing the MAC Address of terminal device to change due to network interface card or terminal device damage, virtually
Desktop management platform can reacquire the corresponding relationship between the MAC Address of terminal device and IP address, to realize to each
The MAC Address for the terminal device for including in a terminal device grouping automatically updates.
Corresponding with the embodiment of aforementioned virtual desktop distribution method, present invention also provides virtual desktop distributors
Embodiment.
Referring to FIG. 4, being comprised the following modules in the virtual desktop distributor of the embodiment of the present application: establishing module 401, close
System obtains module 402, receiving module 403, searching module 404 and distribution module 405, in which:
Module 401 is established, the corresponding relationship for establishing between terminal device grouping and IP network section;
Relation acquisition module 402, for obtaining the corresponding relationship between the MAC Address of terminal device and IP address;
Receiving module 403, the virtual desktop access request message sent for receiving terminal apparatus;
Searching module 404, for receiving the virtual desktop access request that first terminal equipment is sent in receiving module 403
After message, first terminal device packets corresponding with the source MAC of the virtual desktop access request message are searched, and search
The corresponding first virtual desktop resource pool of first terminal device packets;
Distribution module 405, for selecting a VM from the first virtual desktop resource pool that searching module 404 is found,
The VM chosen is distributed into first terminal equipment.
Wherein, Relation acquisition module 402 is specifically used for: from the ARP table of access device, obtaining the end of access device connection
Corresponding relationship between the MAC Address and IP address of end equipment;Alternatively, with obtaining the MAC of terminal device to Network Management System
Corresponding relationship between location and IP address, wherein the corresponding relationship between the MAC Address and IP address of terminal device is network pipe
What reason system was got from the ARP table of access device.
It wherein, include: judging unit and lookup adding unit in searching module 404, in which:
Judging unit judges to whether there is and this in terminal device grouping for being grouped for each terminal device
The identical MAC Address of source MAC, and if it exists, then determine that the terminal device is grouped into first terminal device packets;
Adding unit is searched, if judging that the source MAC is not present in any terminal device packets for judging unit
In, then the corresponding IP address of the source MAC is searched, and search the corresponding first terminal equipment point of the affiliated IP network section of the IP address
The source MAC is added in first terminal device packets by group.
In addition, as shown in figure 5, in the virtual desktop distributor further include: adding module 406, in which:
Adding module 406, for being got between the MAC Address of terminal device and IP address in Relation acquisition module 402
Corresponding relationship after, for the MAC Address of each terminal device got, which is added to corresponding IP
In the grouping of terminal device bound in the affiliated IP network section in address;
Then, searching module 404 is specifically used for: being grouped for each terminal device, judges that the terminal device is in being grouped
It is no to there is MAC Address identical with source MAC, and if it exists, then to determine that the terminal device is grouped into first terminal device packets.
In addition, as shown in fig. 6, in the virtual desktop distributor further include: authorization configuration module 407, in which:
Authorization configuration module 407 is grouped for virtual desktop resource pool to be licensed to corresponding terminal device, sets for terminal
The standby corresponding control strategy of packet configuration;
Distribution module 405 is specifically used for the information and the corresponding control strategy of first terminal device packets for the VM that will be chosen
It is sent to first terminal equipment.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. a kind of virtual desktop distribution method characterized by comprising
Establish the corresponding relationship between terminal device grouping and Internet Protocol IP network section;
Obtain the corresponding relationship between the MAC address and IP address of terminal device;
After receiving the virtual desktop access request message that first terminal equipment is sent, searches and accessed with the virtual desktop
The corresponding first terminal device packets of the source MAC of request message, and search the first terminal device packets corresponding
One virtual desktop resource pool;
A virtual machine VM is selected from the first virtual desktop resource pool, and the VM chosen is distributed into the first terminal and is set
It is standby.
2. the method according to claim 1, wherein obtaining between the MAC Address and IP address of terminal device
The method of corresponding relationship includes:
From the Address Resolution Protocol ARP table of access device, obtain the MAC Address of the terminal device of access device connection with
Corresponding relationship between IP address;
Alternatively, obtaining the corresponding relationship between the MAC Address and IP address of terminal device to Network Management System, wherein described
Corresponding relationship between the MAC Address and IP address of terminal device is ARP of the Network Management System from the access device
It is got in table.
3. the method according to claim 1, wherein searching the source with the virtual desktop access request message
The method of the corresponding first terminal device packets of MAC Address includes:
It is grouped, is judged in terminal device grouping with the presence or absence of identical with the source MAC for each terminal device
MAC Address, and if it exists, then determine that the terminal device is grouped into the first terminal device packets;
If the source MAC is not present in any terminal device packets, with searching the corresponding IP of the source MAC
Location, and the corresponding first terminal device packets of the affiliated IP network section of the IP address are searched, the source MAC is added to institute
It states in first terminal device packets.
4. the method according to claim 1, wherein between the MAC Address and IP address for obtaining terminal device
Corresponding relationship after, further includes: for the MAC Address of each terminal device got, which is added to pair
In the grouping of terminal device bound in the affiliated IP network section of the IP address answered;
Then, the method for first terminal device packets corresponding with the source MAC of the virtual desktop access request message is searched
Include: to be grouped for each terminal device, judges in terminal device grouping with the presence or absence of identical with the source MAC
MAC Address, and if it exists, then determine that the terminal device is grouped into the first terminal device packets.
5. the method according to claim 1, wherein the method also includes: by virtual desktop resource pool authorization
It is grouped to corresponding terminal device, is the corresponding control strategy of terminal device packet configuration;Then, the VM chosen is distributed to described
The method of first terminal equipment includes: by the information of the VM chosen and the corresponding control of the first terminal device packets
Strategy is sent to the first terminal equipment.
6. a kind of virtual desktop distributor characterized by comprising
Module is established, the corresponding relationship for establishing between terminal device grouping and Internet Protocol IP network section;
Relation acquisition module, for obtaining the corresponding relationship between the MAC address of terminal device and IP address;
Receiving module, the virtual desktop access request message sent for receiving terminal apparatus;
Searching module, for the receiving module receive virtual desktop access request message that first terminal equipment is sent it
Afterwards, first terminal device packets corresponding with the source MAC of the virtual desktop access request message are searched, and described in lookup
The corresponding first virtual desktop resource pool of first terminal device packets;
Distribution module, for selecting a virtual machine from the first virtual desktop resource pool that the searching module is found
The VM chosen is distributed to the first terminal equipment by VM.
7. device according to claim 6, which is characterized in that the Relation acquisition module is specifically used for:
From the Address Resolution Protocol ARP table of access device, obtain the MAC Address of the terminal device of access device connection with
Corresponding relationship between IP address;
Alternatively, obtaining the corresponding relationship between the MAC Address and IP address of terminal device to Network Management System, wherein described
Corresponding relationship between the MAC Address and IP address of terminal device is ARP of the Network Management System from the access device
It is got in table.
8. device according to claim 6, which is characterized in that the searching module includes:
Judging unit judges to whether there is and the source in terminal device grouping for being grouped for each terminal device
The identical MAC Address of MAC Address, and if it exists, then determine that the terminal device is grouped into the first terminal device packets;
Adding unit is searched, if judging that the source MAC is not present in any terminal equipment point for the judging unit
In group, then the corresponding IP address of the source MAC is searched, and searches the affiliated IP network section of the IP address corresponding described first eventually
End equipment grouping, the source MAC is added in the first terminal device packets.
9. device according to claim 6, which is characterized in that further include: adding module, in which:
The adding module, for being got between the MAC Address of terminal device and IP address in the Relation acquisition module
After corresponding relationship, for the MAC Address of each terminal device got, with being added to corresponding IP by the MAC Address
In the grouping of terminal device bound in the affiliated IP network section in location;
Then, the searching module is specifically used for: being grouped for each terminal device, judges whether deposit in terminal device grouping
In MAC Address identical with the source MAC, and if it exists, then determine that the terminal device is grouped into the first terminal equipment
Grouping.
10. device according to claim 6, which is characterized in that further include: authorization configuration module, in which:
The authorization configuration module is grouped for virtual desktop resource pool to be licensed to corresponding terminal device, is terminal device
The corresponding control strategy of packet configuration;
The distribution module is specifically used for the information of the VM chosen and the corresponding control of the first terminal device packets
Strategy processed is sent to the first terminal equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610481498.7A CN106130765B (en) | 2016-06-23 | 2016-06-23 | Virtual desktop distribution method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610481498.7A CN106130765B (en) | 2016-06-23 | 2016-06-23 | Virtual desktop distribution method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106130765A CN106130765A (en) | 2016-11-16 |
CN106130765B true CN106130765B (en) | 2019-07-09 |
Family
ID=57266240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610481498.7A Active CN106130765B (en) | 2016-06-23 | 2016-06-23 | Virtual desktop distribution method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106130765B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977270A (en) * | 2017-11-22 | 2018-05-01 | 用友金融信息技术股份有限公司 | Peers distribution method, peers distribution system and computer installation |
CN112187501B (en) * | 2019-07-05 | 2022-08-09 | 腾讯科技(深圳)有限公司 | Terminal grouping management method, device, equipment and storage medium |
CN112615810B (en) * | 2020-11-17 | 2022-08-30 | 新华三技术有限公司 | Access control method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102487380B (en) * | 2010-12-01 | 2016-09-07 | 中兴通讯股份有限公司 | Desktop virtual terminal entrusting method and system |
CN105307130A (en) * | 2014-06-30 | 2016-02-03 | 中兴通讯股份有限公司 | Resource allocation method and resource allocation system |
-
2016
- 2016-06-23 CN CN201610481498.7A patent/CN106130765B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106130765A (en) | 2016-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102571698B (en) | Access authority control method, system and device for virtual machine | |
EP2351315B1 (en) | A virtualization platform | |
CN103368768B (en) | The method of the auto zoom network coverage, device and equipment in mixed cloud environment | |
CN104486192B (en) | A kind of virtual network partition method | |
CN102136931B (en) | Method for configuring virtual port network strategies, network management center and related equipment | |
EP1682978B1 (en) | Method and system for accessing and managing virtual machines | |
CN107278359A (en) | The method of Message processing, main frame and system in cloud computing system | |
CN109067877B (en) | Control method for cloud computing platform deployment, server and storage medium | |
CN102752137B (en) | The apparatus and method of virtual machine network parameter are initiatively set | |
CN106209423B (en) | Virtual desktop distribution method and device | |
CN110088732A (en) | A kind of data package processing method, host and system | |
CN102739455B (en) | A kind of method of network equipments configuration and device | |
CN102316043B (en) | Port virtualization method, switch and communication system | |
CN102891802B (en) | Data distribution method, mobile terminal and data distribution system | |
CN104734931A (en) | Method and device for establishing link between virtual network functions | |
EP2866393A1 (en) | Method and apparatus for determining virtual machine drifting | |
WO2013191842A1 (en) | Clientless cloud computing | |
CN104090825A (en) | Dynamically migrating computer networks | |
US10333901B1 (en) | Policy based data aggregation | |
CN108183975A (en) | A kind of method and system of domain name mapping | |
CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
CN104468574A (en) | Dynamic IP address acquisition method, system and device for virtual machines | |
CN106130765B (en) | Virtual desktop distribution method and device | |
CN105791073B (en) | The method and apparatus of service deployment in a kind of virtualization network | |
CN112202615A (en) | Multi-CNI cooperative work system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |