CN112486624B - Display method of multiple virtual machine systems and physical machine - Google Patents

Display method of multiple virtual machine systems and physical machine Download PDF

Info

Publication number
CN112486624B
CN112486624B CN201910851518.9A CN201910851518A CN112486624B CN 112486624 B CN112486624 B CN 112486624B CN 201910851518 A CN201910851518 A CN 201910851518A CN 112486624 B CN112486624 B CN 112486624B
Authority
CN
China
Prior art keywords
display
physical machine
display data
starting
option
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910851518.9A
Other languages
Chinese (zh)
Other versions
CN112486624A (en
Inventor
徐春强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Coretek Systems Inc
Kyland Technology Co Ltd
Original Assignee
Coretek Systems Inc
Kyland Technology 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 Coretek Systems Inc, Kyland Technology Co Ltd filed Critical Coretek Systems Inc
Priority to CN201910851518.9A priority Critical patent/CN112486624B/en
Publication of CN112486624A publication Critical patent/CN112486624A/en
Application granted granted Critical
Publication of CN112486624B publication Critical patent/CN112486624B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • 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
    • G06F2009/45562Creating, deleting, cloning virtual machine instances

Abstract

The application discloses a display method and a physical machine of a plurality of VM systems, wherein the method comprises the following steps: the physical machine is provided with N VM systems, at least one VM system in the N VM systems is started, the at least one VM system comprises a first VM system, and an operation interface of the first VM system is set to be displayed; and receiving display data sent by the first VM system, wherein the display data are obtained by the first VM system in response to the display instruction, performing image video processing on the received display data, and displaying the processed display data on an operation interface of the first VM system. Because the processing capacity of the physical machine to the image video is far better than that of the VM system to the image video, the problems of blocking and poor display effect caused by the VM system to the image video can be avoided, the display performance is improved, and the user experience is provided.

Description

Display method of multiple virtual machine systems and physical machine
Technical Field
The present application relates to the technical field of Linux operating systems, and in particular, to a display method and a physical Machine for a multiple Virtual Machine (VM) system.
Background
The physical machine provides a hardware environment for the virtual machine, and a plurality of virtual machine systems can be installed on one physical machine based on virtualization technology through cooperation of the physical machine and the virtual machine. When a plurality of Virtual machine systems are installed on a physical machine, the plurality of Virtual machine systems need to be connected one by one through Virtual equipment or remote connection, for example, virtual Network Control (VNC), SPICE, and the like, and the connection operation of the Virtual machine systems is cumbersome, which affects user experience.
The virtual machine decodes, merges, renders and the like the image and video data in the form of a virtual display card, a virtual CPU or combined software, and then sends the processed image, video and other data to the physical machine for display.
Therefore, how to improve the display performance when a plurality of virtual machine systems are installed on a physical machine is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a display method of multiple VM systems and a physical machine, which are used for improving the display performance when the physical machine is provided with multiple virtual machine systems, so that the user experience is provided.
In a first aspect, a display method of multiple VM systems is provided, where the method is applied to a physical machine, where the physical machine is installed with N virtual machine VM systems, at least one VM system of the N VM systems is started, the at least one VM system includes a first VM system, an operation interface of the first VM system is set to be displayed, and N is an integer greater than 0, and includes:
receiving display data sent by a first VM system, wherein the display data are obtained by the first VM system in response to a display instruction; wherein the display data comprises at least image data and video data;
and carrying out image video processing on the received display data, and displaying the processed display data on an operation interface of the first VM system.
Optionally, before receiving the display data sent by the first VM system, the method further includes:
responding to a starting instruction, and starting a local system of the physical machine;
after a local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a display option area and a VM system starting option area;
the VM system starting option area is used for determining a started VM system, the N VM systems are displayed in the VM system starting option area, the displayed option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the displayed option area.
Optionally, after the displaying the VM control interface, the method further includes:
responding to a VM system starting option instruction and a display option instruction, starting the at least one VM system, and after the at least one VM system is started, setting an operation interface of the first VM system to be displayed in a top mode; the display service software in the at least one VM system is prohibited from being started, the display service software is used for performing image video processing on the display data, the VM system starting selection instruction is used for indicating the at least one VM system, and the display option instruction is used for indicating the first VM system.
Optionally, the performing image video processing on the received display data includes:
decoding the display data to obtain decoded display data;
and rendering and combining the decoded display data.
Optionally, the at least one VM system comprises a first VM system and a second VM system;
after the processed display data is displayed on the operation interface of the first VM system, the method further includes:
and responding to a VM system switching instruction, and setting the top of the operating interface of the second VM system for displaying.
In a second aspect, a physical machine is provided, where the physical machine is installed with N VM systems of virtual machines, at least one VM system of the N VM systems is started, the at least one VM system includes a first VM system, an operation interface of the first VM system is set to be displayed, and N is an integer greater than 0, and the method includes:
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving display data sent by a first VM system, and the display data is obtained by the first VM system in response to a display instruction; wherein the display data comprises at least image data and video data;
the processing unit is used for carrying out image video processing on the received display data;
and the display unit is used for displaying the processed display data on an operation interface of the first VM system.
Optionally, the processing unit is further configured to:
responding to a starting instruction, and starting a local system of the physical machine;
the display unit is further configured to:
after a local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a VM system starting option area and a display option area;
the VM system starting option area is used for determining a started VM system, the N VM systems are displayed in the VM system starting option area, the displayed option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the displayed option area.
Optionally, the processing unit is further configured to:
responding to a VM system starting option instruction and a display option instruction, starting the at least one VM system, and after the at least one VM system is started, setting an operation interface of the first VM system to be displayed in a top mode; the display service software in the at least one VM system is prohibited from being started, the display service software is used for performing image video processing on the display data, the VM system starting selection instruction is used for indicating the at least one VM system, and the display option instruction is used for indicating the first VM system.
Optionally, the processing unit is specifically configured to:
decoding the display data to obtain decoded display data;
and rendering and combining the decoded display data.
Optionally, the at least one VM system includes a first VM system and a second VM system;
the processing unit is further configured to:
and responding to a VM system switching instruction, and setting the top of the operation interface of the second VM system for display.
In a third aspect, there is provided a computer-readable storage medium having stored thereon computer-executable instructions for causing the computer to perform the method of any of the first aspects above.
In the above embodiment of the present application, the physical machine is installed with N VM systems, at least one VM system of the N VM systems is started, the at least one VM system includes a first VM system, and an operation interface of the first VM system is set to be displayed on top; and receiving display data sent by the first VM system, wherein the display data is obtained by the first VM system in response to the display instruction, performing image video processing on the received display data, and displaying the processed display data on an operation interface of the first VM system. When N VM systems are installed on the physical machine, the VM systems send data needing image video processing to the physical machine, the physical machine carries out image video processing on the data, the processed data are displayed on an operation interface of the VM systems, and the processing capacity of the physical machine to the image video is far superior to that of the VM systems to the image video, so that the problems of blocking and poor display effect caused when the VM systems process the image video can be avoided, the display performance is improved, and the user experience is provided.
Drawings
Fig. 1 is a schematic architecture diagram of a physical machine installed with N VM systems according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a display method for multiple VM systems according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a VM control interface according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a starting process of a physical machine installed with N VM systems according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a physical machine according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that "first" and "second" in the embodiments of the present application are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
When a plurality of VM systems are installed on a physical machine, only one of the VM systems can directly use the input function and the display function of the physical machine, so that the following defects exist: other VM systems which cannot use the input function and the display function of the physical machine cannot directly use a display card CPU of the physical machine to display images and videos, so that the image and video display function effect is poor, and the CPU occupancy rate of a virtual machine is high during video playing; when other VM systems need to be used, VM connection tools (such as VNC and SPICE) need to be opened first, and the working area of the tools needs to be focused to realize input operation on the other VM systems, which is tedious. In addition, the hardware processing capability of the VM system is inferior to that of the physical machine, so that the processing efficiency of the VM system on data such as images and videos is poor, and when a plurality of application software is processed in parallel on the VM system, the CPU occupancy rate of the VM is high, which easily causes problems such as seizure and poor display effect, thereby reducing the display performance and affecting the user experience.
In order to solve the above problem, an embodiment of the present application provides a physical machine installed with N VM systems.
Referring to fig. 1, an architecture diagram of a physical machine installed with N VM systems is provided in the embodiment of the present application.
As shown, the physical machine includes a local system (hyper system) 110 and a VM system 120.
The local system 110 runs on the physical machine, the Linux system is installed in the local system 110, and the local system 110 includes display service software (Xserver) 111, a keyboard (keyboard) module 112, a mouse (mouse) module 113, a video card module 114, a basic system software package set (core, which is used to start basic function software of the local system, such as a command line tool, a network, a basic system service, and the like), and VM tool software (such as qemu), and the like.
The display service software 111 is used for managing and driving the keyboard module 112, the mouse module 113 and the video card module 114; performing image video processing on the display data, specifically, decoding the display data, and performing rendering, merging and other processing on the decoded display data; wherein the display data comprises at least image data and video data.
And the keyboard module 112, managed and driven by the display service software 111, is used for receiving input information from a keyboard of an external device, acquiring a corresponding key value according to the input information, and sending the key value to the display service software 111 so that the local system 110 of the physical machine responds to the input information of the keyboard, or sending the key value to the VM system 120 through the display service software 111 so that the VM system 120 responds to the input information of the keyboard.
And a mouse module 113 managed and driven by the display service software 111, for receiving input information from a mouse of an external device, decoding the input information, and transmitting the decoded input information to the display service software 111 so that the local system 110 of the physical machine responds to the input information of the mouse, or transmitting the decoded input information to the VM system 120 through the display service software 111 so that the VM system 120 responds to the input information of the keyboard.
The display card module 114 is managed and driven by the display service software 111, and is configured to convert, by the display service software 111, display information required by the local system 110 of the physical machine to drive the display, so that the display displays the display information; or the display service software 111 converts the display information required by the VM system 120 to drive the display, so that the display displays the display information.
The local system 110 starts up the N VMs by a virtualization technology (e.g., software such as QEMU-KVM, LXC, etc.), a Linux system is installed in the VMs, and after the VMs are started up and connected, the operating systems of the VMs are mapped onto the physical machine. The VM system 120 includes a first VM system 121, a second VM system 122 … … an nth VM system 12N; each VM system comprises a genome desktop and a user-defined software set, wherein the user-defined software set is a software set installed for supporting normal operation of application software. Wherein N is an integer greater than 0, and further wherein N is less than 7.
In the physical machine illustrated in fig. 1, the display service software (Xserver) in the VM system is not started in the starting process of the VM system 120, the start client (Xclient) in the VM is connected to the display service software (Xserver) 111 of the local system 110 in a network manner, and since the display service software (Xserver) 111 is used for managing and driving the keyboard module 112, the mouse module 113, and the graphics card module 114, after the VM system 120 is mapped to the display service software (Xserver) 111 of the local system 110, the keyboard module 112, the mouse module 113, and the graphics card module 114 under management and driving of the display service software (Xserver) 111 of the local system 110 can be used.
The following takes a Linux system of version X11 as an example, and how to implement starting a VM system in a physical machine boot process, and how to implement not starting display service software (Xserver) in the VM system boot process are described in detail. The method comprises the following implementation steps:
(1) N script startx files located in the usr/bin starting X11 system are copied and named startx1 and startx2 … … startxN respectively.
(2) The startx file is modified, for each startx file, the userclientrc variable is searched, and the userclientrc is modified to be $ HOME/. Xinitrc1-N, for example, the userclientrc variable under the startx1 is modified to be userclientc = $ HOME/. Xinitrc1.
(3) Xinitrc1-N files are created under the user directory $ HOME/, with the following added to the file: starting a VM; waiting for the VM system to be started, connecting the security shell service with the VM system, and executing a desktop application program (font-session); enter while (1) loop, ensure that Xserver is running all the time.
(4) Modifying the libxcb library, specifically, modifying the name function of the _ xcb _ pars _ DISPLAY function to use getenv ("DISPLAY") system variables, and adding name = getrnv ("DISPLAY") at the function entry to enable the library to use the environment variable DISPLAY for Xserver connection.
(5) Modify/etc/ssh/sshd _ config file (configuration file of secure shell service) in VM system, start data transfer option of X11.
(6) Modifying/etc/profile in the VM system, and adding a DISPLAY global variable, wherein the DISPLAY points to Hyper Xserver, so that the Xserver of the virtual machine points to the Xserver of the local system.
(7) Configuring a VM system, not starting an Xserver, and automatically starting a secure shell service; specifically comprising a multi-user module enabling the system; setting a system default starting multi-user mode; and setting the safety shell service to be automatically started.
According to the steps, the multiple VM systems can be started in the starting process of the physical machine of the Linux system configured with the X11 version, and the Xservers of the VM systems are not started in the starting process of the multiple VM systems.
Based on a physical machine equipped with N XM systems shown in fig. 1, an embodiment of the present application provides a display method of multiple VM systems, where the display method is applied to the physical machine, the physical machine is equipped with the N VM systems, at least one VM system of the N VM systems is started, the at least one VM system includes a first VM system, and an operation interface of the first VM system is set on top for display.
Fig. 2 is a schematic flow chart of a display method of multiple VM systems according to an embodiment of the present application.
As shown, the flow diagram includes:
s201: and receiving display data sent by the first VM system, wherein the display data is obtained by the first VM system in response to the display instruction.
Wherein the display data comprises at least image data and video data.
Specifically, an operation interface of the first VM system is set to be displayed at the top, and when a user inputs a display instruction to the first VM system through display service software in a local system of the physical machine in a keyboard or mouse manner, the first VM system receives the display instruction, and in response, the first VM system obtains display data corresponding to the display instruction from the first VM or the network. Since the display service software of the first VM system is not started when the first VM system is started, the first VM system transmits the acquired display data to the display service software in the physical machine local system in response to the display instruction. The display instruction is used for indicating to display images or play videos.
In some embodiments, before S201, the physical machine in the shutdown state receives a power-on instruction, where the power-on instruction may be triggered by a power-on key of the physical machine, or may be triggered by a power-on key on a remote control device associated with the physical machine, which is not limited in this application; responding to the starting instruction, and starting a local system of the physical machine; after the local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a VM system starting option area and a display option area, the VM system starting option area is used for determining a started VM system, N VM systems are displayed in the VM system starting option area, the display option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the display option area.
In some embodiments, after the display VM control is decoded, the user inputs a VM system starting option instruction and a display option instruction to the physical machine in a mode of a keyboard or a mouse, in response, the physical machine starts at least one VM system indicated by the VM system starting option instruction, and after the at least one VM system is started, the operating interface of the first VM system indicated by the display selection instruction is set to be displayed on the top. The display service software in at least one VM system is prohibited from being started, the display service software is used for carrying out image video processing on display data, a VM system starting option instruction is used for indicating at least one VM system, and a display option instruction is used for indicating a first VM system in the at least one VM system.
Referring to fig. 3, a schematic diagram of a VM control interface provided in an embodiment of the present application is exemplarily shown. As shown, the VM control interface includes a VM System boot options area 310, and a display options area 320.
Wherein VM system boot options area 310 includes a first VM system option 311, a second VM system option 312, a third VM system option 313, a fourth VM system option 314, a fifth VM system option 315, and a sixth VM system option 316; the VM system boot option area 310 is used for determining a VM system to be booted, and a plurality of options in the VM system boot option area 310 may be selected, for example, selecting only the first VM system option 311 determines booting only the first VM system, for example, selecting the third VM system option 313 and the sixth VM system option 316 determines booting only the third VM system and the sixth VM system, and for example, selecting all the options determines booting only the first VM system, the second VM system, the third VM system, the fourth VM system, the fifth VM system, and the sixth VM system.
The display options area 320 includes a first VM system option 321, a second VM system option 322, a third VM system option 323, a fourth VM system option 324, a fifth VM system option 325, a sixth VM system option 326, and a local system option 327; the display option area 320 is used for determining an operation interface displayed after a physical machine is started (including the startup of the VM system), and only one option in the display option area 320 can be selected, and the selectable option corresponds to one option in the at least one selected option in the VM system startup option area 310.
For example, if the first VM system option 311 in the VM system start option area 310 is selected, one of the first VM system option 321 and the local system option 327 may be selected in the display option area 320; for another example, if the first VM system option 311, the third VM system option 313, and the fifth VM system option 315 in the VM system startup option area 310 are selected, one of the first VM system option 321, the third VM system option 323, the fifth VM system option 325, and the local system option 327 may be selected in the display option area 320, in this scenario, if the fifth VM system option 325 is selected, the physical machine starts up the first VM system, the third VM system, and the fifth VM system, and after the physical machine is completely started up, the operation interface of the fifth VM system is set to be displayed, that is, the user may visually feel that the operation interface displayed after the physical machine is completely started up is the operation interface of the fifth VM system.
Further, the VM system booting options area 310 may also be provided with a non-booting VM system option, which is used to indicate that the VM system is not booted; when the user selects the not-boot VM system option, the other options in the VM system boot options area 310 may not be selected and the local system option 327 in the display options area 320 is selected by default.
S202: and carrying out image video processing on the received display data.
And the display service software in the physical machine local system performs image video processing on the received display data. Specifically, the display service software in the physical machine local system decodes the display data to obtain decoded display data, and renders and merges the decoded display data, so that the processed display data can be displayed on the display screen.
S203: and displaying the processed display data on an operation interface of the first VM system.
And after the display service software in the local system of the physical machine completes the image video processing of the display data, displaying the processed display data on the operation interface of the first VM system through a display card module of the local system.
In some embodiments, at least one VM system of the N VM systems installed by the physical machine is started, the at least one VM system being started comprises a first VM system and a second VM system, wherein an operation interface of the first VM system is set to be displayed on top after the physical machine is started; after S203, the user sends a VM system switching instruction to the physical machine in a manner of a keyboard or a mouse, and in response, the physical machine sets and displays an operation interface of the second VM system indicated by the VM system switching instruction on top, the second VM system can directly use the input and display functions of the physical machine, and the first VM system is set to run in the background.
Optionally, the VM system switching instruction may be implemented by ctrl + shift + Fn in the keyboard, where 0-n-7; for example, ctrl + shift + F1 is used to instruct to switch to the first VM system, and in response, the physical machine sets the operation interface of the first VM system to the top for display; for another example, ctrl + shift + F3 is used to instruct switching to the third VM system, and in response, the physical machine sets the operation interface of the third VM system to the top for display.
The following describes in detail a boot flow of a physical machine in which a plurality of VM systems are installed, taking an X11 version Linux system as an example.
Fig. 4 is a schematic diagram illustrating a boot flow of a physical machine installed with N VM systems according to an embodiment of the present application.
As shown, the starting process includes:
s401: and responding to the starting instruction, and starting a local system of the physical machine.
And receiving a starting-up instruction from a user, and starting up the hyper system by the physical machine in response.
S402: and displaying the VM control interface, and receiving a VM system starting option instruction and a display option instruction.
After the hyper system of the physical machine is started, the VM control interface shown in fig. 3 is displayed, and a user sends a VM system start option instruction and a display option instruction in a keyboard or mouse manner, so that the physical machine receives the VM system start option instruction and the display option instruction.
S403: and starting at least one VM system indicated by the VM system starting option instruction.
Specifically, in response to the VM system start option instruction, executing the startx file corresponding to the VM system indicated by the VM system start option instruction to start the VM system, starting an X program, and executing the xinitrc script, thereby starting the VM system corresponding to the startx file.
S404: and displaying the operation interface of the VM system corresponding to the display option instruction.
Specifically, after the at least one VM system indicated by the VM system start option instruction is started, the secure shell service connects to the at least one VM system, executes a font-session desktop program of the at least one VM system, maps the operating interface of the at least one VM system to a physical machine, displays the operating interface of the VM system indicated by the display option instruction on top, and runs the other VM systems in the background.
In the above embodiment of the present application, the physical machine is installed with N VM systems, at least one VM system of the N VM systems is started, the at least one VM system includes a first VM system, and an operation interface of the first VM system is set to be displayed on top; and receiving display data sent by the first VM system, wherein the display data are obtained by the first VM system in response to the display instruction, performing image video processing on the received display data, and displaying the processed display data on an operation interface of the first VM system. When N VM systems are installed on the physical machine, the VM systems send data needing image video processing to the physical machine, the physical machine carries out image video processing on the data, the processed data are displayed on an operation interface of the VM systems, and the processing capacity of the physical machine to the image video is far superior to that of the VM systems to the image video, so that the problems of blocking and poor display effect caused when the VM systems process the image video can be avoided, the display performance is improved, and the user experience is provided.
Based on the same technical concept, the embodiment of the present application further provides a physical machine, where the physical machine can implement the flow executed in fig. 2 in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a physical machine according to an embodiment of the present disclosure.
As shown in the figure, the physical machine is provided with N virtual machine VM systems, at least one VM system of the N VM systems is started, the at least one VM system comprises a first VM system, and an operation interface of the first VM system is set to be displayed; the physical machine includes a receiving unit 501, a processing unit 502, and a display unit 503.
A receiving unit 501, configured to receive display data sent by a first VM system, where the display data is obtained by the first VM system in response to a display instruction; wherein the display data comprises at least image data and video data;
a processing unit 502, configured to perform image video processing on the received display data;
and the display unit 503 is configured to display the processed display data on the operation interface of the first VM system.
Optionally, the processing unit is further configured to:
responding to a starting instruction, and starting a local system of the physical machine;
the display unit is further configured to:
after a local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a VM system starting option area and a display option area;
the VM system starting option area is used for determining a started VM system, the N VM systems are displayed in the VM system starting option area, the displayed option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the displayed option area.
Optionally, the processing unit is further configured to:
responding to a VM system starting option instruction and a display option instruction, starting the at least one VM system, and after the at least one VM system is started, setting an operation interface of the first VM system to be displayed in a top mode; the display service software in the at least one VM system is prohibited from being started, the display service software is used for performing image video processing on the display data, the VM system starting selection instruction is used for indicating the at least one VM system, and the display option instruction is used for indicating the first VM system.
Optionally, the processing unit is specifically configured to:
decoding the display data to obtain decoded display data;
and rendering and combining the decoded display data.
Optionally, the at least one VM system comprises a first VM system and a second VM system;
the processing unit is further configured to:
and responding to a VM system switching instruction, and setting the top of the operation interface of the second VM system for display.
Based on the same technical concept, the embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the processes performed in fig. 2, 4, and 5.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A display method of a plurality of Virtual Machine (VM) systems is applied to a physical machine, the physical machine is provided with N VM systems, at least one VM system in the N VM systems is started, display service software in the at least one VM system is prohibited from being started, the display service software is used for performing image video processing on display data, the at least one VM system comprises a first VM system, an operation interface of the first VM system is set to be displayed, and N is an integer larger than 0, and the method comprises the following steps:
receiving display data sent by the first VM system, wherein the display data are obtained by the first VM system in response to a display instruction; wherein the display data comprises at least image data and video data;
and carrying out image video processing on the received display data, and displaying the processed display data on an operation interface of the first VM system.
2. The method of claim 1, wherein prior to receiving the display data sent by the first VM system, further comprising:
responding to a starting instruction, and starting a local system of the physical machine;
after a local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a display option area and a VM system starting option area;
the VM system starting option area is used for determining a started VM system, the N VM systems are displayed in the VM system starting option area, the displayed option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the displayed option area.
3. The method of claim 2, wherein after displaying the VM control interface, further comprising:
responding to a VM system starting option instruction and a display option instruction, starting the at least one VM system, and after the at least one VM system is started, setting an operation interface of the first VM system to be displayed in a top mode; the VM system starting selection instruction is used for indicating the at least one VM system, and the display option instruction is used for indicating the first VM system.
4. The method of claim 1, wherein the image video processing the received display data comprises:
decoding the display data to obtain decoded display data;
and rendering and combining the decoded display data.
5. The method of any of claims 1 to 4, wherein the at least one VM system comprises a first VM system and a second VM system;
after displaying the processed display data on the operation interface of the first VM system, the method further includes:
and responding to a VM system switching instruction, and setting the top of the operation interface of the second VM system for display.
6. A physical machine, wherein N virtual machine VM systems are installed on the physical machine, at least one VM system of the N VM systems is started, display service software in the at least one VM system is prohibited from being started, the display service software is used for performing image video processing on display data, the at least one VM system comprises a first VM system, an operation interface of the first VM system is set to be displayed, and N is an integer greater than 0, the physical machine comprises:
the receiving unit is used for receiving display data sent by the first VM system, wherein the display data are obtained by the first VM system in response to a display instruction; wherein the display data comprises at least image data and video data;
the processing unit is used for carrying out image video processing on the received display data;
and the display unit is used for displaying the processed display data on an operation interface of the first VM system.
7. The physical machine of claim 6, wherein the processing unit is further to:
responding to a starting instruction, and starting a local system of the physical machine;
the display unit is further configured to:
after a local system of the physical machine is started, displaying a VM control interface, wherein the VM control interface comprises a VM system starting option area and a display option area;
the VM system starting option area is used for determining a started VM system, the N VM systems are displayed in the VM system starting option area, the displayed option area is used for determining a displayed operation interface, and the N VM systems and the local system are displayed in the displayed option area.
8. The physical machine of claim 7, wherein the processing unit is further to:
responding to a VM system starting option instruction and a display option instruction, starting the at least one VM system, and after the at least one VM system is started, setting an operation interface of the first VM system to be displayed in a top mode; the VM system starting selection instruction is used for indicating the at least one VM system, and the display option instruction is used for indicating the first VM system.
9. The physical machine according to claim 6, wherein the processing unit is specifically configured to:
decoding the display data to obtain decoded display data;
and rendering and combining the decoded display data.
10. The physical machine of any of claims 6 to 9, wherein the at least one VM system comprises a first VM system and a second VM system;
the processing unit is further configured to:
and responding to a VM system switching instruction, and setting the top of the operation interface of the second VM system for display.
CN201910851518.9A 2019-09-10 2019-09-10 Display method of multiple virtual machine systems and physical machine Active CN112486624B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910851518.9A CN112486624B (en) 2019-09-10 2019-09-10 Display method of multiple virtual machine systems and physical machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910851518.9A CN112486624B (en) 2019-09-10 2019-09-10 Display method of multiple virtual machine systems and physical machine

Publications (2)

Publication Number Publication Date
CN112486624A CN112486624A (en) 2021-03-12
CN112486624B true CN112486624B (en) 2023-01-06

Family

ID=74919785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910851518.9A Active CN112486624B (en) 2019-09-10 2019-09-10 Display method of multiple virtual machine systems and physical machine

Country Status (1)

Country Link
CN (1) CN112486624B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200796B1 (en) * 2005-05-05 2012-06-12 Digital Display Innovations, Llc Graphics display system for multiple remote terminals
CN103810021A (en) * 2014-02-19 2014-05-21 福建升腾资讯有限公司 Virtual desktop displaying method based on host machine under VDI and system thereof
CN107423115A (en) * 2017-07-28 2017-12-01 西安万像电子科技有限公司 The methods, devices and systems of video card virtualization
CN109656646A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 A kind of long- distance tabletop control method, apparatus, equipment and virtualization chip

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9342335B2 (en) * 2009-12-23 2016-05-17 Open Innovation Network, LLC Systems, methods and computer readable media for managing multiple virtual machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8200796B1 (en) * 2005-05-05 2012-06-12 Digital Display Innovations, Llc Graphics display system for multiple remote terminals
CN103810021A (en) * 2014-02-19 2014-05-21 福建升腾资讯有限公司 Virtual desktop displaying method based on host machine under VDI and system thereof
CN107423115A (en) * 2017-07-28 2017-12-01 西安万像电子科技有限公司 The methods, devices and systems of video card virtualization
CN109656646A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 A kind of long- distance tabletop control method, apparatus, equipment and virtualization chip

Also Published As

Publication number Publication date
CN112486624A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
US11868785B2 (en) Application program page processing method and device
US10140115B2 (en) Applying update to snapshots of virtual machine
US20210073058A1 (en) Message processing method and apparatus, storage medium, and computer device
US10528210B2 (en) Foreground/background assortment of hidden windows
US9389884B2 (en) Method and apparatus for providing adaptive wallpaper display for a device having multiple operating system environments
CN104503783B (en) A kind of method and server of presence server hardware initialization degree
EP3188006B1 (en) Composite graphical interface with shareable data-objects
JP4782042B2 (en) Method for realizing user interface by electronic computer and software
US9558024B2 (en) Obtaining virtual machine images from virtualization environments
CN109308241B (en) Method and device for monitoring starting process of application program, terminal equipment and storage medium
KR20120030559A (en) System and method for switching between environments in a multi-environment operating system
CN103345405A (en) Application program starting method and device and client
CN102053871A (en) Application program image display method and device
JP5585721B2 (en) Information device, screen switching method, and screen switching program
CN109656646B (en) Remote desktop control method, device, equipment and virtualization chip
KR20140027741A (en) Application service providing system and method, server apparatus and client apparatus for application service
CN112486624B (en) Display method of multiple virtual machine systems and physical machine
US9225818B2 (en) Mobile terminal
JP2020038643A (en) Personal cloud system and method for localization related thereto
CN115756690A (en) Desktop window display method and device, terminal and storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN111722888B (en) Operation execution method, device, equipment and readable storage medium
CN106126281A (en) A kind of information processing method and electronic equipment
CN107077577A (en) A kind of application program launching method and device
CN110704157A (en) Application starting method, related device and medium

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
GR01 Patent grant
GR01 Patent grant