Image communication based on hit image block conditions
AssigneeHuawei Technologies Co., Ltd.
InventorYong Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorYong Li
Estimating the term…
An image sending method includes dividing a desktop image according to an image segmentation solution included in an image segmentation solution set, to obtain a target image block set, where the target image block set includes a plurality of image blocks. The target image block set meets a target condition, and the target condition includes: a percentage of hit image blocks in the target image block set is greater than or equal to a target threshold, or a percentage of hit image blocks in the target image block set is greater than a percentage of hit image blocks in another image block set. The image sending method further includes sending data information of each image block and location information of each image block in the target image block set to a user end.
A method comprising:
An apparatus comprising:
A non-transitory computer-readable medium comprising instructions that, when executed by a processor, cause an apparatus to:
Dependencies are inferred from the claim text.
From the US filing history. Foreign family members aren’t listed.
No references of this kind are recorded.
Involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is…:…
Segmentation; Edge detection: involving thresholding
Digital output to display device ; Cooperation and interconnection of the display device with other functional units: with means for detecting…
Digital output to display device ; Cooperation and interconnection of the display device with other functional units: using display panels
About 11 years 4 months of term left · ends 27 Feb 2038 (estimated)
This application relates to the field of virtual desktops, and in particular, to an image sending method and apparatus and a storage medium.
A virtual desktop infrastructure (VDI) may implement remote access to a desktop. A typical architecture of the VDI may include a serving end and a user end. A virtual machine may be deployed on the serving end. The user end may access the virtual machine deployed on the serving end, and send an operation instruction to the virtual machine to use an application program in the virtual machine. The application program in the virtual machine may generate a desktop image based on the operation instruction sent by the user end, and send the desktop image to the user end by using a display protocol program in the virtual machine, to implement remote access to the desktop.
To save communication resources, when sending the desktop image to the user end, the virtual machine usually needs to use an image caching technology. In the image caching technology, the virtual machine may segment a to-be-sent desktop image to obtain a plurality of image blocks. Then, for each image block, the virtual machine may perform calculation based on pixel values of all pixels in the image block and a preset algorithm (for example, a hash algorithm) to obtain a flag value corresponding to the image block. The virtual machine may query whether the flag value corresponding to each image block is stored in a cache of the serving end. When a flag value corresponding to an image block is stored in the cache of the serving end, it indicates that the virtual machine has sent the image block to the user end, and the user end stores pixel values of the image block. In this case, the virtual machine may send the flag value corresponding to the image block to the user end, so that the user end obtains the pixel values of the image block based on the flag value. When a flag value corresponding to an image block is not stored in the cache of the serving end, the virtual machine needs to send pixel values of the image block to the user end. During actual implementation, the virtual machine may encode the pixel values of the image block, and send the encoded pixel values to the user end. It can be learned that a higher percentage of hit image blocks in the plurality of image blocks obtained by segmenting the to-be-sent desktop image indicates fewer communication resources required by the virtual machine for sending the desktop image to the user end. A hit image block is an image block whose corresponding flag value is stored in the cache of the serving end.
FIG. 1A is a schematic diagram of a desktop image according to an embodiment of this application;
FIG. 1B is a schematic diagram of segmenting a desktop image according to an embodiment of this application;
FIG. 1C is a schematic diagram of a desktop image according to an embodiment of this application;
To make the objectives, technical solutions, and advantages of this application clearer, the following further describes implementations of this application in detail with reference to the accompanying drawings.
A VDI may implement remote access to a desktop. A typical architecture of the VDI may include a serving end and a user end. A virtual machine may be deployed on the serving end. A display protocol program and at least one application program may be installed in the virtual machine. The user end may access the virtual machine deployed on the serving end, and send an operation instruction to the virtual machine to use the application program installed in the virtual machine. After the operation instruction sent by the user end is received, the application program installed in the virtual machine may generate a desktop image based on the operation instruction. The display protocol program may obtain the desktop image, and send the desktop image to the user end by using an image caching technology, to implement remote access to the desktop.
For example, a word processing application may be installed in the virtual machine deployed on the serving end. In a process of using the word processing application, the user end may send, to the virtual machine, an operation instruction triggered by a user. The operation instruction may be an instruction for pasting a passage “A virtual desktop infrastructure is abbreviated to VDI, and may implement remote access to a desktop”. After the operation instruction is received, the word processing application installed in the virtual machine may generate a desktop image based on the operation instruction. The desktop image may be an image shown in FIG. 1A. Then the display protocol program in the virtual machine may send the generated desktop image to the user end, and the user end may display the received desktop image, so that the user can intuitively see an operation result of the operation instruction triggered by the user, to implement remote access to the desktop.