[go: up one dir, main page]

WO2013091196A1 - Method, device, and system for setting user's right to access virtual machine - Google Patents

Method, device, and system for setting user's right to access virtual machine Download PDF

Info

Publication number
WO2013091196A1
WO2013091196A1 PCT/CN2011/084368 CN2011084368W WO2013091196A1 WO 2013091196 A1 WO2013091196 A1 WO 2013091196A1 CN 2011084368 W CN2011084368 W CN 2011084368W WO 2013091196 A1 WO2013091196 A1 WO 2013091196A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual machine
user
information
management device
cloud
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.)
Ceased
Application number
PCT/CN2011/084368
Other languages
French (fr)
Chinese (zh)
Inventor
许永军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2011/084368 priority Critical patent/WO2013091196A1/en
Priority to CN2011800030251A priority patent/CN102577315A/en
Publication of WO2013091196A1 publication Critical patent/WO2013091196A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45587Isolation or security of virtual machine instances
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method, device, and system for setting a user access to a virtual machine. Background technique
  • Cloud computing is the emergence of information technology and network communication technology based on the significant enhancement of computing power and transmission capacity. It is a new generation of information service provision mode based on the rapid development of Internet and communication networks. Users can access cloud servers through access.
  • the terminal device for example, a cloud terminal, such as a thin client Thin Cl ient, a conventional personal computer, a mobile device, or the like
  • the terminal device is connected to the virtual machine based on the desktop connection protocol.
  • the desktop cloud is a server-centric computing model that virtualizes servers in the data center into multiple virtual machines (Vi r tua l Machine ) by running desktop operating systems in virtual machines, desktop images, video and Audio is transmitted remotely to the user terminal over the network, providing the user with the same experience as a traditional desktop.
  • virtual machines are used in two ways. One is that users have exclusive virtual machines, that is, users have long-term ownership of a virtual machine's username and password, and the virtual machine is exclusive to the user; the other is multi-user sharing.
  • the virtual machine that is, if the user needs to temporarily use the virtual machine, the user's information is notified to the administrator, the administrator allocates the virtual machine to the user, and informs the user of the virtual machine's username and password, and the user logs in to the virtual machine using the username and password. After the user has finished using the virtual machine, the virtual machine is recycled.
  • the embodiments of the present invention provide a method, a device, and a system for setting a user to access a virtual machine, which are used to solve the problem that the user does not recognize the user in the prior art, and thus cannot effectively manage the user using the virtual machine.
  • An embodiment of the present invention provides a method for setting a user access authority of a virtual machine, including: an authentication device receiving an authentication request sent by a user, and acquiring permission information of the user accessing the virtual machine; the authentication device to the cloud management device And sending the request message, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine.
  • the embodiment of the present invention further provides a method for setting a user to access a virtual machine, the method comprising: the cloud management device receiving a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, where the user accesses The permission information of the virtual machine is obtained by the authentication device according to the authentication request sent by the user; the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, The user is caused to access the virtual machine within the set permissions.
  • the embodiment of the present invention further provides an authentication device, including: an authentication module, configured to receive an authentication request sent by a user, and obtain permission information of the user to access the virtual machine; and a sending module, configured to send a request to the cloud management device The message, the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine.
  • an authentication device including: an authentication module, configured to receive an authentication request sent by a user, and obtain permission information of the user to access the virtual machine; and a sending module, configured to send a request to the cloud management device The message, the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine.
  • the embodiment of the present invention further provides a cloud management device, including: a receiving module, configured to receive a request message sent by an authentication device, where the request message carries permission information of a user accessing a virtual machine, and the user accesses the virtual machine The information is obtained by the authentication device according to the authentication request sent by the user; the permission setting module is configured to set the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, so that - The user is allowed to access the virtual machine within the set permissions.
  • a receiving module configured to receive a request message sent by an authentication device, where the request message carries permission information of a user accessing a virtual machine, and the user accesses the virtual machine The information is obtained by the authentication device according to the authentication request sent by the user
  • the permission setting module is configured to set the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, so that - The user is allowed to access the virtual machine within the set permissions.
  • the embodiment of the present invention further provides a system for setting a user access authority of a virtual machine, including: an authentication device and a cloud management device; the authentication device is configured to receive an authentication request sent by the user, and obtain the user access virtual The permission information of the machine, and sending a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine; the cloud management device is configured to receive the request message, according to the request message The carried user accesses the permission information of the virtual machine, and sets the permission of the user to access the virtual machine, so that the user accesses the virtual machine within the set authority.
  • the request message of the user accessing the virtual machine authority information is sent to the cloud management device by the authentication device, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information carried in the request message.
  • the interaction between the right device and the cloud management device enables efficient management of the user using the virtual machine.
  • Figure 1 is the hair
  • Figure 2 is the hair
  • FIG 3 is the hair
  • FIG 4 is the hair
  • FIG 5 is the hair
  • FIG. 7 is a schematic structural diagram of an authentication device according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of an embodiment of a cloud management device according to an embodiment of the present invention
  • FIG. 9 is a schematic structural diagram of another embodiment of a cloud management device according to an embodiment of the present invention
  • FIG. 10 is a schematic diagram of setting a user to access a virtual machine according to an embodiment of the present invention
  • Schematic diagram of an embodiment of a system of permissions
  • FIG. 11 is a schematic structural diagram of another embodiment of a system for setting a user access to a virtual machine according to an embodiment of the present invention. detailed description
  • Method Embodiment 1 is a schematic flowchart of an embodiment. As shown in FIG. 1 , the method in the embodiment of the present invention includes:
  • Step 100 The authentication device receives an authentication request sent by the user, and obtains the permission information of the user accessing the virtual machine.
  • the rights information may be location rights information or operation rights information.
  • the location permission information may be an identifier of the location location, for example, the A floor or the B conference room, and the location permission information may also be a specific location identifier, for example, a worksite number or a workout.
  • the operation authority information may be an identifier for identifying a user operation authority, and different identifiers indicate that the user has different rights to use the virtual machine.
  • the manner in which the user sends the authentication request may include multiple manners, for example, the user sends the authentication to the authentication device by using an authentication card, for example, an ID (Identity) card.
  • an authentication card for example, an ID (Identity) card.
  • the right request, the ID card carries the user information; the user can also initiate an authentication request to the authentication device by inputting the authentication password on the authentication device; the user can also authenticate the device through the combination of the ID card and the authentication password.
  • the authentication request is initiated; of course, the user information may be pre-stored in the authentication device, and the user may initiate an authentication request to the authentication device by using a biometric such as a voice, a fingerprint, or a face.
  • the authentication device may be a device for identifying a user, for example, an access device or an attendance device.
  • the access control device may include an information recognizer, an access controller, and a communication hub.
  • the communication hub may be used to communicate with a computer or exchange information with other communication capable devices or devices.
  • the attendance device may also include an information recognizer and attendance. Controller and communication hub.
  • the information identifier, the access controller, and the communication hub of the access control device or the attendance device may be integrated or deployed separately, and the specific deployment situation is determined by a specific application scenario.
  • Step 102 The authentication device sends a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission information of the virtual machine according to the user. The permission of the user to access the virtual machine.
  • the cloud management device may allocate a virtual machine to the user according to the request of the terminal device, or may allocate a virtual machine to the user in advance, where the virtual machine refers to a virtual server simulated by the virtual software, that is, the physical resource. Abstraction into logical resources, turning a server into several or even hundreds of isolated virtual servers.
  • the authentication device sends a request message to the cloud management device, and the cloud management device receives the request message sent by the authentication device, parses the request message, and obtains the permission information carried in the request message, and the cloud management device According to the permission information, setting the user access virtual to include one of the following ways:
  • the first method is to set the cloud terminal that the user specifies by using the location permission information to access the virtual machine
  • the cloud management device may obtain a MAC (Medium/Media Acces s Cont rol) address or an IP (Internet Protocol) address of the cloud terminal specified by the location authority information. Establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used to authenticate a login request sent by the cloud terminal.
  • MAC Medium/Media Acces s Cont rol
  • IP Internet Protocol
  • the cloud management device may obtain the MAC address or IP address of the cloud terminal specified by the location authority information according to the location authority information, and allocate the MAC address or IP address of the cloud terminal to the cloud management device for the user.
  • At least one of the user name and the password of the virtual machine is bound, so that the user can log in to the virtual machine only by using the cloud terminal bound to the username or password of the virtual machine, thereby limiting the scope of the user using the cloud terminal, thereby implementing Management of the use of cloud terminal permissions for users.
  • the correspondence between the MAC address or the IP address of the cloud terminal and the at least one of the username and the password of the virtual machine is established, and the corresponding relationship may be formed by:
  • Mode 4 IP address and password binding
  • Mode 5 MAC address and username binding and password binding
  • Method 6 the IP address and MAC address are bound to the username
  • Method 7 the IP address and MAC address are bound to the username
  • IP address and MAC address and password and username are bound.
  • Manner 2 The cloud management device selects a virtual machine resource pool corresponding to the operation authority information according to the operation authority information, and selects a virtual machine from the virtual machine resource pool to allocate to the user;
  • the cloud management device may pre-create different virtual machine resource pools with different operation authority rights, and different virtual machine resource pools configure different application programs, and the cloud management device selects a virtual machine resource pool corresponding to the user operation authority according to the operation authority information of the user.
  • the virtual machine is selected from the virtual machine resource pool and allocated to the user, thereby limiting the authority of the user when using the virtual machine, and managing the virtual machine resource for the user.
  • the cloud management device is used to manage access of the cloud terminal.
  • the embodiment of the present invention may further include: the authentication device receives the response message returned by the cloud management device, where the response message carries the login information, where the login information is used by the user to access the specified permission virtual machine.
  • the authentication device sends a request message for the user to access the virtual machine rights information to the cloud management device, so that the cloud management device sets the user access rights to the virtual machine according to the carried permission information, and the authentication device and the authentication device
  • the interaction of the cloud management device realizes the identification of the user, and then effectively manages the user using the virtual machine.
  • Step 200 The cloud management device receives a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, and the permission information of the user accessing the virtual machine is sent by the authentication device according to the user. Acquired by the authentication request;
  • the authority information may be location authority information or operation authority information.
  • the location permission information may be an identifier of the location location, for example, the A floor or the B conference room, and the location permission information may also be an identifier of the specific location, for example, a worksite number or a console; the operation permission information may be used to identify the user.
  • the identification of the operation authority Different identifiers indicate that the user has different permissions for using the virtual machine.
  • the manner in which the user sends the authentication request may include multiple manners, and the manner is described in the first embodiment of the method, and is not repeated in this embodiment.
  • the cloud management device is used to manage access of the cloud terminal.
  • the authentication device may be a device for identifying a user, for example, an access device or an attendance device.
  • the access control device may include an information recognizer, an access controller, and a communication hub.
  • the communication hub may be used to communicate with a computer or exchange information with other communication capable devices or devices.
  • the attendance device may also include an information recognizer and attendance. Controller and communication hub.
  • the information identifier, the access controller, and the communication hub of the access control device or the attendance device may be integrated or deployed separately, and the specific deployment situation is determined by a specific application scenario.
  • the above examples are for illustrative purposes only and are not limiting.
  • the user's access to the virtual machine is set such that the user accesses the virtual machine within the set permissions.
  • the cloud management device may be a user according to the request of the terminal device.
  • _ _ Allocating virtual machines you can also assign virtual machines to users in advance.
  • the virtual machines refer to a virtual server simulated by virtual software, which abstracts physical resources into logical resources, and turns one server into several or even hundreds. A virtual server that is isolated from each other.
  • the cloud management device sets the permission of the user to access the virtual machine according to the permission information.
  • the cloud access management method for setting the permission of the user to access the virtual machine may include one of the following methods:
  • the first method is to set the cloud terminal that the user specifies by using the location permission information to access the virtual machine
  • the cloud management device may acquire the MAC address or the IP address of the cloud terminal specified by the location authority information, establish a MAC address or an IP address of the cloud terminal, and at least the username and password of the virtual machine. Corresponding relationship of the one, the correspondence is used to authenticate the login request sent by the cloud terminal.
  • the cloud management device may obtain the MAC address or IP address of the cloud terminal specified by the location authority information according to the location authority information, and allocate the MAC address or IP address of the cloud terminal to the cloud management device for the user.
  • At least one of the user name and the password of the virtual machine is bound, so that the user can log in to the virtual machine only by using the cloud terminal bound to the username or password of the virtual machine, thereby limiting the scope of the user using the cloud terminal, thereby implementing Management of the use of cloud terminal permissions for users.
  • the correspondence between the MAC address or the IP address of the cloud terminal and the at least one of the username and the password of the virtual machine is established, and the manner in which the corresponding relationship is formed is in the method embodiment. The description has been made in one, and the present embodiment will not be repeated.
  • the second mode the cloud management device selects a virtual machine resource pool corresponding to the operation authority information according to the operation authority information, and selects a virtual machine from the virtual machine resource pool to be allocated to the virtual machine resource pool.
  • the cloud management device may pre-create different virtual machine resource pools with different operation authority rights, and different virtual machine resource pools configure different application programs, and the cloud management device selects a virtual machine resource pool corresponding to the user operation authority according to the operation authority information of the user.
  • the virtual machine is selected from the virtual machine resource pool and allocated to the user, thereby limiting the authority of the user when using the virtual machine, and managing the virtual machine resource for the user.
  • the embodiment of the present invention may further include: the cloud management device returns a response message to the authentication device, where the response message carries login information, where the login information is used by the user to access the specified authority. Describe the virtual machine.
  • the cloud management device receives the request message that the user accesses the virtual machine authority information sent by the authentication device, and the cloud management device sets the user access authority to the virtual machine according to the permission information, and passes the authentication device and the cloud. Manage the interaction of devices, realize the identification of users, and then effectively manage users using virtual machines.
  • the technical solutions provided in the first embodiment and the second embodiment of the method can be applied to different scenarios.
  • the following is a description of the conference room scenario.
  • the following is a schematic diagram of the process of the embodiment.
  • the following is an example in which an employee needs to temporarily use a virtual machine.
  • an employee who does not have the permission of the virtual machine to the conference room needs to temporarily use the virtual machine, or temporarily travels to the local employee.
  • the authentication device is specifically an access control device. As shown in FIG.
  • the method in the embodiment of the present invention includes: — Step 300:
  • the access control device receives an authentication request sent by the employee through the ID card.
  • the access control device can support the authentication of different ID cards, and the employee information is pre-written in the ID card.
  • the ID card may be an employee's work card or other ID card that the access control device can recognize.
  • Step 302 The access control device authenticates the ID card, and if the authentication passes, determines the operation authority information of the employee;
  • the employee information and the operation authority correspondence table are pre-stored in the access control device.
  • the employee information and the operation authority correspondence table may be as shown in Table 1: Table 1
  • employee information in Table 1 can also be information such as the employee ID number.
  • the access control device authenticates the ID card. If the authentication is passed, the employee's operation authority information is determined according to the employee information carried in the ID card. For example, the employee Zhang XX authenticates the access control device in the conference room by the ID card, and the access control device reads the information of Zhang XX stored in the ID card, and the access control device queries the operation authority of Zhang XX through the above Table 1 as none. The right to use the mail function.
  • the access device authenticates the ID card, and after the authentication is passed, the method further includes: verifying the status of the ID card, and determining the operation authority of the employee if the status of the ID card is not in use (for example, idle). Information, and set the status of the ID card to busy; if the state of the ID card is in the use state (for example, busy), the access control device does not determine the employee's operation authority information, and prompts the employee that the ID card is in use.
  • the employee By verifying the status of the ID card, the employee can be prevented from being repeatedly authenticated, and the access control device assigns multiple operation authority information to one employee.
  • Step 304 The access control device sends a request message for allocating a virtual machine to the cloud management device. – the request message carries the operation authority information of the employee;
  • Step 306 The cloud management device selects a corresponding virtual machine resource pool according to the operation authority information.
  • Step 308 The cloud management device selects a virtual machine from the virtual machine resource pool and allocates the virtual machine to the employee.
  • the cloud management device may pre-create different virtual machine resource pools and the number of virtual machine resource pools. It can be set according to requirements. At least one virtual machine exists in the virtual machine resource pool.
  • the cloud management device configures different applications for each virtual machine resource pool, and the cloud management device can add or delete applications configured by the virtual machine resource pool according to specific requirements.
  • the cloud management device can set up three virtual machine resource pools, the virtual machine resource pool 1 is not configured with the mail application, the virtual machine resource pool 2 is not configured with the network phone application, and the virtual machine resource pool 3 is not configured to browse the web application, corresponding to All virtual machines in virtual machine resource pool 1 are not authorized to provide mail service. All virtual machines in virtual machine resource pool 2 are not authorized to provide network telephony services. All virtual machines in virtual machine resource pool 3 are not authorized to provide web browsing. service.
  • the cloud management device may also pre-store the correspondence between the operation authority and the virtual machine resource pool.
  • the correspondence between the operation authority and the virtual machine resource pool may be as shown in Table 2:
  • the cloud management device can select the corresponding virtual object from the above table 2 according to the operation authority information.
  • Step 310 The cloud management device returns a response message to the access control device.
  • the response message carries the login information
  • the login information is used by the user to access the virtual machine within the set authority
  • the login information may be a user and a password of the virtual machine.
  • Step 312 The access control device provides the login information to the employee.
  • Step 314 The cloud management device receives, by the cloud terminal, a login request message sent by the cloud terminal.
  • the employee can input the virtual machine user name and password on the cloud terminal, and send a login request message to the cloud management device through the cloud terminal, where the login request message carries the virtual machine user name and password input by the user.
  • Step 316 The cloud management device provides the cloud terminal with a virtual machine connection corresponding to the employee operation authority.
  • the cloud management device provides the virtual machine for checking the virtual machine user name and password provided by the cloud terminal to the employee for use.
  • the access control device identifies the user, determines the permission information of the user to access the virtual machine, and sends a request message carrying the operation authority information to the cloud management device, and the cloud management device selects according to the operation authority information carried in the request message.
  • a virtual machine resource pool that is consistent with the operation authority information, and selects a virtual machine from the virtual machine resource pool to be assigned to the employee, and realizes identification of the user through interaction between the access control device and the cloud management device, and further can implement the method embodiment 4
  • the schematic diagram of the process of the embodiment, in the embodiment of the present invention, the authentication device is specifically an attendance device, — —
  • the login request sent by the cloud terminal used by the employee is authenticated, and the employee is allowed to use the cloud terminal at the specified workstation number.
  • the method in the embodiment of the present invention includes:
  • Step 400 The attendance device receives the authentication request sent by the employee through the ID card.
  • Step 402 The attendance device authenticates the ID card, and if the authentication passes, assigns the workstation number to the employee;
  • the information sheet of all the stations may be pre-stored in the attendance device, the station number of all the stations is recorded in the information table, and the attendance device authenticates the ID card, and after the authentication is passed, according to the employee
  • the permission information is assigned to the employee by selecting the station number from the information table. For example, only one station number can be assigned to the employee with limited authority.
  • the method further includes: further verifying the status of the ID card, and if the status of the ID card is not in use (for example, idle), assigning a work number to the employee, and The status of the ID card is set to busy; if the status of the ID card is in the use state (for example, busy), the attendance device does not assign a work number to the employee, and prompts the employee that the ID card is in use.
  • the employee By verifying the status of the ID card, the employee can be prevented from repeating the authentication, and the attendance device assigns multiple workstation numbers to one employee.
  • Step 404 The attendance device sends a request message for allocating a virtual machine to the cloud management device, where the request message carries the station number assigned by the attendance device to the employee;
  • Step 406 The cloud management device binds the MAC address of the cloud terminal specified by the station number to the username of the virtual machine according to the station number carried in the request message.
  • the cloud management device receives the request message sent by the attendance device, and selects the virtual machine from the virtual machine resource pool to be assigned to the employee, and the cloud management device further pre-configures the correspondence between the workstation number and the MAC address of the cloud terminal.
  • table For example, the mapping table between the pre-configured workstation number of the cloud management device and the MAC address of the cloud terminal can be as shown in Table 3:
  • the cloud management device receives the request message sent by the attendance device, parses the request message, and obtains the station number carried in the request message, and the cloud management device writes the user name of the virtual machine to the station number according to the station number.
  • the correspondence table of the MAC address of the cloud terminal forms an authentication table, and the authentication table is used for authentication when the cloud terminal initiates a login request to the cloud management device.
  • the authentication table can be as shown in Table 4:
  • Step 408 The cloud management device returns a response message to the attendance device, where the response message carries the login information, where the login information is used by the employee to log in to the virtual machine within the set authority.
  • the login information may be the username and password of the virtual machine.
  • Step 410 The attendance device provides the workstation number and the login information to the employee;
  • Step 412 The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud.
  • the management device sends a login request, — — The login request carries the virtual machine username and password entered by the user and the MAC address of the cloud terminal.
  • Step 414 The cloud management device authenticates the login request, and if the authentication passes, provides a virtual machine connection for the cloud terminal.
  • the cloud management device parses the login request message, and obtains the MAC address of the cloud terminal and the username of the virtual machine carried in the login request, and the cloud management device sets the cloud terminal
  • the MAC address, the username of the virtual machine are compared with the authentication table stored in the cloud management device, if the MAC address of the cloud terminal and the username of the virtual machine, and the MAC address of the corresponding cloud terminal in the cloud management device authentication table If the user name of the VM is the same, the cloud terminal is allowed to establish a connection with the VM. If the VM is inconsistent, the cloud terminal is not allowed to establish a connection with the VM, and the cloud terminal is displayed as "Please sit at the specified workstation.”
  • the embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle to improve the utilization of virtual machine resources.
  • the attendance device determines the location number of the user to access the virtual machine
  • the attendance device sends a request message carrying the station number to the cloud management device
  • the cloud management device sends the station number according to the station number carried in the request message.
  • the MAC address of the corresponding cloud terminal is associated with the user name binding of the virtual machine, and the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, so that the employee uses the cloud terminal at the designated workstation number. Effective management of users using virtual machines based on user rights.
  • a virtual machine is exclusively used by an employee, and the employee has a user name and password of the virtual machine for a long time, for example, the employee needs
  • the authentication device is specifically an access control device
  • the cloud management device is configured by binding the IP address of the cloud terminal to the username of the virtual machine.
  • the employee is allowed to use the cloud terminal at the specified workstation number.
  • the method in the embodiment of the present invention includes:
  • Step 500 The access control device receives an authentication request sent by the employee through the ID card.
  • the employee information and the user name of the virtual machine may be pre-stored in the ID card.
  • Step 502 The access control device authenticates the ID card, and if the authentication passes, assigns a work station number to the employee;
  • the information table of all the stations may be pre-stored in the access control device, the station number of all the stations is recorded in the information table, and the access device authenticates the ID card, and after the authentication is passed, according to the The employee permission information is assigned to the employee by selecting the work number from the information table.
  • Step 504 The access control device sends a request message to the cloud management device, where the request message carries the workstation number assigned by the access control device to the employee and the username of the virtual machine.
  • Step 506 The cloud management device binds the IP address of the cloud terminal specified by the station number to the username of the virtual machine according to the station number carried in the request message.
  • the cloud management device pre-configures a correspondence table between the station number and the IP address of the cloud terminal.
  • mapping table between the pre-configured workstation number of the cloud management device and the IP address of the cloud terminal can be as shown in Table 5: - -
  • the cloud management device receives the request message sent by the access control device, parses the request message, and obtains the station number and the user name of the virtual machine carried in the request message, and the cloud management device uses the virtual machine according to the station number.
  • the correspondence table between the user name and the MAC address of the cloud terminal forms an authentication table, and the authentication table is used for authentication when the cloud terminal initiates a login request to the cloud management device.
  • the authentication table can be as shown in Table 6:
  • Step 508 The cloud management device returns a response message to the access control device.
  • Step 510 The access control device provides the workstation number to the employee
  • Step 512 The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud.
  • the management device sends a login request, where the login request carries the virtual machine username and password input by the user and the IP address of the cloud terminal.
  • Step 514 The cloud management device authenticates the login request, and if the authentication passes, the cloud is — — The terminal provides a virtual machine connection.
  • the cloud management device parses the login request message, and obtains the IP address of the cloud terminal and the user name of the virtual machine carried in the login request message, and the cloud management device will The IP address of the terminal, the username of the virtual machine, and the authentication table stored in the cloud management device, if the IP address of the cloud terminal and the username of the virtual machine, and the IP address of the corresponding cloud terminal in the cloud management device authentication table If the address is the same as the username of the VM, the cloud terminal is allowed to establish a connection with the VM. If the IP address is inconsistent, the cloud terminal is not allowed to establish a connection with the VM, and the cloud terminal is displayed as "Please sit at the specified workstation.”
  • the embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle and improve the utilization of virtual machine resources.
  • the access control device sends a request message carrying the station number to the cloud management device, and the cloud management device adds the IP address of the cloud terminal corresponding to the station number and the virtual machine according to the station number carried in the request message.
  • the user name binding forms a correspondence relationship, and the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, and the employee is managed at the designated work.
  • Method Embodiment 6 A schematic flowchart of an embodiment.
  • an employee is required to use a virtual machine corresponding to the operation authority at a fixed station.
  • Step 600 The access control device receives an authentication request sent by the employee through the ID card.
  • Step 602 The access control device authenticates the ID card, and determines the operation permission information and the location permission information of the employee.
  • the correspondence relationship table of the operation authority information and the location authority information corresponding to the employee information is pre-stored in the access control device, and the correspondence relationship table may be as shown in Table 7:
  • the access control device authenticates the I D card, and assigns the operation authority information and the station number to the employee according to the employee information carried in the I D card.
  • the access device authenticates the ID card, and after the authentication is passed, the method further includes: verifying the status of the ID card, and assigning the operation authority to the employee if the status of the ID card is not in use (for example, idle). Information, and set the status of the ID card to busy; if the state of the ID card is in the use state (for example, busy), the access control device does not assign the operation authority information to the employee, and prompts the employee that the ID card is in use.
  • the employee By verifying the status of the ID card, the employee can be prevented from being repeatedly authenticated, and the access control device assigns multiple operation authority information to one employee.
  • Step 604 The access control device sends a request message to the cloud management device, where the request message carries the operation authority information and the station number of the employee;
  • Step 606 The cloud management device selects a corresponding virtual machine resource pool according to the operation authority information.
  • the mapping between the operation authority and the virtual machine resource pool may be pre-stored in the cloud management device.
  • the correspondence between the operation authority and the virtual machine resource pool may be as shown in Table 8: - -
  • Step 608 The cloud management device selects a virtual machine from the virtual machine resource pool and allocates it to the employee.
  • Step 612 The cloud management device sends a response message to the access control device, where the response message carries the login information, where the login information is used by the employee to log in to the virtual machine within the set authority, and the login information may be the username of the virtual machine. password.
  • Step 614 The access control device provides the workstation number and the login information to the employee;
  • Step 616 The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud.
  • the management device sends a login request, and the login request carries the virtual machine username and password input by the user and the MAC address of the cloud terminal.
  • Step 618 The cloud management device authenticates the login request, and if the authentication passes, provides a virtual machine connection for the cloud terminal.
  • the cloud management device parses the login request message, and obtains the MAC address of the cloud terminal and the username of the virtual machine carried in the login request, and the cloud management device sets the cloud terminal
  • the MAC address, the username of the virtual machine are compared with the authentication table stored in the cloud management device, if the MAC address of the cloud terminal and the username of the virtual machine, and the MAC address of the corresponding cloud terminal in the cloud management device authentication table Virtual machine user - -
  • the name is the same, the cloud terminal is allowed to establish a connection with the virtual machine; if it is inconsistent, the cloud terminal is not allowed to establish a connection with the virtual machine, and the cloud terminal is displayed "Please sit at the designated workstation".
  • the embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle to improve the utilization of virtual machine resources.
  • the access control device determines the operation permission and the location permission of the user to access the virtual machine, and sends a request message carrying the operation authority and the station number to the cloud management device, and the cloud management device selects according to the operation authority carried in the request message.
  • the virtual machine resource pool corresponding to the user operation authority is selected from the virtual machine resource pool, and the virtual machine is assigned to the user, and the user name of the virtual machine is associated with the MAC address of the cloud terminal corresponding to the station number according to the station number. Relationship, the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, so that the user uses the virtual machine corresponding to the authority information in the fixed station.
  • FIG. 7 is a schematic structural diagram of an authentication device according to an embodiment of the present invention. As shown in FIG. 7, the authentication device 70 includes an authentication module 701 and a sending module 702.
  • the authentication module 701 is configured to receive an authentication request sent by the user, and obtain the permission information of the user accessing the virtual machine.
  • the sending module 702 is connected to the authentication module 701, and the sending module 702 is configured to send a request message to the cloud management device, where the request message carries the right of the user to access the virtual machine to set the user's access to the virtual machine.
  • the authentication device sends the user access by sending the cloud management device -
  • the request message of the virtual machine authority information enables the cloud management device to set the user's access rights to the virtual machine according to the carried permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device, and then uses the user The virtual machine is effectively managed.
  • the rights information includes location rights information
  • the authentication module is specifically configured to receive an authentication request sent by the user, and obtain location permission information of the user accessing the virtual machine
  • the sending module is specifically configured to send a request message to the cloud management device, where the request message carries location permission information of the user accessing the virtual machine, so that the cloud management device sets the location authority information of the virtual machine according to the location of the user accessing the virtual machine.
  • the user accesses the virtual machine by using the cloud terminal specified by the location authority information.
  • the authorization information includes operation authority information
  • the authentication module is specifically configured to receive an authentication request sent by the user, and obtain operation permission information of the user accessing the virtual machine;
  • the sending module is specifically configured to send a request to the cloud management device.
  • a message the request message carries the operation authority information of the user accessing the virtual machine, so that the cloud management device selects the virtual machine resource pool corresponding to the operation authority information according to the operation authority information of the user accessing the virtual machine, A virtual machine is selected from the virtual machine resource pool and allocated to the user.
  • the permission information includes the operation authority information, and may further include location permission information.
  • the authentication module is further configured to receive an authentication request that carries the location authority information;
  • the sending module is further configured to send, to the cloud management device, a request message that carries the location rights information, so that the cloud management device acquires the cloud terminal specified by the location rights information according to the location rights information.
  • a MAC address or an IP address a correspondence between a MAC address or an IP address of the cloud terminal, and at least one of a username and a password of a virtual machine allocated to the user, where the correspondence is used for the cloud terminal
  • the login request sent is authenticated.
  • the authentication module 701 is further configured to receive a response message returned by the cloud management device, where the response message carries login information, where the login information is used. - - The user accesses the virtual machine within the set rights.
  • FIG. 8 is a schematic structural diagram of an embodiment of a cloud management device according to an embodiment of the present invention.
  • the cloud management device 80 may include a receiving module 801 and a rights setting module 802.
  • the receiving module 801 is configured to receive a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, and the permission information of the user accessing the virtual machine is the authentication sent by the authentication device according to the user. Claim for access;
  • the privilege setting module 802 is connected to the receiving module 801, and the privilege setting module 802 is configured to set the user to access the virtual according to the privilege information of the user accessing the virtual machine.
  • the cloud management device receives the authentication.
  • the request message carrying the user accessing the virtual machine permission information sent by the device the cloud management device sets the permission of the user to access the virtual machine according to the permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device, and further Users use virtual machines for effective management.
  • the rights information includes location rights information
  • the rights setting module 802 is specifically configured to: according to the location rights information of the user accessing the virtual machine, set the user to pass the
  • the cloud terminal accessing the virtual authority information specified by the location authority information includes the operation authority information
  • the authority setting module 802 is specifically configured to select the virtual machine corresponding to the operation authority information according to the operation authority information of the user accessing the virtual machine.
  • a resource pool is selected from the virtual machine resource pool and allocated to the user, so that the user accesses the virtual machine within the set authority.
  • the rights setting module is specifically configured to acquire the location rights information according to the location rights information. - the MAC address or IP address of the specified cloud terminal, the correspondence between the MAC address or IP address of the cloud terminal and at least one of the user name and password of the virtual machine assigned to the user, the corresponding relationship And configured to authenticate a login request sent by the cloud terminal.
  • the receiving module 801 is further configured to: return a response message to the authentication device, where the response message carries login information, where the login device may include an access control device. Or attendance equipment.
  • FIG. 9 is a schematic structural diagram of another embodiment of a cloud management device according to an embodiment of the present invention.
  • the rights setting module 802 may include a first setting unit 8021 and a second setting unit 8022.
  • the first setting unit 8021 is configured to obtain, according to the location permission information of the user accessing the virtual machine, a MAC address or an IP address of the cloud terminal specified by the location authority information;
  • the second setting unit 8022 is configured to establish a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used for a login request sent by the cloud terminal. Authentication is performed such that the user accesses the virtual machine within the set rights.
  • the login request sent by the cloud terminal is authenticated by using the corresponding relationship. Enables users to access virtual machines in a fixed location and effectively manage users using virtual machines.
  • FIG. 10 is a schematic structural diagram of an embodiment of a system for setting a user to access a virtual machine according to an embodiment of the present invention.
  • the system for accessing a virtual machine may include — ⁇ Authentication device 70 and cloud management device 80.
  • the authentication device 70 is configured to receive an authentication request sent by the user, obtain the permission information of the user to access the virtual machine, and send a request message to the cloud management device 80, where the request message carries the user accessing the virtual machine. Permission information
  • the cloud management device 80 is configured to receive the request message, and set the right of the user to access the virtual machine according to the permission information of the user accessing the virtual machine carried in the request message.
  • the authentication device passes the Sending a request message carrying the user access rights information of the virtual machine to the cloud management device, the cloud management device sets the permission of the user to access the virtual machine according to the carried permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device. , in turn, effectively manage users using virtual machines.
  • the authentication device 70 may be an access control device or an attendance device.
  • FIG. 11 is a schematic structural diagram of another embodiment of a system for setting a user to access a virtual machine according to an embodiment of the present invention.
  • the system for accessing a virtual machine further includes a cloud terminal 90, and the cloud terminal 90 and the cloud The management device 80 is connected, and the cloud terminal 90 is used by the user to use the virtual machine within the set authority.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or modules may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be a core-coupled or communicative connection through some interface, device, module or unit, or may be an electrical, mechanical or other form of connection. .
  • modules or units described as separate components may or may not be physically separated, and the components displayed as modules or units may or may not be physical modules or units, that is, may be located in one place, or may be distributed to On multiple network modules or units. Some or all of the modules or units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional module or unit in each embodiment of the present invention may be integrated into one processing module or unit, or each module or unit may exist physically separately, or two or more modules or units may be integrated in In a module or unit.
  • the above integrated modules or units can be implemented either in the form of hardware or in the form of software functional units.
  • the integrated modules or units if implemented in the form of software functional modules or units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention is essential or the part contributing to the prior art, or all or part of the technical solution may be a software product.
  • the computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention. All or part of the steps.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acces s Memory), a magnetic disk or an optical disk, and the like, which can store program codes. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The present invention provides a method, device, and system for setting a user's right to access a virtual machine. An authentication device sends to a cloud management device a request message carrying information about a user's right to access a virtual machine, and the cloud management device sets, according to the carried information about the right, the user's right to access the virtual machine. By means of the interaction between an authentication device and a cloud management device, the use of a virtual machine by a user is effectively managed.

Description

设定用户访问虚拟机 限的方法、 i殳备和系统  How to set user access to virtual machines, devices, and systems

技术领域 Technical field

本发明涉及信息技术领域,尤其涉及一种设定用户访问虚拟机权 限的方法、 设备和系统。 背景技术  The present invention relates to the field of information technology, and in particular, to a method, device, and system for setting a user access to a virtual machine. Background technique

云计算是信息技术和网络通信技术在计算能力和传输能力显著 增强的基础上应运而生的,是依托互联网和通信网络快速发展而形成 的新一代信息服务提供模式,用户可以通过能够访问云服务器的终端 设备(筒称云终端,例如,瘦客户端 Thin Cl ient、传统个人计算机、 移动设备或者类似的设备)基于桌面连接协议与虚拟机进行连接。  Cloud computing is the emergence of information technology and network communication technology based on the significant enhancement of computing power and transmission capacity. It is a new generation of information service provision mode based on the rapid development of Internet and communication networks. Users can access cloud servers through access. The terminal device (for example, a cloud terminal, such as a thin client Thin Cl ient, a conventional personal computer, a mobile device, or the like) is connected to the virtual machine based on the desktop connection protocol.

桌面云是一种以服务器为中心的计算模式,通过将位于数据中心 的服务器虚拟化成多个虚拟机 ( Vi r tua l Machine ), 通过在虚拟机中 运行桌面操作系统, 将桌面图像、视频和音频通过网络远程传送给用 户终端, 提供给用户与传统桌面相同的使用体验。 目前, 虚拟机的使 用方式分为两种, 一种是用户独享虚拟机, 即用户长期拥有某一虚拟 机的用户名和密码, 该虚拟机专属于该用户使用; 另一种是多用户共 享虚拟机, 即如果用户需要临时使用虚拟机, 就将用户的信息通知管 理员, 管理员为该用户分配虚拟机, 并将虚拟机的用户名和密码告知 用户, 用户使用该用户名和密码登录虚拟机, 用户使用完虚拟机后, 就将该虚拟机回收。  The desktop cloud is a server-centric computing model that virtualizes servers in the data center into multiple virtual machines (Vi r tua l Machine ) by running desktop operating systems in virtual machines, desktop images, video and Audio is transmitted remotely to the user terminal over the network, providing the user with the same experience as a traditional desktop. Currently, virtual machines are used in two ways. One is that users have exclusive virtual machines, that is, users have long-term ownership of a virtual machine's username and password, and the virtual machine is exclusive to the user; the other is multi-user sharing. The virtual machine, that is, if the user needs to temporarily use the virtual machine, the user's information is notified to the administrator, the administrator allocates the virtual machine to the user, and informs the user of the virtual machine's username and password, and the user logs in to the virtual machine using the username and password. After the user has finished using the virtual machine, the virtual machine is recycled.

现有技术中, 在用户访问虚拟机的过程中, 没有对用户进行识别 的机制, 进而不能对用户使用虚拟机进行有效的管理。 发明内容 In the prior art, during the process of the user accessing the virtual machine, there is no mechanism for identifying the user, and thus the virtual machine cannot be effectively managed by the user. Summary of the invention

本发明实施例提供一种设定用户访问虚拟机的方法、设备和系统, 用于解决现有技术中没有对用户进行识别的机制,进而不能对用户使 用虚拟机进行有效的管理的问题。  The embodiments of the present invention provide a method, a device, and a system for setting a user to access a virtual machine, which are used to solve the problem that the user does not recognize the user in the prior art, and thus cannot effectively manage the user using the virtual machine.

本发明实施例提供一种设定用户访问虚拟机权限的方法, 包括: 鉴权设备接收用户发送的鉴权请求,获取所述用户访问虚拟机的权限 信息; 所述鉴权设备向云管理设备发送请求消息, 所述请求消息中携 带所述用户访问虚拟机的权限信息,使得所述云管理设备根据所述用 户访问虚拟机的权限信息, 设定所述用户访问虚拟机的权限。  An embodiment of the present invention provides a method for setting a user access authority of a virtual machine, including: an authentication device receiving an authentication request sent by a user, and acquiring permission information of the user accessing the virtual machine; the authentication device to the cloud management device And sending the request message, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine.

本发明实施例还提供一种设定用户访问虚拟机权限的方法, 包 括: 云管理设备接收鉴权设备发送的请求消息, 所述请求消息中携 带用户访问虚拟机的权限信息, 所述用户访问虚拟机的权限信息是 所述鉴权设备根据所述用户发送的鉴权请求获取的; 所述云管理设 备根据所述用户访问虚拟机的权限信息, 设定所述用户访问虚拟机 的权限, 使得所述用户在设定的权限内访问虚拟机。  The embodiment of the present invention further provides a method for setting a user to access a virtual machine, the method comprising: the cloud management device receiving a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, where the user accesses The permission information of the virtual machine is obtained by the authentication device according to the authentication request sent by the user; the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, The user is caused to access the virtual machine within the set permissions.

本发明实施例还提供一种鉴权设备, 包括: 鉴权模块, 用于接收 用户发送的鉴权请求, 获取所述用户访问虚拟机的权限信息; 发送模 块, 用于向云管理设备发送请求消息, 所述请求消息中携带所述用户 访问虚拟机的权限信息,使得所述云管理设备根据所述用户访问虚拟 机的权限信息, 设定所述用户访问虚拟机的权限。  The embodiment of the present invention further provides an authentication device, including: an authentication module, configured to receive an authentication request sent by a user, and obtain permission information of the user to access the virtual machine; and a sending module, configured to send a request to the cloud management device The message, the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine.

本发明实施例还提供一种云管理设备, 包括: 接收模块, 用于 接收鉴权设备发送的请求消息, 所述请求消息中携带用户访问虚拟 机的权限信息, 所述用户访问虚拟机的权限信息是所述鉴权设备根 据所述用户发送的鉴权请求获取的; 权限设定模块, 用于根据所述 用户访问虚拟机的权限信息, 设定所述用户访问虚拟机的权限, 使 - - 得所述用户在设定的权限内访问所述虚拟机。 The embodiment of the present invention further provides a cloud management device, including: a receiving module, configured to receive a request message sent by an authentication device, where the request message carries permission information of a user accessing a virtual machine, and the user accesses the virtual machine The information is obtained by the authentication device according to the authentication request sent by the user; the permission setting module is configured to set the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, so that - The user is allowed to access the virtual machine within the set permissions.

本发明实施例还提供一种设定用户访问虚拟机权限的系统, 包括: 鉴权设备和云管理设备; 所述鉴权设备, 用于接收用户发送的鉴权请 求, 获取所述用户访问虚拟机的权限信息, 以及向云管理设备发送请 求消息, 所述请求消息中携带所述用户访问虚拟机的权限信息; 所述云管理设备, 用于接收所述请求消息, 根据所述请求消息中携带 的用户访问虚拟机的权限信息, 设定所述用户访问虚拟机的权限, 使 得所述用户在设定的权限内访问所述虚拟机。  The embodiment of the present invention further provides a system for setting a user access authority of a virtual machine, including: an authentication device and a cloud management device; the authentication device is configured to receive an authentication request sent by the user, and obtain the user access virtual The permission information of the machine, and sending a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine; the cloud management device is configured to receive the request message, according to the request message The carried user accesses the permission information of the virtual machine, and sets the permission of the user to access the virtual machine, so that the user accesses the virtual machine within the set authority.

在本发明实施例中,通过鉴权设备向云管理设备发送携带用户访 问虚拟机权限信息的请求消息,使得云管理设备根据请求消息中携带 的权限信息,设置用户访问虚拟机的权限, 通过鉴权设备和云管理设 备的交互, 实现了对用户使用虚拟机进行有效的管理。 附图说明  In the embodiment of the present invention, the request message of the user accessing the virtual machine authority information is sent to the cloud management device by the authentication device, so that the cloud management device sets the permission of the user to access the virtual machine according to the permission information carried in the request message. The interaction between the right device and the cloud management device enables efficient management of the user using the virtual machine. DRAWINGS

图 1 为本发

Figure imgf000004_0001
Figure 1 is the hair
Figure imgf000004_0001

施例的流程示意图 Schematic diagram of the process

图 2 为本发  Figure 2 is the hair

实施例的流程示意图; Schematic diagram of the embodiment;

图 3 为本发  Figure 3 is the hair

实施例的流程示意图; Schematic diagram of the embodiment;

图 4 为本发  Figure 4 is the hair

实施例的流程示意图; Schematic diagram of the embodiment;

图 5 为本发  Figure 5 is the hair

实施例的流程示意图; _ _ 实施例的流程示意图; Schematic diagram of the embodiment; _ _ The schematic diagram of the process of the embodiment;

图 7为本发明实施例鉴权设备的结构示意图;  7 is a schematic structural diagram of an authentication device according to an embodiment of the present invention;

图 8为本发明实施例云管理设备的一个实施例的结构示意图; 图 9为本发明实施例云管理设备的另一个实施例的结构示意图; 图 10为本发明实施例设定用户访问虚拟机权限的系统的一个实 施例的结构示意图;  FIG. 8 is a schematic structural diagram of an embodiment of a cloud management device according to an embodiment of the present invention; FIG. 9 is a schematic structural diagram of another embodiment of a cloud management device according to an embodiment of the present invention; FIG. 10 is a schematic diagram of setting a user to access a virtual machine according to an embodiment of the present invention; Schematic diagram of an embodiment of a system of permissions;

图 11为本发明实施例设定用户访问虚拟机权限的系统的另一个 实施例的结构示意图。 具体实施方式  FIG. 11 is a schematic structural diagram of another embodiment of a system for setting a user access to a virtual machine according to an embodiment of the present invention. detailed description

为使本发明实施例的目的、技术方案和优点更加清楚, 下面将结 合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护 的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

首先对本发明的方法实施例的整体技术方案进行说明。  First, the overall technical solution of the method embodiment of the present invention will be described.

方法实施例一: 施例的流程示意图,如图 1所示, 本发明实施例的方法包括:  Method Embodiment 1 is a schematic flowchart of an embodiment. As shown in FIG. 1 , the method in the embodiment of the present invention includes:

步骤 100、 鉴权设备接收用户发送的鉴权请求, 获取所述用户访 问虚拟机的权限信息;  Step 100: The authentication device receives an authentication request sent by the user, and obtains the permission information of the user accessing the virtual machine.

在本发明实施例中,权限信息可以是位置权限信息或操作权限信 息。 其中,位置权限信息可以是区域位置的标识, 例如, A楼或者 B 会议室, 位置权限信息也可以是具体位置的标识, 例如, 工位号或操 作台;操作权限信息可以是用于识别用户操作权限的标识, 不同的标 识表示用户使用虚拟机的权限不同。 In the embodiment of the present invention, the rights information may be location rights information or operation rights information. The location permission information may be an identifier of the location location, for example, the A floor or the B conference room, and the location permission information may also be a specific location identifier, for example, a worksite number or a workout. The operation authority information may be an identifier for identifying a user operation authority, and different identifiers indicate that the user has different rights to use the virtual machine.

需要说明的是, 在本发明实施例中, 用户发送鉴权请求的方式可 以包括多种方式, 例如, 用户通过认证卡片, 例如, ID ( Ident i ty, 身份)卡, 向鉴权设备发送鉴权请求, ID 卡中携带用户信息; 用户 也可以通过在鉴权设备上输入鉴权密码向鉴权设备发起鉴权请求;用 户还可以通过 ID卡和鉴权密码相结合的方式向鉴权设备发起鉴权请 求; 当然, 也可以采用在鉴权设备中预先存储用户信息, 用户可以通 过声音、 指纹或面部等生物特征向鉴权设备发起鉴权请求等。  It should be noted that, in the embodiment of the present invention, the manner in which the user sends the authentication request may include multiple manners, for example, the user sends the authentication to the authentication device by using an authentication card, for example, an ID (Identity) card. The right request, the ID card carries the user information; the user can also initiate an authentication request to the authentication device by inputting the authentication password on the authentication device; the user can also authenticate the device through the combination of the ID card and the authentication password. The authentication request is initiated; of course, the user information may be pre-stored in the authentication device, and the user may initiate an authentication request to the authentication device by using a biometric such as a voice, a fingerprint, or a face.

此外, 还需要说明的是, 在本发明实施例中, 鉴权设备可以是用 于对用户进行权限识别的装置, 例如, 可以是门禁设备或考勤设备。 其中, 门禁设备可以包括信息识别器、 门禁控制器和通信集线器, 通 信集线器可以用于与计算机通信,或者与其它具有通信能力的设备或 装置进行信息交互; 考勤设备也可以包括信息识别器、 考勤控制器和 通信集线器。在实际应用中,上述门禁设备或考勤设备的信息识别器、 门禁控制器和通信集线器可以集成在一起, 也可以分别部署, 具体的 部署情况由具体的应用场景决定。  In addition, it should be noted that, in the embodiment of the present invention, the authentication device may be a device for identifying a user, for example, an access device or an attendance device. The access control device may include an information recognizer, an access controller, and a communication hub. The communication hub may be used to communicate with a computer or exchange information with other communication capable devices or devices. The attendance device may also include an information recognizer and attendance. Controller and communication hub. In an actual application, the information identifier, the access controller, and the communication hub of the access control device or the attendance device may be integrated or deployed separately, and the specific deployment situation is determined by a specific application scenario.

以上举例只是为了对本方案作说明之用, 不作限定。  The above examples are for illustrative purposes only and are not limiting.

步骤 102、 所述鉴权设备向云管理设备发送请求消息, 所述请求 消息中携带所述用户访问虚拟机的权限信息,使得所述云管理设备根 据所述用户访问虚拟机的权限信息,设定所述用户访问虚拟机的权限。  Step 102: The authentication device sends a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the permission information of the virtual machine according to the user. The permission of the user to access the virtual machine.

在本发明实施例中,云管理设备可以根据终端设备的请求为用户 分配虚拟机, 也可以预先为用户分配虚拟机, 所述虚拟机指由虚拟软 件模拟出来的一台虚拟服务器, 即将物理资源抽象成逻辑资源, 让一 台服务器变成几台甚至上百台相互隔离的虚拟服务器。 _ _ 在本发明实施例中, 鉴权设备向云管理设备发送请求消息, 云管 理设备接收鉴权设备发送的请求消息, 对该请求消息解析, 得到请求 消息中携带的权限信息, 云管理设备根据权限信息,设定用户访问虚 以包括下列方式之一: In the embodiment of the present invention, the cloud management device may allocate a virtual machine to the user according to the request of the terminal device, or may allocate a virtual machine to the user in advance, where the virtual machine refers to a virtual server simulated by the virtual software, that is, the physical resource. Abstraction into logical resources, turning a server into several or even hundreds of isolated virtual servers. In the embodiment of the present invention, the authentication device sends a request message to the cloud management device, and the cloud management device receives the request message sent by the authentication device, parses the request message, and obtains the permission information carried in the request message, and the cloud management device According to the permission information, setting the user access virtual to include one of the following ways:

方式一、设定所述用户通过所述位置权限信息指定的云终端访问 虚拟机;  The first method is to set the cloud terminal that the user specifies by using the location permission information to access the virtual machine;

在本发明实施例中,云管理设备可以获取所述位置权限信息指定 的云终端的 MAC ( Medium/Media Acces s Cont rol, 介质访问控制) 地址或 IP (Internet Protocol ,网际十办议)地址, 建立所述云终端的 MAC地址或 IP地址,与虚拟机的用户名和密码中的至少一个的对应关 系, 所述对应关系用于对所述云终端发送的登录请求进行鉴权。  In the embodiment of the present invention, the cloud management device may obtain a MAC (Medium/Media Acces s Cont rol) address or an IP (Internet Protocol) address of the cloud terminal specified by the location authority information. Establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used to authenticate a login request sent by the cloud terminal.

例如,云管理设备可以根据位置权限信息获取所述位置权限信息 指定的云终端的 MAC地址或 IP地址, 将所述云终端的 MAC地址或 IP 地址与所述云管理设备为所述用户分配的虚拟机的用户名和密码中 的至少一个绑定,使得所述用户只能使用与虚拟机的用户名或密码绑 定的云终端登录虚拟机, 从而限定所述用户使用云终端的范围, 进而 实现对用户使用云终端权限的管理。  For example, the cloud management device may obtain the MAC address or IP address of the cloud terminal specified by the location authority information according to the location authority information, and allocate the MAC address or IP address of the cloud terminal to the cloud management device for the user. At least one of the user name and the password of the virtual machine is bound, so that the user can log in to the virtual machine only by using the cloud terminal bound to the username or password of the virtual machine, thereby limiting the scope of the user using the cloud terminal, thereby implementing Management of the use of cloud terminal permissions for users.

需要说明的是, 在本发明实施例中, 建立所述云终端的 MAC地址 或 IP地址,与虚拟机的用户名和密码中的至少一个的对应关系,所述 对应关系可以是通过下列方式形成:  It should be noted that, in the embodiment of the present invention, the correspondence between the MAC address or the IP address of the cloud terminal and the at least one of the username and the password of the virtual machine is established, and the corresponding relationship may be formed by:

方式、 1MAC地址和用户名绑定;  Mode, 1 MAC address and username binding;

方式 1、 MAC地址和密码绑定;  Method 1, MAC address and password binding;

方式 3、 IP地址和用户名绑定;  Method 3, IP address and user name binding;

方式 4、 IP地址和密码绑定; 方式 5、 MAC地址和用户名绑定和密码绑定; Mode 4, IP address and password binding; Mode 5, MAC address and username binding and password binding;

方式 6、 IP地址和 MAC地址和用户名绑定;  Method 6, the IP address and MAC address are bound to the username;

方式 7、 IP地址和 MAC地址和用户名绑定;  Method 7, the IP address and MAC address are bound to the username;

方式 8 、 IP地址和 MAC地址和密码绑定;  Mode 8, IP address and MAC address and password binding;

方式 9、 IP地址和 MAC地址和密码和用户名绑定。  Mode 9, IP address and MAC address and password and username are bound.

需要说明的是, 上述举例只做说明, 不做限定。  It should be noted that the above examples are for illustrative purposes only and are not limiting.

方式二、 云管理设备根据操作权限信息, 选择所述操作权限信息 对应的虚拟机资源池,从所述虚拟机资源池中选择虚拟机分配给所述 用户;  Manner 2: The cloud management device selects a virtual machine resource pool corresponding to the operation authority information according to the operation authority information, and selects a virtual machine from the virtual machine resource pool to allocate to the user;

例如,云管理设备可以预先创建操作权限的不同的虚拟机资源池, 不同的虚拟机资源池配置不同的应用程序,云管理设备根据用户的操 作权限信息选择与用户操作权限相应的虚拟机资源池,从所述虚拟机 资源池中选择虚拟机分配给用户,从而限定所述用户使用虚拟机时的 权限, 对用户使用虚拟机资源进行管理。  For example, the cloud management device may pre-create different virtual machine resource pools with different operation authority rights, and different virtual machine resource pools configure different application programs, and the cloud management device selects a virtual machine resource pool corresponding to the user operation authority according to the operation authority information of the user. The virtual machine is selected from the virtual machine resource pool and allocated to the user, thereby limiting the authority of the user when using the virtual machine, and managing the virtual machine resource for the user.

此外, 需要说明的是, 在本发明实施例中, 云管理设备用于对云 终端的接入进行管理。  In addition, it should be noted that, in the embodiment of the present invention, the cloud management device is used to manage access of the cloud terminal.

本发明实施例还可以进一步包括:鉴权设备接收所述云管理设备 返回的响应消息, 所述响应消息中携带登录信息, 所述登录信息用于 所述用户在设定的权限内访问所述虚拟机。  The embodiment of the present invention may further include: the authentication device receives the response message returned by the cloud management device, where the response message carries the login information, where the login information is used by the user to access the specified permission virtual machine.

在本发明实施例中,鉴权设备通过向云管理设备发送携带用户访 问虚拟机权限信息的请求消息,使得云管理设备根据携带的权限信息 , 设置用户访问虚拟机的权限, 通过鉴权设备和云管理设备的交互, 实 现了对用户进行识别, 进而对用户使用虚拟机进行有效的管理。  In the embodiment of the present invention, the authentication device sends a request message for the user to access the virtual machine rights information to the cloud management device, so that the cloud management device sets the user access rights to the virtual machine according to the carried permission information, and the authentication device and the authentication device The interaction of the cloud management device realizes the identification of the user, and then effectively manages the user using the virtual machine.

方法实施例二: _ _ 实施例的流程示意图,如图 2所示, 本发明实施例的方法包括: Method Embodiment 2: _ _ The flow diagram of the embodiment, as shown in FIG. 2, the method of the embodiment of the present invention includes:

步骤 200、 云管理设备接收鉴权设备发送的请求消息, 所述请求 消息中携带用户访问虚拟机的权限信息, 所述用户访问虚拟机的权 限信息是所述鉴权设备根据所述用户发送的鉴权请求获取的;  Step 200: The cloud management device receives a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, and the permission information of the user accessing the virtual machine is sent by the authentication device according to the user. Acquired by the authentication request;

在本发明实施例中,权限信息可以是位置权限信息或操作权限信 息。 其中,位置权限信息可以是区域位置的标识, 例如, A楼或者 B 会议室, 位置权限信息也可以是具体位置的标识, 例如, 工位号或操 作台;操作权限信息可以是用于识别用户操作权限的标识, 不同的标 识表示用户使用虚拟机的权限不同。  In the embodiment of the present invention, the authority information may be location authority information or operation authority information. The location permission information may be an identifier of the location location, for example, the A floor or the B conference room, and the location permission information may also be an identifier of the specific location, for example, a worksite number or a console; the operation permission information may be used to identify the user. The identification of the operation authority. Different identifiers indicate that the user has different permissions for using the virtual machine.

在本发明实施例中,用户发送鉴权请求的方式可以包括多种方式, 所述方式在方法实施例一中已经作出说明, 本实施例不再复述。  In the embodiment of the present invention, the manner in which the user sends the authentication request may include multiple manners, and the manner is described in the first embodiment of the method, and is not repeated in this embodiment.

在本发明实施例中, 云管理设备用于对云终端的接入进行管理。 此外, 还需要说明的是, 在本发明实施例中, 鉴权设备可以是用 于对用户进行权限识别的装置, 例如, 可以是门禁设备或考勤设备。 其中, 门禁设备可以包括信息识别器、 门禁控制器和通信集线器, 通 信集线器可以用于与计算机通信,或者与其它具有通信能力的设备或 装置进行信息交互; 考勤设备也可以包括信息识别器、 考勤控制器和 通信集线器。在实际应用中,上述门禁设备或考勤设备的信息识别器、 门禁控制器和通信集线器可以集成在一起, 也可以分别部署, 具体的 部署情况由具体的应用场景决定。  In the embodiment of the present invention, the cloud management device is used to manage access of the cloud terminal. In addition, it should be noted that, in the embodiment of the present invention, the authentication device may be a device for identifying a user, for example, an access device or an attendance device. The access control device may include an information recognizer, an access controller, and a communication hub. The communication hub may be used to communicate with a computer or exchange information with other communication capable devices or devices. The attendance device may also include an information recognizer and attendance. Controller and communication hub. In an actual application, the information identifier, the access controller, and the communication hub of the access control device or the attendance device may be integrated or deployed separately, and the specific deployment situation is determined by a specific application scenario.

以上举例只是为了对本方案作说明之用, 不作限定。 设定所述用户访问虚拟机的权限,使得所述用户在设定的权限内访问 虚拟机。  The above examples are for illustrative purposes only and are not limiting. The user's access to the virtual machine is set such that the user accesses the virtual machine within the set permissions.

在本发明实施例中,云管理设备可以根据终端设备的请求为用户 _ _ 分配虚拟机, 也可以预先为用户分配虚拟机, 所述虚拟机指由虚拟软 件模拟出来的一台虚拟服务器, 即将物理资源抽象成逻辑资源, 让一 台服务器变成几台甚至上百台相互隔离的虚拟服务器。 In the embodiment of the present invention, the cloud management device may be a user according to the request of the terminal device. _ _ Allocating virtual machines, you can also assign virtual machines to users in advance. The virtual machines refer to a virtual server simulated by virtual software, which abstracts physical resources into logical resources, and turns one server into several or even hundreds. A virtual server that is isolated from each other.

在本发明实施例中, 云管理设备根据权限信息,设定用户访问虚 拟机的权限,。 其中, 云接入管理设定用户访问虚拟机的权限的方式 可以包括下列方式之一:  In the embodiment of the present invention, the cloud management device sets the permission of the user to access the virtual machine according to the permission information. The cloud access management method for setting the permission of the user to access the virtual machine may include one of the following methods:

方式一、设定所述用户通过所述位置权限信息指定的云终端访问 虚拟机;  The first method is to set the cloud terminal that the user specifies by using the location permission information to access the virtual machine;

在本发明实施例中,云管理设备可以获取所述位置权限信息指定 的云终端的 MAC地址或 IP地址,建立所述云终端的 MAC地址或 IP地 址,与虚拟机的用户名和密码中的至少一个的对应关系, 所述对应关 系用于对所述云终端发送的登录请求进行鉴权。  In the embodiment of the present invention, the cloud management device may acquire the MAC address or the IP address of the cloud terminal specified by the location authority information, establish a MAC address or an IP address of the cloud terminal, and at least the username and password of the virtual machine. Corresponding relationship of the one, the correspondence is used to authenticate the login request sent by the cloud terminal.

例如,云管理设备可以根据位置权限信息获取所述位置权限信息 指定的云终端的 MAC地址或 IP地址, 将所述云终端的 MAC地址或 IP 地址与所述云管理设备为所述用户分配的虚拟机的用户名和密码中 的至少一个绑定,使得所述用户只能使用与虚拟机的用户名或密码绑 定的云终端登录虚拟机, 从而限定所述用户使用云终端的范围, 进而 实现对用户使用云终端权限的管理。  For example, the cloud management device may obtain the MAC address or IP address of the cloud terminal specified by the location authority information according to the location authority information, and allocate the MAC address or IP address of the cloud terminal to the cloud management device for the user. At least one of the user name and the password of the virtual machine is bound, so that the user can log in to the virtual machine only by using the cloud terminal bound to the username or password of the virtual machine, thereby limiting the scope of the user using the cloud terminal, thereby implementing Management of the use of cloud terminal permissions for users.

需要说明的是, 在本发明实施例中, 建立所述云终端的 MAC地址 或 IP地址,与虚拟机的用户名和密码中的至少一个的对应关系,所述 对应关系形成的方式在方法实施例一中已经作出说明,本实施例不再 复述。  It should be noted that, in the embodiment of the present invention, the correspondence between the MAC address or the IP address of the cloud terminal and the at least one of the username and the password of the virtual machine is established, and the manner in which the corresponding relationship is formed is in the method embodiment. The description has been made in one, and the present embodiment will not be repeated.

需要说明的是, 上述举例只做说明, 不做限定。  It should be noted that the above examples are for illustrative purposes only and are not limiting.

方式二、 云管理设备根据操作权限信息, 选择所述操作权限信息 对应的虚拟机资源池,从所述虚拟机资源池中选择虚拟机分配给所述 - - 用户; The second mode, the cloud management device selects a virtual machine resource pool corresponding to the operation authority information according to the operation authority information, and selects a virtual machine from the virtual machine resource pool to be allocated to the virtual machine resource pool. - - User;

例如,云管理设备可以预先创建操作权限的不同的虚拟机资源池, 不同的虚拟机资源池配置不同的应用程序,云管理设备根据用户的操 作权限信息选择与用户操作权限相应的虚拟机资源池,从所述虚拟机 资源池中选择虚拟机分配给用户,从而限定所述用户使用虚拟机时的 权限, 对用户使用虚拟机资源进行管理。  For example, the cloud management device may pre-create different virtual machine resource pools with different operation authority rights, and different virtual machine resource pools configure different application programs, and the cloud management device selects a virtual machine resource pool corresponding to the user operation authority according to the operation authority information of the user. The virtual machine is selected from the virtual machine resource pool and allocated to the user, thereby limiting the authority of the user when using the virtual machine, and managing the virtual machine resource for the user.

以上举例只是为了对本方案作说明之用, 不作限定。  The above examples are for illustrative purposes only and are not limiting.

本发明实施例还可以进一步包括:所述云管理设备向所述鉴权设 备返回响应消息, 所述响应消息中携带登录信息, 所述登录信息用于 所述用户在设定的权限内访问所述虚拟机。  The embodiment of the present invention may further include: the cloud management device returns a response message to the authentication device, where the response message carries login information, where the login information is used by the user to access the specified authority. Describe the virtual machine.

在本发明实施例中,云管理设备通过接收鉴权设备发送的携带用 户访问虚拟机权限信息的请求消息, 云管理设备根据该权限信息,设 置用户访问虚拟机的权限, 通过鉴权设备和云管理设备的交互, 实现 了对用户进行识别, 进而对用户使用虚拟机进行有效的管理。  In the embodiment of the present invention, the cloud management device receives the request message that the user accesses the virtual machine authority information sent by the authentication device, and the cloud management device sets the user access authority to the virtual machine according to the permission information, and passes the authentication device and the cloud. Manage the interaction of devices, realize the identification of users, and then effectively manage users using virtual machines.

方法实施例三:  Method embodiment three:

上述方法实施例一和方法实施例二提供的技术方案可以应用在 不同的场景, 为更方便说明本发明的技术方案, 下述以会议室场景为 例进行说明。 实施例的流程示意图,下列以员工需要临时使用虚拟机为例进行说明, 例如, 在会议室中, 没有虚拟机使用权限的员工到会议室开会, 需要 临时使用虚拟机, 或者临时出差本地的员工在会议室中, 需要使用虚 拟机来临时远程办公等, 在这种场景下, 需要根据员工的不同权限, 实现员工使用不同操作权限的虚拟机。 在本发明实施例中, 鉴权设备 具体为门禁设备, 如图 3所示, 本发明实施例的方法包括: — — 步骤 300、 门禁设备接收员工通过 ID卡发送的鉴权请求; 需要说明的是, 门禁设备可以支持对不同 ID卡的鉴权, ID卡中 预先写入了员工信息。 其中, ID 卡可以是员工的工卡, 也可以是门 禁设备能够识别的其它 ID卡。 The technical solutions provided in the first embodiment and the second embodiment of the method can be applied to different scenarios. For the convenience of the technical solution of the present invention, the following is a description of the conference room scenario. The following is a schematic diagram of the process of the embodiment. The following is an example in which an employee needs to temporarily use a virtual machine. For example, in a conference room, an employee who does not have the permission of the virtual machine to the conference room needs to temporarily use the virtual machine, or temporarily travels to the local employee. In a conference room, you need to use a virtual machine to temporarily work remotely. In this scenario, you need to implement virtual machines with different operation rights for employees based on different permissions of employees. In the embodiment of the present invention, the authentication device is specifically an access control device. As shown in FIG. 3, the method in the embodiment of the present invention includes: — Step 300: The access control device receives an authentication request sent by the employee through the ID card. It should be noted that the access control device can support the authentication of different ID cards, and the employee information is pre-written in the ID card. The ID card may be an employee's work card or other ID card that the access control device can recognize.

步骤 302、 门禁设备对 ID卡进行鉴权, 若鉴权通过, 则确定员工 的操作权限信息;  Step 302: The access control device authenticates the ID card, and if the authentication passes, determines the operation authority information of the employee;

在本发明实施例中, 门禁设备中预先储存有员工信息和操作权限 对应关系表, 例如, 员工信息和操作权限对应关系表可以如表 1所示: 表 1  In the embodiment of the present invention, the employee information and the operation authority correspondence table are pre-stored in the access control device. For example, the employee information and the operation authority correspondence table may be as shown in Table 1: Table 1

Figure imgf000012_0001
Figure imgf000012_0001

此外, 表 1中的员工信息还可以是员工的 ID号等信息。  In addition, the employee information in Table 1 can also be information such as the employee ID number.

门禁设备对 ID卡进行鉴权, 若鉴权通过, 则根据 ID卡中携带的员 工信息确定该员工的操作权限信息。 例如, 员工张某某通过 ID卡在会 议室的门禁设备进行鉴权, 门禁设备读取 I D卡中储存的张某某的信息, 门禁设备通过上述表 1查询到张某某的操作权限为无权使用邮件功能。  The access control device authenticates the ID card. If the authentication is passed, the employee's operation authority information is determined according to the employee information carried in the ID card. For example, the employee Zhang XX authenticates the access control device in the conference room by the ID card, and the access control device reads the information of Zhang XX stored in the ID card, and the access control device queries the operation authority of Zhang XX through the above Table 1 as none. The right to use the mail function.

需要说明的是, 门禁设备对 ID卡进行鉴权, 鉴权通过后还可以进 一步包括: 验证 ID卡的状态, 如果 ID卡的状态为非使用状态 (例如, 空闲) , 则确定员工的操作权限信息, 并将 ID卡的状态设置为忙碌; 如果 ID卡的态为使用状态(例如, 忙碌), 则门禁设备不确定员工的 操作权限信息, 并提示员工该 ID卡在使用中。  It should be noted that the access device authenticates the ID card, and after the authentication is passed, the method further includes: verifying the status of the ID card, and determining the operation authority of the employee if the status of the ID card is not in use (for example, idle). Information, and set the status of the ID card to busy; if the state of the ID card is in the use state (for example, busy), the access control device does not determine the employee's operation authority information, and prompts the employee that the ID card is in use.

通过上述对 ID卡的状态进行验证, 可以避免员工重复鉴权, 导致 门禁设备为一个员工分配多个操作权限信息。  By verifying the status of the ID card, the employee can be prevented from being repeatedly authenticated, and the access control device assigns multiple operation authority information to one employee.

步骤 304、 门禁设备向云管理设备发送分配虚拟机的请求消息, — — 所述请求消息中携带员工的操作权限信息; Step 304: The access control device sends a request message for allocating a virtual machine to the cloud management device. – the request message carries the operation authority information of the employee;

步骤 306、 云管理设备根据操作权限信息选择相应的虚拟机资源 池;  Step 306: The cloud management device selects a corresponding virtual machine resource pool according to the operation authority information.

步骤 308、云管理设备从虚拟机资源池中选择虚拟机分配给员工; 在上述步骤 306和步骤 308中,云管理设备可以预先创建操作权限 的不同的虚拟机资源池,虚拟机资源池的数量可以根据需求具体设置, 虚拟机资源池中至少存在一个虚拟机。 其中, 云管理设备为每个虚拟 机资源池配置有不同的应用程序,云管理设备可以根据具体需求增加 或者删除虚拟机资源池配置的应用程序。  Step 308: The cloud management device selects a virtual machine from the virtual machine resource pool and allocates the virtual machine to the employee. In the foregoing steps 306 and 308, the cloud management device may pre-create different virtual machine resource pools and the number of virtual machine resource pools. It can be set according to requirements. At least one virtual machine exists in the virtual machine resource pool. The cloud management device configures different applications for each virtual machine resource pool, and the cloud management device can add or delete applications configured by the virtual machine resource pool according to specific requirements.

例如, 云管理设备可以设置 3个虚拟机资源池, 虚拟机资源池 1 没有配置邮件应用程序,虚拟机资源池 2没有配置网络电话应用程序, 虚拟机资源池 3没有配置浏览网页应用程序, 对应的, 虚拟机资源池 1 中的所有虚拟机无权提供邮件服务, 虚拟机资源池 2中的所有虚拟机 无权提供网络电话服务, 虚拟机资源池 3中的所有虚拟机无权提供网 页浏览服务。  For example, the cloud management device can set up three virtual machine resource pools, the virtual machine resource pool 1 is not configured with the mail application, the virtual machine resource pool 2 is not configured with the network phone application, and the virtual machine resource pool 3 is not configured to browse the web application, corresponding to All virtual machines in virtual machine resource pool 1 are not authorized to provide mail service. All virtual machines in virtual machine resource pool 2 are not authorized to provide network telephony services. All virtual machines in virtual machine resource pool 3 are not authorized to provide web browsing. service.

其中,云管理设备中还可以预先储存操作权限与虚拟机资源池对 应关系表, 例如, 操作权限与虚拟机资源池对应关系表可以如表 2所 示:  The cloud management device may also pre-store the correspondence between the operation authority and the virtual machine resource pool. For example, the correspondence between the operation authority and the virtual machine resource pool may be as shown in Table 2:

表 2  Table 2

Figure imgf000013_0001
Figure imgf000013_0001

云管理设备可以根据操作权限信息, 从上述表 2中选择对应的虚 - 拟机资源池, 从该虚拟机资源池中选择虚拟机分配给员工。 The cloud management device can select the corresponding virtual object from the above table 2 according to the operation authority information. - A virtual machine pool from which virtual machines are assigned to employees.

步骤 310、 云管理设备向门禁设备返回响应消息;  Step 310: The cloud management device returns a response message to the access control device.

在本发明实施例中, 响应消息中携带登录信息, 登录信息用于所 述用户在设定的权限内访问所述虚拟机,登录信息可以是虚拟机的用 户和密码。  In the embodiment of the present invention, the response message carries the login information, and the login information is used by the user to access the virtual machine within the set authority, and the login information may be a user and a password of the virtual machine.

步骤 312、 门禁设备将登录信息提供给员工;  Step 312: The access control device provides the login information to the employee.

步骤 314、 云管理设备接收员工通过云终端向发送的登录请求消 息;  Step 314: The cloud management device receives, by the cloud terminal, a login request message sent by the cloud terminal.

具体的, 员工可以在云终端上输入虚拟机用户名和密码, 通过云 终端向云管理设备发送登录请求消息,该登录请求消息中携带用户输 入的虚拟机用户名和密码。  Specifically, the employee can input the virtual machine user name and password on the cloud terminal, and send a login request message to the cloud management device through the cloud terminal, where the login request message carries the virtual machine user name and password input by the user.

步骤 316、 云管理设备为云终端提供与员工操作权限相应虚拟机 连接。  Step 316: The cloud management device provides the cloud terminal with a virtual machine connection corresponding to the employee operation authority.

具体的,云管理设备对云终端提供的虚拟机用户名和密码进行验 的虚拟机提供给员工使用。  Specifically, the cloud management device provides the virtual machine for checking the virtual machine user name and password provided by the cloud terminal to the employee for use.

在本发明实施例中, 门禁设备对用户识别, 确定用户访问虚拟机 的权限信息, 并向云管理设备发送携带操作权限信息的请求消息, 云 管理设备根据请求消息中携带的操作权限信息,选择与操作权限信息 一致的虚拟机资源池,并从该虚拟机资源池中选择虚拟机分配给员工, 通过门禁设备和云管理设备的交互, 实现了对用户的识别, 进而能根 方法实施例四: 施例的流程示意图,在本发明实施例中, 鉴权设备具体为考勤设备, — — In the embodiment of the present invention, the access control device identifies the user, determines the permission information of the user to access the virtual machine, and sends a request message carrying the operation authority information to the cloud management device, and the cloud management device selects according to the operation authority information carried in the request message. A virtual machine resource pool that is consistent with the operation authority information, and selects a virtual machine from the virtual machine resource pool to be assigned to the employee, and realizes identification of the user through interaction between the access control device and the cloud management device, and further can implement the method embodiment 4 The schematic diagram of the process of the embodiment, in the embodiment of the present invention, the authentication device is specifically an attendance device, — —

关系, 通过对应关系对员工使用的云终端发送的登录请求进行鉴权, 实现让员工在指定的工位号使用云终端, 如图 4所示, 本发明实施例 的方法包括: In the relationship, the login request sent by the cloud terminal used by the employee is authenticated, and the employee is allowed to use the cloud terminal at the specified workstation number. As shown in FIG. 4, the method in the embodiment of the present invention includes:

步骤 400、 考勤设备接收员工通过 ID卡发送的鉴权请求; 步骤 402、 考勤设备对 ID卡进行鉴权, 若鉴权通过, 则为员工分 配工位号;  Step 400: The attendance device receives the authentication request sent by the employee through the ID card. Step 402: The attendance device authenticates the ID card, and if the authentication passes, assigns the workstation number to the employee;

在本发明实施例中,考勤设备中可以预先储存有所有工位的信息 表, 该信息表中记录所有工位的工位号, 考勤设备对 ID卡进行鉴权, 鉴权通过后, 根据员工权限信息从信息表中选择工位号分配给员工, 例如, 可以对权限受限的员工只分配一个工位号。  In the embodiment of the present invention, the information sheet of all the stations may be pre-stored in the attendance device, the station number of all the stations is recorded in the information table, and the attendance device authenticates the ID card, and after the authentication is passed, according to the employee The permission information is assigned to the employee by selecting the station number from the information table. For example, only one station number can be assigned to the employee with limited authority.

需要说明的是, 在考勤设备对 ID卡鉴权通过后还包括: 进一步验 证 ID卡的状态, 如果 ID卡的状态为非使用状态(例如, 空闲) , 则为 员工分配工位号, 并将 ID卡的状态设置为忙碌; 如果 ID卡的态为使用 状态(例如, 忙碌) , 则考勤设备不为员工分配工位号, 并提示员工 该 ID卡在使用中。  It should be noted that after the attendance device authenticates the ID card, the method further includes: further verifying the status of the ID card, and if the status of the ID card is not in use (for example, idle), assigning a work number to the employee, and The status of the ID card is set to busy; if the status of the ID card is in the use state (for example, busy), the attendance device does not assign a work number to the employee, and prompts the employee that the ID card is in use.

通过上述对 ID卡的状态进行验证, 可以避免员工重复鉴权, 导致 考勤设备为一个员工分配多个工位号。  By verifying the status of the ID card, the employee can be prevented from repeating the authentication, and the attendance device assigns multiple workstation numbers to one employee.

步骤 404、 考勤设备向云管理设备发送分配虚拟机的请求消息, 该请求消息中携带考勤设备为员工分配的工位号;  Step 404: The attendance device sends a request message for allocating a virtual machine to the cloud management device, where the request message carries the station number assigned by the attendance device to the employee;

步骤 406、 云管理设备根据请求消息中携带的工位号, 将该工位 号指定的云终端的 MAC地址与虚拟机的用户名绑定;  Step 406: The cloud management device binds the MAC address of the cloud terminal specified by the station number to the username of the virtual machine according to the station number carried in the request message.

在本发明实施例中, 云管理设备接收考勤设备发送的请求消息, 从虚拟机资源池中选择虚拟机分配给员工,云管理设备还预先配置了 工位号与云终端的 MAC地址的对应关系表。 - - 例如, 云管理设备预先配置的工位号与云终端的 MAC地址的对应 关系表可以如表 3所示: In the embodiment of the present invention, the cloud management device receives the request message sent by the attendance device, and selects the virtual machine from the virtual machine resource pool to be assigned to the employee, and the cloud management device further pre-configures the correspondence between the workstation number and the MAC address of the cloud terminal. table. - For example, the mapping table between the pre-configured workstation number of the cloud management device and the MAC address of the cloud terminal can be as shown in Table 3:

表 3  table 3

Figure imgf000016_0001
Figure imgf000016_0001

云管理设备接收到考勤设备发送的请求消息,对该请求消息解析 , 得到该请求消息中携带的工位号,云管理设备根据该工位号将该虚拟 机的用户名写入工位号与云终端的 MAC地址的对应关系表形成鉴权表 , 该鉴权表用于员工在云终端向云管理设备发起登录请求时,鉴权使用。  The cloud management device receives the request message sent by the attendance device, parses the request message, and obtains the station number carried in the request message, and the cloud management device writes the user name of the virtual machine to the station number according to the station number. The correspondence table of the MAC address of the cloud terminal forms an authentication table, and the authentication table is used for authentication when the cloud terminal initiates a login request to the cloud management device.

例如, 鉴权表可以如表 4所示:  For example, the authentication table can be as shown in Table 4:

Figure imgf000016_0002
步骤 408、 云管理设备向考勤设备返回响应消息, 所述响应消息 中携带登录信息,所述登录信息用于员工在设定的权限内登录虚拟机, 登录信息可以是虚拟机的用户名和密码。
Figure imgf000016_0002
Step 408: The cloud management device returns a response message to the attendance device, where the response message carries the login information, where the login information is used by the employee to log in to the virtual machine within the set authority. The login information may be the username and password of the virtual machine.

步骤 410、 考勤设备将工位号和登录信息提供给员工;  Step 410: The attendance device provides the workstation number and the login information to the employee;

步骤 412、 云管理设备接收员工通过云终端发送的登录请求; 具体的, 员工可以通过工位号找到工位号指定的云终端, 在该云 终端上输入虚拟机用户名和密码,云终端向云管理设备发送登录请求, — — 该登录请求携带用户输入的虚拟机用户名和密码以及该云终端的 MAC 地址。 Step 412: The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud. The management device sends a login request, — — The login request carries the virtual machine username and password entered by the user and the MAC address of the cloud terminal.

步骤 414、 云管理设备对登录请求进行鉴权, 若鉴权通过则为云 终端提供虚拟机连接。  Step 414: The cloud management device authenticates the login request, and if the authentication passes, provides a virtual machine connection for the cloud terminal.

在本发明实施例中, 云管理设备收到登录请求后, 对该登录请求 消息进行解析, 得到该登录请求中携带的云终端的 MAC地址和虚拟机 的用户名, 云管理设备将云终端的 MAC地址、 虚拟机的用户名与云管 理设备中储存的鉴权表比对, 如果云终端的 MAC地址和虚拟机的用户 名, 与云管理设备鉴权表中相应的云终端的 MAC地址和虚拟机的用户 名一致, 则允许云终端与虚拟机建立连接; 如果不一致, 则不允许云 终端与虚拟机建立连接,并向云终端显示"请按照指定的工位就坐"。  In the embodiment of the present invention, after receiving the login request, the cloud management device parses the login request message, and obtains the MAC address of the cloud terminal and the username of the virtual machine carried in the login request, and the cloud management device sets the cloud terminal The MAC address, the username of the virtual machine are compared with the authentication table stored in the cloud management device, if the MAC address of the cloud terminal and the username of the virtual machine, and the MAC address of the corresponding cloud terminal in the cloud management device authentication table If the user name of the VM is the same, the cloud terminal is allowed to establish a connection with the VM. If the VM is inconsistent, the cloud terminal is not allowed to establish a connection with the VM, and the cloud terminal is displayed as "Please sit at the specified workstation."

本发明实施例还可以进一步包括: 虚拟机设置超时值, 虚拟机与 云终端建立连接后, 虚拟机在设置的超时值内, 若没有接收到任何操 作请求, 则云管理设备自动回收虚拟机, 避免虚拟机资源被闲置, 以 提高虚拟机资源的利用率。  The embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle to improve the utilization of virtual machine resources.

在本发明实施例中, 考勤设备确定用户访问虚拟机的工位号后, 向云管理设备发送携带工位号的请求消息,云管理设备根据请求消息 中携带的工位号,将工位号对应的云终端的 MAC地址和虚拟机的用户 名绑定形成对应关系,通过对应关系对员工使用的云终端发送的登录 请求进行鉴权, 让员工在指定的工位号使用云终端, 实现了根据用户 权限对用户使用虚拟机进行有效的管理。  In the embodiment of the present invention, after the attendance device determines the location number of the user to access the virtual machine, the attendance device sends a request message carrying the station number to the cloud management device, and the cloud management device sends the station number according to the station number carried in the request message. The MAC address of the corresponding cloud terminal is associated with the user name binding of the virtual machine, and the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, so that the employee uses the cloud terminal at the designated workstation number. Effective management of users using virtual machines based on user rights.

方法实施例五: 施例的流程示意图,在本发明实施例中, 某一虚拟机专属于某一员工 使用, 该员工长期拥有所述虚拟机的用户名和密码, 例如, 该员工需 - - 要到其它的办公区域使用已分配的虚拟机, 在本发明实施例中, 鉴权 设备具体为门禁设备,云管理设备通过将云终端的 IP地址与虚拟机的 用户名绑定, 实现让员工在指定的工位号使用云终端, 如图 5所示, 本发明实施例的方法包括: Method Embodiment 5: In the embodiment of the present invention, a virtual machine is exclusively used by an employee, and the employee has a user name and password of the virtual machine for a long time, for example, the employee needs In the embodiment of the present invention, the authentication device is specifically an access control device, and the cloud management device is configured by binding the IP address of the cloud terminal to the username of the virtual machine. The employee is allowed to use the cloud terminal at the specified workstation number. As shown in FIG. 5, the method in the embodiment of the present invention includes:

步骤 500、 门禁设备接收员工通过 ID卡发送的鉴权请求; 在本发明实施例中, ID卡中可以预先存储员工信息和虚拟机的用 户名。  Step 500: The access control device receives an authentication request sent by the employee through the ID card. In the embodiment of the present invention, the employee information and the user name of the virtual machine may be pre-stored in the ID card.

步骤 502、 门禁设备对 ID卡进行鉴权, 若鉴权通过, 则为员工分 配工位号;  Step 502: The access control device authenticates the ID card, and if the authentication passes, assigns a work station number to the employee;

在本发明实施例中, 门禁设备中可以预先储存有所有工位的信息 表, 该信息表中记录所有工位的工位号, 门禁设备对 ID卡进行鉴权, 鉴权通过后,则根据员工权限信息从该信息表中选择工位号分配给员 工。  In the embodiment of the present invention, the information table of all the stations may be pre-stored in the access control device, the station number of all the stations is recorded in the information table, and the access device authenticates the ID card, and after the authentication is passed, according to the The employee permission information is assigned to the employee by selecting the work number from the information table.

步骤 504、 门禁设备向云管理设备发送请求消息, 该请求消息中 携带门禁设备为员工分配的工位号和虚拟机的用户名;  Step 504: The access control device sends a request message to the cloud management device, where the request message carries the workstation number assigned by the access control device to the employee and the username of the virtual machine.

步骤 506、 云管理设备根据请求消息中携带的工位号, 将该工位 号指定的云终端的 IP地址与虚拟机的用户名绑定;  Step 506: The cloud management device binds the IP address of the cloud terminal specified by the station number to the username of the virtual machine according to the station number carried in the request message.

在本发明实施例中,云管理设备预先配置了工位号与云终端的 IP 地址的对应关系表。  In the embodiment of the present invention, the cloud management device pre-configures a correspondence table between the station number and the IP address of the cloud terminal.

例如,云管理设备预先配置的工位号与云终端的 I P地址的对应关 系表可以如表 5所示: - -

Figure imgf000019_0001
For example, the mapping table between the pre-configured workstation number of the cloud management device and the IP address of the cloud terminal can be as shown in Table 5: - -
Figure imgf000019_0001

具体的, 云管理设备接收到门禁设备发送的请求消息, 对该请求 消息解析, 得到该请求消息中携带的工位号和虚拟机的用户名, 云管 理设备根据该工位号将该虚拟机的用户名写入工位号与云终端的 MAC 地址的对应关系表形成鉴权表,该鉴权表用于员工在云终端向云管理 设备发起登录请求时, 鉴权使用。  Specifically, the cloud management device receives the request message sent by the access control device, parses the request message, and obtains the station number and the user name of the virtual machine carried in the request message, and the cloud management device uses the virtual machine according to the station number. The correspondence table between the user name and the MAC address of the cloud terminal forms an authentication table, and the authentication table is used for authentication when the cloud terminal initiates a login request to the cloud management device.

例如, 鉴权表可以如表 6所示:  For example, the authentication table can be as shown in Table 6:

Figure imgf000019_0002
步骤 508、 云管理设备向门禁设备返回响应消息;
Figure imgf000019_0002
Step 508: The cloud management device returns a response message to the access control device.

步骤 510、 门禁设备将工位号提供给员工;  Step 510: The access control device provides the workstation number to the employee;

步骤 512、 云管理设备接收员工通过云终端发送的登录请求; 具体的, 员工可以通过工位号找到工位号指定的云终端, 在该云 终端上输入虚拟机用户名和密码,云终端向云管理设备发送登录请求, 该登录请求中携带用户输入的虚拟机用户名和密码以及该云终端的 IP地址。  Step 512: The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud. The management device sends a login request, where the login request carries the virtual machine username and password input by the user and the IP address of the cloud terminal.

步骤 514、 云管理设备对登录请求进行鉴权, 若鉴权通过则为云 — — 终端提供虚拟机连接。 Step 514: The cloud management device authenticates the login request, and if the authentication passes, the cloud is — — The terminal provides a virtual machine connection.

在本发明实施例中, 云管理设备收到登录请求消息后, 对该登录 请求消息进行解析,得到该登录请求消息中携带的云终端的 I P地址和 虚拟机的用户名, 云管理设备将云终端的 IP地址、虚拟机的用户名与 云管理设备中储存的鉴权表比对,如果云终端的 IP地址和虚拟机的用 户名,与云管理设备鉴权表中相应的云终端的 IP地址和虚拟机的用户 名一致, 则允许云终端与虚拟机建立连接; 如果不一致, 则不允许云 终端与虚拟机建立连接,并向云终端显示"请按照指定的工位就坐"。  In the embodiment of the present invention, after receiving the login request message, the cloud management device parses the login request message, and obtains the IP address of the cloud terminal and the user name of the virtual machine carried in the login request message, and the cloud management device will The IP address of the terminal, the username of the virtual machine, and the authentication table stored in the cloud management device, if the IP address of the cloud terminal and the username of the virtual machine, and the IP address of the corresponding cloud terminal in the cloud management device authentication table If the address is the same as the username of the VM, the cloud terminal is allowed to establish a connection with the VM. If the IP address is inconsistent, the cloud terminal is not allowed to establish a connection with the VM, and the cloud terminal is displayed as "Please sit at the specified workstation."

本发明实施例还可以进一步包括: 虚拟机设置超时值, 虚拟机与 云终端建立连接后, 虚拟机在设置的超时值内, 若没有接收到任何操 作请求, 则云管理设备自动回收虚拟机, 避免虚拟机资源被闲置, 提 高虚拟机资源的利用率。  The embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle and improve the utilization of virtual machine resources.

在本发明实施例中, 门禁设备向云管理设备发送携带工位号的请 求消息, 云管理设备根据请求消息中携带的工位号, 将工位号对应的 云终端的 IP地址和虚拟机的用户名绑定形成对应关系, 通过对应关 系对员工使用的云终端发送的登录请求进行鉴权,让员工在指定的工 管理。  In the embodiment of the present invention, the access control device sends a request message carrying the station number to the cloud management device, and the cloud management device adds the IP address of the cloud terminal corresponding to the station number and the virtual machine according to the station number carried in the request message. The user name binding forms a correspondence relationship, and the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, and the employee is managed at the designated work.

方法实施例六: 实施例的流程示意图,在本发明实施例中, 需要员工在固定的工位使 用于其操作权限相应的虚拟机。  Method Embodiment 6: A schematic flowchart of an embodiment. In the embodiment of the present invention, an employee is required to use a virtual machine corresponding to the operation authority at a fixed station.

步骤 600、 门禁设备接收员工通过 ID卡发送的鉴权请求; 步骤 602、 门禁设备对 ID卡进行鉴权, 确定员工的操作权限信息 和位置权限信息; - - 在本发明实施例中, 门禁设备中预先储存有与员工信息对应的操 作权限信息和位置权限信息的对应关系表, 对应关系表可以如表 7所 示: Step 600: The access control device receives an authentication request sent by the employee through the ID card. Step 602: The access control device authenticates the ID card, and determines the operation permission information and the location permission information of the employee. In the embodiment of the present invention, the correspondence relationship table of the operation authority information and the location authority information corresponding to the employee information is pre-stored in the access control device, and the correspondence relationship table may be as shown in Table 7:

表 7  Table 7

Figure imgf000021_0001
Figure imgf000021_0001

门禁设备对 I D卡进行鉴权,根据 I D卡中携带的员工信息为该员工 分配操作权限信息和工位号。  The access control device authenticates the I D card, and assigns the operation authority information and the station number to the employee according to the employee information carried in the I D card.

需要说明的是, 门禁设备对 ID卡进行鉴权, 鉴权通过后还可以进 一步包括: 验证 ID卡的状态, 如果 ID卡的状态为非使用状态 (例如, 空闲) , 则为员工分配操作权限信息, 并将 ID卡的状态设置为忙碌; 如果 ID卡的态为使用状态(例如, 忙碌), 则门禁设备不为员工分配 操作权限信息, 并提示员工该 ID卡在使用中。  It should be noted that the access device authenticates the ID card, and after the authentication is passed, the method further includes: verifying the status of the ID card, and assigning the operation authority to the employee if the status of the ID card is not in use (for example, idle). Information, and set the status of the ID card to busy; if the state of the ID card is in the use state (for example, busy), the access control device does not assign the operation authority information to the employee, and prompts the employee that the ID card is in use.

通过上述对 ID卡的状态进行验证, 可以避免员工重复鉴权, 导致 门禁设备为一个员工分配多个操作权限信息。  By verifying the status of the ID card, the employee can be prevented from being repeatedly authenticated, and the access control device assigns multiple operation authority information to one employee.

步骤 604、 门禁设备向云管理设备发送请求消息, 请求消息中携 带员工的操作权限信息和工位号;  Step 604: The access control device sends a request message to the cloud management device, where the request message carries the operation authority information and the station number of the employee;

步骤 606、 云管理设备根据操作权限信息选择相应的虚拟机资源 池;  Step 606: The cloud management device selects a corresponding virtual machine resource pool according to the operation authority information.

其中,云管理设备中还可以预先储存操作权限与虚拟机资源池对 应关系表, 操作权限与虚拟机资源池对应关系表可以如表 8所示: - - The mapping between the operation authority and the virtual machine resource pool may be pre-stored in the cloud management device. The correspondence between the operation authority and the virtual machine resource pool may be as shown in Table 8: - -

Figure imgf000022_0001
Figure imgf000022_0001

步骤 608、云管理设备从虚拟机资源池中选择虚拟机分配给员工; 步骤 610、 云管理设备根据请求消息中携带的工位号, 将该工位 号指定的云终端的 MAC地址与云管理设备分配给用户的虚拟机的用户 名绑定;  Step 608: The cloud management device selects a virtual machine from the virtual machine resource pool and allocates it to the employee. Step 610: The cloud management device sends the MAC address of the cloud terminal and the cloud management specified by the station number according to the station number carried in the request message. User name binding of the virtual machine assigned to the user by the device;

步骤 612、 云管理设备向门禁设备^^响应消息, 所述响应消息 中携带登录信息,所述登录信息用于员工在设定的权限内登录虚拟机, 登录信息可以是虚拟机的用户名、 密码。  Step 612: The cloud management device sends a response message to the access control device, where the response message carries the login information, where the login information is used by the employee to log in to the virtual machine within the set authority, and the login information may be the username of the virtual machine. password.

步骤 614、 门禁设备将工位号和登录信息提供给员工;  Step 614: The access control device provides the workstation number and the login information to the employee;

步骤 616、 云管理设备接收员工通过云终端发送的登录请求; 具体的, 员工可以通过工位号找到工位号指定的云终端, 在该云 终端上输入虚拟机用户名和密码,云终端向云管理设备发送登录请求, 该登录请求携带用户输入的虚拟机用户名和密码以及该云终端的 MAC 地址。  Step 616: The cloud management device receives the login request sent by the employee through the cloud terminal. Specifically, the employee can find the cloud terminal specified by the workstation number by using the workstation number, and input the virtual machine username and password on the cloud terminal, and the cloud terminal sends the cloud terminal to the cloud. The management device sends a login request, and the login request carries the virtual machine username and password input by the user and the MAC address of the cloud terminal.

步骤 618、 云管理设备对登录请求进行鉴权, 若鉴权通过则为云 终端提供虚拟机连接。  Step 618: The cloud management device authenticates the login request, and if the authentication passes, provides a virtual machine connection for the cloud terminal.

在本发明实施例中, 云管理设备收到登录请求后, 对该登录请求 消息进行解析, 得到该登录请求中携带的云终端的 MAC地址和虚拟机 的用户名, 云管理设备将云终端的 MAC地址、 虚拟机的用户名与云管 理设备中储存的鉴权表比对, 如果云终端的 MAC地址和虚拟机的用户 名, 与云管理设备鉴权表中相应的云终端的 MAC地址和虚拟机的用户 - - 名一致, 则允许云终端与虚拟机建立连接; 如果不一致, 则不允许云 终端与虚拟机建立连接,并向云终端显示"请按照指定的工位就坐"。 In the embodiment of the present invention, after receiving the login request, the cloud management device parses the login request message, and obtains the MAC address of the cloud terminal and the username of the virtual machine carried in the login request, and the cloud management device sets the cloud terminal The MAC address, the username of the virtual machine are compared with the authentication table stored in the cloud management device, if the MAC address of the cloud terminal and the username of the virtual machine, and the MAC address of the corresponding cloud terminal in the cloud management device authentication table Virtual machine user - - The name is the same, the cloud terminal is allowed to establish a connection with the virtual machine; if it is inconsistent, the cloud terminal is not allowed to establish a connection with the virtual machine, and the cloud terminal is displayed "Please sit at the designated workstation".

本发明实施例还可以进一步包括: 虚拟机设置超时值, 虚拟机与 云终端建立连接后, 虚拟机在设置的超时值内, 若没有接收到任何操 作请求, 则云管理设备自动回收虚拟机, 避免虚拟机资源被闲置, 以 提高虚拟机资源的利用率。  The embodiment of the present invention may further include: setting a timeout value of the virtual machine, and after the virtual machine establishes a connection with the cloud terminal, if the virtual machine does not receive any operation request within the set timeout value, the cloud management device automatically recovers the virtual machine. Avoid virtual machine resources being idle to improve the utilization of virtual machine resources.

在本发明实施例中, 门禁设备确定用户访问虚拟机的操作权限和 位置权限后, 向云管理设备发送携带操作权限和工位号的请求消息, 云管理设备根据请求消息中携带的操作权限选择与用户操作权限相 应的虚拟机资源池, 从虚拟机资源池中选择虚拟机分配给用户, 并根 据工位号将该虚拟机的用户名和工位号对应的云终端的 MAC地址绑 定形成对应关系,通过对应关系对员工使用的云终端发送的登录请求 进行鉴权, 使用户在固定的工位使用于其权限信息相应的虚拟机, 实

Figure imgf000023_0001
In the embodiment of the present invention, the access control device determines the operation permission and the location permission of the user to access the virtual machine, and sends a request message carrying the operation authority and the station number to the cloud management device, and the cloud management device selects according to the operation authority carried in the request message. The virtual machine resource pool corresponding to the user operation authority is selected from the virtual machine resource pool, and the virtual machine is assigned to the user, and the user name of the virtual machine is associated with the MAC address of the cloud terminal corresponding to the station number according to the station number. Relationship, the login request sent by the cloud terminal used by the employee is authenticated by the corresponding relationship, so that the user uses the virtual machine corresponding to the authority information in the fixed station.
Figure imgf000023_0001

设备实施例一:  Equipment embodiment 1:

图 7为本发明实施例鉴权设备的结构示意图, 如图 7所示, 该鉴 权设备 70包括鉴权模块 701和发送模块 702。  FIG. 7 is a schematic structural diagram of an authentication device according to an embodiment of the present invention. As shown in FIG. 7, the authentication device 70 includes an authentication module 701 and a sending module 702.

鉴权模块 701用于接收用户发送的鉴权请求,获取所述用户访问 虚拟机的权限信息;  The authentication module 701 is configured to receive an authentication request sent by the user, and obtain the permission information of the user accessing the virtual machine.

发送模块 702与鉴权模块 701相连接,发送模块 702用于向云管 理设备发送请求消息,所述请求消息中携带所述用户访问虚拟机的权 设定所述用户访问虚拟机的权限。  The sending module 702 is connected to the authentication module 701, and the sending module 702 is configured to send a request message to the cloud management device, where the request message carries the right of the user to access the virtual machine to set the user's access to the virtual machine.

本发明实施例中,鉴权设备通过向云管理设备发送携带用户访问 - - 虚拟机权限信息的请求消息, 使得云管理设备根据携带的权限信息, 设置用户访问虚拟机的权限, 通过鉴权设备和云管理设备的交互, 实 现了对用户进行识别, 进而对用户使用虚拟机进行有效的管理。 In the embodiment of the present invention, the authentication device sends the user access by sending the cloud management device - The request message of the virtual machine authority information enables the cloud management device to set the user's access rights to the virtual machine according to the carried permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device, and then uses the user The virtual machine is effectively managed.

需要说明的是, 本发明实施例中, 所述权限信息包括位置权限信 息, 所述鉴权模块具体用于接收用户发送的鉴权请求, 获取所述用户 访问虚拟机的位置权限信息;所述发送模块具体用于向云管理设备发 送请求消息,所述请求消息中携带所述用户访问虚拟机的位置权限信 息, 使得所述云管理设备根据所述用户访问虚拟机的位置权限信息, 设定所述用户通过所述位置权限信息指定的云终端访问虚拟机。  It should be noted that, in the embodiment of the present invention, the rights information includes location rights information, where the authentication module is specifically configured to receive an authentication request sent by the user, and obtain location permission information of the user accessing the virtual machine; The sending module is specifically configured to send a request message to the cloud management device, where the request message carries location permission information of the user accessing the virtual machine, so that the cloud management device sets the location authority information of the virtual machine according to the location of the user accessing the virtual machine. The user accesses the virtual machine by using the cloud terminal specified by the location authority information.

所述权限信息包括操作权限信息,所述鉴权模块具体用于接收用 户发送的鉴权请求, 获取所述用户访问虚拟机的操作权限信息; 所述 发送模块具体用于向云管理设备发送请求消息,所述请求消息中携带 所述用户访问虚拟机的操作权限信息,使得所述云管理设备根据所述 用户访问虚拟机的操作权限信息,选择所述操作权限信息对应的虚拟 机资源池, 从所述虚拟机资源池中选择虚拟机分配给所述用户。  The authorization information includes operation authority information, and the authentication module is specifically configured to receive an authentication request sent by the user, and obtain operation permission information of the user accessing the virtual machine; the sending module is specifically configured to send a request to the cloud management device. a message, the request message carries the operation authority information of the user accessing the virtual machine, so that the cloud management device selects the virtual machine resource pool corresponding to the operation authority information according to the operation authority information of the user accessing the virtual machine, A virtual machine is selected from the virtual machine resource pool and allocated to the user.

此外, 权限信息包括操作权限信息的同时, 还可以包括位置权限 信息, 在权限信息包括操作权限信息还包括位置权限信息时, 所述鉴 权模块还用于接收携带位置权限信息的鉴权请求;所述发送模块还用 于向云管理设备发送携带位置权限信息的请求消息,使得所述云管理 设备根据所述位置权限信息获取所述位置权限信息指定的云终端的 In addition, the permission information includes the operation authority information, and may further include location permission information. When the rights information includes the operation authority information and the location authority information, the authentication module is further configured to receive an authentication request that carries the location authority information; The sending module is further configured to send, to the cloud management device, a request message that carries the location rights information, so that the cloud management device acquires the cloud terminal specified by the location rights information according to the location rights information.

MAC地址或 IP地址, 建立所述云终端的 MAC地址或 IP地址, 与分配 给所述用户的虚拟机的用户名和密码中的至少一个的对应关系,所述 对应关系用于对所述云终端发送的登录请求进行鉴权。 a MAC address or an IP address, a correspondence between a MAC address or an IP address of the cloud terminal, and at least one of a username and a password of a virtual machine allocated to the user, where the correspondence is used for the cloud terminal The login request sent is authenticated.

还需要说明的是,所述鉴权模块 701还用于接收所述云管理设备 返回的响应消息, 所述响应消息中携带登录信息, 所述登录信息用于 - - 所述用户在设定的权限内访问所述虚拟机。 It should be noted that the authentication module 701 is further configured to receive a response message returned by the cloud management device, where the response message carries login information, where the login information is used. - - The user accesses the virtual machine within the set rights.

设备实施例二:  Equipment Embodiment 2:

图 8为本发明实施例云管理设备的一个实施例的结构示意图,如 图 8所示, 该云管理设备 80可以包括接收模块 801和权限设定模块 802。  FIG. 8 is a schematic structural diagram of an embodiment of a cloud management device according to an embodiment of the present invention. As shown in FIG. 8, the cloud management device 80 may include a receiving module 801 and a rights setting module 802.

接收模块 801 用于接收鉴权设备发送的请求消息, 所述请求消 息中携带用户访问虚拟机的权限信息, 所述用户访问虚拟机的权限 信息是所述鉴权设备根据所述用户发送的鉴权请求获取的;  The receiving module 801 is configured to receive a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, and the permission information of the user accessing the virtual machine is the authentication sent by the authentication device according to the user. Claim for access;

权限设定模块 802与接收模块 801相连接, 权限设定模块 802 用于根据所述用户访问虚拟机的权限信息, 设定所述用户访问虚拟 本发明实施例中,云管理设备通过接收鉴权设备发送的携带用户 访问虚拟机权限信息的请求消息, 云管理设备根据该权限信息, 设置 用户访问虚拟机的权限, 通过鉴权设备和云管理设备的交互, 实现了 对用户进行识别, 进而对用户使用虚拟机进行有效的管理。  The privilege setting module 802 is connected to the receiving module 801, and the privilege setting module 802 is configured to set the user to access the virtual according to the privilege information of the user accessing the virtual machine. In the embodiment of the present invention, the cloud management device receives the authentication. The request message carrying the user accessing the virtual machine permission information sent by the device, the cloud management device sets the permission of the user to access the virtual machine according to the permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device, and further Users use virtual machines for effective management.

需要说明的是, 本发明实施例中, 所述权限信息包括位置权限信 息,所述权限设定模块 802具体用于根据所述用户访问虚拟机的位置 权限信息,设定所述用户通过所述位置权限信息指定的云终端访问虚 所述权限信息包括操作权限信息,所述权限设定模块 802具体用 于根据所述用户访问虚拟机的操作权限信息,选择所述操作权限信息 对应的虚拟机资源池,从所述虚拟机资源池中选择虚拟机分配给所述 用户 ,使得所述用户在设定的权限内访问虚拟机。  It should be noted that, in the embodiment of the present invention, the rights information includes location rights information, and the rights setting module 802 is specifically configured to: according to the location rights information of the user accessing the virtual machine, set the user to pass the The cloud terminal accessing the virtual authority information specified by the location authority information includes the operation authority information, and the authority setting module 802 is specifically configured to select the virtual machine corresponding to the operation authority information according to the operation authority information of the user accessing the virtual machine. A resource pool is selected from the virtual machine resource pool and allocated to the user, so that the user accesses the virtual machine within the set authority.

所述权限信息包括操作权限信息还包括位置权限信息时,所述权 限设定模块具体用于根据所述位置权限信息获取所述位置权限信息 — ~ 指定的云终端的 MAC地址或 IP地址, 建立所述云终端的 MAC地址或 IP地址,与分配给所述用户的虚拟机的用户名和密码中的至少一个的 对应关系,所述对应关系用于对所述云终端发送的登录请求进行鉴权。 When the rights information includes the operation rights information and the location rights information, the rights setting module is specifically configured to acquire the location rights information according to the location rights information. - the MAC address or IP address of the specified cloud terminal, the correspondence between the MAC address or IP address of the cloud terminal and at least one of the user name and password of the virtual machine assigned to the user, the corresponding relationship And configured to authenticate a login request sent by the cloud terminal.

还需要说明的是, 在本发明实施例中, 接收模块 801还用于向所 述鉴权设备返回响应消息, 所述响应消息中携带登录信息, 所述登录 此外, 鉴权设备可以包括门禁设备或考勤设备。  It should be noted that, in the embodiment of the present invention, the receiving module 801 is further configured to: return a response message to the authentication device, where the response message carries login information, where the login device may include an access control device. Or attendance equipment.

设备实施例三:  Equipment Embodiment 3:

图 9为本发明实施例云管理设备的另一个实施例的结构示意图, 如图 9所示, 权限设定模块 802可以包括第一设定单元 8021和第二 设定单元 8022。  FIG. 9 is a schematic structural diagram of another embodiment of a cloud management device according to an embodiment of the present invention. As shown in FIG. 9, the rights setting module 802 may include a first setting unit 8021 and a second setting unit 8022.

第一设定单元 8021用于根据所述用户访问虚拟机的位置权限信 息, 获取所述位置权限信息指定的云终端的 MAC地址或 IP地址;  The first setting unit 8021 is configured to obtain, according to the location permission information of the user accessing the virtual machine, a MAC address or an IP address of the cloud terminal specified by the location authority information;

第二设定单元 8022用于建立所述云终端的 MAC地址或 IP地址, 与虚拟机的用户名和密码中的至少一个的对应关系,所述对应关系用 于对所述云终端发送的登录请求进行鉴权,使得所述用户在设定的权 限内访问所述虚拟机。  The second setting unit 8022 is configured to establish a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used for a login request sent by the cloud terminal. Authentication is performed such that the user accesses the virtual machine within the set rights.

在本发明实施例中,通过建立所述云终端的 MAC地址或 IP地址, 与虚拟机的用户名和密码中的至少一个的对应关系,用该对应关系对 云终端发送的登录请求进行鉴权,使得用户在固定的位置访问虚拟机, 对用户使用虚拟机进行有效的管理。  In the embodiment of the present invention, by establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, the login request sent by the cloud terminal is authenticated by using the corresponding relationship. Enables users to access virtual machines in a fixed location and effectively manage users using virtual machines.

下面对本发明的系统实施例进行说明。  The system embodiment of the present invention will now be described.

系统实施例一:  System embodiment one:

图 10为本发明实施例设定用户访问虚拟机权限的系统的一个实 施例的结构示意图, 如图 10所示, 所述访问虚拟机的系统可以包括 — ~ 鉴权设备 70和云管理设备 80。 FIG. 10 is a schematic structural diagram of an embodiment of a system for setting a user to access a virtual machine according to an embodiment of the present invention. As shown in FIG. 10, the system for accessing a virtual machine may include — ~ Authentication device 70 and cloud management device 80.

所述鉴权设备 70用于接收用户发送的鉴权请求, 获取所述用户 访问虚拟机的权限信息, 以及向云管理设备 80发送请求消息, 所述 请求消息中携带所述用户访问虚拟机的权限信息;  The authentication device 70 is configured to receive an authentication request sent by the user, obtain the permission information of the user to access the virtual machine, and send a request message to the cloud management device 80, where the request message carries the user accessing the virtual machine. Permission information

所述云管理设备 80用于接收所述请求消息, 根据所述请求消息 中携带的用户访问虚拟机的权限信息,设定所述用户访问虚拟机的权 本发明实施例中,鉴权设备通过向云管理设备发送携带用户访问 虚拟机权限信息的请求消息, 云管理设备根据携带的权限信息, 设置 用户访问虚拟机的权限, 通过鉴权设备和云管理设备的交互, 实现了 对用户进行识别, 进而对用户使用虚拟机进行有效的管理。  The cloud management device 80 is configured to receive the request message, and set the right of the user to access the virtual machine according to the permission information of the user accessing the virtual machine carried in the request message. In the embodiment of the present invention, the authentication device passes the Sending a request message carrying the user access rights information of the virtual machine to the cloud management device, the cloud management device sets the permission of the user to access the virtual machine according to the carried permission information, and realizes the identification of the user through the interaction between the authentication device and the cloud management device. , in turn, effectively manage users using virtual machines.

需要说明的是, 本发明实施例中, 所述鉴权设备 70可以是门禁 设备或考勤设备。  It should be noted that, in the embodiment of the present invention, the authentication device 70 may be an access control device or an attendance device.

系统实施例二:  System Embodiment 2:

图 11本发明实施例设定用户访问虚拟机权限的系统的另一个实 施例的结构示意图, 如图 11所示, 所述访问虚拟机的系统还包括云 终端 90 , 所述云终端 90与云管理设备 80相连接, 所述云终端 90用 于所述用户在设定的权限内使用所述虚拟机。  FIG. 11 is a schematic structural diagram of another embodiment of a system for setting a user to access a virtual machine according to an embodiment of the present invention. As shown in FIG. 11, the system for accessing a virtual machine further includes a cloud terminal 90, and the cloud terminal 90 and the cloud The management device 80 is connected, and the cloud terminal 90 is used by the user to use the virtual machine within the set authority.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描 述的各示例的模块、 单元及步骤, 能够以电子硬件、 计算机软件或者 二者的结合来实现, 为了清楚地说明硬件和软件的可互换性, 在上述 说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能 究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计 约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实 现所描述的功能, 但是这种实现不应认为超出本发明的范围。 — — 所属领域的技术人员可以清楚地了解到,为了描述的方便和筒洁, 上述描述的系统、 设备、 模块和单元的具体工作过程, 可以参考前述 方法实施例中的对应过程, 在此不再赘述。 Those skilled in the art will appreciate that the modules, units and steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention. A person skilled in the art can clearly understand that for the convenience and cleanness of the description, the specific working processes of the systems, devices, modules and units described above can be referred to the corresponding processes in the foregoing method embodiments, and Let me repeat.

在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 设备和方法, 可以通过其它的方式实现。 例如, 以上所描述的设备实 施例仅仅是示意性的, 例如, 所述模块或单元的划分, 仅仅为一种逻 辑功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或模 块可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或不 执行。 另外, 所显示或讨论的相互之心的耦合或直接耦合或通信连接 可以是通过一些接口、 设备、 模块或单元的心接耦合或通信连接, 也 可以是电的, 机械的或其它的形式连接。  In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or modules may be used. Combined or can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be a core-coupled or communicative connection through some interface, device, module or unit, or may be an electrical, mechanical or other form of connection. .

所述作为分离部件说明的模块或单元可以是或者也可以不是物 理上分开的,作为模块或单元显示的部件可以是或者也可以不是物理 模块或单元, 即可以位于一个地方, 或者也可以分布到多个网络模块 或单元上。可以根据实际的需要选择其中的部分或者全部模块或单元 来实现本发明实施例方案的目的。  The modules or units described as separate components may or may not be physically separated, and the components displayed as modules or units may or may not be physical modules or units, that is, may be located in one place, or may be distributed to On multiple network modules or units. Some or all of the modules or units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.

另外,在本发明各个实施例中的各功能模块或单元可以集成在一 个处理模块或单元中, 也可以是各个模块或单元单独物理存在, 也可 以是两个或两个以上模块或单元集成在一个模块或单元中。上述集成 的模块或单元既可以采用硬件的形式实现,也可以采用软件功能单元 的形式实现。  In addition, each functional module or unit in each embodiment of the present invention may be integrated into one processing module or unit, or each module or unit may exist physically separately, or two or more modules or units may be integrated in In a module or unit. The above integrated modules or units can be implemented either in the form of hardware or in the form of software functional units.

所述集成的模块或单元如果以软件功能模块或单元的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储 介质中。基于这样的理解, 本发明的技术方案本质上或者说对现有技 术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的 — — 形式体现出来, 该计算机软件产品存储在一个存储介质中, 包括若干 指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网 络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前 述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-On ly Memory ), 随机存取存储器 ( RAM , Random Acces s Memory ), 磁碟或 者光盘等各种可以存储程序代码的介质。 The integrated modules or units, if implemented in the form of software functional modules or units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essential or the part contributing to the prior art, or all or part of the technical solution may be a software product. Formally embodied, the computer software product is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention. All or part of the steps. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, Random Acces s Memory), a magnetic disk or an optical disk, and the like, which can store program codes. Medium.

以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并 不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范 围内, 可轻易想到各种等效的修改或替换, 这些修改或替换都应涵盖 在本发明的保护范围之内。 因此, 本发明的保护范围应以权利要求的 保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权 利 要 求 书 Claim 1、 一种设定用户访问虛拟机权限的方法, 其特征在于, 包括: 鉴权设备接收用户发送的鉴权请求,获取所述用户访问虚拟机的 权限信息;  A method for setting a user permission to access a virtual machine, the method comprising: the authentication device receiving an authentication request sent by a user, and acquiring the permission information of the user accessing the virtual machine; 所述鉴权设备向云管理设备发送请求消息,所述请求消息中携带 所述用户访问虚拟机的权限信息,使得所述云管理设备根据所述用户 访问虚拟机的权限信息, 设定所述用户访问虚拟机的权限。  The authentication device sends a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the content according to the permission information of the user accessing the virtual machine. User access to the virtual machine. 2、 根据权利要求 1所述的方法, 其特征在于, 所述权限信息包 括位置权限信息, 所述设定所述用户访问虚拟机的权限包括:  The method according to claim 1, wherein the rights information includes location rights information, and the setting the rights of the user to access the virtual machine includes: 设定所述用户通过所述位置权限信息指定的云终端访问虚拟机。  And setting the cloud terminal accessed by the user through the location permission information to access the virtual machine. 3、 根据权利要求 2所述的方法, 其特征在于, 所述设定所述用 户通过所述位置权限信息指定的云终端访问虚拟机包括:  The method of claim 2, wherein the setting the cloud terminal to be accessed by the cloud terminal specified by the user includes: 获取所述位置权限信息指定的云终端的 MAC地址或 IP地址; 建立所述云终端的 MAC地址或 IP地址,与虚拟机的用户名和密码 中的至少一个的对应关系,所述对应关系用于对所述云终端发送的登 录请求进行鉴权。  Obtaining a MAC address or an IP address of the cloud terminal specified by the location authority information; establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used for The login request sent by the cloud terminal is authenticated. 4、 根据权利要求 1所述的方法, 其特征在于, 所述权限信息包 括操作权限信息, 所述设定所述用户访问虚拟机的权限包括:  The method according to claim 1, wherein the rights information includes operation authority information, and the setting the rights of the user to access the virtual machine includes: 选择所述操作权限信息对应的虚拟机资源池;  Select a virtual machine resource pool corresponding to the operation authority information; 从所述虚拟机资源池中选择虚拟机分配给所述用户。  A virtual machine is selected from the virtual machine resource pool and allocated to the user. 5、 根据权利要求 4所述的方法, 其特征在于, 所述权限信息还 包括位置权限信息, 所述方法进一步包括:  The method according to claim 4, wherein the rights information further includes location rights information, the method further comprising: 根据所述位置权限信息获取所述位置权限信息指定的云终端的 MAC地址或 IP地址;  Obtaining, according to the location authority information, a MAC address or an IP address of the cloud terminal specified by the location authority information; 建立所述云终端的 MAC地址或 IP地址,与分配给所述用户的虚拟 机的用户名和密码中的至少一个的对应关系,所述对应关系用于对所 述云终端发送的登录请求进行鉴权。 Establishing a MAC address or an IP address of the cloud terminal, and a virtual number assigned to the user Corresponding relationship between at least one of a user name and a password of the machine, the correspondence being used for authenticating a login request sent by the cloud terminal. 6、 根据权利要求 3或 5所述的方法, 其特征在于, 所述方法进 一步包括:  6. The method of claim 3 or 5, wherein the method further comprises: 所述云管理设备接收所述云终端发送的登录请求,所述登录请求 中携带所述云终端的 MAC地址或 IP地址,与虚拟机的用户名和密码中 的至少一个的对应关系;  Receiving, by the cloud management device, a login request sent by the cloud terminal, where the login request carries a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine; 所述云管理设备确定所述云终端携带的对应关系与建立的对应 关系是否一致;  Determining, by the cloud management device, whether the correspondence relationship carried by the cloud terminal is consistent with the established correspondence relationship; 若一致, 则所述云管理设备为所述云终端建立虚拟机连接。  If they are consistent, the cloud management device establishes a virtual machine connection for the cloud terminal. 7、 根据权利要求 1至 6任一所述的方法, 其特征在于, 所述方 法进一步包括:  The method according to any one of claims 1 to 6, wherein the method further comprises: 所述鉴权设备接收所述云管理设备返回的响应消息,所述响应消 息中携带登录信息,所述登录信息用于所述用户在设定的权限内访问 所述虚拟机。  The authentication device receives a response message returned by the cloud management device, where the response message carries login information, and the login information is used by the user to access the virtual machine within the set authority. 8、 根据权利要求 1至 7任一所述的方法, 其特征在于, 所述鉴 权设备包括: 门禁设备或考勤设备。  The method according to any one of claims 1 to 7, wherein the authentication device comprises: an access device or an attendance device. 9、 一种设定用户访问虚拟机权限的方法, 其特征在于, 包括: 云管理设备接收鉴权设备发送的请求消息, 所述请求消息中携 带用户访问虚拟机的权限信息, 所述用户访问虚拟机的权限信息是 所述鉴权设备根据所述用户发送的鉴权请求获取的; 用户访问虚拟机的权限, 使得所述用户在设定的权限内访问虚拟机。  A method for setting a user permission to access a virtual machine, the method comprising: the cloud management device receiving a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, where the user accesses The permission information of the virtual machine is obtained by the authentication device according to the authentication request sent by the user; the user accesses the virtual machine, so that the user accesses the virtual machine within the set authority. 10、 根据权利要求 9所述的方法, 其特征在于, 所述权限信息包 括位置权限信息, 所述设定所述用户访问虚拟机的权限包括: 设定所述用户通过所述位置权限信息指定的云终端访问虚拟机。The method according to claim 9, wherein the rights information includes location rights information, and the setting the rights of the user to access the virtual machine includes: And setting the cloud terminal accessed by the user through the location permission information to access the virtual machine. 11、 根据权利要求 10所述的方法, 其特征在于, 所述设定所述 用户通过所述位置权限信息指定的云终端访问虚拟机包括: The method of claim 10, wherein the setting the user to access the virtual machine by the cloud terminal specified by the location authority information comprises: 获取所述位置权限信息指定的云终端的 MAC地址或 IP地址; 建立所述云终端的 MAC地址或 IP地址, 与虚拟机的用户名和密 码中的至少一个的对应关系,所述对应关系用于对所述云终端发送的 登录请求进行鉴权。  Obtaining a MAC address or an IP address of the cloud terminal specified by the location permission information; establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used for The login request sent by the cloud terminal is authenticated. 12、 根据权利要求 9所述的方法, 其特征在于, 所述权限信息包 括操作权限信息, 所述设定所述用户访问虚拟机的权限包括:  The method according to claim 9, wherein the rights information includes operation authority information, and the setting the rights of the user to access the virtual machine includes: 选择所述操作权限信息对应的虚拟机资源池;  Select a virtual machine resource pool corresponding to the operation authority information; 从所述虚拟机资源池中选择虚拟机分配给所述用户。  A virtual machine is selected from the virtual machine resource pool and allocated to the user. 13、 根据权利要求 12所述的方法, 其特征在于, 所述权限信息 还包括位置权限信息, 所述方法进一步包括:  The method according to claim 12, wherein the rights information further includes location rights information, the method further comprising: 根据所述位置权限信息获取所述位置权限信息指定的云终端的 MAC地址或 IP地址;  Obtaining, according to the location authority information, a MAC address or an IP address of the cloud terminal specified by the location authority information; 建立所述云终端的 MAC地址或 IP地址, 与分配给所述用户的虚 拟机的用户名和密码中的至少一个的对应关系,所述对应关系用于对 所述云终端发送的登录请求进行鉴权。  Establishing a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a user name and a password of the virtual machine allocated to the user, where the correspondence is used to check a login request sent by the cloud terminal right. 14、 根据权利要求 11或 13所述的方法, 其特征在于, 所述方法 进一步包括:  The method according to claim 11 or 13, wherein the method further comprises: 所述云管理设备接收所述云终端发送的登录请求,所述登录请求 中携带所述云终端的 MAC地址或 IP地址, 与虚拟机的用户名和密码 中的至少一个的对应关系;  Receiving, by the cloud management device, a login request sent by the cloud terminal, where the login request carries a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine; 所述云管理设备确定所述云终端携带的对应关系与建立的对应 关系是否一致; 若一致, 则所述云管理设备为所述云终端建立虚拟机连接。Determining, by the cloud management device, whether the correspondence between the cloud terminal and the established correspondence is consistent; If they are consistent, the cloud management device establishes a virtual machine connection for the cloud terminal. 15、 根据权利要求 9至 14任一所述的方法, 其特征在于, 所述 方法进一步包括: The method according to any one of claims 9 to 14, wherein the method further comprises: 所述云管理设备向所述鉴权设备返回响应消息 ,所述响应消息中 携带登录信息,所述登录信息用于所述用户在设定的权限内访问所述 虚拟机。  The cloud management device returns a response message to the authentication device, where the response message carries login information, and the login information is used by the user to access the virtual machine within the set authority. 16、 根据权利要求 9至 15任一所述的方法, 其特征在于, 所述 鉴权设备包括: 门禁设备或考勤设备。  The method according to any one of claims 9 to 15, wherein the authentication device comprises: an access device or an attendance device. 17、 一种鉴权设备, 其特征在于, 包括:  17. An authentication device, comprising: 鉴权模块, 用于接收用户发送的鉴权请求, 获取所述用户访问虚 拟机的权限信息;  An authentication module, configured to receive an authentication request sent by a user, and obtain permission information of the user accessing the virtual machine; 发送模块, 用于向云管理设备发送请求消息, 所述请求消息中携 带所述用户访问虚拟机的权限信息,使得所述云管理设备根据所述用 户访问虚拟机的权限信息, 设定所述用户访问虚拟机的权限。  a sending module, configured to send a request message to the cloud management device, where the request message carries the permission information of the user accessing the virtual machine, so that the cloud management device sets the content according to the permission information of the user accessing the virtual machine. User access to the virtual machine. 18、 根据权利要求 17所述的鉴权设备, 其特征在于, 所述权限 信息包括位置权限信息,所述鉴权模块具体用于接收用户发送的鉴权 请求, 获取所述用户访问虚拟机的位置权限信息; 所述发送模块具体 用于向云管理设备发送请求消息,所述请求消息中携带所述用户访问 虚拟机的位置权限信息,使得所述云管理设备根据所述用户访问虚拟 机的位置权限信息,设定所述用户通过所述位置权限信息指定的云终 端访问虚拟机。  The authentication device according to claim 17, wherein the rights information includes location rights information, and the authentication module is specifically configured to receive an authentication request sent by the user, and obtain the user accessing the virtual machine. Location permission information; the sending module is specifically configured to send a request message to the cloud management device, where the request message carries location permission information of the user accessing the virtual machine, so that the cloud management device accesses the virtual machine according to the user The location authority information is configured to access the virtual machine by the cloud terminal specified by the user through the location permission information. 19、 根据权利要求 17所述的鉴权设备, 其特征在于, 所述权限 信息包括操作权限信息,所述鉴权模块具体用于接收用户发送的鉴权 请求, 获取所述用户访问虚拟机的操作权限信息; 所述发送模块具体 用于向云管理设备发送请求消息,所述请求消息中携带所述用户访问 虚拟机的操作权限信息 ,使得所述云管理设备根据所述用户访问虚拟 机的操作权限信息, 选择所述操作权限信息对应的虚拟机资源池, 从 所述虚拟机资源池中选择虚拟机分配给所述用户。 The authentication device according to claim 17, wherein the rights information includes operation authority information, and the authentication module is specifically configured to receive an authentication request sent by the user, and obtain the user accessing the virtual machine. The operation permission information is sent to the cloud management device, where the request message carries the user access The operation authority information of the virtual machine is such that the cloud management device selects a virtual machine resource pool corresponding to the operation authority information according to the operation authority information of the user accessing the virtual machine, and selects a virtual machine allocation from the virtual machine resource pool. To the user. 20、 根据权利要求 19所述的鉴权设备, 其特征在于, 所述权限 信息还包括位置权限信息,所述鉴权模块还用于接收携带位置权限信 息的鉴权请求;所述发送模块还用于向云管理设备发送携带位置权限 信息的请求消息,使得所述云管理设备根据所述位置权限信息获取所 述位置权限信息指定的云终端的 MAC地址或 IP地址, 建立所述云终 端的 MAC地址或 IP地址, 与分配给所述用户的虚拟机的用户名和密 码中的至少一个的对应关系,所述对应关系用于对所述云终端发送的 登录请求进行鉴权。  The authentication device according to claim 19, wherein the rights information further includes location rights information, and the authentication module is further configured to receive an authentication request that carries the location rights information; the sending module further And sending, by the cloud management device, a request message that carries the location permission information, so that the cloud management device acquires a MAC address or an IP address of the cloud terminal specified by the location permission information according to the location authority information, and establishes the cloud terminal. A correspondence between a MAC address or an IP address and at least one of a username and a password of a virtual machine allocated to the user, the correspondence being used to authenticate a login request sent by the cloud terminal. 21、 根据权利要求 17至 20任一所述的鉴权设备, 其特征在于, 所述鉴权模块还用于接收所述云管理设备返回的响应消息,所述响应 消息中携带登录信息,所述登录信息用于所述用户在设定的权限内访 问所述虚拟机。  The authentication device according to any one of claims 17 to 20, wherein the authentication module is further configured to receive a response message returned by the cloud management device, where the response message carries login information, where The login information is used by the user to access the virtual machine within the set permissions. 22、 一种云管理设备, 其特征在于, 包括:  22. A cloud management device, comprising: 接收模块, 用于接收鉴权设备发送的请求消息, 所述请求消息 中携带用户访问虚拟机的权限信息, 所述用户访问虚拟机的权限信 息是所述鉴权设备根据所述用户发送的鉴权请求获取的;  a receiving module, configured to receive a request message sent by the authentication device, where the request message carries the permission information of the user accessing the virtual machine, and the permission information of the user accessing the virtual machine is the authentication sent by the authentication device according to the user Claim for access; 权限设定模块, 用于根据所述用户访问虚拟机的权限信息, 设 定所述用户访问虚拟机的权限, 使得所述用户在设定的权限内访问 所述虚拟机。  The permission setting module is configured to set the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine, so that the user accesses the virtual machine within the set authority. 23、 根据权利要求 22所述的云管理设备, 其特征在于, 所述权 限信息包括位置权限信息,所述权限设定模块具体用于根据所述用户 访问虚拟机的位置权限信息,设定所述用户通过所述位置权限信息指 定的云终端访问虚拟机,使得所述用户在设定的权限内访问所述虚拟 机。 The cloud management device according to claim 22, wherein the rights information includes location rights information, and the rights setting module is specifically configured to set the location according to location permission information of the user accessing the virtual machine. The user refers to the location permission information The fixed cloud terminal accesses the virtual machine, so that the user accesses the virtual machine within the set authority. 24、 根据权利要求 23所述的云管理设备, 其特征在于, 所述权 限设定模块包括:  The cloud management device according to claim 23, wherein the permission setting module comprises: 第一设定单元, 用于根据所述用户访问虚拟机的位置权限信息, 获取所述位置权限信息指定的云终端的 MAC地址或 IP地址;  a first setting unit, configured to acquire, according to location permission information of the user accessing the virtual machine, a MAC address or an IP address of the cloud terminal specified by the location authority information; 第二设定单元, 用于建立所述云终端的 MAC地址或 IP地址, 与 虚拟机的用户名和密码中的至少一个的对应关系,所述对应关系用于 对所述云终端发送的登录请求进行鉴权,使得所述用户在设定的权限 内访问所述虚拟机。  a second setting unit, configured to establish a correspondence between a MAC address or an IP address of the cloud terminal and at least one of a username and a password of the virtual machine, where the correspondence is used for a login request sent by the cloud terminal Authentication is performed such that the user accesses the virtual machine within the set rights. 25、 根据权利要求 22所述的云管理设备, 其特征在于, 所述权 限信息包括操作权限信息,所述权限设定模块具体用于根据所述用户 访问虚拟机的操作权限信息,选择所述操作权限信息对应的虚拟机资 源池,从所述虚拟机资源池中选择虚拟机分配给所述用户,使得所述 用户在设定的权限内访问虚拟机。  The cloud management device according to claim 22, wherein the rights information includes operation authority information, and the rights setting module is specifically configured to select the operation authority information according to the user accessing the virtual machine. The virtual machine resource pool corresponding to the operation authority information is selected from the virtual machine resource pool, and the virtual machine is allocated to the user, so that the user accesses the virtual machine within the set authority. 26、 根据权利要求 25所述的云管理设备, 其特征在于, 所述权 限信息还包括位置权限信息,所述权限设定模块具体用于根据所述位 置权限信息获取所述位置权限信息指定的云终端的 MAC地址或 IP地 址,建立所述云终端的 MAC地址或 IP地址,与分配给所述用户的虚拟 机的用户名和密码中的至少一个的对应关系,所述对应关系用于对所 述云终端发送的登录请求进行鉴权。  The cloud management device according to claim 25, wherein the rights information further includes location rights information, and the rights setting module is configured to acquire the location rights information specified according to the location rights information. a MAC address or an IP address of the cloud terminal, establishing a correspondence between a MAC address or an IP address of the cloud terminal, and at least one of a username and a password of the virtual machine allocated to the user, where the correspondence is used for The login request sent by the cloud terminal is authenticated. 27、根据权利要求 11至 26任一所述的云管理设备,其特征在于, 所述接收模块还用于向所述鉴权设备返回响应消息,所述响应消息中 携带登录信息,所述登录信息用于所述用户在设定的权限内访问所述 虚拟机。 The cloud management device according to any one of claims 11 to 26, wherein the receiving module is further configured to return a response message to the authentication device, where the response message carries login information, and the login The information is used by the user to access the virtual machine within the set permissions. 28、根据权利要求 11至 27任一所述的云管理设备,其特征在于, 所述鉴权设备包括: 门禁设备或考勤设备。 The cloud management device according to any one of claims 11 to 27, wherein the authentication device comprises: an access device or an attendance device. 29、 一种设定用户访问虚拟机权限的系统, 其特征在于, 所述系 统包括鉴权设备和云管理设备;  29. A system for setting a user access to a virtual machine, wherein the system comprises an authentication device and a cloud management device; 所述鉴权设备, 用于接收用户发送的鉴权请求, 获取所述用户访 问虚拟机的权限信息, 以及向云管理设备发送请求消息, 所述请求消 息中携带所述用户访问虚拟机的权限信息;  The authentication device is configured to receive an authentication request sent by the user, obtain the permission information of the user accessing the virtual machine, and send a request message to the cloud management device, where the request message carries the permission of the user to access the virtual machine Information 所述云管理设备, 用于接收所述请求消息, 根据所述请求消息中 携带的用户访问虚拟机的权限信息,设定所述用户访问虚拟机的权限,  The cloud management device is configured to receive the request message, and set the permission of the user to access the virtual machine according to the permission information of the user accessing the virtual machine carried in the request message, 30、 根据权利要求 29所述的系统, 其特征在于, 所述系统进一 拟机。 30. The system of claim 29, wherein the system is in a computer. 31、 根据权利要求 29或 30所述的系统, 其特征在于, 所述鉴权 设备包括: 门禁设备或考勤设备。  The system according to claim 29 or 30, wherein the authentication device comprises: an access device or an attendance device.
PCT/CN2011/084368 2011-12-21 2011-12-21 Method, device, and system for setting user's right to access virtual machine Ceased WO2013091196A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/084368 WO2013091196A1 (en) 2011-12-21 2011-12-21 Method, device, and system for setting user's right to access virtual machine
CN2011800030251A CN102577315A (en) 2011-12-21 2011-12-21 Method, device and system for setting user access authority to virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/084368 WO2013091196A1 (en) 2011-12-21 2011-12-21 Method, device, and system for setting user's right to access virtual machine

Publications (1)

Publication Number Publication Date
WO2013091196A1 true WO2013091196A1 (en) 2013-06-27

Family

ID=46417503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084368 Ceased WO2013091196A1 (en) 2011-12-21 2011-12-21 Method, device, and system for setting user's right to access virtual machine

Country Status (2)

Country Link
CN (1) CN102577315A (en)
WO (1) WO2013091196A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259663A (en) * 2013-05-07 2013-08-21 南京邮电大学 User unified authentication method in cloud computing environment
CN103945330A (en) * 2014-05-12 2014-07-23 重庆邮电大学 Virtual private cloud platform and virtual private cloud secure access method and system
CN104702566A (en) * 2013-12-06 2015-06-10 苏州海博智能系统有限公司 Use authorization method and use authorization device for virtual equipment
CN105072138A (en) * 2015-01-16 2015-11-18 北京科技大学 Cloud system safe access method, device and system
CN105391802A (en) * 2015-12-11 2016-03-09 国云科技股份有限公司 Virtual machine use authorization method
CN107294959A (en) * 2017-06-06 2017-10-24 国家电网公司 The method of inside and outside Network Communication, apparatus and system
US9940149B2 (en) 2014-11-18 2018-04-10 American Megatrends, Inc. System and method for automatically launching virtual machines based on attendance
US12292984B2 (en) * 2023-04-17 2025-05-06 Dell Products L.P. User authentication and authorization for containers

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769631B (en) * 2012-07-31 2015-09-09 华为技术有限公司 Access the method for Cloud Server, system and access device
CN103595745A (en) * 2012-08-16 2014-02-19 鸿富锦精密工业(武汉)有限公司 Electronic device based on cloud calculating service and method thereof
WO2014075231A1 (en) * 2012-11-14 2014-05-22 华为技术有限公司 Dual-factor authentication method and virtual machine device
CN103997482B (en) * 2013-02-19 2018-01-23 华为技术有限公司 Method, the system of user's login in desktop cloud business
CN104424431B (en) * 2013-08-30 2019-01-11 腾讯科技(深圳)有限公司 A kind of method and device resetting virtual machine user modification logging
CN104901923B (en) 2014-03-04 2018-12-25 新华三技术有限公司 A kind of virtual machine access mechanism and method
CN104202419A (en) * 2014-09-18 2014-12-10 温武少 Method for dynamic allocation of virtual machines for cloud computing system
CN104320389B (en) * 2014-10-11 2018-04-27 南京邮电大学 A kind of fusion identity protection system and method based on cloud computing
CN105493090A (en) * 2015-01-27 2016-04-13 深圳市大疆创新科技有限公司 File processing method and device
CN104951692A (en) * 2015-05-04 2015-09-30 联想(北京)有限公司 Information processing method and first electronic equipment
CN107291432A (en) * 2016-04-01 2017-10-24 中兴通讯股份有限公司 Cloud desktop management-control method, device and cloud desktop access method, device
CN107493220B (en) * 2016-06-13 2020-10-30 深信服科技股份有限公司 Boundary network all-in-one machine for server virtualization and service virtualization method
CN107959654B (en) * 2016-10-14 2020-09-25 北京金山云网络技术有限公司 A data transmission method, device and hybrid cloud system
CN106815060A (en) * 2017-01-19 2017-06-09 携程旅游网络技术(上海)有限公司 Virtual machine distribution method and system
CN108710528B (en) * 2018-05-09 2023-02-28 深圳安布斯网络科技有限公司 Desktop cloud virtual machine access and control method, device, equipment and storage medium
CN109726994A (en) * 2019-01-02 2019-05-07 甘肃紫光智能交通与控制技术有限公司 ETC card Internet-based signs mobile distributing method and mobile terminal
CN111291429B (en) * 2020-01-21 2023-04-25 李岗 A data protection method and system
CN112187824B (en) * 2020-10-13 2022-11-22 北京计算机技术及应用研究所 SDN-based virtual network access method and device and SDN controller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532718A (en) * 2003-03-24 2004-09-29 北京北佳信息系统有限公司 Method and device for setting information access autority in computer network
CN101339589A (en) * 2008-08-14 2009-01-07 普华优科(北京)科技有限公司 Method for implementing information safety by dummy machine technology
US20090307761A1 (en) * 2007-03-08 2009-12-10 Fujitsu Limited Access authority setting method and apparatus
CN102035849A (en) * 2010-12-23 2011-04-27 华为技术有限公司 Method, equipment and system for realizing resource management in cloud computing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8667269B2 (en) * 2010-04-02 2014-03-04 Suridx, Inc. Efficient, secure, cloud-based identity services
CN102143149A (en) * 2010-12-10 2011-08-03 华为技术有限公司 Method and system for mini-station to access cloud, and access management equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1532718A (en) * 2003-03-24 2004-09-29 北京北佳信息系统有限公司 Method and device for setting information access autority in computer network
US20090307761A1 (en) * 2007-03-08 2009-12-10 Fujitsu Limited Access authority setting method and apparatus
CN101339589A (en) * 2008-08-14 2009-01-07 普华优科(北京)科技有限公司 Method for implementing information safety by dummy machine technology
CN102035849A (en) * 2010-12-23 2011-04-27 华为技术有限公司 Method, equipment and system for realizing resource management in cloud computing

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259663A (en) * 2013-05-07 2013-08-21 南京邮电大学 User unified authentication method in cloud computing environment
CN104702566A (en) * 2013-12-06 2015-06-10 苏州海博智能系统有限公司 Use authorization method and use authorization device for virtual equipment
CN104702566B (en) * 2013-12-06 2021-08-06 苏州海博智能系统有限公司 Authorized use method and device of virtual equipment
CN103945330A (en) * 2014-05-12 2014-07-23 重庆邮电大学 Virtual private cloud platform and virtual private cloud secure access method and system
CN103945330B (en) * 2014-05-12 2017-10-27 重庆邮电大学 Virtual private cloud platform, virtual private cloud safety access method and system
US9940149B2 (en) 2014-11-18 2018-04-10 American Megatrends, Inc. System and method for automatically launching virtual machines based on attendance
CN105072138A (en) * 2015-01-16 2015-11-18 北京科技大学 Cloud system safe access method, device and system
CN105072138B (en) * 2015-01-16 2018-07-10 北京科技大学 A kind of cloud system safety access method
CN105391802A (en) * 2015-12-11 2016-03-09 国云科技股份有限公司 Virtual machine use authorization method
CN107294959A (en) * 2017-06-06 2017-10-24 国家电网公司 The method of inside and outside Network Communication, apparatus and system
CN107294959B (en) * 2017-06-06 2021-05-14 国家电网公司 Method, device and system for internal and external network communication
US12292984B2 (en) * 2023-04-17 2025-05-06 Dell Products L.P. User authentication and authorization for containers

Also Published As

Publication number Publication date
CN102577315A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
WO2013091196A1 (en) Method, device, and system for setting user's right to access virtual machine
CN103384237B (en) Method for sharing IaaS cloud account, shared platform and network device
CN103051630B (en) Method, the Apparatus and system of third-party application mandate is realized based on open platform
CN106411857B (en) A kind of private clound GIS service access control method based on virtual isolation mech isolation test
US12058514B2 (en) Virtual tenant for multiple dwelling unit
CN107920138B (en) User unified identification generation method, device and system
WO2017024842A1 (en) Internet access authentication method, client, computer storage medium
CN100544343C (en) Implementation method of user login name and IP address binding
CN110730174A (en) Network access control method, device, equipment and medium
CN107636603A (en) Location-Based Device Availability
WO2013097067A1 (en) Method, device and system for realizing communication after virtual machine migration
TW201517563A (en) Could gateway establishing and configuring system and method
WO2012071907A1 (en) Method and system for hosting desktop virtualized terminal
CN102547702B (en) User authentication method, system and password processing device
WO2009094890A1 (en) A service scheduling method and the system, apparatus for scheduling services
WO2010102493A1 (en) Method for providing special access process to different terminals in wlan
CN103368780B (en) A kind of service control method and equipment
CN105592180B (en) A kind of method and apparatus of Portal certification
CN111194035B (en) Network connection method, device and storage medium
CN111241523B (en) Authentication processing method, apparatus, device and storage medium
WO2014110984A1 (en) Authentication method and apparatus for accessing network by user terminal
CN105357239B (en) Method and device for providing service and method and device for obtaining service
JPWO2021183186A5 (en)
CN115913793B (en) Security authentication method, system, electronic device, distributed storage system and medium
CN103200152A (en) Conversation processing method, server and client-side

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180003025.1

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11877869

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11877869

Country of ref document: EP

Kind code of ref document: A1