CN117785362A - Image processing method and device of virtual desktop and computer equipment - Google Patents

Image processing method and device of virtual desktop and computer equipment Download PDF

Info

Publication number
CN117785362A
CN117785362A CN202311831665.2A CN202311831665A CN117785362A CN 117785362 A CN117785362 A CN 117785362A CN 202311831665 A CN202311831665 A CN 202311831665A CN 117785362 A CN117785362 A CN 117785362A
Authority
CN
China
Prior art keywords
image
target
characteristic information
identification
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311831665.2A
Other languages
Chinese (zh)
Inventor
王凡
孙利杰
陈松政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Qilin Xin'an Technology Co ltd
Original Assignee
Hunan Qilin Xin'an 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 Hunan Qilin Xin'an Technology Co ltd filed Critical Hunan Qilin Xin'an Technology Co ltd
Priority to CN202311831665.2A priority Critical patent/CN117785362A/en
Publication of CN117785362A publication Critical patent/CN117785362A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application relates to an image processing method, an image processing device, computer equipment, a storage medium and a computer program product of a virtual desktop. When image data of a virtual desktop server is sent to a desktop protocol client through the desktop protocol server, sampling a target image to be sent to obtain first characteristic information, rapidly screening similar target historical images according to the first characteristic information, matching the target image with the target historical images to obtain coordinate information of the same area of the target image and the target historical images and image data of different areas, and sending identification of the target historical images, the coordinate information of the same area and the image data of different areas to the desktop protocol client; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas. Therefore, the data volume of the image data transmitted in real time can be reduced, and the bandwidth requirement for using the desktop protocol is reduced.

Description

Image processing method and device of virtual desktop and computer equipment
Technical Field
The present invention relates to the field of virtual desktop technologies, and in particular, to an image processing method, an image processing apparatus, a computer device, a storage medium, and a computer program product for a virtual desktop.
Background
Virtual desktop is a server-based computing model that hosts and uniformly manages all desktop virtual machines in a data center while a user is able to obtain the use experience of a complete PC. It has a number of advantages, can support a variety of operating systems and applications, and can be easily deployed and configured.
Generally, a virtual desktop can aggregate various computing resources (e.g., servers, storage devices, databases, etc.) into a virtual cloud and then provide services externally over a network. Thus, the virtual desktop requires a stable network connection and high bandwidth to guarantee stability of the service and user experience.
For example, for applications that require processing large amounts of data or complex computation, such as video editing, 3D modeling, etc., the virtual desktop may require higher bandwidth to ensure a smooth user experience. How to reduce the network bandwidth requirement of the virtual table and improve the transmission efficiency is a problem to be solved.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an image processing method, apparatus, computer device, computer readable storage medium, and computer program product for a virtual desktop that can reduce bandwidth occupation.
In a first aspect, the present application provides an image processing method for a virtual desktop. The method comprises the following steps:
receiving a target image to be sent by a virtual desktop server;
sampling the target image to obtain first characteristic information;
searching a matched target historical image according to the first characteristic information;
matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the identification of the target historical image, the coordinate information of the same area and the image data of different areas are sent to a desktop protocol client; and the desktop protocol client obtains a target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
In one embodiment, the searching for the matched target historical image according to the first feature information includes:
acquiring second characteristic information of the transmitted historical image from the cache; the second characteristic information is obtained by sampling the historical image in a preset mode;
and comparing the first characteristic information with the second characteristic information, and taking the corresponding historical image as a target historical image if the first characteristic information and the second characteristic information are the same.
In one embodiment, if the target historical image matched with the first characteristic information is not matched, the target image is sent to the desktop protocol client.
In one embodiment, the matching the target image with the target history image includes:
and expanding a recognition area on the target image and the target historical image according to the sampling points of the first characteristic information, and matching the target image and the target historical image according to the expanded recognition area.
In one embodiment, the matching the target image with the target history image includes:
increasing the number of sampling points, and sampling the target image and the target historical image in the same mode to obtain an identification area of the target image and an identification area of the target historical image;
matching the identification area of the target image and the identification area of the target history image.
In one embodiment, the method further comprises: and writing the first characteristic information of the target image into a cache.
In a second aspect, the present application further provides an image processing method of a virtual desktop, applied to a desktop protocol client, where the method includes:
receiving the identification of a target historical image, the coordinate information of the same identification area and the image data of different identification areas sent by a desktop protocol server; the desktop protocol server receives a target image to be sent by a virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
and acquiring the target historical image from a cache according to the identification of the target historical image, determining a constant area of the target historical image according to the coordinate information of the same identification area, and updating the change area of the target historical image according to the image data of different areas to obtain the target image.
In a third aspect, the present application further provides an image processing device of a virtual desktop, which is applied to a desktop protocol server. The device comprises:
the target acquisition device is used for receiving a target image to be sent by the virtual desktop server;
the sampling device is used for sampling the target image to obtain first characteristic information;
the matching device is used for searching a matched target historical image according to the first characteristic information;
the image matching device is used for matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the sending processing device is used for sending the identification of the target historical image, the coordinate information of the same area and the image data of different areas to a desktop protocol client; and the desktop protocol client obtains a target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
In a fourth aspect, the present application further provides an image processing apparatus for a virtual desktop. Applied to a desktop protocol client, the device comprises:
the receiving module is used for receiving the identification of the target historical image, the coordinate information of the same identification area and the image data of different identification areas sent by the desktop protocol server; the desktop protocol server receives a target image to be sent by a virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the image processing module is used for acquiring the target historical image from the cache according to the identification of the target historical image, determining the unchanged area of the target historical image according to the coordinate information of the same identification area, and updating the changed area of the target historical image according to the image data of the different areas to obtain the target image.
In a fifth aspect, the present application also provides a computer device. The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to realize the steps of the image processing method of the virtual desktop in each embodiment.
In a sixth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the image processing method of a virtual desktop of each of the above embodiments.
In a seventh aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the image processing method of the virtual desktop of each of the above embodiments.
When the image data of the server side is sent to the desktop protocol client side through the desktop protocol server side, sampling the target image to be sent to obtain first characteristic information, rapidly screening similar target historical images according to the first characteristic information, matching the target image with the target historical images to obtain coordinate information of the same area of the target historical images and the target historical images, sending the identification of the target historical images, the coordinate information of the same area and the image data of different areas to the desktop protocol client side; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas. Therefore, the desktop protocol server does not need to send the complete data of the target image to the desktop protocol client, only needs to send the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client, and can reduce the data volume of the image data sent in real time, thereby reducing the bandwidth requirement of using the desktop protocol and improving the use experience of users.
Drawings
FIG. 1 is an application environment diagram of a method of image processing of a virtual desktop in one embodiment;
FIG. 2 is a flow chart of a method of image processing of a virtual desktop in one embodiment;
FIG. 3 is a flowchart illustrating a method for image processing of a virtual desktop according to another embodiment;
FIG. 4 is a flowchart of a method for processing images of a virtual desktop according to another embodiment;
FIG. 5 is a block diagram of an image processing apparatus of a virtual desktop in one embodiment;
FIG. 6 is a block diagram showing an image processing apparatus of a virtual desktop in another embodiment;
fig. 7 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The system architecture of the virtual desktop of one embodiment is shown in fig. 1, and includes: virtual desktop server 101, desktop protocol server 102, and desktop protocol client 103. The desktop protocol client communicates with the server 101 through the desktop protocol server 102, so as to obtain a complete PC usage experience.
Specifically, the virtual desktop server 101 is one of the core components of the virtual desktop system. It is typically deployed on a server and is responsible for creating, managing, and maintaining a virtual desktop environment. The server may integrate with virtualization technology (e.g., VMware, citrix, etc.), generate virtual machines through the virtualization technology, and transmit images of the virtual desktop to the client device.
Desktop protocol server 102 is one of the key components in a virtual desktop system. It is responsible for handling communications between the client and the virtual machine, transmitting images of the virtual desktop to the client device using efficient remote display protocols (such as PCoIP, RDP, or VMware Blast, etc.), and handling user inputs and operations. Desktop protocol services are often tightly integrated with virtualization technology to ensure efficient communication and a smooth user experience.
Desktop protocol client 103 is a device used by a user, such as a computer, tablet, or cell phone. The client communicates with the server through the desktop protocol server, so that complete PC use experience can be obtained. In virtualized desktop solutions, clients need only handle network connections, receive data, and display images of the virtual desktop, without the need to handle complex computing and storage tasks.
The desktop protocol client 103 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The virtual desktop server 101 and the desktop protocol server 102 may be implemented by a separate server or a server cluster formed by a plurality of servers.
Virtual desktop protocols are an important component of cloud desktop products, and efficient utilization of bandwidth is important to provide a smooth user experience and reduce network consumption. There is therefore a need for a new method or system to reduce the consumption of network bandwidth while improving the efficiency and user experience of virtualized desktop protocols.
In one embodiment, as shown in fig. 2, an image processing method of a virtual desktop is provided, and the method is applied to a desktop protocol server in fig. 1 for illustration, and includes the following steps:
step 202, receiving a target image to be sent by a virtual desktop server.
Specifically, the desktop protocol server receives image data to be transmitted by the virtual desktop server 101 to the desktop protocol client 103.
Step 204, sampling the target image to obtain first feature information.
Image sampling is a technique in image processing by which a continuous image signal can be converted into a discrete pixel signal. During image sampling, features of the image, such as edges, textures, colors, etc., may be extracted according to different sampling patterns. In this embodiment, a target image acquisition preset mode is sampled to obtain first feature information.
And step 206, searching for a matched target historical image according to the first characteristic information.
Specifically, according to the first characteristic information, matching is carried out with the characteristic information of the sent historical images, and a matched target historical image is searched. That is, the target history image matches with part of the feature information of the target image.
The transmitted history image may be a last transmitted complete image, i.e. the first feature information is compared with the feature information of the last transmitted complete image. And if so, determining the target historical image.
The transmitted history image may be a complete image within a period of time. And comparing the first characteristic information with the characteristic information of the complete image sent for a period of time, and if the first characteristic information is matched with the characteristic information of the complete image, determining the first characteristic information as a target historical image.
The matching of the first feature information can be quickly matched to similar or identical target historical images based on the features of the sampling points.
Step 208, matching the target image with the target history image to obtain the coordinate information of the same region of the target image and the target history image and the image data of different regions.
Based on the matching of the first characteristic information, it can be considered as coarse screening, at least two of which are characterized as identical at the sampling point. After roughly screening the basically obtained target historical image, matching the target image and the target historical image so as to obtain the same region and different regions of the target image and the target historical image.
For the same region, the coordinate information of the same region is identified, and for different regions, the image data of the target image in the region is acquired.
Step 210, sending the identification of the target historical image, the coordinate information of the same area and the image data of different areas to a desktop protocol client; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
Specifically, the desktop protocol server sends the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client. That is, the desktop protocol server does not need to send the complete data of the target image to the desktop protocol client, and only needs to send the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client, so that the data transmission data is greatly reduced, and the occupied bandwidth of the virtual desktop application is reduced.
The desktop protocol client also stores a historical image, and after the identification of the target historical image, the coordinate information of the same area and the image data of different areas are obtained, the target historical image is determined according to the identification of the target historical image, the unchanged area in the target image is determined according to the coordinate information of the same area, and the image data of other areas are replaced with the image data of different areas, so that a target data image is obtained.
According to the image processing method of the virtual desktop, when image data of a server side are sent to a desktop protocol client side through the desktop protocol server side, first, target images to be sent are sampled to obtain first characteristic information, similar target historical images are rapidly screened according to the first characteristic information, then the target images and the target historical images are matched to obtain coordinate information of the same areas of the target images and the target historical images and image data of different areas, and identification of the target historical images, the coordinate information of the same areas and the image data of different areas are sent to the desktop protocol client side; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas. Therefore, the desktop protocol server does not need to send the complete data of the target image to the desktop protocol client, only needs to send the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client, and can reduce the data volume of the image data sent in real time, thereby reducing the bandwidth requirement of using the desktop protocol and improving the use experience of users.
In another embodiment, searching for a matching target history image based on the first characteristic information includes: acquiring second characteristic information of the transmitted historical image from the cache; the second characteristic information is obtained by sampling the historical image in a preset mode; and comparing the first characteristic information with the second characteristic information, and if the first characteristic information and the second characteristic information are the same, taking the corresponding historical image as a target historical image.
Specifically, the second characteristic information of the historical sent image is cached in the cache of the desktop protocol server. The second characteristic information is obtained by sampling the historical image in a preset mode. The sampling modes of the first characteristic information and the second characteristic information are the same, so that the characteristic extraction dimensions of the first characteristic information and the second characteristic information are the same, and the matching accuracy is improved.
The desktop protocol server maintains a cache for storing second characteristic information of the historical transmitted image, namely, local information of the transmitted image. Second characteristic information of the transmitted historical image is obtained from the buffer memory. The second characteristic information of the history image sent in a period of time can be obtained from the cache, the first characteristic information and the second characteristic information are compared, and if the first characteristic information and the second characteristic information are the same, the corresponding history image is used as the target history image.
The problem that the original cache hit rate of the virtualized desktop protocol is low and a large amount of network bandwidth is consumed is solved through a local cache mode, so that the user experience is improved under certain bandwidth resources.
In another embodiment, if the target history image matching the first characteristic information is not matched, the target image is sent to the desktop protocol client. I.e. not matching the target history image matching the first characteristic information, it means that there is no transmitted image similar to the target image to be transmitted, and then the complete image of the target image is transmitted to the desktop protocol client. Thus, it is possible to perform the discrimination processing for different types of target images.
In another embodiment, matching the target image with the target history image includes: and expanding the identification area on the target image and the target historical image according to the sampling points of the first characteristic information, and matching the target image and the target historical image according to the expanded identification area.
Specifically, when the first feature information of the target image to be transmitted matches the features of the transmitted history image, the identification area is enlarged on the basis of the sampling points of the first feature information. In one embodiment, the identification area may be enlarged centering on the sampling point of the first feature information, and the matching may be performed based on the enlarged identification areas of the target image and the target history image. For example, the identification area is enlarged with the first feature information point as the center and the first number of pixel point ranges. And comparing the enlarged identification areas of the target image and the target historical image, and if the enlarged identification areas are the same, continuing to center on the first characteristic information and obtaining the enlarged identification areas by using the pixel point range of the second data. The second number is greater than the first number, and thus, by continuously expanding the area and comparing the matching manner, the same area and different areas of the target image and the target history image are rapidly determined.
In another embodiment, matching the target image with the target history image includes: increasing the number of sampling points, and sampling the target image and the target historical image in the same mode to obtain an identification area of the target image and an identification area of the target historical image; the identification area of the target image is matched, and the identification area of the target history image is matched.
In this embodiment, the target image and the target history image are resampled in the same manner by increasing the sampling points. Increasing the number of sampling points may describe the detail information of the image more finely, thereby enlarging the recognition area. By increasing the number of sampling points, information such as the shape, color, texture and the like of the image can be captured more accurately, so that the recognition area is larger. On the basis, the identification area of the target image and the identification area of the target historical image are matched, and the same area and different areas of the target image and the target historical image are determined.
In another embodiment, the image processing method of the virtual desktop further includes: and writing the first characteristic information of the target image into the cache.
That is, the identification of the target historical image, the coordinate information of the same area, and the image data of different areas are sent to the desktop protocol client, or the target image is sent to the desktop protocol client, and the first characteristic information of the target image is written into the cache to store the first characteristic information of the historical target image for comparison of subsequent image processing.
An image processing method of a virtual desktop, as shown in fig. 3, includes:
step 302, receiving a target image to be sent by the virtual desktop server.
Step 304, sampling the target image to obtain first feature information.
Step 306, searching for a matched target historical image according to the first characteristic information.
If so, step 308 is performed to match the target image with the target history image, and obtain the coordinate information of the same region of the target image and the target history image, and the image data of different regions.
If not, go to step 307 and send the target image to the desktop protocol client
After step 308, further includes:
step 310, the identification of the target historical image, the coordinate information of the same area and the image data of different areas are sent to a desktop protocol client; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
Step 307, and after step 312, further includes: and writing the first characteristic information of the target image into the cache.
According to the image processing method of the virtual desktop, updated image data generated by the virtual desktop server side is stored by adopting multidimensional feature images, and the multidimensional feature images are stored in a desktop protocol server side cache queue. When the desktop protocol server generates a new image data, the stored multidimensional image characteristic data is firstly taken from the desktop protocol server cache queue and compared with the newly generated image data. When the multi-dimensional characteristic information is the same, the image data is expanded to identify matching from the multi-dimensional characteristic data position so as to reach the maximum matching image identification area. Then, the desktop protocol server transmits the position information of the maximum image recognition area matched with the multidimensional features to the desktop protocol client, and the real data of the image is not transmitted. And finally, for the same area, the desktop protocol client acquires real image data from the client cache queue according to the transmitted identification position information.
The method caches the whole updated image data by changing the desktop protocol, and adopts multidimensional characteristic image information. In the method, the original whole updated area of the cache is used as the cache, and the efficient image comparison technology of multidimensional features is used, so that the purposes of optimizing a desktop protocol processing mode and reducing bandwidth are achieved. The method improves the efficiency and the performance of the desktop protocol, reduces the use of network bandwidth, and provides a new and effective desktop protocol optimization technology.
The application also provides an image processing method of the virtual desktop, which is applied to the desktop protocol client, as shown in fig. 4, and the method comprises the following steps:
step 402, receiving the identification of the target history image, the coordinate information of the same identification area, and the image data of different identification areas sent by the desktop protocol server.
The desktop protocol server receives a target image to be sent by the virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; and matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas.
Step 404, according to the identification of the target historical image, the target historical image is obtained from the cache, the unchanged area of the target historical image is determined according to the coordinate information of the same identification area, and the changed area of the target historical image is updated according to the image data of different areas, so as to obtain the target image.
In the method, the desktop protocol server does not need to send the complete data of the target image to the desktop protocol client, and only needs to send the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client, so that the data transmission data is greatly reduced, and the occupied bandwidth of the virtual desktop application is reduced.
The desktop protocol client also stores a historical image, and after the identification of the target historical image, the coordinate information of the same area and the image data of different areas are obtained, the target historical image is determined according to the identification of the target historical image, the unchanged area in the target image is determined according to the coordinate information of the same area, and the image data of other areas are replaced with the image data of different areas, so that a target data image is obtained.
Specifically, the application modifies desktop protocol servers and desktop protocol clients. At the desktop protocol server, multidimensional feature image information storage and cache queues are mainly introduced. And the desktop protocol client is added with a cache queue which is maintained by the desktop server. The improvement improves the efficiency and the performance of the desktop protocol by optimizing the desktop protocol processing mode, reduces the use of network bandwidth, and provides a new and effective optimization technology for the use of the cloud desktop.
By adopting the method, the desktop protocol server does not need to send the complete data of the target image to the desktop protocol client, only needs to send the identification of the target historical image, the coordinate information of the same area and the image data of different areas to the desktop protocol client, so that the data volume of the image data sent in real time can be reduced, the bandwidth requirement of using the desktop protocol is reduced, and the use experience of a user is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an image processing device of the virtual desktop for realizing the image processing method of the virtual desktop. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the image processing device for one or more virtual desktops provided below may refer to the limitation of the image processing method for a virtual desktop hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 5, there is provided an image processing apparatus of a virtual desktop, applied to a desktop protocol client, including:
the target obtaining device 502 is configured to receive a target image to be sent by the virtual desktop server.
And the sampling device 504 is used for sampling the target image to obtain first characteristic information.
And the matching device 506 is configured to search for a matched target historical image according to the first feature information.
The image matching device 508 is used for matching the target image with the target history image to obtain the coordinate information of the same region of the target image and the target history image and the image data of different regions.
The sending processing device 510 is configured to send the identifier of the target history image, the coordinate information of the same area, and the image data of different areas to the desktop protocol client; and the desktop protocol client obtains the target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
In another embodiment, the matching module is configured to obtain second feature information of the sent historical image from the cache; the second characteristic information is obtained by sampling the historical image in a preset mode; and comparing the first characteristic information with the second characteristic information, and if the first characteristic information and the second characteristic information are the same, taking the corresponding historical image as a target historical image.
In another embodiment, the sending processing device is further configured to send the target image to the desktop protocol client if the target history image matching the first feature information is not matched.
In another embodiment, the image matching device is further configured to expand the identification area on the target image and the target history image according to the sampling points of the first feature information, and match the target image and the target history image according to the expanded identification area.
In another embodiment, the image matching device is further configured to increase the number of sampling points, and sample the target image and the target history image in the same manner, so as to obtain an identification area of the target image and an identification area of the target history image; the identification area of the target image is matched, and the identification area of the target history image is matched.
In another embodiment, the method further comprises a buffer module for writing the first characteristic information of the target image into the buffer.
In one embodiment, as shown in fig. 6, there is provided an image processing apparatus of a virtual desktop, applied to a desktop protocol server, including:
the receiving module 602 is configured to receive an identifier of a target history image, coordinate information of the same identification area, and image data of different identification areas sent by the desktop protocol server; the desktop protocol server receives a target image to be sent by the virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; and matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas.
The image processing module 604 is configured to obtain the target history image from the cache according to the identifier of the target history image, determine a constant area of the target history image according to the coordinate information of the same identification area, and update the change area of the target history image according to the image data of different areas to obtain the target image.
The respective modules in the image processing apparatus of the virtual desktop described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing cached data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of image processing of a virtual desktop.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, including a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the image processing method of the virtual desktop of each of the above embodiments when the computer program is executed.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor, implements the steps of the image processing method of a virtual desktop of each of the above embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the image processing method of a virtual desktop of each of the above embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. An image processing method of a virtual desktop, applied to a desktop protocol server, is characterized in that the method comprises the following steps:
receiving a target image to be sent by a virtual desktop server;
sampling the target image to obtain first characteristic information;
searching a matched target historical image according to the first characteristic information;
matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the identification of the target historical image, the coordinate information of the same area and the image data of different areas are sent to a desktop protocol client; and the desktop protocol client obtains a target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
2. The method of claim 1, wherein the searching for a matching target history image based on the first characteristic information comprises:
acquiring second characteristic information of the transmitted historical image from the cache; the second characteristic information is obtained by sampling the historical image in a preset mode;
and comparing the first characteristic information with the second characteristic information, and taking the corresponding historical image as a target historical image if the first characteristic information and the second characteristic information are the same.
3. The method of claim 1, wherein if a target history image matching the first characteristic information is not matched, transmitting the target image to the desktop protocol client.
4. The method of claim 1, wherein said matching said target image with said target history image comprises:
and expanding a recognition area on the target image and the target historical image according to the sampling points of the first characteristic information, and matching the target image and the target historical image according to the expanded recognition area.
5. The method of claim 1, wherein said matching said target image with said target history image comprises:
increasing the number of sampling points, and sampling the target image and the target historical image in the same mode to obtain an identification area of the target image and an identification area of the target historical image;
matching the identification area of the target image and the identification area of the target history image.
6. The method according to any one of claims 1 to 5, further comprising: and writing the first characteristic information of the target image into a cache.
7. An image processing method of a virtual desktop, applied to a desktop protocol client, is characterized in that the method comprises the following steps:
receiving the identification of a target historical image, the coordinate information of the same identification area and the image data of different identification areas sent by a desktop protocol server; the desktop protocol server receives a target image to be sent by a virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
and acquiring the target historical image from a cache according to the identification of the target historical image, determining a constant area of the target historical image according to the coordinate information of the same identification area, and updating the change area of the target historical image according to the image data of different areas to obtain the target image.
8. An image processing device of a virtual desktop, applied to a desktop protocol server, is characterized by comprising:
the target acquisition device is used for receiving a target image to be sent by the virtual desktop server;
the sampling device is used for sampling the target image to obtain first characteristic information;
the matching device is used for searching a matched target historical image according to the first characteristic information;
the image matching device is used for matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the sending processing device is used for sending the identification of the target historical image, the coordinate information of the same area and the image data of different areas to a desktop protocol client; and the desktop protocol client obtains a target image according to the identification of the target historical image, the coordinate information of the same area and the image data of different areas.
9. An image processing device of a virtual desktop, applied to a desktop protocol client, comprising:
the receiving module is used for receiving the identification of the target historical image, the coordinate information of the same identification area and the image data of different identification areas sent by the desktop protocol server; the desktop protocol server receives a target image to be sent by a virtual desktop server; sampling the target image to obtain first characteristic information; searching a matched target historical image according to the first characteristic information; matching the target image with the target historical image to obtain coordinate information of the same area of the target image and the target historical image and image data of different areas;
the image processing module is used for acquiring the target historical image from the cache according to the identification of the target historical image, determining the unchanged area of the target historical image according to the coordinate information of the same identification area, and updating the changed area of the target historical image according to the image data of the different areas to obtain the target image.
10. A computer device comprising a computer program, characterized in that the computer device comprises a memory storing the computer program and a processor executing the steps of the method according to any of claims 1 to 7.
CN202311831665.2A 2023-12-27 2023-12-27 Image processing method and device of virtual desktop and computer equipment Pending CN117785362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311831665.2A CN117785362A (en) 2023-12-27 2023-12-27 Image processing method and device of virtual desktop and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311831665.2A CN117785362A (en) 2023-12-27 2023-12-27 Image processing method and device of virtual desktop and computer equipment

Publications (1)

Publication Number Publication Date
CN117785362A true CN117785362A (en) 2024-03-29

Family

ID=90392376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311831665.2A Pending CN117785362A (en) 2023-12-27 2023-12-27 Image processing method and device of virtual desktop and computer equipment

Country Status (1)

Country Link
CN (1) CN117785362A (en)

Similar Documents

Publication Publication Date Title
US10102227B2 (en) Image-based faceted system and method
US9256693B2 (en) Recommendation system with metric transformation
US10388042B2 (en) Efficient display of data points in a user interface
CN115147265B (en) Avatar generation method, apparatus, electronic device, and storage medium
US20190114989A1 (en) Systems and methods for image optimization
US11036797B2 (en) Efficient storage and utilization of a hierarchical data set
WO2015152876A1 (en) Hash table construction for utilization in recognition of target object in image
US11651221B2 (en) Method, device, and computer program product for deep learning
US9135749B2 (en) Method and apparatus for processing three-dimensional model data
CN112905596B (en) Data processing method, device, computer equipment and storage medium
CN116991800A (en) File acquisition system, method, device, computer equipment and storage medium
WO2021051562A1 (en) Facial feature point positioning method and apparatus, computing device, and storage medium
CN117785362A (en) Image processing method and device of virtual desktop and computer equipment
WO2016095377A1 (en) Image display method and device for thin client and electronic equipment
CN115378937A (en) Distributed concurrency method, device and equipment for tasks and readable storage medium
CN113870428A (en) Scene map generation method, related device and computer program product
US10114864B1 (en) List element query support and processing
US11394780B2 (en) System and method for facilitating deduplication of operations to be performed
CN113535673A (en) Method and device for generating configuration file and processing data
CN111382287A (en) Picture searching method and device, storage medium and electronic equipment
WO2024051471A1 (en) Image processing method and electronic device
CN113934491B (en) Big data processing method and device
JP5462326B2 (en) Virtual space information processing system, server device of the system, program executed on the server device, and virtual space information processing method
WO2023066122A1 (en) Three-dimensional model data processing method, three-dimensional model data generation method, and related apparatuses
CN118094024A (en) Virtual resource pushing method, device, computer equipment and storage 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