CN106209423B - Virtual desktop distribution method and device - Google Patents

Virtual desktop distribution method and device Download PDF

Info

Publication number
CN106209423B
CN106209423B CN201610486004.4A CN201610486004A CN106209423B CN 106209423 B CN106209423 B CN 106209423B CN 201610486004 A CN201610486004 A CN 201610486004A CN 106209423 B CN106209423 B CN 106209423B
Authority
CN
China
Prior art keywords
terminal device
virtual desktop
mac address
terminal
user port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610486004.4A
Other languages
Chinese (zh)
Other versions
CN106209423A (en
Inventor
高坤
曾勇刚
罗友春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201610486004.4A priority Critical patent/CN106209423B/en
Publication of CN106209423A publication Critical patent/CN106209423A/en
Application granted granted Critical
Publication of CN106209423B publication Critical patent/CN106209423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/104Grouping of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

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 user port, wherein user port is the port that terminal device is connected on access device;Obtain the corresponding relationship between the MAC Address and user port 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

Virtual desktop distribution method and device
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 DesktopInfrastructure, VDI) is a kind of desktop by user The calculating mode that operating system and application program are mutually separated with physical end equipment.Script is run table on the terminal device by it Virtual machine (Virtual Machine, the VM) operation of face operating system and application program trustship into server, and set by terminal It is standby to be accessed by network remote, and terminal device itself only needs to realize input and output and interface display function.It can be with by VDI 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 user port, wherein user port is connected on access device Connect the port of terminal device;
Obtain the corresponding relationship between the MAC Address and user port 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 user port, wherein user port is The port of terminal device is connected on access device;
Relation acquisition module, for obtaining the corresponding relationship between the MAC Address of terminal device and user port;
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 establishes terminal device grouping and access device Corresponding relationship between user port, and the corresponding relationship between the MAC Address of terminal device and user port is obtained, thus, Save the corresponding relationship between the MAC Address of terminal device grouping, user port and terminal device;It is subsequent, it is receiving After the virtual desktop access request message that first terminal equipment is sent, virtual desktop manages platform can be according to above-mentioned corresponding pass System, finds first terminal device packets corresponding with the source MAC of the virtual desktop access request message, and further look into The corresponding first virtual desktop resource pool of first terminal device packets is found, a VM is selected from the first virtual desktop resource pool Distribute to first terminal equipment, that is, a virtual desktop is assigned with for first terminal equipment, in this way, first terminal equipment The VM chosen is accessed, to realize the access of virtual desktop.
In the above-mentioned methods, virtual desktop management platform can get the MAC Address and the terminal of terminal device automatically Corresponding relationship between the user port of the access device of equipment connection, also, user is established on virtual desktop management platform Corresponding relationship between port and terminal device grouping, it is thus possible in the virtual desktop for receiving any terminal equipment and sending After access request message, the corresponding terminal device grouping of MAC Address of the terminal device is found automatically, to realize end The automatic grouping of the MAC Address of end equipment, saved it is manual addition terminal device MAC Address and manually to MAC Address into Row is grouped brought workload.
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 user port, In, user port is the port that terminal device is connected on access device;
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, pair between the user port of all terminal devices connection in terminal device grouping and corresponding region is established It should be related to, wherein the ID of the user port ID of access device and port numbers of the user port where the user port form, Access device for example can be Layer 2 switch.The user port of terminal device connection in the same area is usually continuous, It therefore, can be by terminal device grouping and user terminal in the corresponding relationship established between terminal device grouping and user port Mouth range establishes corresponding relationship.
Step S202 obtains the corresponding relationship between the MAC Address of terminal device and user port;
In step S202, the MAC Address of terminal device can be obtained using following acquisition modes one or acquisition modes two Corresponding relationship between user port:
Acquisition modes one: virtual desktop management platform obtains access device connection from the mac address table of access device Terminal device MAC Address and user port between corresponding relationship;
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 obtained from the mac address table of access device the MAC Address of terminal device with Corresponding relationship between user port, 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 Local there is no being obtained when the corresponding relationship of the source MAC of the message and user port out, the embodiment of the present application is to this Without limitation.
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 preserve terminal device grouping, user port, terminal device on virtual desktop at this time management platform Corresponding relationship between MAC 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 user port of source MAC that the virtual desktop access request message can be found, finds the user port pair The terminal device grouping answered, and finally find the terminal device and be grouped corresponding virtual desktop resource pool, from the virtual desktop A VM is selected to distribute to the terminal device in resource pool, that is, the information of the VM to be sent to the terminal device, so as to the terminal Equipment 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, the MAC Address is added to corresponding user for the MAC Address of each terminal device got in step S202 In the grouping of terminal device bound in port.To establish the corresponding relationship of MAC Address and terminal device grouping.
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;
Wherein, the VM chosen is distributed to first terminal equipment is exactly that the information of the VM is sent 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, can be with 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 terminal in step S305 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 accesses.
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 User port, and further according to the corresponding relationship established in step S201, search the corresponding terminal device point of the user port Group, terminal device grouping is first terminal device packets, which is added in first terminal device packets. 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 and first terminal device packets is corresponding that the VM chosen, which is distributed to first terminal equipment, Control strategy be sent 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, can be with 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 terminal in step S305 It, can be according to the corresponding control of first terminal device packets when accessing the desktop operating system and application program in the VM chosen Strategy 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 user port in step S202 (that is, do not get the MAC Address and user port of first terminal equipment Corresponding relationship), then again execute step S202, so as to get the MAC Address and user port of first terminal equipment Corresponding relationship because access device may learn the source of the message when forwarding above-mentioned virtual desktop access request message The corresponding relationship of MAC Address and the user port for receiving the virtual desktop access request message.
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 user port, therefore, virtual desktop management platform receives the void After quasi- desktop access request message, i.e., executable above-mentioned steps S302~step S304, so that terminal device still may be implemented Access to virtual desktop.
In the method for the above embodiments of the present application, virtual desktop management platform establishes terminal device grouping and access device Corresponding relationship between user port, and the corresponding relationship between the MAC Address of terminal device and user port is obtained, thus, Save the corresponding relationship between the MAC Address of terminal device grouping, user port and terminal device;It is subsequent, it is receiving After the virtual desktop access request message that first terminal equipment is sent, virtual desktop manages platform can be according to above-mentioned corresponding pass System, finds first terminal device packets corresponding with the source MAC of the virtual desktop access request message, and further look into The corresponding first virtual desktop resource pool of first terminal device packets is found, a VM is selected from the first virtual desktop resource pool Distribute to first terminal equipment, that is, a virtual desktop is assigned with for first terminal equipment, in this way, first terminal equipment The VM chosen is accessed, to realize the access of virtual desktop.
In the above-mentioned methods, virtual desktop management platform can get the MAC Address and the terminal of terminal device automatically Corresponding relationship between the user port of the access device of equipment connection, also, user is established on virtual desktop management platform Corresponding relationship between port and terminal device grouping, it is thus possible in the virtual desktop for receiving any terminal equipment and sending After access request message, the corresponding terminal device grouping of MAC Address of the terminal device is found automatically, to realize end The automatic grouping of the MAC Address of end equipment, saved it is manual addition terminal device MAC Address and manually to MAC Address into Row is grouped brought workload.
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 user port, to realize pair The MAC Address for the terminal device for including in each 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 user port, wherein user terminal Mouth is the port that terminal device is connected on access device;
Relation acquisition module 402, for obtaining the corresponding relationship between the MAC Address of terminal device and user port;
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 mac address table of access device, obtaining access device company Corresponding relationship between the MAC Address and user port of the terminal device connect;Alternatively, obtaining terminal device to Network Management System MAC Address and user port between corresponding relationship, wherein it is corresponding between the MAC Address of terminal device and user port Relationship is that Network Management System is got from the mac address 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 of virtual desktop access request message, and if it exists, then determine that the terminal device is grouped into The grouping of one terminal device;
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 user port of the source MAC is searched, and search the corresponding first terminal device packets of the user port, it will The source MAC is added in first terminal device packets.
In addition, as shown in figure 5, in the virtual desktop distributor further include: adding module 406, in which:
Adding module 406, for got in Relation acquisition module 402 terminal device MAC Address and user port it Between corresponding relationship after, for the MAC Address of each terminal device got, which is added to corresponding In the grouping of terminal device bound in user port;
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 the source MAC, and if it exists, then to determine that the terminal device is grouped into first terminal equipment point Group.
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 user port, wherein the user port is connected on access device Connect the port of the terminal device;
Obtain the corresponding relationship between the MAC address and user port 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 user port of terminal device The method of corresponding relationship include:
From the mac address table of the access device, MAC Address and the user of the terminal device of the access device connection are obtained Corresponding relationship between port;
Alternatively, obtaining the corresponding relationship between the MAC Address and user port of terminal device to Network Management System, wherein institute Stating the corresponding relationship between the MAC Address of terminal device and user port is the Network Management System from the access device It is got in mac address 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, the corresponding user terminal of the source MAC is searched Mouthful, and the corresponding first terminal device packets of the user port are searched, the source MAC is added to described first eventually In end equipment grouping.
4. the method according to claim 1, wherein obtain terminal device MAC Address and user port it Between corresponding relationship after, further includes: for the MAC Address of each terminal device got, which is added to In the grouping of terminal device bound in corresponding user port;
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 user port, wherein the user port is The port of terminal device is connected on access device;
Relation acquisition module, for obtaining the corresponding pass between the MAC address of terminal device and user port System;
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 mac address table of the access device, MAC Address and the user of the terminal device of the access device connection are obtained Corresponding relationship between port;
Alternatively, obtaining the corresponding relationship between the MAC Address and user port of terminal device to Network Management System, wherein institute Stating the corresponding relationship between the MAC Address of terminal device and user port is the Network Management System from the access device It is got in mac address 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 user port of the source MAC is searched, and searches the corresponding first terminal equipment of the user port 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 user port in the Relation acquisition module Corresponding relationship after, for the MAC Address of each terminal device got, which is added to corresponding use In the grouping of terminal device bound in the port of family;
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.
CN201610486004.4A 2016-06-23 2016-06-23 Virtual desktop distribution method and device Active CN106209423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610486004.4A CN106209423B (en) 2016-06-23 2016-06-23 Virtual desktop distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610486004.4A CN106209423B (en) 2016-06-23 2016-06-23 Virtual desktop distribution method and device

Publications (2)

Publication Number Publication Date
CN106209423A CN106209423A (en) 2016-12-07
CN106209423B true CN106209423B (en) 2019-09-06

Family

ID=57461415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610486004.4A Active CN106209423B (en) 2016-06-23 2016-06-23 Virtual desktop distribution method and device

Country Status (1)

Country Link
CN (1) CN106209423B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875765B (en) * 2016-12-28 2020-08-04 新华三技术有限公司 Electronic classroom implementation method and device based on VDI
CN107679691B (en) * 2017-09-01 2020-09-15 张武生 Working equipment management method and system
US11362943B2 (en) * 2019-05-20 2022-06-14 Citrix Systems, Inc. System and method for validating virtual session requests
CN112615810B (en) * 2020-11-17 2022-08-30 新华三技术有限公司 Access control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924693A (en) * 2009-04-01 2010-12-22 威睿公司 Be used for method and system in migrating processes between virtual machines
CN102487380A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Desktop virtual terminal entrusting method and system
CN103138990A (en) * 2013-03-12 2013-06-05 无锡城市云计算中心有限公司 Virtual machine management method under cloud computing network and cloud computing network management device
CN105307130A (en) * 2014-06-30 2016-02-03 中兴通讯股份有限公司 Resource allocation method and resource allocation system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924693A (en) * 2009-04-01 2010-12-22 威睿公司 Be used for method and system in migrating processes between virtual machines
CN102487380A (en) * 2010-12-01 2012-06-06 中兴通讯股份有限公司 Desktop virtual terminal entrusting method and system
CN103138990A (en) * 2013-03-12 2013-06-05 无锡城市云计算中心有限公司 Virtual machine management method under cloud computing network and cloud computing network management device
CN105307130A (en) * 2014-06-30 2016-02-03 中兴通讯股份有限公司 Resource allocation method and resource allocation system

Also Published As

Publication number Publication date
CN106209423A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN102571698B (en) Access authority control method, system and device for virtual machine
CN109040276B (en) Method and device for constructing cloud platform, computer storage medium and terminal
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
CN106209423B (en) Virtual desktop distribution method and device
CN104486192B (en) A kind of virtual network partition method
CN103368768B (en) The method of the auto zoom network coverage, device and equipment in mixed cloud environment
CA2543753C (en) Method and system for accessing and managing virtual machines
CN102752137B (en) The apparatus and method of virtual machine network parameter are initiatively set
CN109067877B (en) Control method for cloud computing platform deployment, server and storage medium
CN107278359A (en) The method of Message processing, main frame and system in cloud computing system
CN102891802B (en) Data distribution method, mobile terminal and data distribution system
CN104395886A (en) Multi-tenant middleware cloud service technology
CN102316043B (en) Port virtualization method, switch and communication system
CN109768892B (en) Micro-service network security experiment system
EP2864877A1 (en) Clientless cloud computing
CN103425511A (en) System and method of installing and deploying application software in cloud computing environment
CN102984015B (en) A kind of gateway device identifies the method for access device type and Optimized Service automatically
CN106130765B (en) Virtual desktop distribution method and device
CN102710764A (en) Method and system for remotely controlling terminal equipment by user according to cloud computing
CN105791073B (en) The method and apparatus of service deployment in a kind of virtualization network
CN106878204A (en) The creation method and device of a kind of virtual machine
CN103516567A (en) Method and system for equipment discovery and server
CN103716400A (en) Method and system for achieving mobile working based on virtual machine
CN104363306A (en) Private cloud management control method for enterprise
CN103001989A (en) Parameter receiving method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant