CN116627551A - Virtual processing device for controlling operation interface of guest virtual machine - Google Patents

Virtual processing device for controlling operation interface of guest virtual machine Download PDF

Info

Publication number
CN116627551A
CN116627551A CN202210124111.8A CN202210124111A CN116627551A CN 116627551 A CN116627551 A CN 116627551A CN 202210124111 A CN202210124111 A CN 202210124111A CN 116627551 A CN116627551 A CN 116627551A
Authority
CN
China
Prior art keywords
virtual
desktop
display
virtual machine
operation interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210124111.8A
Other languages
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN202210124111.8A priority Critical patent/CN116627551A/en
Publication of CN116627551A publication Critical patent/CN116627551A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Abstract

The present disclosure provides a virtual processing apparatus for controlling a display of a first operation interface of a first guest virtual machine. Among the elements of the virtual processing device, the display and desktop generating unit is used for receiving the graphic application program and generating a command for establishing a virtual desktop, so that a first virtual desktop is established to display a first operation interface through a full screen. The window management unit is used for setting the display position of the first operation interface displayed on the first virtual desktop according to the graphic application program. The display and desktop management unit is used for setting a display code and a desktop code related to the first client virtual machine. The first guest virtual machine and the host operating system operate simultaneously, and the first operating interface and the host operating interface of the host operating system are switched and displayed on at least one display.

Description

Virtual processing device for controlling operation interface of guest virtual machine
Technical Field
The present disclosure relates to a data processing apparatus, and more particularly, to a virtual processing apparatus that can be used to handle display configuration and switching of an operation interface of a guest virtual machine (guest virtual machine, "guest VM").
Background
With the evolution of virtual technology in computer science, virtual machines can be custom deployed in computer devices, and the virtual machines are used to control the virtual devices, thereby accessing the hardware devices of the corresponding entities. For example, a virtual machine may be deployed in addition to the original host operating system of the computer device to become a second set of operating systems, so as to expand the usability and diversity of the computer device.
In the prior art, the user installs the second set of operating system in the virtual machine, however, the authority of the virtual machine to access the host operating system is low, and the conventional virtual machine lacks a window management (windows management) mechanism, so that the operation interface of the second set of operating system cannot be completely displayed on the full screen, and seamless smooth switching cannot be achieved when the second set of operating system and the host operating system are switched.
In another conventional technique, a user installs a second set of operating system on another magnetic area of the computer device; however, when the second set of operating system is switched with the host operating system, the computer device needs to be restarted. That is, the user cannot switch at any time during the operation, so that the smooth switching operation experience is greatly reduced.
In addition, the release of device drivers (device drivers) is prioritized by the microsoft Windows operating system (Windows OS), and device drivers for other operating systems other than microsoft Windows operating system (e.g., the "Linux" operating system) may be completed as late as half a year. That is, the user cannot switch between the host operating system (e.g., microsoft Windows operating system) and the second set of operating system (e.g., linux) by restarting the computer device during a half-year latency period. Moreover, if a display server (display server) is additionally built according to the conventional technology, the host operating system does not correspondingly build an additional virtual desktop (virtual desktop) or an additional display (display); therefore, only one set of operating system can be installed at most besides the original host operating system.
In view of the above-mentioned problems in the prior art, those skilled in the relevant art are dedicated to improving the control mechanism for display configuration and switching of the operation interface of the client virtual machine, so as to satisfy the full screen operation experience of the user and the experience of seamlessly switching the operating system without restarting the computer device.
Disclosure of Invention
According to one aspect of the present disclosure, a virtual processing apparatus is provided for controlling display of a first operation interface of a first guest virtual machine. The virtual processing device comprises a display and desktop generating unit, a window management unit and a display and desktop management unit. The display and desktop generating unit is used for receiving the graphic application program and generating a virtual desktop establishment command, wherein the virtual desktop establishment command is used for establishing a first virtual desktop to display a first operation interface through a full screen. The window management unit is used for setting the display position of the first operation interface displayed on the first virtual desktop according to the graphic application program. The display and desktop management unit is used for setting a display code and a desktop code related to the first client virtual machine according to a virtual desktop establishment command, wherein the desktop code corresponds to the first virtual desktop. The first guest virtual machine and the host operating system operate simultaneously, the host operating system is provided with a host operating interface which is displayed on a preset desktop, and the first operating interface and the host operating interface are switched and displayed on at least one display.
Other aspects and advantages of the present disclosure will become apparent upon review of the following drawings, detailed description, and claims.
Drawings
FIG. 1 is a schematic diagram of a guest virtual machine operating on a computer device.
FIG. 2A is a diagram illustrating an operation interface of a client virtual machine displayed on a display.
FIGS. 2B and 2C are diagrams illustrating switching between the operation interface of the guest virtual machine and the host operation interface of the host operating system.
FIG. 3 is a block diagram of a guest virtual processing device according to one embodiment of the present disclosure.
FIG. 4 is a diagram illustrating a display configuration of an operation interface of a guest virtual machine controlled by a guest virtual processing apparatus.
FIG. 5A is a block diagram of a guest virtual machine, guest core layer, and host core layer.
FIG. 5B is a block diagram of a guest virtual machine, a host operating system, and a physical device.
FIGS. 6A-6C are diagrams showing the host operating system and the operation interfaces of the first and second client virtual machines respectively displayed on different displays and different virtual desktops of the computer device.
FIG. 6D is a diagram illustrating the switching of the operation interfaces of the host operating system and the first and second guest virtual machines to different displays.
Description of the reference numerals
110 preset display
111,112 external display
120 memory
130 hard disk
140 drawing processor
200 customer virtual processing device
210 display and desktop generating unit
220 Window management Unit
230 mappable application units
240 display and desktop management unit
250 virtual device application
260 virtual device
290 virtual slot
310 device driver
1500 physical device
2000,2002 guest virtual machine
2200 customer core layer
2300 customer desktop Environment
2500 software stacking
3000 host operating system
3200 host core layer
3300 host desktop Environment
2100 operation interface
2102 operation interface
3100 host operating interface
W1, W2 window
G1, G2 display position
Disp_Num display code
Desk_num, desktop code
Desk0 preset desktop
Desk1, desk2: virtual desktop
G_AP-1, G_AP-2 graphics application
G_Dr graphics processor driver
BD-establish virtual desktop command
PR control signal
cmd control commands
Detailed Description
The technical language of the present specification refers to the conventional expressions in the technical field, and if the present specification describes or defines some expressions, the explanation of the some expressions is based on the description or definition of the present specification. Various embodiments of the present disclosure each have one or more technical features. Those of ordinary skill in the art may, where applicable, selectively implement some or all of the features of any of the embodiments or combine some or all of the features of the embodiments.
FIG. 1 is a schematic diagram of a guest virtual machine (guest virtual machine, "guest VM") 2000 operating on a computer device 1000. The guest virtual machine 2000 may be deployed (reploy) to the computer device 1000, and the guest virtual machine 2000 may control and access a physical device (physical device) 1500 of the computer device 1000 via a host kernel layer (kernel) 3200 of a host operating system (host operating system, "host OS") 3000; accordingly, guest virtual machine 2000 operates as a second set of operating systems on computer device 1000.
In one example, the computer device 1000 is, for example, a personal or home notebook computer (laptop), the host operating system 3000 is, for example, a microsoft Windows11 ("Windows 11") operating system that is preset for installation when the computer device 1000 is shipped from a factory, and the client virtual machine 2000 is, for example, a Linux "operating system that is custom installed by a user. The custom installed "Linux" operating system can control and access the physical devices 1500, such as the display 110, the memory 120, the hard disk 130, and the graphics processor (graphic processing unit, "GPU") 140 of the computer device 1000 via the device driver 310 provided by the host core layer 3200 of the "Windows 11" operating system.
Also, the device driver 310 of the host core layer 3200 may provide a graphics processor driver G_Dr for driving the graphics processor 140 of the physical device 1500 to perform graphics and graphics acceleration processing. The graphic processor 140 may draw the operation interface 2100 of the guest virtual machine 2000 and display the operation interface 2100 on the display 110. The guest virtual processing apparatus 200 of the present disclosure may be disposed in a guest virtual machine 2000; when the host operating system 3000 and the guest virtual machine 2000 are simultaneously operating in the computer device 1000, the guest virtual processing device 200 can be used to control the display configuration of the operation interface 2100 of the guest virtual machine 2000 and can be used to control the switching display between the host operating system 3000 and the guest virtual machine 2000.
Fig. 2A is a schematic diagram of an operation interface 2100 of the client virtual machine 2000 displayed on the display 110. Referring to FIG. 2A, the guest virtual machine 2000 may be referred to as a "first guest virtual machine" and the operation interface 2100 may be referred to as a "first operation interface". The operation interface 2100 is, for example, a graphical user interface (graphic user interface, "GUI"), and the display 110 is, for example, a predetermined display of the computer device 1000; the client virtual processing device 200 can be used for controlling the display of the operation interface 2100 on the display 110. For example, the guest virtual processing apparatus 200 may be used to mediate the transmission or conversion of control commands and applications between the guest virtual machine 2000 and the host operating system 3000, and the guest virtual processing apparatus 200 may request physical resources and virtual resources of the computer apparatus 1000 to be allocated to the guest virtual machine 2000, and establish a dedicated virtual desktop (virtual desktop) Desk1 (the virtual desktop Desk1 may be referred to as a "first virtual desktop") for the guest virtual machine 2000. The client virtual processing apparatus 200 can control the operation interface 2100 to be completely presented on the entire virtual desktop Desk1 of the display 110 in a full screen mode, instead of only partially presenting the operation interface 2100 in a window of the display 110. Accordingly, when the user operates the guest virtual machine 2000 via the operation interface 2100, the user can also have a full screen full operation experience (i.e., the full experience as if the host operating system 3000 was operating).
Fig. 2B and 2C are schematic diagrams showing switching display between the operation interface 2100 of the guest virtual machine 2000 and the host operation interface 3100 of the host operating system 3000. Referring to fig. 2B, a user can operate the host operating system 3000 and the guest virtual machine 2000 at the same time in the computer device 1000, and can switch the display of the host operating system 3000 and the guest virtual machine 2000 at any time. For example, host operating interface 3100 of host operating system 3000 may be displayed on default desktop Desk0, while operating interface 2100 of client virtual machine 2000 may be displayed on virtual desktop Desk1. In the same display 110, the user can switch from the host interface 3100 of the default desktop Desk0 to the interface 2100 of the virtual desktop Desk1 (or vice versa) at any time, and the above-mentioned switching can be performed at any time without restarting the computer device 1000. For example, during the operation of the computer device 1000, the user can switch the display operation interface 2100 and the host operation interface 3100 by sliding the touch panel with the finger at any time, without restarting the computer device 1000.
On the other hand, please refer to the example of fig. 2C. In addition to the predetermined display 110, the computer device 1000 may be further connected to another external display 111. The host operating system 3000 may configure the preset desktop Desk0 on the preset display 110 to display the host operating interface 3100 on the preset desktop Desk0 of the display 110. The host operating system 3000 may configure the virtual desktop Desk1 on the external display 111, so as to display the operation interface 2100 of the client virtual machine 2000 on the virtual desktop Desk1 of the external display 111. Thus, the user can simultaneously operate the host operating system 3000 and the client virtual machine 2000 through the preset desktop Desk0 of the display 110 and the virtual desktop Desk1 of the external display 111; in addition, the user can switch the host operation interface 3100 of the preset desktop Desk0 to be displayed on the external display 111 at any time, and switch the operation interface 2100 of the virtual desktop Desk1 to be displayed on the preset display 110. The user can switch the computer device 1000 in fig. 2C at any time during the operation process of the computer device 1000 without restarting the computer device 1000; in addition, the processing of the client virtual processing apparatus 200 enables the smooth switching between the host operation interface 3100 and the operation interface 2100 to be similar to a seamless (seamless) connection, so that the user can have a good operation experience.
Fig. 3 is a block diagram of a guest virtual processing apparatus 200 according to an embodiment of the disclosure, and fig. 4 is a schematic diagram illustrating a display configuration of an operation interface 2100 for controlling a guest virtual machine 2000 by the guest virtual processing apparatus 200. Referring to fig. 3 and 4, the client virtual processing apparatus 200 includes a display and desktop generating unit 210, a windows (windows) management unit 220, a mapable Application (API) unit 230, and a display and desktop management unit 240; the display and desktop management unit 240 may be disposed in the host kernel layer 3200 of the host operating system 3000. In this embodiment, the virtual desktop Desk1 displayed on the predetermined display 110 is taken as an example for controlling the operation interface 2100 by the client virtual processing apparatus 200.
The display and desktop generation unit 210 may operate based on the role of a display server (display server) of the client virtual machine 2000; first, the display and desktop generation unit 210 may receive a graphic application program (graphic API) g_ap-1 from a client desktop environment (not shown in fig. 3) of the client virtual machine 2000. Graphics application G_AP-1 is used to generate a graphics application G_AP-2 that virtual device (vDevice) 260 may parse and may execute accordingly. The virtual device 260 is a virtual resource corresponding to the physical graphics processor 140, and the virtual device 260 may perform graphics processing according to the graphics application program g_ap-2 to draw the operation interface 2100. The display and desktop generating unit 210 transmits the graphics application g_ap-1 to the window management unit 220, and performs communication with the window management unit 220.
During the communication process between the display and desktop generating unit 210 and the window management unit 220, the window management unit 220 can determine the display position of the operation interface 2100 on the virtual desktop Desk1 of the display 110; the window management unit 220 may further set the display position of each object of the operation interface 2100. For example, the operation interface 2100 may include a window W1 and a window W2, and the window management unit 220 may set a display position G1 and a display position G2 of the window W1 and the window W2 to be displayed in the virtual desktop Desk1, respectively.
After the window management unit 220 completes the setting of the display position of the operation interface 2100, the display and desktop generating unit 210 may generate a "create virtual desktop command BD", and transmit the create virtual desktop command BD to the display and desktop management unit 240 in the host core layer 3200. The display and desktop management unit 240 requests the host operating system 3000 to create the virtual desktop Desk1 on the display 110 according to the create virtual desktop command BD, and then displays the full screen display operation interface 2100 on the virtual desktop Desk1.
After the host operating system 3000 establishes the virtual desktop Desk1, the host operating system 3000 may configure the display code disp_num to the display 110 and the desktop code desk_num to the virtual desktop Desk1. For example, the display code disp_num of the display 110 is set to "1", and the desktop code desk_num of the virtual desktop Desk1 is also set to "1", that is, disp_num=1, desk_num=1. Then, the display and desktop management unit 240 may set the display code disp_num=1 and the desktop code desk_num=1 in the client desktop environment of the client virtual machine 2000. In contrast, desktop number desk_num of host operating interface 3100 of host operating system 3000 is set to "0".
And, the display and desktop management unit 240 can detect whether the user logs out of the client virtual machine 2000; if it is detected that the client virtual machine 2000 is logged out, the display and desktop management unit 240 notifies the host operating system 3000 to disable the display code disp_num=1 and the desktop code desk_num=1 of the client virtual machine 2000, so as to return the physical resources (i.e. the display 110 and the graphics processor 140) and the corresponding virtual resources (i.e. the virtual device 260) to the host operating system 3000.
In addition, the mappable application unit 230 is used for mapping (mapping) the graphics application g_ap-1 to the virtual device application 250, so that the virtual device application 250 provides the graphics application g_ap-2 that can be parsed by the virtual device 260 and executed accordingly. From the above, the virtual device 260 can draw the operation interface 2100 according to the graphics application g_ap-2, the display code disp_num=1, the desktop code desk_num=1, and the display position determined by the window management unit 220, and completely display the operation interface 2100 on the entire virtual desktop Desk1 of the display 110 in a full screen manner.
FIG. 5A is a block diagram of a guest virtual machine 2000, a guest kernel 2200, and a host kernel 3200, and FIG. 5B is a block diagram of the guest virtual machine 2000, a host operating system 3000, and a physical device 1500; fig. 5A and 5B illustrate in detail the structure of a stack of software/hardware (stack) of the computer device 1000, which is composed of the guest virtual machine 2000, the host operating system 3000 and the physical device 1500. Referring to fig. 5A and 5B, the client desktop environment 2300, the client virtual processing device 200, and the virtual device application 250 are all disposed in the client virtual machine 2000, and the virtual device 260 is disposed in the client core layer 2200, and the display and desktop management unit 240 and the device driver 310 are disposed in the host core layer 3200. The guest core layer 2200 is disposed between the guest virtual machine 2000 and the host core layer 3200; also, the software stack 2500 of the guest virtual machine 2000 and the guest core layer 2200 is, for example, "second version of Windows subsystem for Linux" (Windows Subsystem for Linux-II, "WSL 2") provided by Microsoft Windows operating system.
Before the operation interface 2100 of the client virtual machine 2000 is displayed on the virtual desktop Desk1, the client desktop environment 2300 is initialized, and the client desktop environment 2300 outputs the graphics application g_ap-1 to the display and desktop generating unit 210 during the initialization. The display and desktop generating unit 210 communicates with the window management unit 220, and the window management unit 220 determines the display position of the operation interface 2100 on the virtual desktop Desk1, and then the display and desktop generating unit 210 generates a command BD to create the virtual desktop. Also, the guest virtual processing apparatus 200 establishes a virtual socket (vSocket) 290 between the guest core layer 2200 and the host core layer 3200, and may transmit a set-up virtual desktop command BD to the display and desktop management unit 240 provided in the host core layer 3200 through the virtual socket 290.
On the other hand, the host operating system 3000 also sets up the host desktop environment 3300, and the display and desktop management unit 240 may transmit the virtual desktop establishment command BD to the host desktop environment 3300. Operationally, the host desktop environment 3300 can serve as a management center for distributing physical displays and virtual desktops; in response to a request from the client virtual processing apparatus 200 to establish the virtual desktop command BD, the host desktop environment 3300 establishes the virtual desktop Desk1 at the display 110. The host desktop environment 3300 configures a display code disp_num=1 and a desktop code desk_num=1 for the display 110 and the virtual desktop Desk1. In addition, the host desktop environment 3300 may set the display code disp_num=1 and the desktop code desk_num=1 to the client desktop environment 2300 of the client virtual machine 2000 via the display and desktop management unit 240.
Furthermore, mappable application unit 230 maps graphics application G_AP-1 so that virtual device application 250 provides graphics application G_AP-2, which can be mapped to virtual device 260. Also, the virtual device 260 transmits the graphics application G_AP-2 and the control command cmd to the device driver 310 via the virtual slot 290, and the device driver 310 further provides the graphics processor driver G_Dr to the graphics processor 140 in the physical device 1500. Correspondingly, the host operating system 3000 can give the virtual device 260 sufficient authority (privilege) to handle the drawing and display of the operation interface 2100; in one example, the device driver 310 of the host core layer 3200 may transmit a control signal PR to the virtual device 260 to enable (enable) access rights (access privileges) of the virtual device 260. Accordingly, the virtual device 260 (associated with the guest virtual machine 2000) can obtain sufficient authority from the host operating system 3000, and the graphics processor 140 of the entity corresponding to the virtual device 260 can execute graphics and accelerated graphics processing according to the graphics processing driver g_dr, so as to display the operation interface 2100 of the guest virtual machine 2000 on the virtual desktop Desk1 of the display 110 in a full screen manner.
In the present disclosure, the guest virtual processing apparatus 200 can establish the dedicated virtual slot 290 to transmit or receive the establish virtual desktop command BD, the graphics application g_ap-2, the control command cmd and the control signal PR from the host core layer 3200, so that the transmission speed of the establish virtual desktop command BD, the graphics application g_ap-2, the control command cmd and the control signal PR can be increased, so that the graphics processor 140 of the entity performs the drawing and the graphics acceleration in a near real-time (real-time) manner. Accordingly, when the user switches from the originally displayed host operation interface 3100 to the operation interface 2100 of the guest virtual machine 2000, the physical graphics processor 140 can draw the operation interface 2100 in real time to improve the smoothness of the switching display.
On the other hand, in the present disclosure, two or more guest virtual machines may be executed simultaneously in the computer apparatus 1000, for example, the host operating system 3000 is executed and the guest virtual machine 2000 and the guest virtual machine 2002 are executed simultaneously. Fig. 6A-6C are schematic diagrams illustrating the operation interfaces 3100, 2100, and 2102 of the host operating system 3000, the guest virtual machine 2000, and the guest virtual machine 2002, respectively, being displayed on different displays and different virtual desktops of the computer device 1000, respectively. Referring also to fig. 6A-6C, guest virtual machine 2000 may be referred to as a "first guest virtual machine" and guest virtual machine 2002 may be referred to as a "second guest virtual machine", in one example, guest virtual machine 2000 is a "Linux" operating system and guest virtual machine 2002 is a "Ubuntu" operating system. Also, the operation interface 2100 of the guest virtual machine 2000 may be referred to as a first operation interface, and the operation interface 2102 of the guest virtual machine 2002 may be referred to as a second operation interface. The computer device 1000 is further connected to an external display 111 (which may be referred to as a "first external display") and an external display 112 (which may be referred to as a "second external display") in addition to the predetermined display 110. In addition, a guest virtual processing device 202 similar to the guest virtual processing device 200 may be provided in the guest virtual machine 2002. The intermediary processing of control commands, control signals and graphics applications between guest virtual machines 2000,2002 and host operating system 3000 may be performed by guest virtual processing devices 200, 202, respectively, such that operation interfaces 3100, 2100 and 2102 may operate simultaneously and be displayed on displays 110, 111 and 112, respectively.
In operation, the host desktop environment 3300 of the host operating system 3000 may configure the display identifier disp_num=0 for the preset display 110 and the desktop identifier desk_num=0 for the preset desktop Desk0. According to the display code disp_num=0 and the desktop code desk_num=0, the host operation interface 3100 is displayed on the preset desktop Desk0 of the preset display 110.
On the other hand, the host desktop environment 3300 may configure the display code disp_num=1 for the external display 111, and configure the display code disp_num=2 for the external display 112. Moreover, the host desktop environment 3300 may configure a desktop code desk_num=1 for the virtual desktop Desk1, and a desktop code desk_num=2 for another virtual desktop Desk2. The virtual desktop Desk1 may be referred to as a "first virtual desktop", and the virtual desktop Desk2 may be referred to as a "second virtual desktop". From the above, the operation interface 2100 of the client virtual machine 2000 is displayed on the virtual desktop Desk1 of the external display 111 according to the display code disp_num=1 and the desktop code desk_num=1. And, according to the display code disp_num=2 and the desktop code desk_num=2, the operation interface 2102 of the client virtual machine 2002 is displayed on the virtual desktop Desk2 of the external display 112.
In the embodiment of fig. 6A-6C, the operation interfaces 3100, 2100, and 2102 are respectively displayed on different displays and different virtual desktops; in other embodiments, the interfaces 3100, 2100, and 2102 may also be configured to switch between different displays. Referring to FIG. 6D, a schematic diagram of the operation interfaces 3100, 2100 and 2102 of the host OS 3000, the guest virtual machine 2000 and the guest virtual machine 2002 respectively switching between different displays is shown.
In operation, the guest virtual processing device 200 of the guest virtual machine 2000 can request the host desktop environment 3300 to assign the display code disp_num=0 and the desktop code desk_num=1 to the guest virtual machine 2000; accordingly, the client virtual processing apparatus 200 can control the operation interface 2100 to switch the virtual desktop Desk1 displayed on the preset display 110. On the other hand, the client virtual processing apparatus 202 of the client virtual machine 2002 may request the host desktop environment 3300 to assign the display code disp_num=1 and the desktop code desk_num=2 to the client virtual machine 2002; accordingly, the client virtual processing apparatus 202 can control the operation interface 2102 to switch the virtual desktop Desk2 displayed on the external display 111. And, the host desktop environment 3300 allocates a display code disp_num=2 and a desktop code desk_num=0 to the host operating system 3000; accordingly, the host operating interface 3100 of the host operating system 3000 can switch the preset desktop Desk0 displayed on the external display 112.
In summary, in the embodiments of the present disclosure, the display configuration of the operation interface 2100 of the guest virtual machine 2000 can be controlled by the guest virtual processing device 200, so that the operation interface 2100 can be matched with the dedicated virtual desktop Desk1 to perform full-screen display, so as to satisfy the full-screen complete operation experience of the user. In addition, by controlling the client virtual processing apparatus 200, the host operation interface 3100 and the display operation interface 2100 can be switched at any time without restarting the computer apparatus 1000, so as to satisfy the seamless switching experience of the user. In addition, the technical scheme of the invention can execute more than two client virtual machines simultaneously, and can perform the mutual switching of the operation interfaces of a plurality of client virtual machines.
While the invention has been described in detail in terms of preferred embodiments and examples, it is to be understood that such examples are intended in an illustrative rather than in a limiting sense. It is contemplated that various modifications and combinations will readily occur to those skilled in the art, which modifications and combinations will be within the spirit of the invention and the scope of the following claims.

Claims (10)

1. A virtual processing apparatus for controlling display of a first operation interface of a first client virtual machine, the virtual processing apparatus comprising:
the display and desktop generation unit is used for receiving a graphic application program and generating a virtual desktop establishment command, wherein the virtual desktop establishment command is used for establishing a first virtual desktop to display the first operation interface through a full screen;
a window management unit, configured to set a display position of the first operation interface displayed on the first virtual desktop according to the graphics application program; and
a display and desktop management unit for setting a display code and a desktop code associated with the first client virtual machine according to the virtual desktop establishment command, the desktop code corresponding to the first virtual desktop,
the first guest virtual machine and a host operating system are operated simultaneously, the host operating system is provided with a host operating interface which is displayed on a preset desktop, and the first operating interface and the host operating interface are switched and displayed on at least one display.
2. The virtual processing apparatus of claim 1, wherein the first guest virtual machine and the host operating system are simultaneously operating on a computer device, and the computer device does not need to be rebooted when the first operating interface and the host operating interface are displayed on the at least one display.
3. The virtual processing apparatus of claim 1, further comprising:
a mappable application unit for mapping the graphics application to a virtual device application;
the virtual device application is used for executing a virtual device of the first client virtual machine to draw and display the first operation interface on the first virtual desktop.
4. The virtual processing apparatus of claim 3 wherein the mapped graphics application is transferred to a device driver of the host operating system via the virtual device, and the device driver enables access rights of the virtual device.
5. The virtual processing apparatus of claim 4 wherein the device driver is configured to provide a graphics processor driver to drive a graphics processor, the graphics processor being a physical device corresponding to the virtual device, and the graphics processor being configured to render and display the first operation interface.
6. The virtual processing apparatus of claim 4 wherein the virtual device is disposed at a guest core layer, the guest core layer being associated with the first guest virtual machine.
7. The virtual processing apparatus of claim 4, wherein the device driver and the display and desktop management unit are disposed in a host core layer, the host core layer being associated with the host operating system.
8. The virtual processing apparatus of claim 4 wherein the mapped graphics application is transferred to the device driver via a virtual slot.
9. The virtual processing apparatus of claim 1 wherein a host desktop environment of the host operating system configures the display code and the desktop code for the first client virtual machine, and the display and desktop management unit transmits the display code and the desktop code to a client desktop environment of the first client virtual machine.
10. The virtual processing apparatus according to claim 9, wherein the first virtual desktop and the predetermined desktop are configured on a predetermined display, and the first operation interface is displayed on the predetermined display according to the display code and the desktop code.
CN202210124111.8A 2022-02-10 2022-02-10 Virtual processing device for controlling operation interface of guest virtual machine Pending CN116627551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210124111.8A CN116627551A (en) 2022-02-10 2022-02-10 Virtual processing device for controlling operation interface of guest virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210124111.8A CN116627551A (en) 2022-02-10 2022-02-10 Virtual processing device for controlling operation interface of guest virtual machine

Publications (1)

Publication Number Publication Date
CN116627551A true CN116627551A (en) 2023-08-22

Family

ID=87636968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210124111.8A Pending CN116627551A (en) 2022-02-10 2022-02-10 Virtual processing device for controlling operation interface of guest virtual machine

Country Status (1)

Country Link
CN (1) CN116627551A (en)

Similar Documents

Publication Publication Date Title
US9086839B2 (en) Multiple user computing method and system for same
CN106537340B (en) Input/output acceleration apparatus and method of virtualized information handling system
JP5506120B2 (en) Apparatus and method for partitioning a display surface into a plurality of virtual display areas
US9069622B2 (en) Techniques for load balancing GPU enabled virtual machines
US9046931B2 (en) Apparatus and method for adaptation of input/output interface in virtualization environment
US9389888B2 (en) Virtualization system with a remote proxy in a virtualization layer domain
JP5005111B2 (en) Interface connection between multiple logical partitions and self-virtualized I / O devices
CN102918490B (en) Interacting with remote applications displayed within a virtual desktop of a tablet computing device
US20130174151A1 (en) Information processing apparatus and method of controlling virtual machine
US20120081355A1 (en) Dynamic Virtual Device Failure Recovery
CN110770708A (en) Method and apparatus for hardware virtualization
MX2010011964A (en) Virtual desktop view scrolling.
US20240037060A1 (en) Computing device, virtualization acceleration device, remote control method and storage medium
US20120050260A1 (en) Method and apparatus for accommodating display migration among a plurality of physical displays
US8880582B2 (en) User access to a partitionable server
CN115202827A (en) Method for processing virtualized interrupt, interrupt controller, electronic device and chip
JPH05108298A (en) Multiwindow display method and window system
US10776145B2 (en) Systems and methods for traffic monitoring in a virtualized software defined storage architecture
US9959842B2 (en) On-screen display at thin client
CN116627551A (en) Virtual processing device for controlling operation interface of guest virtual machine
US20230244509A1 (en) Virtual processing device for controlling an operating interface of a guest virtual machine
KR20220048311A (en) Method for providing mirroring screen of user virtual machine in a virtualized environment
US20150277945A1 (en) Virtual computer system
US10394512B2 (en) Multi-monitor alignment on a thin client
KR101524781B1 (en) Apparatus for adapting input and output interface in virtual environment and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination