Image processing method, cloud desktop server, computer equipment and storage medium

By analyzing and processing image data in real time, using pre-trained artificial intelligence models to intelligently predict and complete the lost image data, the problem of incomplete image loading in virtual desktops is solved, and the stability and user experience of cloud desktop systems are improved.

CN118885244APending Publication Date: 2024-11-01XIAN LEIFENG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924687.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In virtual desktop infrastructure, network latency or unstable connections lead to incomplete or lost images, affecting user experience and productivity.

Method used

By analyzing and processing image data in real time, intelligently predict and complete the lost image data section using pre-trained artificial intelligence models to ensure the integrity of image content.

Benefits of technology

It improves the stability and user experience of the cloud desktop system, especially in low bandwidth or unstable network environments, guarantees the integrity of image content and improves the efficiency and satisfaction of remote work and learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885244A_ABST
    Figure CN118885244A_ABST
Patent Text Reader

Abstract

The invention provides an image processing method, a cloud desktop server, computer equipment and a storage medium, and relates to the technical field of electronic information. The method comprises the following steps: determining whether target image data is lost in a transmission process or not; if the target image data is lost in the transmission process, analyzing and processing the target image data according to a pre-trained artificial intelligence model; predicting and complementing lost image data according to a processing result; and sending the complemented image data to the user terminal, and displaying the complemented image data. According to the image processing method provided by the invention, the lost image data part can be intelligently predicted and complemented by analyzing and processing the image data in real time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of electronic information technology, and in particular to an image processing method, a cloud desktop server, a computer device, and a storage medium. Background Art

[0002] Virtual Desktop Infrastructure (VDI) is an important technology for modern enterprises and individual users to achieve remote office and learning. Through VDI, users can remotely access desktop instances located in the data center and operate them just like operating a local computer. However, VDI relies on network connections, so the stability and bandwidth of the network directly affect the user experience. In the case of network delays or unstable connections, users may encounter problems with incomplete or lost image loading, which not only affects user work efficiency, but also reduces user satisfaction with VDI technology. Summary of the invention

[0003] The embodiments of the present disclosure provide an image processing method, a cloud desktop server, a computer device, and a storage medium, which can intelligently predict and complete the lost image data parts by analyzing and processing the image data in real time.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an image processing method, which is applied to a cloud desktop server and includes:

[0005] Determine whether the target image data is lost during the transmission process;

[0006] If the target image data loses image data during transmission, the target image data is analyzed and processed according to a pre-trained artificial intelligence model;

[0007] Predict and complete the missing image data based on the processing results;

[0008] The completed image data is sent to the user terminal and displayed.

[0009] In one embodiment, determining whether the target image data is lost during the transmission process includes:

[0010] Dividing the target image data into a plurality of data packets, and adding a sequence number to each of the data packets;

[0011] Instructing the user terminal to sort each data packet according to the sequence number of the data packet after receiving all the data packets;

[0012] Determine whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal.

[0013] In one embodiment, determining whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal includes:

[0014] If a jump sequence number exists in the sorting result returned by the user terminal, it is determined that the target image data is lost during the transmission process.

[0015] In one embodiment, analyzing and processing image data according to a pre-trained artificial intelligence model includes:

[0016] Determine packet loss areas based on convolutional neural networks, generative adversarial networks, or recurrent neural networks;

[0017] Extracting image data around the data packet loss area, and identifying specific feature information of the image data around the data packet loss area;

[0018] The predicting and completing the lost image data according to the processing result includes:

[0019] Inputting specific feature information of the image data around the packet loss area into the artificial intelligence model to infer the lost data through the artificial intelligence model and generate supplementary data matching the image data around the packet loss area;

[0020] The image data around the packet loss area generates the complemented image data according to the supplementary data matched with the image data around the packet loss area.

[0021] In one embodiment, the method further comprises:

[0022] The complement quality of the complement image data is evaluated according to an image quality evaluation algorithm to determine whether the complement image data corresponds to the target image data.

[0023] In one embodiment, the method further comprises:

[0024] If the jump sequence number does not exist in the sorting result returned by the user terminal, it is determined that the target image data has not lost image data during the transmission process.

[0025] According to a second aspect of an embodiment of the present disclosure, an image processing device is provided, the image processing device comprising a determination module, an analysis and processing module, a prediction module and a sending module; wherein:

[0026] A determination module, determining whether the target image data is lost during the transmission process;

[0027] An analysis and processing module, which analyzes and processes the target image data according to a pre-trained artificial intelligence model if the target image data loses image data during transmission;

[0028] The prediction module predicts and completes the lost image data based on the processing results;

[0029] The sending module sends the completed image data to the user terminal and displays it.

[0030] In one embodiment, the determining module includes:

[0031] Adding a submodule to divide the target image data into a plurality of data packets and adding a sequence number to each of the data packets;

[0032] An instruction submodule, instructing the user terminal to sort each of the data packets according to the sequence number of the data packets after receiving all the data packets;

[0033] The first determination submodule determines whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal.

[0034] In one embodiment, the analysis and processing module includes:

[0035] A second determination submodule determines a packet loss area based on a convolutional neural network, a generative adversarial network, or a recurrent neural network;

[0036] The submodule is lifted to extract image data around the data packet loss area and identify specific feature information of the image data around the data packet loss area.

[0037] According to a third aspect of an embodiment of the present disclosure, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0038] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0039] The image processing method, cloud desktop server, computer device and storage medium provided by the embodiments of the present disclosure combine deep learning technology, and intelligently predict and complete the missing image parts by analyzing and processing image data in real time, thereby not only improving the stability and user experience of the cloud desktop system, but also having important significance for cloud desktop users running in low-bandwidth or unstable network environments. Through intelligent image completion technology, the integrity of image content can be guaranteed even in poor network conditions, thereby greatly improving the efficiency and satisfaction of cloud desktop application scenarios such as remote work and learning.

[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] Figure 1 is a schematic diagram of an image processing system provided by an embodiment of the present disclosure.

[0043] Figure 2 is a flow chart of an image processing method provided by an embodiment of the present disclosure;

[0044] Figure 3 is a flow chart of an image processing method provided by an embodiment of the present disclosure;

[0045] Figure 4 is a logic diagram of an image processing method provided by an embodiment of the present disclosure;

[0046] Figure 5 is a structural diagram of an image processing device provided by an embodiment of the present disclosure;

[0047] Figure 6 is a structural diagram of an image processing device provided by an embodiment of the present disclosure;

[0048] Figure 7 It is a schematic diagram of the computer device structure provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0050] With the increasing popularity of cloud computing, cloud desktops have attracted widespread attention due to their flexibility and cost-effectiveness. However, they often face problems such as incomplete images caused by network delays or data packet loss during use, which greatly affects the user experience.

[0051] To solve this problem, the present disclosure proposes an innovative solution, namely, using AI technology to detect and complete damaged or missing image parts, ensuring that the images received by users are complete and without missing parts.

[0052] The core of this method lies in two main technical links: one is real-time monitoring of image data during cloud desktop transmission, and the other is to use deep learning models to intelligently complete the missing parts once data is missing. The intelligent completion process is based on a pre-trained model. During the model training process, a large amount of image data in normal cloud desktop usage scenarios will be learned, so that it can accurately predict the missing image content in subsequent practical applications.

[0053] The following is a brief description of the application environment of the image processing method provided by the embodiment of the present disclosure:

[0054] Figure 1 FIG. 1 is a schematic diagram of an image processing system provided by an embodiment of the present disclosure. Figure 1 As shown, the system includes a cloud terminal and a cloud desktop server that can communicate with each other over a network, and multiple cloud desktops can run on the cloud terminal.

[0055] The cloud terminal can run multiple cloud desktops; the cloud terminal includes a cloud desktop management module and a cloud desktop operation module. The cloud desktop management module is connected to the cloud desktop server and is used to complete the deployment of the cloud desktop to the local cloud terminal and remote control of the locally deployed cloud desktop; the cloud desktop operation system is used to complete the startup and operation of the cloud desktop and the execution of the administrator's real-time control instructions on the cloud desktop according to the instructions of the cloud desktop server, so as to provide cloud desktop services for users;

[0056] The cloud desktop server includes a cloud terminal management module, a cloud desktop management module, a cloud user management module and a cloud image management module; the cloud terminal management module is used to complete the initialization deployment, access authentication control and remote control of the cloud terminal; the cloud user management module is used to create users who use this system and provide user authentication services; the cloud desktop management module is used to provide cloud desktop creation, deployment and access control, so that legal access users can use their own cloud desktops;

[0057] See also Figure 2 The following embodiments use the above-mentioned desktop server as the execution subject, and apply the method provided by the embodiment of the present disclosure to the server for specific description. The image processing method provided by the embodiment of the present disclosure includes the following steps 201 to 204:

[0058] Step 201, determining whether the target image data is lost during the transmission process;

[0059] In one embodiment, Figure 3 As shown, the determining whether the target image data is lost during the transmission process includes:

[0060] Step 2011, dividing the target image data into a plurality of data packets, and adding a sequence number to each of the data packets;

[0061] Step 2012: after receiving all the data packets, instruct the user terminal to sort each of the data packets according to the sequence number of the data packet;

[0062] Step 2013: Determine whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal.

[0063] In this embodiment, during the transmission of image data, the data is usually divided into multiple data packets for transmission. Each data packet has its unique sequence number or identifier. By establishing a data packet tracking mechanism between the cloud desktop server and the user terminal, the system can monitor the transmission status of each data packet in real time, including the sending time, arrival time, and any possible packet loss of the data packet.

[0064] In one embodiment, determining whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal includes:

[0065] If a jump sequence number exists in the sorting result returned by the user terminal, it is determined that the target image data is lost during the transmission process.

[0066] In this embodiment, when the user terminal receives the data packets, they are sorted and reassembled according to the sequence numbers of the data packets to reconstruct the complete image data. By checking the sequence numbers of consecutive data packets, the system can identify missing data packets. If a jump is found in the sequence (i.e., a data packet with a certain or certain sequence number is missing), it means that data loss has occurred during the transmission process.

[0067] In one embodiment, the method further comprises:

[0068] If the jump sequence number does not exist in the sorting result returned by the user terminal, it is determined that the target image data has not lost image data during the transmission process.

[0069] It should be noted that, in this embodiment, before executing step S201, the following operations need to be performed:

[0070] S1. Create a user in the cloud desktop management module and create a cloud image for the user.

[0071] S2. Create the required cloud desktop for the user based on the cloud image.

[0072] S3, users remotely connect to use cloud desktop

[0073] S4, real-time monitoring of data transmission in cloud desktop services;

[0074] In this step, a monitoring component can be deployed in the cloud desktop service architecture, which can capture and analyze all data transmission activities in the cloud desktop service. It is understandable that the monitoring component can be deployed at key nodes of the data transmission path, such as cloud desktop servers, network switches or routers, to achieve comprehensive data flow monitoring.

[0075] Step 202: If the target image data loses image data during the transmission process, the target image data is analyzed and processed according to the pre-trained artificial intelligence model;

[0076] In one embodiment, analyzing and processing image data according to a pre-trained artificial intelligence model includes:

[0077] Determine packet loss areas based on convolutional neural networks, generative adversarial networks, or recurrent neural networks;

[0078] Image data around the packet loss area is extracted, and specific feature information of the image data around the packet loss area is identified.

[0079] In this embodiment, the convolutional neural network (CNN) is mainly used to deal with image recognition problems, or the generative adversarial network (GAN) can produce high-quality images. These models are able to learn and understand the content of the image and its context. The model is pre-trained using a large-scale image database, and these images should cover various situations, including complete images and their possible loss modes in various network situations. Data enhancement, such as rotation, scaling, and cropping, can be used during the training process to improve the adaptability and accuracy of the model to various packet loss scenarios. After determining the packet loss area, the image context around the packet loss area and the specific feature information of this part of the data, such as edges, color distribution, texture, etc., are extracted, and then the specific feature information of this part of the data is formatted as the input of the model to ensure that the AI ​​model correctly understands the task and makes accurate predictions. The AI ​​model uses the knowledge learned from the training set to infer the missing data and generate a completed image that matches the existing image context.

[0080] It can be seen that this embodiment uses advanced technologies such as deep generative models (such as the generator part of GAN). The AI ​​model can not only complete the simple and repetitive structures in the image, but also reasonably predict and generate more complex image content.

[0081] Step 203: predict and complete the lost image data according to the processing result.

[0082] In one embodiment, predicting and completing the lost image data according to the processing results includes:

[0083] Inputting specific feature information of the image data around the packet loss area into the artificial intelligence model to infer the lost data through the artificial intelligence model and generate supplementary data matching the image data around the packet loss area;

[0084] The image data around the packet loss area generates the complemented image data according to the supplementary data matched with the image data around the packet loss area.

[0085] In this embodiment, the image data is supplemented by taking into account user interaction, desktop operation and historical data patterns to ensure that the generated image content is consistent with the user behavior.

[0086] Step 204: Send the completed image data to the user terminal and display it.

[0087] Optionally, the method further comprises:

[0088] The complement quality of the complement image data is evaluated according to an image quality evaluation algorithm to determine whether the complement image data corresponds to the target image data.

[0089] In this embodiment, after the completed image is generated, the completion quality is evaluated by an image quality assessment algorithm (such as SSIM, PSNR) to ensure that the completed image data is visually seamlessly connected with the original data, so that the user can hardly feel that the image has been lost.

[0090] In the present disclosure, the cloud desktop server monitors the data transmission in the cloud desktop service in real time, identifies data loss that occurs during data image transmission, and uses a pre-trained artificial intelligence model to perform image analysis and processing to predict and complete the lost image data, and transmits the completed image to the end user to ensure that the visual content received by the user end is complete.

[0091] It should be noted that the implementation disclosed herein is implemented by monitoring the API interface provided by the cloud desktop service.

[0092] Figure 4 A logic diagram of an image processing method provided in an embodiment of the present disclosure.

[0093] Based on the above Figure 2 and Figure 3 The image processing method described in the corresponding embodiment is as follows: an embodiment of the device disclosed herein, which can be used to execute the embodiment of the method disclosed herein.

[0094] Figure 5 This is an architecture diagram of a cloud desktop server provided in an embodiment of the present disclosure. Figure 5As shown, the cloud desktop server 50 includes a determination module 501, an analysis and processing module 502, a prediction module 503 and a sending module 504; wherein the determination module 501 is used to determine whether the target image data loses image data during the transmission process; the analysis and processing module 502 is used to analyze and process the target image data according to a pre-trained artificial intelligence model if the target image data loses image data during the transmission process; the prediction module 503 is used to predict and complete the lost image data according to the processing results; the sending module 504 is used to send the completed image data to the user terminal and display it.

[0095] Figure 6 FIG. 1 is an architecture diagram of an image processing device provided by an embodiment of the present disclosure. Figure 6 As shown, the image processing device 60 includes a determination module 601, an analysis and processing module 602, a prediction module 603 and a sending module 604; wherein the determination module 601 includes an adding submodule 6011, an indicating submodule 6012 and a determining submodule 6013; wherein the adding submodule 6011 is used to divide the target image data into a plurality of data packets and add a serial number to each of the data packets; the indicating submodule 6012 is used to instruct the user terminal to sort each of the data packets according to the serial number of the data packets after receiving all the data packets; the determining submodule 6013 is used to determine whether the target image data loses image data during the transmission process according to the sorting result returned by the user terminal.

[0096] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used 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, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an image processing method as described above is implemented.

[0097] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above image processing method can be implemented.

[0098] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0099] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0102] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.

[0103] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. An image processing method, characterized in that: Applied to a cloud desktop server, the method includes: Determine whether the target image data is lost during the transmission process; If the target image data loses image data during transmission, the target image data is analyzed and processed according to a pre-trained artificial intelligence model; Predict and complete the missing image data based on the processing results; The completed image data is sent to the user terminal and displayed.

2. The method according to claim 1, characterized in that The determining whether the target image data is lost during the transmission process includes: Dividing the target image data into a plurality of data packets, and adding a sequence number to each of the data packets; Instructing the user terminal to sort each data packet according to the sequence number of the data packet after receiving all the data packets; Determine whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal.

3. The method according to claim 2, characterized in that The step of determining whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal includes: If a jump sequence number exists in the sorting result returned by the user terminal, it is determined that the target image data is lost during the transmission process.

4. The method according to claim 3, characterized in that The analyzing and processing of image data according to the pre-trained artificial intelligence model includes: Determine packet loss areas based on convolutional neural networks, generative adversarial networks, or recurrent neural networks; Extracting image data around the data packet loss area, and identifying specific feature information of the image data around the data packet loss area; The predicting and completing the lost image data according to the processing result includes: Inputting specific feature information of the image data around the packet loss area into the artificial intelligence model to infer the lost data through the artificial intelligence model and generate supplementary data matching the image data around the packet loss area; The image data around the packet loss area generates the complemented image data according to the supplementary data matched with the image data around the packet loss area.

5. The method according to claim 4, characterized in that The method further comprises: The complement quality of the complement image data is evaluated according to an image quality evaluation algorithm to determine whether the complement image data corresponds to the target image data.

6. The method according to claim 4, characterized in that The method further comprises: If the jump sequence number does not exist in the sorting result returned by the user terminal, it is determined that the target image data has not lost image data during the transmission process.

7. A cloud desktop server, characterized in that: The cloud desktop server includes: a determination module, an analysis and processing module, a prediction module and a sending module; wherein, A determination module, determining whether the target image data is lost during the transmission process; An analysis and processing module, which analyzes and processes the target image data according to a pre-trained artificial intelligence model if the target image data loses image data during transmission; The prediction module predicts and completes the lost image data based on the processing results; The sending module sends the completed image data to the user terminal and displays it.

8. The cloud desktop server according to claim 7, characterized in that: The determination module comprises: Adding a submodule to divide the target image data into a plurality of data packets and adding a sequence number to each of the data packets; An instruction submodule, instructing the user terminal to sort each of the data packets according to the sequence number of the data packets after receiving all the data packets; The determination submodule determines whether the target image data is lost during the transmission process according to the sorting result returned by the user terminal.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.