(19)
(11)EP 3 173 906 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
03.03.2021 Bulletin 2021/09

(21)Application number: 16199924.8

(22)Date of filing:  22.11.2016
(51)Int. Cl.: 
G06F 3/023  (2006.01)
G06F 3/02  (2006.01)
G06F 13/20  (2006.01)
G06F 3/038  (2013.01)
G06F 13/10  (2006.01)
G06F 13/42  (2006.01)

(54)

REMOTE-SESSION KEYBOARD AND MOUSE INPUT VIA GENERIC DEVICE REDIRECTION

TASTATUR UND MAUSEINGABE FÜR FERNSITZUNG ÜBER GENERISCHE VORRICHTUNGSUMLEITUNG

ENTRÉE DE SOURIS ET CLAVIER POUR SESSION À DISTANCE PAR L'INTERMÉDIAIRE D'UNE REDIRECTION DE DISPOSITIF GÉNÉRIQUE


(84)Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

(30)Priority: 24.11.2015 US 201514950400

(43)Date of publication of application:
31.05.2017 Bulletin 2017/22

(73)Proprietor: Citrix Systems Inc.
Fort Lauderdale, FL 33309 (US)

(72)Inventor:
  • KUMAR, Sandeep
    Burlington, MA Massachusetts 01803-2756 (US)

(74)Representative: Williams, David John 
Page White & Farrer Bedford House John Street
London WC1N 2BF
London WC1N 2BF (GB)


(56)References cited: : 
US-A1- 2008 320 500
US-A1- 2013 166 629
  
  • Sandeep Kumar: "Generic USB Redirection in XenApp 7.6 | Citrix Blogs", , 13 November 2014 (2014-11-13), XP055368165, Retrieved from the Internet: URL:https://www.citrix.com/blogs/2014/11/1 3/generic-usb-redirection-in-xenapp-7-6/?_ ga=1.267159118.1506869839.1493308185 [retrieved on 2017-04-27]
  • Anonymous: "How to Redirect USB Devices in XenDesktop", , 9 September 2015 (2015-09-09), XP055368168, Retrieved from the Internet: URL:https://support.citrix.com/article/CTX 129558 [retrieved on 2017-04-27]
  
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description

BACKGROUND



[0001] The invention is related to the field of virtualized computing, and in particular to redirection of local device input to a guest operating system of a virtual computing platform or hosting system.

SUMMARY



[0002] Operating systems deployed as guest operating systems in virtual computing platforms are in some cases designed to recognize and support only those client-connected keyboard and mouse devices connected to the session at connection time. They may not recognize keyboard and mouse devices that are redirected through other redirection technologies such as generic Universal Serial Bus (USB) redirection or human interface device (HID) redirection. This limitation can adversely affect evolving virtual-computing use cases in which composite or specialty devices are used that have multiple functions that may include keyboard or mouse functionality. While the input from such devices can be redirected in remote session, the input cannot actually be used by the guest operating system. Examples of such devices include a credit card reader presenting a key pad as a keyboard device, and a drawing tablet with multi-functions like pen, touch and mouse. In both cases, the device input that is redirected via generic redirection is not recognized as keyboard or mouse input, effectively preventing desired full use of the devices.

[0003] Sandeep Kumar: "Generic USB Redirection in XenApp 7.6. Citrix Blogs", 13 November 2014, XP055368165, Retrieved from the Internet: URL:https://www.citrix.com/blogs/2014/11/13/generic-usb-redirection-in-xenapp-7.6/? ga=1.267159118.1506869839.1493308185 discloses a generic USB direction technique according to the art prior. Other examples of prior art can be found in US 2008/320500, US 2013/166639, and in Anonymous: "How to Redirect USB Devices in XenDesktop", 9 September 2015, XP055368168, URL:https://support.citrix.com/article/CTX129558.

[0004] There is provided in accordance with the invention a method according to claim 1.

[0005] In another aspect the invention provides a non-transitory computer-readable medium storing computer program instructions, the instructions being executable by a computer to cause the computer to carry out the method of claim 1.

[0006] Another aspect of the invention is a hosting computer according to claim 14.

BRIEF DESCRIPTION OF THE DRAWINGS



[0007] The foregoing and other objects, features and advantages will be apparent from the following description of particular embodiments of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views.

Figure 1 is a block diagram of a computer system;

Figure 2 is a block diagram of a keyboard/mouse manager component;

Figures 3 and 4 are flow diagrams of operations; and

Figure 5 is a block diagram of a computer from a hardware perspective.


DETAILED DESCRIPTION



[0008] The individual features of the particular embodiments, examples, and implementations disclosed herein can be combined in any desired manner that makes technological sense.

[0009] Figure 1 shows a computer system including a hosting server 10, network 12, and client computers or "clients" 14. The system is configured for virtualized computing in which the hosting server 10 provides computing services using one or more virtual machines (VMs) 16 along with virtualization software 18 such as a hypervisor. As generally known, a VM 16 is a software construct that mimics a physical computer. VM-based computing can provide advantages such as modularity, resource efficiency, and dynamic deployment for adapting to changing workloads, hardware outages or malfunctions, etc. The VM 16 is shown as including one or more applications (APPs) 20, an operating system referred to as a "guest" operating system (GUEST O/S) 22, a certain system queue (SYS QUEUE) 24 described more below, a device manager referred to as a keyboard and mouse manager (KMM) 26, a device bus 28 and a virtual channel 30. The guest O/S 22 is a "server" type of operating system typically deployed on server-type machines. An example is the Windows Server® operating system.

[0010] A client 14 includes a generic device redirection (redirect) function 32 and a standard keyboard/mouse (STD KB/MOUSE) redirection function 34. The standard keyboard/mouse redirection function 34 provides for redirecting keyboard/mouse input events from a local standard keyboard and/or mouse (STD KB/MOUSE) 36 to the guest O/S 22 of VM 16 via the network 12 and virtual channel 30. The generic device redirection function 34 provides for redirecting input events from other connected devices to the guest O/S 22 of the VM 16 via the network 12 and device bus 28. Specifically, the connected devices in this case are devices 38 that are not standard keyboard or mouse devices but that have keyboard and/or mouse functionality. Examples of such devices include a credit card reader having a key pad which is presented as a 'Keyboard' device. Another example is a touch-sensitive pad or tablet with multiple functions such as pen, touch input, and mouse.

[0011] The system queue 24 in this case is dedicated to use in connection with user device input events, i.e., keyboard input events (keystrokes) and mouse input events (panning movement, button clicks, scrolling), both from "standard" keyboard/mouse devices. Here "standard" signifies a primary identification of a device. A standard keyboard is a device providing exclusively or primarily full-keyboard functionality, i.e., QWERTY keys, function keys, numeric keypad if applicable, etc. A standard mouse is a device providing exclusively or primarily mouse functionality, e.g., an optical, two-button mouse. Because such devices are essential for user interaction with the operating system 22, a specialized virtual channel 30 is defined and used for receiving their input events and forwarding them to the system queue 24. While the virtual channel 30 readily handles input from standard keyboard/mouse devices 36, it is not designed for handling generic device input, e.g., input from a USB mass storage device, joystick, microphone, etc., all of which have different input characteristics and typically require specialized device drivers.

[0012] Thus at the client 14, it is necessary to use the generic device redirection function 32 in order to redirection input events from the other devices 38 to the hosting server 10. In one example, the devices 38 may be USB® devices (i.e., devices having a USB-compliant interface that can be connected to a USB port of the client computer 14), and the generic device redirection function 32 is so-called generic USB redirection. Other generic redirection technologies are known. Unfortunately, within some hosting servers 10 the VMs 16 may not have native support for receiving keyboard/mouse input via a generic device redirection channel (which in this case corresponds to the connection through the network 12 and the device bus 28). In one example this is a limitation of the Windows Server® operating system deployed as the guest O/S 22. Thus the keyboard and/or mouse function of the devices 38 would not be recognized simply through use of generic device redirection as currently known in the art. However, through use of the KMM 26 and related functionality as described further herein, the keyboard and/or mouse function of devices 38 can be recognized and utilized by the guest O/S 22.

[0013] One aspect of the system of Figure 1 is that the VM 16 is a multi-user/multi-session platform interacting with multiple clients 14, with a requirement that the devices 36, 38 of separate clients 14 be logically isolated from each other. In other configurations in which a VM 16 interacts with only one client 14, there may be other mechanisms that can be used to recognize keyboard and mouse input from devices 38 connected via generic device redirection 32. But there is no provision for associating such keyboard/mouse input with separate clients 14. As explained more below, the presently disclosed technique establishes per-device context that accomplishes such association of keyboard/mouse input with respective clients 14.

[0014] More specifically, a Windows Server supports keyboard/mouse input through a virtual channel interface which connects to the keyboard and mouse on the client 14. The server is not designed to accept keyboard/mouse input from a generic device when in remote session. The presently disclosed technique effectively removes this limitation. Theoretically this limitation could be removed in other ways, such as by redesigning the remote-session aspect of Windows Server. Because such a solution may not be possible for any of a variety of reasons (either technical or business), the presently disclosed technique instead adds the KMM 26 as an add-on to provide the desired functionality.

[0015] Figure 2 shows structure of the KMM 26. It includes a kernel driver 40 and a set of device context engines (DEV CTXT ENGINE) 42, each connected to the kernel driver 40 by a respective "back channel" 44. In operation, the kernel driver 40 receives keyboard/mouse inputs 46, 48 of devices 38 via the device bus 28 (Figure 1) and provides the inputs to the respective context engines 42, which are responsible for adding the input events to the system queue 24 to communicate them to the guest O/S 22 (Figure 1).

[0016] Figure 3 illustrates an initial part of operation referred to as "device enumeration and context setup." These may be performed during initialization of the VM 16 for example. At 50, the KMM 26 is started. At 52, the KMM 26 enumerates all keyboard and mouse devices of connected clients 14, either standard devices 36 or devices 38 having keyboard or mouse functionality as described above. Step 54 represents a division between those devices hosted on the device bus 28 (i.e., devices 38 with keyboard/mouse functionality) and those devices connected by the virtual channel 30 (i.e., standard keyboard/mouse devices 36). For the latter, at 56 a plug-and-play monitor is started to await device arrival and to incorporate the device into the system upon its arrival. For the devices 38 hosted on the device bus 28, at 58 a device context engine 42 is started for each such hosted device 38.

[0017] Below are additional details on the operations of Figure 3:
  1. 1. It is necessary to categorize a device 38 that is redirected via generic device redirection 32 to differentiate it from the standard keyboard/mouse devices 36 present in the session during connection time. Thus, the devices 38 are categorized or tagged with a special property type such as CTX_EXT_DEVICE_KEYBOARD and CTX_EXT_DEVICE_MOUSE. There are various methods to categorize the device including setting a special property in device or parsing the device topology leading to its association with a particular root bus.
  2. 2. The KMM 26 includes a user mode consumer service that prepares a list of keyboard and mouse devices 38 by enumerating devices with these tags only. On session connect, KMM 26 runs inside the session. This service enumerates all the keyboard and mouse devices inside the session and prepares a list of keyboard and mouse devices 38 redirected by the generic device redirection 32. KMM 26 has plug-and-play capability to detect surprise device removal and to support hot plugin.
  3. 3. The KMM 26 creates a device context engine 42 for each device up to some maximum number N (which may be configurable) for each category (keyboard and mouse). Each device context engine 42 sets itself up to receive the input from device and to process the input to the system queue 24. The device context engines 42 are able to self-shutdown on sudden device removal as well as on session disconnection.


[0018] Figure 4 illustrates operation of the KMM 26 in connection with input events received via the device bus 28. Step 60 is an initialization step of "opening", or enabling operation of, the keyboard/mouse function of each hosted device 38. At 62, input events are awaited. These are separated into two categories, regular device input (e.g., button presses, mouse movements, etc.), and device unplug/disconnect events. Regular device input is processed at 64, which involves forwarding the input event data to the system queue 24 for eventual recognition and processing by the guest O/S 22. The unplug/disconnect events are processed at 66, which includes stopping the device context engine 42 and cleaning up any related operational data that is no longer needed.

[0019] Figure 5 shows an example configuration of a physical computer such as a hosting server 10 or client 14 from a computer hardware perspective. The hardware includes one or more processors 70, memory 72, and interface circuitry 74 interconnected by data interconnections 76 such as one or more high-speed data buses. The interface circuitry 74 provides a hardware connection to the network 12 (Figure 1) and perhaps other external devices/connections (EXT DEVs). The processor(s) 70 with connected memory 72 may also be referred to as "processing circuitry" herein. There may also be local storage 78 such as a local-attached disk drive or Flash drive. In operation, the memory 72 stores data and instructions of system software (e.g., operating system) and one or more application programs which are executed by the processor(s) 70 to cause the hardware to function in a software-defined manner. Thus the computer hardware executing instructions of a keyboard/mouse manager application, for example, can be referred to as a keyboard/mouse manager circuit or keyboard/mouse manager component, and it will be understood that a collection of such circuits or components can all be realized and interact with each other as one or more sets of computer processing hardware executing different computer programs as generally known in the art. Further, the application software may be stored on a non-transitory computer-readable medium such as an optical or magnetic disk, Flash memory or other non-volatile semiconductor memory, etc., from which it is retrieved for execution by the processing circuitry, as also generally known in the art.

[0020] While various embodiments of the invention have been particularly shown and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention as defined by the appended claims.


Claims

1. A method of operating a hosting computer (10) comprising a virtual machine (16) to accept keyboard and mouse input via a generic device redirection channel (32) from a client computer (14), the method characterised by comprising:

executing in the virtual machine (16) a device manager (26) having respective interfaces to the generic device redirection channel (28) and to a system queue (24) of the hosting computer, the system queue (24) being used to communicate keyboard and mouse input events to an operating system (22) of the hosting computer,

the system queue (24) having a separate interface to a specialized virtual channel (30) for receiving redirected keyboard and mouse input from standard keyboard and mouse devices connected to the client computer (14);

the method comprising the steps of:

during a phase of initialisation of the virtual machine (16), provide device enumeration and context setup, wherein the device manager (26):

- enumerates (52) all keyboard and mouse devices of the connected client, either standard devices (36) or devices (38) having keyboard or mouse functionality; and

for the standard devices (36), the device manager (26) starts (56) a plug-and-play monitor to await device arrival and to incorporate the standard devices into the system upon arrival; and for each device among the devices (38) having keyboard or mouse functionality, the device manager (26) starts a corresponding context engine (58) for handling input events therefrom; and;

by the device manager (26), identifying keyboard and mouse functions of the devices (38) having keyboard or mouse functionality connected to the client computer (14) and having respective device input redirected to the hosting computer (10) via the generic device redirection channel (32);

by the device context engines:

opening (60) the respective keyboard and mouse functions of the respective device among the devices (38) having keyboard or mouse functionality, for receiving keyboard and mouse input events therefrom; and

upon receiving input events from the respective keyboard and mouse functions, queueing (64) the input events on the system queue (24) to communicate the keyboard and mouse input events to the operating system (22).


 
2. The method of claim 1, wherein the virtual machine (16) lacks native support for correctly processing keyboard/mouse input received directly from the generic device redirection channel without operation of the device manager.
 
3. The method of claim 1, the virtual machine (16) executes the operating system (22) as a guest operating system.
 
4. The method of claim 3, wherein the virtual machine (16) provides a multiuser/multi-session platform interacting with multiple clients, with a requirement that the devices (38) having keyboard or mouse functionality of separate clients be logically isolated from each other.
 
5. The method of claim 1, wherein the devices (38) having keyboard or mouse functionality include one or more of a card reader and a tablet device, the card reader having a key pad presented as a keyboard device, the tablet device having multiple functions including stylus or touch input as well as mouse input.
 
6. The method of claim 1, wherein the devices (38) having keyboard or mouse functionality are Universal Serial Bus devices and the generic device redirection channel (32) is a Universal Serial Bus device redirection channel.
 
7. The method of claim 1, wherein the device context engines (58) are operative to self-shutdown upon device removal as well as upon session disconnection.
 
8. A non-transitory computer-readable medium storing computer program instructions, the instructions being executable by a computer to cause the computer to carry out the method of claim 1.
 
9. The non-transitory computer-readable medium of claim 8, wherein the virtual machine (16) lacks native support for correctly processing keyboard/mouse input received directly from the generic device redirection channel without operation of the device manager.
 
10. The non-transitory computer-readable medium of claim 8, wherein the virtual machine (16) executes the operating system (22) as a guest operating system.
 
11. The non-transitory computer-readable medium of claim 10, wherein the virtual machine (16) provides a multi-user/multi-session platform interacting with multiple clients, with a requirement that the devices (38) having keyboard or mouse functionality of separate clients be logically isolated from each other.
 
12. The non-transitory computer-readable medium of claim 8, wherein the devices (38) having keyboard or mouse functionality include one or more of a card reader and a tablet device, the card reader having a key pad presented as a keyboard device, the tablet device having multiple functions including stylus or touch input as well as mouse input.
 
13. The non-transitory computer-readable medium of claim 8, wherein the devices (38) having keyboard or mouse functionality are Universal Serial Bus devices and the generic device redirection channel (32) is a Universal Serial Bus device redirection channel.
 
14. A hosting computer (10), comprising:

one or more processors;

input/output circuitry coupled to the processors and operative to couple the hosting computer (10) to a client computer (14); and

memory coupled to the processors and the input/output circuitry, the memory being operative to store computer program instructions and provide them to the processors for execution, the instructions when executed causing a virtual machine (16) in the hosting computer (10) to perform a method of accepting keyboard and mouse input via a generic device redirection channel (32) from the client computer (14), the hosting computer being characterised in that it is adapted

to execute in the virtual machine (16) a device manager (26) having respective interfaces to the generic device redirection channel (32) and to a system queue (24) of the hosting computer, the system queue (24) being used to communicate keyboard and mouse input events to an operating system (22) of the hosting computer (10), the system queue (24) having a separate interface to a specialized virtual channel (30) for receiving redirected keyboard and mouse input from standard keyboard and mouse devices connected to the client computer (14);

the device manager (26) being adapted to:

during a phase of initialisation of the virtual machine (16), provide device enumeration and context setup, wherein the device manager (26) is adapted to:

- enumerate (52) all keyboard and mouse devices of the connected client, either standard devices (36) or devices (38) having keyboard or mouse functionality; and

for the standard devices (36), the device manager (26) is adapted to start (56) a plug-and-play monitor to await device arrival and to incorporate the standard devices into the system upon arrival; and

for each device among the devices (38) having keyboard or mouse functionality, the device manager (26) is adapted to start a corresponding context engine (58) for handling input events therefrom; and

wherein the device manager (26) is adapted to identify keyboard and mouse functions of the devices (38) having keyboard or mouse functionality connected to the client computer (14) and having respective device input redirected to the hosting computer (10) via the generic device redirection channel (32); and

the device context engines (58) are adapted to open (60) the respective keyboard and mouse functions of the respective device among the devices (38) having keyboard or mouse functionality, for receiving keyboard and mouse input events therefrom; and

upon receiving input events from the respective keyboard and mouse functions, the device context engines (58) are adapted to queue (64) the input events on the system queue (24) to communicate the keyboard and mouse input events to the operating system (22).


 


Ansprüche

1. Verfahren zum Betreiben eines Hosting-Computers (10) mit einer virtuellen Maschine (16) zum Entgegennehmen von Tastatur- und Mauseingabe über einen generischen Geräteweiterleitungskanal (32) von einem Client-Computer (14), wobei das Verfahren gekennzeichnet ist durch Aufweisen:

Ausführen eines Gerätemanagers (26) mit entsprechenden Schnittstellen zum generischen Geräteweiterleitungskanal (28) und zu einer Systemwarteschlange (24) des Hosting-Computers in der virtuellen Maschine (16), wobei die Systemwarteschlange (24) verwendet wird, um Tastatur- und Mauseingabeereignisse an ein Betriebssystem (22) des Hosting-Computers zu kommunizieren,

wobei die Systemwarteschlange (24) eine separate Schnittstelle hat zu einem speziellen virtuellen Kanal (30) zum Empfangen weitergeleiteter Tastatur- und Mauseingabe von Standard-Tastatur- und Mausgeräten, die mit dem Client-Computer (14) verbunden sind;

wobei das Verfahren die Schritte aufweist:

Vorsehen einer Geräteaufzählungs- und Kontextinstallation während einer Initialisierungsphase der virtuellen Maschine (16), wobei der Gerätemanager (26):

- alle Tastatur- und Mausgeräte des verbundenen Clients aufzählt (52), entweder Standardgeräte (36) oder Geräte (38) mit Tastatur- oder Mausfunktionalität; und

der Gerätemanager (26) für die Standardgeräte (36) einen Plug-and-Play-Monitor startet (56), um eine Geräteankunft abzuwarten und die Standardgeräte bei Ankunft in das System zu inkorporieren; und der Gerätemanager (26) für jedes Gerät von den Geräten (38) mit Tastatur- oder Mausfunktionalität eine entsprechende Kontextmaschine (58) zum Bearbeiten von Eingabeereignissen davon startet; und

durch den Gerätemanager (26) Identifizieren von Tastatur- und Mausfunktionen der Geräte (38) mit Tastatur- oder Mausfunktionalität, die mit dem Client-Computer (14) verbunden sind und eine jeweilige Geräteeingabe über den generischen Geräteweiterleitungskanal (32) an den Hosting-Computer (10) weitergeleitet haben;

durch die Gerätekontextmaschinen:

Öffnen (60) der jeweiligen Tastatur- und Mausfunktionen des jeweiligen Geräts von den Geräten (38) mit Tastatur- oder Mausfunktionalität zum Empfangen von Tastatur- und Mauseingabeereignissen davon; und

nach Empfangen von Eingabeereignissen von den jeweiligen Tastatur- und Mausfunktionen In-Warteschlange-Stellen (64) der Eingabeereignisse an der Systemwarteschlange (24), um die Tastatur- und Mauseingabeereignisse an das Betriebssystem (22) zu kommunizieren.


 
2. Verfahren nach Anspruch 1, bei welchem der virtuellen Maschine (16) eine native Unterstützung zum korrekten Verarbeiten von Tastatur/Mauseingabe fehlt, die ohne Tätigkeit des Gerätemanagers direkt vom generischen Geräteweiterleitungskanal empfangen wird.
 
3. Verfahren nach Anspruch 1, bei welchem die virtuelle Maschine (16) das Betriebssystem (22) als ein Gastbetriebssystem ausführt.
 
4. Verfahren nach Anspruch 3, bei welchem die virtuelle Maschine (16) eine Mehrbenutzer/Mehrsitzungs-Plattform bereitstellt, die mit mehreren Clients interagiert, wobei eine Anforderung besteht, dass die Geräte (38) mit Tastatur- oder Mausfunktionalität von separaten Clients logisch voneinander isoliert sind.
 
5. Verfahren nach Anspruch 1, bei welchem die Geräte (38) mit Tastatur- oder Mausfunktionalität einen Kartenleser und/oder ein Tablet-Gerät enthalten, wobei der Kartenleser ein als Tastaturgerät dargestelltes Tastenfeld hat, wobei das Tablet-Gerät mehrere Funktionen einschließlich Stift- oder Berührungseingabe sowie Mauseingabe hat.
 
6. Verfahren nach Anspruch 1, bei welchem die Geräte (38) mit Tastatur- oder Mausfunktionalität Universal-Serial-Bus-Geräte sind und der generische Geräteweiterleitungskanal (32) ein Universal-Serial-Bus-Geräteweiterleitungskanal ist.
 
7. Verfahren nach Anspruch 1, bei welchem die Gerätekontextmaschinen (58) operativ sind, um bei Geräteentfernung sowie bei Sitzungstrennung selbst herunterzufahren.
 
8. Nicht-vorübergehendes computerlesbares Medium, das Computerprogrammanweisungen speichert, wobei die Anweisungen von einem Computer ausführbar sind, um den Computer das Verfahren nach Anspruch 1 ausführen zu lassen.
 
9. Nicht-vorübergehendes computerlesbares Medium nach Anspruch 8, bei welchem der virtuellen Maschine (16) eine native Unterstützung zum korrekten Verarbeiten von Tastatur/Mauseingabe fehlt, die ohne Tätigkeit des Gerätemanagers direkt vom generischen Geräteweiterleitungskanal empfangen wird.
 
10. Nicht-vorübergehendes computerlesbares Medium nach Anspruch 8, bei welchem die virtuelle Maschine (16) das Betriebssystem (22) als ein Gastbetriebssystem ausführt.
 
11. Nicht-vorübergehendes computerlesbares Medium nach Anspruch 10, bei welchem die virtuelle Maschine (16) eine Mehrbenutzer/Mehrsitzungs-Plattform bereitstellt, die mit mehreren Clients interagiert, wobei eine Anforderung besteht, dass die Geräte (38) mit Tastatur- oder Mausfunktionalität von separaten Clients logisch voneinander isoliert sind.
 
12. Nicht-vorübergehendes computerlesbares Medium nach Anspruch 8, bei welchem die Geräte (38) mit Tastatur- oder Mausfunktionalität einen Kartenleser und/oder ein Tablet-Gerät enthalten, wobei der Kartenleser ein als Tastaturgerät dargestelltes Tastenfeld hat, wobei das Tablet-Gerät mehrere Funktionen einschließlich Stift- oder Berührungseingabe sowie Mauseingabe hat.
 
13. Nicht-vorübergehendes computerlesbares Medium nach Anspruch 8, bei welchem die Geräte (38) mit Tastatur- oder Mausfunktionalität Universal-Serial-Bus-Geräte sind und der generische Geräteweiterleitungskanal (32) ein Universal-Serial-Bus-Geräteweiterleitungskanal ist.
 
14. Hosting-Computer (10), aufweisend:

ein oder mehr Prozessoren;

eine Eingangs/Ausgangsschaltung, die mit den Prozessoren gekoppelt ist und operativ ist, um den Hosting-Computer (10) an einen Client-Computer (14) zu koppeln; und

einen mit den Prozessoren und der Eingangs/Ausgangsschaltung gekoppelten Speicher, wobei der Speicher operativ ist, um Computerprogrammanweisungen zu speichern und sie den Prozessoren zur Ausführung bereitzustellen, wobei die Anweisungen bei Ausführung eine virtuelle Maschine (16) im Hosting-Computer (10) veranlassen, ein Verfahren zum Entgegennehmen von Tastatur- und Mauseingabe über einen generischen Geräteweiterleitungskanal (32) vom Client-Computer (14) durchzuführen, wobei der Hosting-Computer dadurch gekennzeichnet ist, dass er angepasst ist,

um in der virtuellen Maschine (16) einen Gerätemanagers (26) mit entsprechenden Schnittstellen zum generischen Geräteweiterleitungskanal (28) und zu einer Systemwarteschlange (24) des Hosting-Computers auszuführen, wobei die Systemwarteschlange (24) verwendet wird, um Tastatur- und Mauseingabeereignisse an ein Betriebssystem (22) des Hosting-Computers zu kommunizieren, wobei die Systemwarteschlange (24) eine separate Schnittstelle hat zu einem speziellen virtuellen Kanal (30) zum Empfangen weitergeleiteter Tastatur- und Mauseingabe von Standard-Tastatur- und Mausgeräten, die mit dem Client-Computer (14) verbunden sind;

wobei der Gerätemanager (26) angepasst ist, um:

während einer Initialisierungsphase der virtuellen Maschine (16) eine Geräteaufzählungs- und Kontextinstallation vorzusehen, wobei der Gerätemanager (26) angepasst ist, um:

- alle Tastatur- und Mausgeräte des verbundenen Clients, entweder Standardgeräte (36) oder Geräte (38) mit Tastatur- oder Mausfunktionalität, aufzuzählen (52); und

der Gerätemanager (26) für die Standardgeräte (36) angepasst ist, um einen Plug-and-Play-Monitor zu starten (56), um eine Geräteankunft abzuwarten und die Standardgeräte bei Ankunft in das System zu inkorporieren; und

der Gerätemanager (26) für jedes Gerät von den Geräten (38) mit Tastatur- oder Mausfunktionalität angepasst ist, um eine entsprechende Kontextmaschine (58) zum Bearbeiten von Eingabeereignissen davon zu starten; und

wobei der Gerätemanager (26) angepasst ist, um Tastatur- und Mausfunktionen der Geräte (38) mit Tastatur- oder Mausfunktionalität, die mit dem Client-Computer (14) verbunden sind und eine jeweilige Geräteeingabe über den generischen Geräteweiterleitungskanal (32) an den Hosting-Computer (10) weitergeleitet haben, zu identifizieren; und

die Gerätekontextmaschinen (58) angepasst sind, um die jeweiligen Tastatur- und Mausfunktionen des jeweiligen Geräts von den Geräten (38) mit Tastatur- oder Mausfunktionalität zum Empfangen von Tastatur- und Mauseingabeereignissen davon zu öffnen (60); und

die Gerätekontextmaschinen (58) angepasst sind, um nach Empfangen von Eingabeereignissen von den jeweiligen Tastatur- und Mausfunktionen die Eingabeereignisse an der Systemwarteschlange (24) in Warteschlange zu stellen, um die Tastatur- und Mauseingabeereignisse an das Betriebssystem (22) zu kommunizieren.


 


Revendications

1. Procédé de fonctionnement d'un ordinateur hôte (10) comprenant une machine virtuelle (16) pour accepter une entrée de souris et de clavier via un canal de redirection de dispositif générique (32) provenant d'un ordinateur client (14), le procédé étant caractérisé en ce qu'il consiste à :

exécuter, dans la machine virtuelle (16), un gestionnaire de dispositifs (26) ayant des interfaces respectives avec le canal de redirection de dispositif générique (32) et avec une file d'attente de système (24) de l'ordinateur hôte, la file d'attente de système (24) étant utilisée pour communiquer des événements d'entrée de clavier et de souris à un système d'exploitation (22) de l'ordinateur hôte,

la file d'attente de système (24) ayant une interface séparée avec un canal virtuel spécialisé (30) afin de recevoir une entrée de clavier et de souris redirigée à partir de dispositifs de clavier et de souris standards connectés à l'ordinateur client (14) ;

le procédé comprenant les étapes de :

pendant une phase d'initialisation de la machine virtuelle (16), fournir une énumération de dispositifs et une configuration de contexte, dans lequel le gestionnaire de dispositifs (26) :

- énumère (52) tous les dispositifs de clavier et de souris du client connecté, qu'ils soient des dispositifs standards (36) ou des dispositifs (38) ayant une fonctionnalité de clavier ou de souris ; et

pour les dispositifs standards (36), le gestionnaire de dispositifs (26) démarre (56) un moniteur plug-and-play pour attendre l'arrivée de dispositifs et pour incorporer les dispositifs standards dans le système lors de l'arrivée ; et pour chaque dispositif parmi les dispositifs (38) ayant une fonctionnalité de clavier ou de souris, le gestionnaire de dispositifs (26) démarre un moteur de contexte correspondant (58) afin de traiter des événements d'entrée à partir de ceux-ci ; et

par le gestionnaire de dispositifs (26), identifier des fonctions de clavier et de souris des dispositifs (38) ayant une fonctionnalité de clavier ou de souris et étant connectés à l'ordinateur client (14) et ayant une entrée de dispositif respective qui est redirigée vers l'ordinateur hôte (10) via le canal de redirection de dispositif générique (32) ;

par les moteurs de contexte de dispositif :

ouvrir (60) les fonctions de clavier et de souris respectives du dispositif respectif parmi les dispositifs (38) ayant une fonctionnalité de clavier ou de souris, afin de recevoir des événements d'entrée de clavier et de souris à partir de ceux-ci ; et

lors de la réception d'événements d'entrée de la part des fonctions de clavier et de souris respectives, mettre en file d'attente (64) les événements d'entrée sur la file d'attente de système (24) pour communiquer les événements d'entrée de clavier et de souris au système d'exploitation (22).


 
2. Procédé selon la revendication 1, dans lequel la machine virtuelle (16) manque de support natif afin de traiter correctement une entrée de clavier / souris reçue directement de la part du canal de redirection de dispositif générique sans opération du gestionnaire de dispositifs.
 
3. Procédé selon la revendication 1, dans lequel la machine virtuelle (16) exécute le système d'exploitation (22) en tant que système d'exploitation invité.
 
4. Procédé selon la revendication 3, dans lequel la machine virtuelle (16) fournit une plate-forme multiutilisateur / multisession interagissant avec de multiples clients, avec une exigence que les dispositifs (38) ayant une fonctionnalité de clavier ou de souris de clients séparés soient isolés les uns des autres de manière logique.
 
5. Procédé selon la revendication 1, dans lequel les dispositifs (38) ayant une fonctionnalité de clavier ou de souris incluent l'un ou plusieurs parmi un lecteur de carte et un dispositif de tablette, le lecteur de carte ayant un pavé numérique présenté comme un dispositif de clavier, le dispositif de tablette ayant de multiples fonctions incluant une entrée de stylet ou une entrée tactile ainsi qu'une entrée de souris.
 
6. Procédé selon la revendication 1, dans lequel les dispositifs (38) ayant une fonctionnalité de clavier ou de souris sont des dispositifs Universal Serial Bus et le canal de redirection de dispositif générique (32) est un canal de redirection de dispositif Universal Serial Bus.
 
7. Procédé selon la revendication 1, dans lequel les moteurs de contexte de dispositif (58) fonctionnent pour s'auto-arrêter lors du retrait de dispositif ainsi que lors de la déconnexion de session.
 
8. Support lisible par ordinateur non transitoire stockant des instructions de programme informatique, les instructions étant exécutables par un ordinateur pour amener l'ordinateur à effectuer le procédé selon la revendication 1.
 
9. Support lisible par ordinateur non transitoire selon la revendication 8, dans lequel la machine virtuelle (16) manque de support natif afin de traiter correctement une entrée de clavier / souris reçue directement de la part du canal de redirection de dispositif générique sans opération du gestionnaire de dispositifs.
 
10. Support lisible par ordinateur non transitoire selon la revendication 8, dans lequel la machine virtuelle (16) exécute le système d'exploitation (22) en tant que système d'exploitation invité.
 
11. Support lisible par ordinateur non transitoire selon la revendication 10, dans lequel la machine virtuelle (16) fournit une plate-forme multiutilisateur/ multisession interagissant avec de multiples clients, avec une exigence que les dispositifs (38) ayant une fonctionnalité de clavier ou de souris de clients séparés soient isolés les uns des autres de manière logique.
 
12. Support lisible par ordinateur non transitoire selon la revendication 8, dans lequel les dispositifs (38) ayant une fonctionnalité de clavier ou de souris incluent l'un ou plusieurs parmi un lecteur de carte et un dispositif de tablette, le lecteur de carte ayant un pavé numérique présenté comme un dispositif de clavier, le dispositif de tablette ayant de multiples fonctions incluant une entrée de stylet ou une entrée tactile ainsi qu'une entrée de souris.
 
13. Support lisible par ordinateur non transitoire selon la revendication 8, dans lequel les dispositifs (38) ayant une fonctionnalité de clavier ou de souris sont des dispositifs Universal Serial Bus et le canal de redirection de dispositif générique (32) est un canal de redirection de dispositif Universal Serial Bus.
 
14. Ordinateur hôte (10), comprenant :

un ou plusieurs processeurs ;

un ensemble de circuits d'entrée / sortie couplés aux processeurs et permettant de coupler l'ordinateur hôte (10) à un ordinateur client (14) ; et

une mémoire couplée aux processeurs et à l'ensemble de circuits d'entrée / sortie, la mémoire permettant de stocker des instructions de programme informatique et de les fournir aux processeurs pour exécution, les instructions, lorsqu'elles sont exécutées, amenant une machine virtuelle (16) dans l'ordinateur hôte (10) à effectuer un procédé d'acceptation d'une entrée de clavier et de souris via un canal de redirection de dispositif générique (32) provenant de l'ordinateur client (14), l'ordinateur hôte étant caractérisé en ce qu'il est adapté pour :

exécuter, dans la machine virtuelle (16), un gestionnaire de dispositifs (26) ayant des interfaces respectives avec le canal de redirection de dispositif générique (32) et avec une file d'attente de système (24) de l'ordinateur hôte, la file d'attente de système (24) étant utilisée pour communiquer des événements d'entrée de clavier et de souris à un système d'exploitation (22) de l'ordinateur hôte (10), la file d'attente de système (24) ayant une interface séparée avec un canal virtuel spécialisé (30) afin de recevoir une entrée de clavier et de souris redirigée à partir de dispositifs de clavier et de souris standards connectés à l'ordinateur client (14) ;

le gestionnaire de dispositifs (26) étant adapté pour :

pendant une phase d'initialisation de la machine virtuelle (16), fournir une énumération de dispositifs et une configuration de contexte, dans lequel le gestionnaire de dispositifs (26) est adapté pour :

- énumérer (52) tous les dispositifs de clavier et de souris du client connecté, qu'ils soient des dispositifs standards (36) ou des dispositifs (38) ayant une fonctionnalité de clavier ou de souris ; et

pour les dispositifs standards (36), le gestionnaire de dispositifs (26) est adapté pour démarrer (56) un moniteur plug-and-play pour attendre l'arrivée de dispositifs et pour incorporer les dispositifs standards dans le système lors de l'arrivée ; et

pour chaque dispositif parmi les dispositifs (38) ayant une fonctionnalité de clavier ou de souris, le gestionnaire de dispositifs (26) est adapté pour démarrer un moteur de contexte correspondant (58) afin de traiter des événements d'entrée à partir de ceux-ci ; et

dans lequel le gestionnaire de dispositifs (26) est adapté pour identifier des fonctions de clavier et de souris des dispositifs (38) ayant une fonctionnalité de clavier ou de souris et étant connectés à l'ordinateur client (14) et ayant une entrée de dispositif respective qui est redirigée vers l'ordinateur hôte (10) via le canal de redirection de dispositif générique (32) ; et

les moteurs de contexte de dispositif (58) sont adaptés pour ouvrir (60) les fonctions de clavier et de souris respectives du dispositif respectif parmi les dispositifs (38) ayant une fonctionnalité de clavier ou de souris, afin de recevoir des événements d'entrée de clavier et de souris à partir de ceux-ci ; et

lors de la réception d'événements d'entrée de la part des fonctions de clavier et de souris respectives, les moteurs de contexte de dispositif (58) sont adaptés pour mettre en file d'attente (64) les événements d'entrée sur la file d'attente de système (24) pour communiquer les événements d'entrée de clavier et de souris au système d'exploitation (22).


 




Drawing















REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description




Non-patent literature cited in the description