CN115248714A - Method for improving VDI remote desktop performance by using VGPU - Google Patents
Method for improving VDI remote desktop performance by using VGPU Download PDFInfo
- Publication number
- CN115248714A CN115248714A CN202210737286.6A CN202210737286A CN115248714A CN 115248714 A CN115248714 A CN 115248714A CN 202210737286 A CN202210737286 A CN 202210737286A CN 115248714 A CN115248714 A CN 115248714A
- Authority
- CN
- China
- Prior art keywords
- vdi
- vgpu
- remote desktop
- virtual machine
- video stream
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000005540 biological transmission Effects 0.000 claims abstract description 36
- 238000009877 rendering Methods 0.000 claims description 6
- 230000000977 initiatory effect Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 2
- 238000011160 research Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the technical field of remote desktops, in particular to a method for improving VDI remote desktop performance by using a VGPU, which comprises the following steps of S1: the VDI client is connected with the cloud desktop management platform to obtain virtual machine configuration information; s2: the VDI client detects that the VGPU display card exists in the virtual machine, uses a remote desktop protocol to connect with the back-end virtual machine, and automatically creates a special transmission channel for the video stream; s3: the method comprises the steps that a VDI virtual machine receives a remote desktop connection request, and a screen capture application is started in a Guest OS of the virtual machine; s4: capturing and coding the whole desktop by calling a VGPU hardware interface by a screen capturing application in a Guest OS of the virtual machine to form a video stream; s5: a screen capture application in Guest OS calls a remote desktop protocol interface, and a coded video stream is sent to a VDI client through a special video stream transmission channel; s6: and the VDI client calls a remote desktop protocol interface, receives the video stream from the video stream special transmission channel, and decodes and renders the video stream to form a remote interface for use. The invention can greatly improve the performance of the VDI remote desktop.
Description
Technical Field
The invention relates to a detection device, in particular to a method for improving VDI remote desktop performance by using a VGPU, and belongs to the technical field of remote desktops.
Background
At present, a cloud computing technology is widely applied to scenes such as scientific research and teaching, medical treatment, government affairs and office work, and a cloud desktop is taken as an example, the principle is that a virtual machine instance is operated on a cloud server for each user, and a terminal is connected to the desktop of the cloud virtual machine through a remote desktop transmission protocol to perform interactive operation; however, the traditional remote desktop transmission protocol can only use a server CPU to perform graphics card simulation, desktop screen capture and video encoding, and when a desktop graphic image changes rapidly, frame loss and jamming can be caused due to incapability of timely processing, thereby affecting the user experience;
in practical applications such as scientific research, design, virtual reality, deep learning and the like, relevant software needs to call GPU equipment to realize graphic acceleration, so that a manager can start VGPU virtualization for users of the type to further meet the requirements of application software in a Guest OS on the GPU equipment, but the operation result in the Guest OS of the virtual machine can be really presented to the eyes of the users only by performing a series of processes of screen grabbing, encoding, sending, receiving, decoding and rendering through a remote desktop protocol, a server end needs a large amount of time to complete screen grabbing and encoding through a CPU in the process, and the larger the delay is, the larger the influence on the work of the users is; the existing method for improving the performance of the remote desktop is to add a video coding card on a server, but although the method can improve the screen capturing and coding speed of the original CPU, the method can occupy the limited physical slot position on the server at the same time, thereby influencing the normal insertion and use of other devices needing to use the slot.
Therefore, there is a need to improve the performance of remote desktops to address the above-mentioned problems.
Disclosure of Invention
The invention aims to provide a method for improving the performance of a VDI remote desktop by using a VGPU, which is suitable for various scenes of education, medical treatment, finance, government, scientific research and the like using a VDI cloud desktop.
In order to achieve the purpose, the invention adopts the main technical scheme that:
a method for improving VDI remote desktop performance by using a VGPU comprises the following steps:
s1: firstly, connecting a cloud desktop management platform by using a VDI client, and then acquiring configuration information of a virtual machine;
s2: after the VDI client detects that the virtual machine has the VGPU display card, when the VDI client uses a remote desktop protocol to connect with a back-end virtual machine, a special transmission channel for the video stream is automatically created;
s3: when the VDI virtual machine receives a remote desktop connection request, starting a screen capture application in a Guest OS of the virtual machine;
s4: capturing and coding the whole desktop by calling a VGPU hardware interface by a screen capturing application in a Guest OS of the virtual machine, and finally forming a video stream;
s5: a screen capture application in Guest OS calls a remote desktop protocol interface, and the coded video stream is sent to a VDI client through a special video stream transmission channel;
s6: and the VDI client calls a remote desktop protocol interface, receives the video stream from the video stream special transmission channel, decodes and renders to form a remote interface for a user to use.
Preferably, the virtual machine configuration information obtained in S1 includes a CPU, a memory, and whether to enable the VGPU graphics card.
Preferably, in S4, the screen capture and encoding technology in the virtual machine GustOS can utilize the VGPU graphics card hardware to accelerate the screen capture and encoding speed, where the VGPU refers to a technology that a physical GPU supporting virtualization is divided into multiple VGPUs and then shared by multiple virtual machines for simultaneous use.
Preferably, in S4, the virtual machine video stream dedicated transmission channel technology can implement fast sending and receiving of the video stream.
Preferably, in S4, the screen capture and video encoding are implemented by using VGPU graphics card hardware in the guest os of the virtual machine, and a dedicated transmission channel for video stream is added in the remote transmission protocol.
Preferably, the video stream dedicated transmission channel includes screen capture, encoding, transmitting, receiving, decoding and rendering processes.
Preferably, the process of forming the remote desktop includes image quality requirement information, client information for initiating creation of the remote desktop, and network transmission quality information.
Preferably, the image quality requirement information is update area information indicating an area in which information update occurs in a subsequently transmitted image frame compared to an adjacent previously transmitted image frame; and the user interface element information is used for representing the character information and the picture information included in the image frame.
The invention has at least the following beneficial effects:
1. the method is suitable for various scenes of education, medical treatment, finance, government, scientific research and the like using the VDI cloud desktop, and after the VGPU display card virtualization is started in the VDI virtual machine, the speed of screen grabbing and video coding in a remote desktop protocol can be improved by using the VGPU in the GuestOS of the virtual machine, and the performance of the VDI remote desktop is improved.
2. According to the technology, screen capture and video coding are realized by using VGPU (video graphics Unit) display card hardware in a Guest OS (virtual machine Guest OS), a special transmission channel for video stream is added in a remote transmission protocol, the screen capture, coding, sending, receiving, decoding and rendering processes are rapidly completed, and the delay of screen capture, coding and video stream receiving and sending is maximally reduced. When the end user uses the remote desktop to perform Office work, video playing and other operations, the same use experience as that of a local PC can be achieved.
3. The screen capturing and coding technology in the GustOS of the virtual machine can utilize the hardware of the VGPU display card to accelerate the screen capturing and coding speed; the special transmission channel technology for the video stream of the virtual machine can realize the rapid sending and receiving of the video stream; the information reflecting the remote desktop creation requirement comprises any one or any combination of the following items: the remote desktop image quality requirement information, the client information for initiating the remote desktop creation and the network transmission quality information.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart of the present invention;
Detailed Description
The embodiments of the present application will be described in detail with reference to the drawings and examples, so that how to implement the technical means for solving the technical problems and achieving the technical effects of the present application can be fully understood and implemented.
As shown in fig. 1, the method for improving the performance of the VDI remote desktop by using the VGPU according to this embodiment includes the following steps:
s1: firstly, connecting a cloud desktop management platform by using a VDI client, and then acquiring configuration information of a virtual machine;
s2: after the VDI client detects that the VGPU display card exists in the virtual machine, when a remote desktop protocol is used for connecting the back-end virtual machine, a special transmission channel for the video stream is automatically created;
s3: when the VDI virtual machine receives a remote desktop connection request, starting a screen capture application in a Guest OS of the virtual machine;
s4: capturing and coding the whole desktop by calling a VGPU hardware interface by a screen capturing application in a Guest OS of the virtual machine, and finally forming a video stream;
s5: a screen capture application in a Guest OS calls a remote desktop protocol interface, and a coded video stream is sent to a VDI client through a special video stream transmission channel;
s6: and the VDI client calls a remote desktop protocol interface, receives the video stream from the video stream special transmission channel, decodes and renders to form a remote interface for a user to use.
Further, the virtual machine configuration information obtained in S1 includes a CPU, a memory, and whether or not the VGPU graphics card is enabled.
Furthermore, in S4, the screen capture and encoding technology in the virtual machine GustOS can utilize the VGPU graphics card hardware to accelerate the screen capture and encoding speed, where the VGPU refers to a technology that a physical GPU supporting virtualization is divided into multiple VGPUs and then shared to multiple virtual machines for simultaneous use.
Furthermore, in S4, the virtual machine video stream dedicated transmission channel technology can achieve fast transmission and reception of the video stream.
Still further, in S4, the screen capture and video encoding are implemented by using VGPU graphics card hardware in the guest os of the virtual machine, and a dedicated transmission channel for video stream is added in the remote transmission protocol.
Further, the video stream dedicated transmission channel comprises the processes of screen capture, encoding, sending, receiving, decoding and rendering.
Furthermore, the process of forming the remote desktop includes image quality requirement information, client information for initiating the creation of the remote desktop, and network transmission quality information.
Still further, the image quality requirement information is update area information indicating an area where information update occurs in a later-transmitted image frame compared to an adjacent earlier-transmitted image frame; and the user interface element information is used for representing the character information and the picture information included in the image frame.
As shown in fig. 1, the principle of the method for improving the performance of the VDI remote desktop by using the VGPU according to this embodiment is as follows: the technology realizes screen capture and video coding by using VGPU (video graphics unit) display card hardware in a Guest OS (guest operating system) of a virtual machine, and adds a special transmission channel for video stream in a remote transmission protocol, so that the screen capture, coding, sending, receiving, decoding and rendering processes are quickly completed, and the time delay of screen capture, coding and video stream receiving and sending is maximally reduced; when the end user uses the remote desktop to perform Office work, video and audio playing and other operations, the same use experience as that of a local PC can be achieved.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to achieve the technical effect basically.
It is noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in articles of commerce or systems in which the element is comprised.
The foregoing description shows and describes several preferred embodiments of the invention, but as aforementioned, it is to be understood that the invention is not limited to the forms disclosed herein, and is not to be construed as excluding other embodiments, and that the invention is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (8)
1. A method for improving VDI remote desktop performance by using a VGPU is characterized by comprising the following steps:
s1: firstly, connecting a cloud desktop management platform by using a VDI client, and then acquiring configuration information of a virtual machine;
s2: after the VDI client detects that the virtual machine has the VGPU display card, when the VDI client uses a remote desktop protocol to connect with a back-end virtual machine, a special transmission channel for the video stream is automatically created;
s3: when the VDI virtual machine receives a remote desktop connection request, starting a screen capture application in a Guest OS of the virtual machine;
s4: the screen capture application in the Guest OS realizes the capture and coding of the whole desktop by calling a VGPU hardware interface, and finally forms a video stream;
s5: a screen capture application in Guest OS calls a remote desktop protocol interface, and the coded video stream is sent to a VDI client through a special video stream transmission channel;
s6: and the VDI client calls a remote desktop protocol interface, receives the video stream from the video stream special transmission channel, decodes and renders to form a remote interface for a user to use.
2. The method of claim 1, wherein the VGPU is used to improve VDI remote desktop performance, and wherein: the virtual machine configuration information obtained in the step S1 includes a CPU, a memory, and whether or not the VGPU graphics card is enabled.
3. The method of claim 1, wherein the VGPU is used to improve VDI remote desktop performance, and wherein: in S4, the screen capturing and coding technology in the GustOS of the virtual machine can utilize the Video Graphics Processing Unit (VGPU) video card hardware to accelerate the screen capturing and coding speed, wherein the VGPU refers to the technology of sharing the virtual machine with a plurality of virtual machines after a physical GPU supporting virtualization is cut into a plurality of VGPUs.
4. The method for improving the performance of a VDI remote desktop by a VGPU according to claim 1, wherein: in S4, the dedicated transmission channel technology for the virtual machine video stream can achieve fast sending and receiving of the video stream.
5. The method of claim 1, wherein the VGPU is used to improve VDI remote desktop performance, and wherein: in the S4, the screen capture and the video coding are realized by using VGPU (video graphics Unit) video card hardware in the Guest OS of the virtual machine, and a special transmission channel for the video stream is added in a remote transmission protocol.
6. The method for improving the performance of a VDI remote desktop by a VGPU according to claim 5, wherein: wherein the video stream dedicated transmission channel comprises the processes of screen capture, encoding, sending, receiving, decoding and rendering.
7. The method of claim 1, wherein the VGPU is used to improve VDI remote desktop performance, and wherein: the process of forming the remote desktop comprises image quality requirement information, client information for initiating the creation of the remote desktop and network transmission quality information.
8. The method for improving the performance of a VDI remote desktop by a VGPU according to claim 7, wherein: wherein the image quality requirement information is update area information indicating an area where information update occurs in a subsequently transmitted image frame compared to an adjacent previously transmitted image frame; and the user interface element information is used for representing the character information and the picture information included in the image frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210737286.6A CN115248714A (en) | 2022-06-27 | 2022-06-27 | Method for improving VDI remote desktop performance by using VGPU |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210737286.6A CN115248714A (en) | 2022-06-27 | 2022-06-27 | Method for improving VDI remote desktop performance by using VGPU |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115248714A true CN115248714A (en) | 2022-10-28 |
Family
ID=83700252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210737286.6A Pending CN115248714A (en) | 2022-06-27 | 2022-06-27 | Method for improving VDI remote desktop performance by using VGPU |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115248714A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115543714A (en) * | 2022-12-02 | 2022-12-30 | 北京志翔科技股份有限公司 | Remote desktop delay detection method and device, electronic equipment and system |
CN117519887A (en) * | 2023-12-13 | 2024-02-06 | 南京云玑信息科技有限公司 | Method and system for improving cloud computer remote operation experience |
-
2022
- 2022-06-27 CN CN202210737286.6A patent/CN115248714A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115543714A (en) * | 2022-12-02 | 2022-12-30 | 北京志翔科技股份有限公司 | Remote desktop delay detection method and device, electronic equipment and system |
CN117519887A (en) * | 2023-12-13 | 2024-02-06 | 南京云玑信息科技有限公司 | Method and system for improving cloud computer remote operation experience |
CN117519887B (en) * | 2023-12-13 | 2024-03-12 | 南京云玑信息科技有限公司 | Method and system for improving cloud computer remote operation experience |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3046331B1 (en) | Media control method and system based on cloud desktop | |
CN115248714A (en) | Method for improving VDI remote desktop performance by using VGPU | |
CN111433743B (en) | APP remote control method and related equipment | |
CN111240631A (en) | Method and system for virtually transmitting Linux virtual machine screen picture based on AMD display card | |
CN103283250B (en) | Method, device and system of video redirection | |
CN112905289A (en) | Application picture display method, device, terminal, screen projection system and medium | |
CN111586452A (en) | Cross-device interaction method and device and playing device | |
CN112929678A (en) | Live broadcast method, device, server and computer readable storage medium | |
US20240307767A1 (en) | Cloud Data Processing | |
CN102033726A (en) | Display method and server | |
CN115089966B (en) | Video rendering method, system and related equipment applied to cloud game | |
CN113778583A (en) | Method, device, equipment and medium for publishing local application of cloud desktop | |
WO2014121477A1 (en) | Video redirection method, device and system, and computer readable medium | |
CN112565883A (en) | Video rendering processing system and computer equipment for virtual reality scene | |
CN114268626A (en) | Window processing system, method and device | |
CN113778593B (en) | Cloud desktop control method and device, electronic equipment, storage medium and program product | |
WO2024061308A1 (en) | Notification processing method, and terminal device, server side and computer storage medium | |
CN106775690B (en) | Recording method and device based on gdi/gdi + window coverage | |
CN111475240B (en) | Data processing method and system | |
CN111708533B (en) | Method and device for setting mouse display state in application thin client | |
CN106331860A (en) | Set-top box business adaptation method, device and system | |
CN110990109A (en) | Spliced screen redisplay method, terminal, system and storage medium | |
CN111111175A (en) | Game picture generation method and device and mobile terminal | |
CN114827692A (en) | System for operating cloud desktop based on smart television | |
CN111431948B (en) | Framework and content separated cloud desktop optimization display method and system |
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 |