# US 2019/0378320 A1 · Method of transmitting screen of virtual machine using hardware-based gpu and apparatus using the same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0378320 A1
- Document ID: US20190378320A1
- Status: Published application
- Kind: A1
- Application number: 16/424,260
- Filed: 2019-05-28
- Published: 2019-12-12
- Earliest claimed: 2018-06-08
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jong Hwan KIM; Kee Seong CHO
- Web page: https://patentgrep.com/patent/US20190378320A1

## CPC

- H04N 19/507: using conditional replenishment
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06T 15/005: {General purpose rendering architectures}
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04N 19/142: Detection of scene cut or scene change
- H04N 19/172: the region being a picture, frame or field
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/87: involving scene cut or scene change detection in combination with video compression
- H04N 21/23406: {involving management of server-side video buffer}
- H04N 21/2343: involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements {(video transcoding H04N19/40; media packet handling at the source H04L65/762)}
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06T 2200/16: involving adaptation to the client's capabilities
- H04L 67/54: Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present invention relates to a method of transmitting a screen of a virtual machine using a hardware-based graphic processing unit (GPU) and an apparatus using the same, by which the hardware-based GPU is virtualized and thus the screen of the virtual machine (VM) is efficiently transmitted. A method of transmitting a screen of a virtual machine using a hardware-based GPU according to the present invention includes checking whether a client is connected or not and whether or not the connected client makes a request for VM screen transmission; checking whether or not the screen is changed when the connected client makes the request for the VM screen transmission; performing screen capture every a predetermined screen capture time when the screen is changed, and waiting until the screen is changed when there is no screen change; and transmitting the captured screen using video compression and encoding.

## Claims

### Claim 1

A method of transmitting a screen of a virtual machine(VM) using a hardware-based GPU, the method comprising:
checking whether a client is connected or not and whether or not the connected client makes a request for VM screen transmission;
checking whether or not the VM screen is changed when the connected client makes the request for the VM screen transmission;
performing screen capture every a predetermined screen capture time (T) when the VM screen is changed and a change rate per second of the corresponding screen is equal to or greater than a predetermined specific integer value (N); and
transmitting the captured screen using video compression and encoding.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
when the change rate per second of the corresponding screen is less than the predetermined specific integer value (N), performing switching to an image mode, by which whenever an original screen is changed, the corresponding screen image is transmitted as it is.

### Claim 3 (depends on 1)

The method of claim 1, wherein the transmitting of the captured screen using video compression and encoding is provided such that, when the number of frames that is not yet transmitted and stored in a buffer storing video compression frames is equal to or greater than a predetermined specific integer value (B), the predetermined screen capture time (T) is increased by M times, and when there is no frames stored in the buffer and the predetermined screen capture time (T) is larger than a predetermined reference value (T0), the screen capture time (T) is reduced by a predetermined unit.

### Claim 4 (depends on 1)

The method of claim 1, wherein the checking of whether or not the screen is changed is performed after the predetermined capture time (T) or more elapses from a time when a previous screen is captured.

### Claim 5

A method of transmitting a screen of a virtual machine (VM) using a hardware-based GPU, the method comprising:
creating a separate virtualized network interface card (VM MC) for virtual screen transmission in the virtual machine;
when creating a virtual network between the separate virtualized network interface card (VM NIC) in the virtual machine and a host network interface card (NIC) of a device in which the virtual machine is installed, setting network forwarding between the host NIC and the VM NIC in the corresponding network;
checking whether a client is connected or not and whether or not the connected client makes a request for VM screen transmission; and
transmitting the VM screen according to the set network forwarding, when the connected client makes the request for the VM screen transmission.

### Claim 6 (depends on 5)

The method of claim 5, wherein the setting of the network forwarding is performed without using an external network of the virtual machine having security risk.

### Claim 7 (depends on 6)

The method of claim 6, wherein the setting of the network forwarding is performed without using a public IP allocated to the virtualized network interface card (NIC) in the virtual machine.

### Claim 8 (depends on 5)

The method of claim 5, wherein the setting of the network forwarding uses a port forwarding function supported by a hypervisor in the virtual machine.

### Claim 9 (depends on 5)

The method of claim 5, wherein the transmitting of the VM screen includes:
when the connected client makes the request for the VM screen transmission, checking whether or not the screen is changed;
performing screen capture every a predetermined screen capture time when the screen is changed, and waiting until the screen is changed when there is no screen change; and
performing video compression and encoding on the captured screen and transmitting the screen of the compressed and encoded video according to the set network forwarding.

### Claim 10

A method of transmitting a screen of a virtual machine (VM) using a hardware-based GPU, the method comprising:
checking whether a client is connected or not and whether or not the connected client makes a request for VM screen transmission; and
when the connected client makes the request for the VM screen transmission, selecting any one of an optimal encoding mode (first mode), a host IP mode (second mode), and a mixed transmission mode (third mode) as a VM screen transmission mode.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first mode is provided by, when the connected client makes the request for the VM screen transmission, repeating procedures of checking whether the screen is changed, performing screen capture every a predetermined screen capture time (T) when the screen is changed, and waiting until the screen is changed when there is no screen change, so that the only captured screen is transmitted using video compression and encoding.

### Claim 12 (depends on 10)

The method of claim 10, wherein the second mode is provided by setting network forwarding between a virtualized network interface card (NIC) in the virtual machine and a host network interface card (NIC) of a device in which the virtual machine is installed, and transmitting the VM screen according to the set network forwarding when the connected client makes the request for VM screen transmission.

### Claim 13 (depends on 10)

The method of claim 10, wherein the third mode is provided by setting network forwarding between a virtualized network interface card (NIC) in the virtual machine and a host network interface card (NIC) of a device in which the virtual machine is installed, repeating procedures of checking whether the screen is changed or not, performing screen capture every a predetermined screen capture time (T) when the screen is changed, and waiting until the screen is changed when there is no screen change when the connected client makes the request for the VM screen transmission, and performing video compression and encoding on the captured screen and transmitting the screen of the compressed and encoded video according to the set network forwarding.

### Claim 14 (depends on 10)

The method of claim 10, wherein the selecting of the VM screen transmission mode is performed by determining the VM screen transmission mode according to an amount of data to be transmitted.
