Method and device for network optimization of VDI desktop

By detecting the data of the client and server, determining the acceleration protocol and target server, and performing network acceleration hijacking and proxy forwarding, the problems of network delay and instability in cloud desktop services are solved, and access efficiency and user experience are improved.

CN118764540BActive Publication Date: 2024-11-22ANHUI TRANSPORT CONSULTING & DESIGN INST
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411224419.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-22
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

Under the external public network conditions, the network delay and instability of cloud desktop services lead to delays and lags when users access VDI desktops, affecting office efficiency and user experience.

Method used

By detecting the client's network data and server data, determine the matching acceleration protocol and target server with the best network quality, use the network accelerator for acceleration hijacking and data proxy forwarding, and optimize the network protocol and data transmission method.

Benefits of technology

It reduces the network latency of VDI desktop access, improves network stability, reduces lag, improves successful access efficiency and user experience, and improves office efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764540B_ABST
    Figure CN118764540B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for network optimization of VDI desktop. The method determines a matching acceleration protocol through current network data of a client, realizes optimization of the network protocol, then accelerates and hijacks the VDI desktop, and determines a server with the best network quality for data proxy forwarding through server data corresponding to a server connected to the client for communication, and then forwards the client's data proxy to a cloud server based on the server, realizes optimization of the data transmission mode, thereby reducing the network delay of VDI desktop access and improving the network stability of VID desktop access when an external network user accesses the VDI desktop, reducing the situation of VDI desktop freeze, improving the efficiency and probability of successful access, and thus improving office efficiency and user access experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network communication technology, and in particular to a method and device for performing network optimization on a VDI desktop. Background Art

[0002] In recent years, with the popularization and vigorous development of cloud computing technology, various cloud computing-based applications have sprung up, such as cloud desktop services.

[0003] Cloud desktop service is a virtual desktop infrastructure (VDI), which allows users to remotely access and operate the desktop environment running on the cloud server through the Internet. It mainly depends on the quality of the client network. For example, network packet loss and latency will directly affect the smoothness of cloud desktop use. Due to the external public network conditions, the network environment of users' personal or public areas is relatively complex, and the network quality cannot be guaranteed, such as network delay and network instability, which often cannot meet the network conditions for cloud desktop access, especially in cross-regional or resource-constrained situations. Therefore, it is particularly important to propose a technical solution to reduce network latency and improve network stability when accessing VDI desktops to improve office efficiency and enhance user access experience. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and device for network optimization of VDI desktops, which can reduce network latency and improve network stability when accessing VDI desktops, so as to improve office efficiency and enhance user access experience.

[0005] In order to solve the above technical problems, a first aspect of an embodiment of the present invention discloses a method for network optimization of a VDI desktop, the method comprising:

[0006] When it is detected that a user triggers an access request for the VDI desktop through a client, obtaining, according to the access request, current network data of the client and server data corresponding to a plurality of servers that can communicate with the client;

[0007] Determine an acceleration protocol matching the VDI desktop based on the acquired current network data of the client, and determine a target server with the best network quality among all the servers based on the acquired server data corresponding to all the servers;

[0008] Accelerating and hijacking the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client;

[0009] After the process of the VDI desktop is accelerated and hijacked, the target data of the client is forwarded to the cloud server through the network resources on the target server.

[0010] As an optional implementation, in the first aspect of the present invention, determining the acceleration protocol matching the VDI desktop according to the acquired current network data of the client includes:

[0011] Analyze the acquired current network data of the client to obtain the current network status of the client;

[0012] When the current network status of the client is used to indicate that the current network stability of the client is greater than or equal to the preset network stability and the network delay duration of the client is greater than or equal to the preset network delay duration, determining the TCP protocol as the acceleration protocol matching the VDI desktop;

[0013] When the current network status of the client indicates that the current network resources of the client do not meet the preset network resource requirements or the number of network congestion times occurring at the client is greater than or equal to the preset number of congestion times, the UDP protocol is determined to be an acceleration protocol matching the VDI desktop.

[0014] As an optional implementation, in the first aspect of the present invention, the server data includes one or more of network quality data of each server, topological structures of all servers, and geographical locations of all servers;

[0015] And, determining a target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers, comprises:

[0016] When the server data includes network quality data of each server, analyzing the acquired network quality data of each server to obtain network quality parameters of each server, and determining the network quality of each server according to the analyzed network quality parameters of each server, and determining a target server with the best network quality from all the servers according to the network quality of all the servers, wherein the network quality parameters include one or more of delay duration, packet loss rate, resource size, network load, node availability and node security;

[0017] When the server data includes a topological structure of all the servers, determining a server closest to the client as a target server with the best network quality according to the topological structure, wherein the topological structure is used to represent a connection relationship between each of the servers and a distance between each of the servers;

[0018] When the server data includes the geographical locations of all the servers, a server closest to the client is determined as the target server with the best network quality.

[0019] As an optional implementation, in the first aspect of the present invention, before forwarding the target data of the client to the cloud server through the network resources on the target server, the method further includes:

[0020] Determine the data type of the target data of the client;

[0021] Based on the data type of the target data, compress the target data using the network accelerator corresponding to the client to obtain the compressed target data, and trigger the execution of the operation of proxy forwarding the target data of the client to the cloud server through the network resources on the target server;

[0022] The method of compressing the target data based on the data type of the target data using the network accelerator corresponding to the client to obtain the compressed target data includes:

[0023] When the data type of the target data is a text type, converting the target data into a binary format using a network accelerator corresponding to the client to obtain binary data, and determining the binary data as the compressed target data;

[0024] When the data type of the target data is an instruction type, using a network accelerator corresponding to the client to add a corresponding code to the target data, and determining the code corresponding to the target data as the compressed target data;

[0025] When the data type of the target data is an image type, a network accelerator corresponding to the client is used to perform a differential encoding operation for the target data to obtain a pixel difference value between each pixel point in the target data, and all the pixel difference values ​​are determined as the compressed target data.

[0026] As an optional implementation, in the first aspect of the present invention, the accelerating hijacking of the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client includes:

[0027] A corresponding virtual adapter is created for the network accelerator corresponding to the client, and the acceleration protocol is used through the virtual adapter to accelerate and hijack the process of the VDI desktop.

[0028] As an optional implementation, in the first aspect of the present invention, before forwarding the target data of the client to the cloud server through the network resources on the target server, the method further includes:

[0029] Determine data parameters of target data of the client, wherein the data parameters of the target data include data volume;

[0030] Analyze the determined data parameters of the target data and the acquired current network data of the client to obtain a data transmission window for the target data;

[0031] Determining a sending rate of the target data according to the data transmission window and the acquired current network data of the client;

[0032] The method of forwarding the target data of the client to the cloud server through the network resources on the target server includes:

[0033] At the sending rate, the target data of the client is proxy-forwarded to the cloud server through the network resources on the target server.

[0034] As an optional implementation, in the first aspect of the present invention, the target data is composed of a plurality of data packets, and each of the data packets has a unique corresponding sequence identifier;

[0035] After forwarding the target data of the client to the cloud server through the network resources on the target server, the method further includes:

[0036] Receiving target feedback from the cloud server for the sequence identifier of the data packet received by it, wherein the target feedback includes the sequence identifier of the data packet to be retransmitted and is used to request the client to retransmit the data packet corresponding to the sequence identifier;

[0037] According to the received target feedback, the data packet with the sequence identifier that needs to be retransmitted is re-forwarded to the cloud server through the network resources on the target server.

[0038] A second aspect of an embodiment of the present invention discloses a device for performing network optimization on a VDI desktop, the device comprising:

[0039] An acquisition module, configured to acquire, when detecting that a user triggers an access request for the VDI desktop through a client, current network data of the client and server data corresponding to a plurality of servers capable of communicating with the client according to the access request;

[0040] A determination module, configured to determine an acceleration protocol matching the VDI desktop according to the acquired current network data of the client;

[0041] The determination module is further used to determine the target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers;

[0042] An acceleration hijacking module, used for accelerating and hijacking the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client;

[0043] The proxy forwarding module is used to proxy forward the target data of the client to the cloud server through the network resources on the target server after the process of the VDI desktop is accelerated and hijacked.

[0044] As an optional implementation, in the second aspect of the present invention, the specific manner in which the determination module determines the acceleration protocol matching the VDI desktop according to the acquired current network data of the client includes:

[0045] Analyze the acquired current network data of the client to obtain the current network status of the client;

[0046] When the current network status of the client is used to indicate that the current network stability of the client is greater than or equal to the preset network stability and the network delay duration of the client is greater than or equal to the preset network delay duration, determining the TCP protocol as the acceleration protocol matching the VDI desktop;

[0047] When the current network status of the client indicates that the current network resources of the client do not meet the preset network resource requirements or the number of network congestion times occurring at the client is greater than or equal to the preset number of congestion times, the UDP protocol is determined to be an acceleration protocol matching the VDI desktop.

[0048] As an optional implementation, in the second aspect of the present invention, the server data includes one or more of network quality data of each server, topological structures of all servers, and geographical locations of all servers;

[0049] And, the specific manner in which the determination module determines the target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers includes:

[0050] When the server data includes network quality data of each server, analyzing the acquired network quality data of each server to obtain network quality parameters of each server, and determining the network quality of each server according to the analyzed network quality parameters of each server, and determining a target server with the best network quality from all the servers according to the network quality of all the servers, wherein the network quality parameters include one or more of delay duration, packet loss rate, bandwidth size, network load, node availability and node security;

[0051] When the server data includes a topological structure of all the servers, determining a server closest to the client as a target server with the best network quality according to the topological structure, wherein the topological structure is used to represent a connection relationship between each of the servers and a distance between each of the servers;

[0052] When the server data includes the geographical locations of all the servers, a server closest to the client is determined as the target server with the best network quality.

[0053] As an optional implementation, in the second aspect of the present invention, the determination module is further used to determine the data type of the target data of the client before the proxy forwarding module proxy forwards the target data of the client to the cloud server through the network resources on the target server;

[0054] The device also includes:

[0055] A compression module, configured to compress the target data based on the data type of the target data using the network accelerator corresponding to the client to obtain the compressed target data, and trigger the proxy forwarding module to perform the operation of proxy forwarding the target data of the client to the cloud server through the network resources on the target server;

[0056] The compression module compresses the target data based on the data type of the target data using the network accelerator corresponding to the client, and the specific method of obtaining the compressed target data includes:

[0057] When the data type of the target data is a text type, converting the target data into a binary format using a network accelerator corresponding to the client to obtain binary data, and determining the binary data as the compressed target data;

[0058] When the data type of the target data is an instruction type, using a network accelerator corresponding to the client to add a corresponding code to the target data, and determining the code corresponding to the target data as the compressed target data;

[0059] When the data type of the target data is an image type, a network accelerator corresponding to the client is used to perform a differential encoding operation for the target data to obtain a pixel difference value between each pixel point in the target data, and all the pixel difference values ​​are determined as the compressed target data.

[0060] As an optional implementation, in the second aspect of the present invention, the specific manner in which the acceleration hijacking module accelerates and hijacks the process of the VDI desktop using the acceleration protocol through the network accelerator corresponding to the client includes:

[0061] A corresponding virtual adapter is created for the network accelerator corresponding to the client, and the acceleration protocol is used through the virtual adapter to accelerate and hijack the process of the VDI desktop.

[0062] As an optional implementation, in the second aspect of the present invention, the determination module is further used to determine data parameters of the target data of the client before the proxy forwarding module proxy forwards the target data of the client to the cloud server through the network resources on the target server, and the data parameters of the target data include data volume;

[0063] The device also includes:

[0064] An analysis module, used for analyzing the determined data parameters of the target data and the acquired current network data of the client to obtain a data transmission window for the target data;

[0065] The determination module is further configured to determine a sending rate of the target data according to the data transmission window and the acquired current network data of the client;

[0066] The specific method in which the proxy forwarding module forwards the target data of the client to the cloud server through the network resources on the target server includes:

[0067] At the sending rate, the target data of the client is proxy-forwarded to the cloud server through the network resources on the target server.

[0068] As an optional implementation, in the second aspect of the present invention, the target data is composed of a plurality of data packets, and each of the data packets has a unique corresponding sequence identifier;

[0069] The device also includes:

[0070] A receiving module, configured to receive target feedback of a sequence identifier of the data packet received by the cloud server after the proxy forwarding module proxy-forwards the target data of the client to the cloud server through the network resources on the target server, wherein the target feedback includes the sequence identifier of the data packet to be retransmitted and is used to request the client to retransmit the data packet corresponding to the sequence identifier;

[0071] The proxy forwarding module is also used to proxy forward the data packets with the sequence identifier that need to be retransmitted to the cloud server again through the network resources on the target server according to the received target feedback.

[0072] A third aspect of the present invention discloses another device for performing network optimization on a VDI desktop, the device comprising:

[0073] A memory storing executable program code;

[0074] a processor coupled to the memory;

[0075] The processor calls the executable program code stored in the memory to execute the operations of the method for network optimization of VDI desktop disclosed in the first aspect of the present invention.

[0076] A fourth aspect of the present invention discloses a computer storable medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the operations of the method for network optimization of VDI desktops disclosed in the first aspect of the present invention.

[0077] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0078] In an embodiment of the present invention, a method and device for network optimization of a VDI desktop are disclosed. The method includes: when it is detected that a user triggers an access request for the VDI desktop through a client, according to the access request, the current network data of the client and the server data corresponding to multiple servers that can communicate with the client are obtained; according to the obtained current network data of the client, an acceleration protocol matching the VDI desktop is determined, and according to the obtained server data corresponding to all servers, a target server with the best network quality among all servers is determined; the process of the VDI desktop is accelerated and hijacked using the acceleration protocol through the network accelerator corresponding to the client; after the process of the VDI desktop is accelerated and hijacked, the target data of the client is proxy-forwarded to the cloud server through the network resources on the target server. It can be seen that the present invention determines the matching acceleration protocol through the current network data of the client, realizes the optimization of the network protocol, and then accelerates the hijacking of the VDI desktop, and determines the server with the best network quality for data proxy forwarding through the server data corresponding to the server connected to the client communication, and then forwards the client's data proxy to the cloud server based on it, thereby realizing the optimization of the data transmission method, so that when external network users access the VDI desktop, the network delay of VDI desktop access is reduced and the network stability of VID desktop access is improved, the VDI desktop freeze is reduced, the successful access efficiency and the probability of successful access are improved, thereby improving office efficiency and enhancing user access experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0080] Figure 1 It is a flowchart of a method for network optimization of a VDI desktop disclosed in an embodiment of the present invention;

[0081] Figure 2 It is a schematic diagram of an actual operation interface of a network accelerator login disclosed in an embodiment of the present invention;

[0082] Figure 3 This is a schematic diagram of an interface after accelerated hijacking disclosed in an embodiment of the present invention;

[0083] Figure 4 It is a flowchart of another method for network optimization of a VDI desktop disclosed in an embodiment of the present invention;

[0084] Figure 5It is a structural schematic diagram of a device for performing network optimization on a VDI desktop disclosed in an embodiment of the present invention;

[0085] Figure 6 It is a structural schematic diagram of another device for performing network optimization on a VDI desktop disclosed in an embodiment of the present invention;

[0086] Figure 7 It is a structural schematic diagram of another device for performing network optimization on a VDI desktop disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0087] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0088] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0089] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0090] The present invention discloses a method and device for network optimization of VDI desktops, which can determine a matching acceleration protocol through the current network data of the client, realize the optimization of the network protocol, and then accelerate the hijacking of the VDI desktop, and determine the server with the best network quality for data proxy forwarding through the server data corresponding to the server connected to the client communication, and then forward the client's data proxy to the cloud server based on it, realize the optimization of data transmission mode, so that when the external network user accesses the VDI desktop, the network delay of VDI desktop access is reduced and the network stability of VID desktop access is improved, the situation of VDI desktop freeze is reduced, the successful access efficiency and the probability of successful access are improved, and then the office efficiency and user access experience are improved. The following are detailed descriptions.

[0091] Embodiment 1

[0092] See also Figure 1 , Figure 1 The present invention discloses a method for optimizing the network of a VDI desktop. The method for optimizing the network of a VDI desktop is applied to a scenario (such as a game loading scenario) where a device for optimizing the network of a VDI desktop is provided and network optimization is required. The device for optimizing the network of a VDI desktop includes any one of a client, a network optimization server, a network optimization platform, and a network optimization system that can optimize the network speed of the VDI desktop. Figure 1 As shown, the method for network optimization of VDI desktops may include the following operations:

[0093] 101. When it is detected that a user triggers an access request for a VDI desktop through a client, current network data of the client and server data corresponding to multiple servers that can communicate with the client are obtained according to the access request.

[0094] In the embodiment of the present invention, the user has installed the network accelerator. When an access request is detected, the user is prompted to open the network accelerator and enter his / her account number and password to log in. Figure 2 As shown, Figure 2 It is a schematic diagram of an actual operation interface for logging into a network accelerator disclosed in an embodiment of the present invention, and is used for a user to input an account number and password.

[0095] In the embodiment of the present invention, the current network data includes but is not limited to at least one of the stability, speed and delay (also known as latency) of the client's network connection. Further, it may also include but is not limited to at least one of the client's IP address, device model, operating system version and screen resolution, etc., which is conducive to improving the accuracy of determining the acceleration protocol.

[0096] 102. Determine an acceleration protocol that matches the VDI desktop based on the current network data of the client obtained, and determine a target server with the best network quality among all servers based on the server data corresponding to all the servers obtained.

[0097] 103. Use the acceleration protocol through the client's corresponding network accelerator to accelerate and hijack the VDI desktop process.

[0098] In an embodiment of the present invention, optionally, the process of the VDI desktop is accelerated and hijacked using an acceleration protocol through a network accelerator corresponding to the client, including: creating a corresponding virtual adapter for the network accelerator corresponding to the client, and accelerating and hijacking the process of the VDI desktop through the virtual adapter using an acceleration protocol. By creating a corresponding virtual adapter for the network accelerator, the embodiment of the present invention can adjust network resources through the virtual adapter and then accelerate and hijack the VDI desktop, thereby improving the efficiency and accuracy of accelerating and hijacking the process of the VDI desktop. Among them, optionally, in addition to accelerating and hijacking the process, the target data of the client can also be accelerated and hijacked, and after determining the target server, proxy forwarding is performed based on the target server. Among them, Figure 3 It is a schematic diagram of an interface after accelerated hijacking disclosed in an embodiment of the present invention.

[0099] In the embodiment of the present invention, the process of the VDI desktop may be any application process that needs to be accelerated, such as wfica32.exe.

[0100] 104. After the VDI desktop process is accelerated and hijacked, the target data of the client is forwarded to the cloud server through the network resources on the target server.

[0101] In the embodiment of the present invention, optionally, before the client forwards the target data to the cloud server through the target server, it can first send corresponding request information to the target server and the cloud server at the same time, and after receiving the confirmation information fed back by the target server and the cloud server at the same time, establish a communication connection with the target server and the cloud server, and then execute the above step 104. In this way, by sending the request information to the server forwarding the proxy and the cloud server receiving the data at the same time, it is ensured that the target server and the cloud server are in a state that can be used by the client, thereby ensuring the success and stability of the data proxy forwarding and receiving, and further ensuring that the VDI desktop is free of lag.

[0102] In an embodiment of the present invention, before the target server forwards the target data by proxy, it may first encrypt the target data (or compressed target data), and forward the encrypted target data by proxy to the cloud server. After receiving the encrypted target data, the cloud server accelerates the processing and decrypts it, analyzes it, obtains analysis data, and then encrypts the analysis data and directly transmits it back to the client, or transmits it back to the client through the target server, so as to ensure the security of data transmission, wherein the data is encrypted using encryption protocols such as TLS / SSL.

[0103] It can be seen that the implementation Figure 1 The described method for network optimization of VDI desktops determines the matching acceleration protocol through the current network data of the client, realizes the optimization of the network protocol, then accelerates and hijacks the VDI desktop, and determines the server with the best network quality for data proxy forwarding through the server data corresponding to the server connected to the client communication, and then forwards the client's data proxy to the cloud server based on it, realizes the optimization of data transmission mode, so that when external network users access the VDI desktop, the network delay of VDI desktop access is reduced and the network stability of VID desktop access is improved, the VDI desktop freeze is reduced, the successful access efficiency and the probability of successful access are improved, thereby improving office efficiency and enhancing user access experience.

[0104] In an optional embodiment, determining an acceleration protocol matching the VDI desktop according to the acquired current network data of the client includes:

[0105] Analyze the acquired current network data of the client to obtain the current network status of the client;

[0106] When the current network status of the client is used to indicate that the current network stability of the client is greater than or equal to the preset network stability and the network delay duration of the client is greater than or equal to the preset network delay duration, determining the TCP protocol as the acceleration protocol matching the VDI desktop;

[0107] When the current network status of the client indicates that the current network resources of the client do not meet the preset network resource requirements or the number of network congestion times occurring in the client is greater than or equal to the preset number of congestion times, the UDP protocol is determined to be an acceleration protocol matching the VDI desktop.

[0108] In this optional embodiment, when the network delay required for the target data sent by the client is less than the preset network delay, the UDP protocol is determined to be the acceleration protocol that matches the VDI desktop.

[0109] In this optional embodiment, the current network resources include but are not limited to one or more of bandwidth, data transmission volume, packet loss rate, etc. When the bandwidth is less than or equal to the preset network bandwidth, or when the data transmission volume is greater than or equal to the preset transmission volume, or when the packet loss rate is greater than or equal to the preset packet loss rate, it is determined that the previous network resources do not meet the preset network resource requirements.

[0110] It can be seen that this optional embodiment selects the TCP acceleration protocol when the current network of the client is good, and selects the UDP protocol if it is poor. The corresponding acceleration protocol is adaptively selected, which can improve the acceleration hijacking accuracy of the VDI desktop process, reduce the number of handshakes between the client and the server, and reduce the data forwarding delay, which is conducive to improving the transmission efficiency and accuracy of data packets.

[0111] In another optional embodiment, the server data includes one or more of network quality data of each server, topological structures of all servers, and geographical locations of all servers; wherein the network quality data of each server includes but is not limited to one or more of server resource data, delay (latency) data, packet loss rate data, jitter data, network error rate data, network throughput data, and network availability data; and, based on the acquired server data corresponding to all servers, determining a target server with the best network quality among all servers, including:

[0112] When the server data includes network quality data of each server, the obtained network quality data of each server is analyzed to obtain network quality parameters of each server, and the network quality of each server is determined according to the analyzed network quality parameters of each server, and the target server with the best network quality is determined from all servers according to the network quality of all servers, and the network quality parameters include one or more of delay duration, packet loss rate, bandwidth size, network load, node availability and node security;

[0113] When the server data includes the topological structure of all servers, the server closest to the client is determined as the target server with the best network quality according to the topological structure, and the topological structure is used to represent the connection relationship between each server and the distance between each server;

[0114] When the server data includes the geographical locations of all servers, the server closest to the client is determined as the target server with the best network quality.

[0115] It can be seen that this optional embodiment determines the server with the best network quality for data proxy forwarding through one or more of the server's network quality data, the server's topological structure, and the server's geographical location. This can enrich the method for determining the optimal server, improve the efficiency and accuracy of determining the optimal server, thereby reducing network congestion when the optimal server performs data proxy forwarding, and improve network stability and speed, which is beneficial to improving the data proxy forwarding efficiency and accuracy of the client.

[0116] In another optional embodiment, when the server data simultaneously includes the network quality data of each server, the topological structure of all servers and the geographical location of all servers, that is, when three target servers are obtained by three methods, the target servers obtained in sequence are named as the first target server, the second target server and the third target server, and the method may further include the following steps:

[0117] Analyze the network quality data of the first target server, the network quality data of the second target server, and the network quality data of the third target server to obtain a first weight corresponding to the first target server, a second weight corresponding to the second target server, and a third weight corresponding to the third target server, wherein the better the network quality, the greater the weight;

[0118] Based on the distances between the client and the first target server, the second target server, and the third target server, the first weight, the second weight, and the third weight are modified to obtain a modified first weight, a modified second weight, and a modified third weight, wherein the closer the distance, the greater the weight;

[0119] quantifying each network quality parameter of the first target server, each network quality parameter of the second target server, and each network quality parameter of the third target server to obtain a quantized value of each network quality parameter;

[0120] For any fourth target server, multiply the quantized value of each network quality parameter of the fourth target server by the weight corresponding to the fourth target server to obtain a selection value of the fourth target server, wherein the fourth target server is the first target server, the second target server, and the third target server;

[0121] According to the selection values ​​of all fourth target servers, a fourth target server with the highest selection value is determined from among the selection values ​​of all fourth target servers as the optimal target server.

[0122] It can be seen that after obtaining the optimal target server through various means, this optional embodiment further determines the respective weights based on its network quality parameters and the distance value from the client, and combines its network quality parameters to finally determine the target server with the best network quality, which can further improve the accuracy and reliability of determining the optimal target server, thereby further ensuring the smoothness of the network for data transmission.

[0123] In yet another optional embodiment, before forwarding the target data of the client to the cloud server through the network resources on the target server, the method may further include the following steps:

[0124] Determine data parameters of target data of the client, where the data parameters of the target data include data volume;

[0125] Analyze the determined data parameters of the target data and the acquired current network data of the client to obtain the data transmission window of the target data;

[0126] Determine the target data transmission rate based on the data transmission window and the current network data of the client obtained;

[0127] The process of forwarding the target data of the client to the cloud server through the network resources on the target server includes:

[0128] The client's target data is forwarded to the cloud server through the network resources on the target server at the sending rate.

[0129] In this optional embodiment, during the client data proxy forwarding process, the network congestion situation can be analyzed according to the current network data during the proxy forwarding process to adaptively adjust the sending rate, and the sending rate can be further controlled in combination with the slow start algorithm to further reduce the occurrence of network congestion.

[0130] It can be seen that this optional embodiment can obtain an accurate data transmission window by analyzing the amount of data that needs to be forwarded by proxy and the current network data, and analyze the sending rate of data proxy forwarding in combination with the current network data, and then perform data forwarding proxy based on the sending rate. This can reduce network congestion, reduce network delays, and improve network stability, thereby improving the efficiency and accuracy of data proxy forwarding, and further reducing the phenomenon of VDI desktop lag.

[0131] Embodiment 2

[0132] See also Figure 4 , Figure 4It is a flowchart of another method for network optimization of VDI desktops disclosed in an embodiment of the present invention. The method for network optimization of VDI desktops is applied to a scenario (such as a game loading scenario) where a device for network optimization of VDI desktops is provided and network optimization is required, wherein the device for network optimization of VDI desktops includes any one of a client, a network optimization server, a network optimization platform, and a network optimization system, etc., which can optimize the network speed of the VDI desktop. Figure 4 As shown, the method for network optimization of VDI desktops may include the following operations:

[0133] 201. When it is detected that a user triggers an access request for a VDI desktop through a client, current network data of the client and server data corresponding to multiple servers that can communicate with the client are obtained according to the access request.

[0134] 202. Determine an acceleration protocol that matches the VDI desktop based on the acquired current network data of the client, and determine a target server with the best network quality among all servers based on the acquired server data corresponding to all servers.

[0135] 203. Accelerate and hijack the VDI desktop process using an acceleration protocol through the network accelerator corresponding to the client.

[0136] 204. Determine the data type of the target data of the client.

[0137] 205. Based on the data type of the target data, compress the target data using a network accelerator corresponding to the client to obtain compressed target data.

[0138] 206. After the VDI desktop process is accelerated and hijacked, the compressed client target data is forwarded to the cloud server through the network resources on the target server.

[0139] In the embodiment of the present invention, for the related descriptions of steps 201 to 203 and step 206, please refer to the detailed description of steps 101 to 104 in the first embodiment, and the embodiment of the present invention will not be repeated here.

[0140] It can be seen that implementation Figure 4The described method for network optimization of VDI desktops determines the matching acceleration protocol through the current network data of the client, realizes the optimization of the network protocol, and then accelerates the hijacking of the VDI desktop, and determines the server with the best network quality for data proxy forwarding through the server data corresponding to the server connected to the client communication, and then forwards the client data proxy to the cloud server based on it, realizing the optimization of the data transmission method, so that when the external network user accesses the VDI desktop, the network delay of VDI desktop access is reduced and the network stability of VID desktop access is improved, the VDI desktop freeze is reduced, the successful access efficiency and the probability of successful access are improved, and then the office efficiency and user access experience are improved. In addition, before the proxy forwarding is performed, the data is first compressed based on the data type, while ensuring the correctness of the proxy forwarded data, while reducing the amount of transmitted data, thereby speeding up the data transmission speed, and further reducing the phenomenon of VDI desktop freeze.

[0141] In an optional embodiment, based on the data type of the target data, the target data is compressed using a network accelerator corresponding to the client to obtain compressed target data, including:

[0142] When the data type of the target data is a text type, the target data is converted into a binary format using a network accelerator corresponding to the client to obtain binary data, and the binary data is determined as compressed target data;

[0143] When the data type of the target data is an instruction type, a corresponding code is added to the target data using a network accelerator corresponding to the client, and the code corresponding to the target data is determined as compressed target data;

[0144] When the data type of the target data is an image type, a network accelerator corresponding to the client is used to perform a differential encoding operation for the target data to obtain a pixel difference value between each pixel point in the target data, and all pixel difference values ​​are determined as compressed target data.

[0145] It can be seen that this optional embodiment can accurately select the corresponding compression method to compress the data according to different data types, which can improve the compression efficiency and accuracy of the data, thereby facilitating the improvement of data transmission efficiency.

[0146] In another optional embodiment, the target data is composed of multiple data packets, and each data packet has a unique corresponding sequence identifier; after the target data of the client is forwarded to the cloud server through the network resources on the target server, the method further includes the following steps:

[0147] Receive target feedback from the cloud server for the sequence identifier of the data packet received by it, where the target feedback includes the sequence identifier of the data packet that needs to be retransmitted and is used to request the client to retransmit the data packet with the sequence identifier of the data packet that needs to be retransmitted;

[0148] According to the received target feedback, the data packets with sequence identifiers of the data packets that need to be retransmitted are re-forwarded to the cloud server through the network resources on the target server.

[0149] It should be noted that this optional embodiment may also occur during the process of proxy forwarding of target data of the client.

[0150] It can be seen that this optional embodiment, after or during data proxy forwarding, can minimize the number of retransmissions and improve the accuracy of data retransmission by receiving feedback from the cloud server and retransmitting data based on the sequence identifier of the data packet contained in its feedback, thereby ensuring that the cloud server receives accurate data and interacts accurately with the client, thereby ensuring the smoothness of the VDI desktop.

[0151] Embodiment 3

[0152] See also Figure 5 , Figure 5 The present invention discloses a schematic diagram of a device for optimizing the network of a VDI desktop. The device for optimizing the network of a VDI desktop is applied to a scenario where network optimization is required (such as a game loading scenario). The device for optimizing the network of a VDI desktop includes any one of a client, a network optimization server, a network optimization platform, and a network optimization system that can optimize the network speed of the VDI desktop. Figure 5 As shown, the device for performing network optimization on the VDI desktop may include:

[0153] The acquisition module 301 is used to acquire the current network data of the client and the server data corresponding to the multiple servers that can communicate with the client according to the access request when it is detected that the user triggers an access request for the VDI desktop through the client;

[0154] A determination module 302 determines an acceleration protocol that matches the VDI desktop based on the acquired current network data of the client;

[0155] The determination module 302 is further used to determine the target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers;

[0156] The acceleration hijacking module 303 is used to accelerate and hijack the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client;

[0157] The proxy forwarding module 304 is used to proxy forward the target data of the client to the cloud server through the network resources on the target server after the process of the VDI desktop is accelerated and hijacked.

[0158] It can be seen that implementation Figure 5 The described device for network optimization of VDI desktops determines the matching acceleration protocol through the current network data of the client, realizes the optimization of the network protocol, then accelerates and hijacks the VDI desktop, and determines the server with the best network quality for data proxy forwarding through the server data corresponding to the server connected to the client communication, and then forwards the client's data proxy to the cloud server based on it, realizes the optimization of data transmission mode, so that when external network users access the VDI desktop, the network delay of VDI desktop access is reduced and the network stability of VID desktop access is improved, the VDI desktop freeze is reduced, the successful access efficiency and the probability of successful access are improved, thereby improving office efficiency and enhancing user access experience.

[0159] In another optional embodiment, the specific manner in which the determination module 302 determines the acceleration protocol matching the VDI desktop according to the acquired current network data of the client includes:

[0160] Analyze the acquired current network data of the client to obtain the current network status of the client;

[0161] When the current network status of the client is used to indicate that the current network stability of the client is greater than or equal to the preset network stability and the network delay duration of the client is greater than or equal to the preset network delay duration, determining the TCP protocol as the acceleration protocol matching the VDI desktop;

[0162] When the current network status of the client indicates that the current network resources of the client do not meet the preset network resource requirements or the number of network congestion times occurring in the client is greater than or equal to the preset number of congestion times, the UDP protocol is determined to be an acceleration protocol matching the VDI desktop.

[0163] The specific manner in which the acceleration hijacking module 303 uses the acceleration protocol to accelerate and hijack the process of the VDI desktop through the network accelerator corresponding to the client includes:

[0164] Create a corresponding virtual adapter for the network accelerator corresponding to the client, and use the acceleration protocol through the virtual adapter to accelerate the process of the VDI desktop.

[0165] It can be seen that implementation Figure 5The described device for network optimization of VDI desktops selects the TCP acceleration protocol when the current network of the client is good, and selects the UDP protocol if it is poor, and adaptively selects the corresponding acceleration protocol, which can improve the acceleration hijacking accuracy of the VDI desktop process, reduce the number of handshakes between the client and the server, reduce the data forwarding delay, and help improve the transmission efficiency and accuracy of data packets; and by creating a corresponding virtual adapter for the network accelerator, it is possible to adjust network resources through the virtual adapter and then accelerate the hijacking of the VDI desktop, thereby improving the acceleration hijacking efficiency and accuracy of the VDI desktop.

[0166] In yet another optional embodiment, the server data includes one or more of network quality data of each server, topological structures of all servers, and geographic locations of all servers;

[0167] And, the specific manner in which the determination module 302 determines the target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers includes:

[0168] When the server data includes network quality data of each server, the obtained network quality data of each server is analyzed to obtain network quality parameters of each server, and the network quality of each server is determined according to the analyzed network quality parameters of each server, and the target server with the best network quality is determined from all servers according to the network quality of all servers, and the network quality parameters include one or more of delay duration, packet loss rate, bandwidth size, network load, node availability and node security;

[0169] When the server data includes the topological structure of all servers, the server closest to the client is determined as the target server with the best network quality according to the topological structure, and the topological structure is used to represent the connection relationship between each server and the distance between each server;

[0170] When the server data includes the geographical locations of all servers, the server closest to the client is determined as the target server with the best network quality.

[0171] It can be seen that the implementation Figure 5 The described device for network optimization of VDI desktops determines the server with the best network quality for data proxy forwarding through one or more of the server's network quality data, the server's topological structure, and the server's geographical location. It can enrich the method of determining the optimal server, improve the efficiency and accuracy of determining the optimal server, thereby reducing network congestion when the optimal server performs data proxy forwarding, improve network stability and speed, and thus help improve the efficiency and accuracy of data proxy forwarding on the client.

[0172] In yet another optional embodiment, the determination module 302 is further used to determine the data type of the target data of the client before the proxy forwarding module 304 proxy forwards the target data of the client to the cloud server through the network resources on the target server;

[0173] And, if Figure 6 As shown, Figure 6 A schematic diagram of the structure of another device for network optimization of a VDI desktop disclosed in an embodiment of the present invention is shown in FIG. Figure 6 As shown, the device also includes:

[0174] The compression module 305 is used to compress the target data based on the data type of the target data using the network accelerator corresponding to the client to obtain the compressed target data, and trigger the proxy forwarding module 304 to perform the above-mentioned operation of proxy forwarding the compressed target data of the client to the cloud server through the network resources on the target server after accelerating the hijacking of the process on the VDI desktop;

[0175] The compression module 305 compresses the target data based on the data type of the target data using the network accelerator corresponding to the client. The specific method of obtaining the compressed target data includes:

[0176] When the data type of the target data is a text type, the target data is converted into a binary format using a network accelerator corresponding to the client to obtain binary data, and the binary data is determined as compressed target data;

[0177] When the data type of the target data is an instruction type, a corresponding code is added to the target data using a network accelerator corresponding to the client, and the code corresponding to the target data is determined as compressed target data;

[0178] When the data type of the target data is an image type, a network accelerator corresponding to the client is used to perform a differential encoding operation for the target data to obtain a pixel difference value between each pixel point in the target data, and all pixel difference values ​​are determined as compressed target data.

[0179] It can be seen that the implementation Figure 6 The described device for network optimization of VDI desktops compresses data based on data type before proxy forwarding, thereby reducing the amount of transmitted data while ensuring the correctness of the data forwarded by the proxy, thereby speeding up data transmission and further reducing the phenomenon of VDI desktop lag; and can accurately select corresponding compression methods to compress data according to different data types, which can improve data compression efficiency and accuracy, thereby helping to improve data transmission efficiency.

[0180] In yet another optional embodiment, Figure 6 As shown, the determination module 302 is also used to determine the data parameters of the target data of the client before the proxy forwarding module 304 proxy forwards the target data of the client to the cloud server through the network resources on the target server, and the data parameters of the target data include the data volume;

[0181] And, if Figure 6 As shown, the device also includes:

[0182] An analysis module 306 is used to analyze the determined data parameters of the target data and the acquired current network data of the client to obtain a data transmission window for the target data;

[0183] The determination module 302 is further used to determine the sending rate of the target data according to the data transmission window and the current network data of the client obtained;

[0184] The specific manner in which the proxy forwarding module 304 forwards the target data of the client to the cloud server through the network resources on the target server includes:

[0185] The client's target data is forwarded to the cloud server through the network resources on the target server at the sending rate.

[0186] It can be seen that implementation Figure 6 The described device for network optimization of VDI desktops can obtain an accurate data transmission window by analyzing the amount of data that needs to be forwarded by a proxy and the current network data, and analyze the sending rate of data proxy forwarding in combination with the current network data, and then perform data forwarding proxy based on the sending rate, which can reduce network congestion, reduce network delay and improve network stability, thereby improving the efficiency and accuracy of data proxy forwarding, and further reducing the phenomenon of VDI desktop freezes.

[0187] In yet another optional embodiment, the target data is composed of a plurality of data packets, and each data packet has a unique corresponding sequence identifier; Figure 6 As shown, the device also includes:

[0188] The receiving module 307 is used to receive target feedback of the sequence identifier of the data packet received by the cloud server after the proxy forwarding module 304 proxy forwards the target data of the client to the cloud server through the network resources on the target server, and the target feedback includes the sequence identifier of the data packet to be retransmitted and is used to request the client to retransmit the data packet with the sequence identifier of the data packet to be retransmitted;

[0189] The proxy forwarding module 304 is further used to proxy forward the data packets with sequence identifiers of the data packets that need to be retransmitted to the cloud server again through the network resources on the target server according to the received target feedback.

[0190] It can be seen that implementation Figure 6 The described device for network optimization of VDI desktops can minimize the number of retransmissions and improve the accuracy of data retransmission by receiving feedback from the cloud server after or during data proxy forwarding and retransmitting data based on the sequence identifier of the data packet contained in the feedback, thereby ensuring that the cloud server receives accurate data and interacts accurately with the client, thereby ensuring the smoothness of the VDI desktop.

[0191] In another optional embodiment, when the server data simultaneously includes the network quality data of each server, the topological structure of all servers and the geographical location of all servers, that is, when three target servers are obtained by three methods, the target servers obtained in sequence are named as the first target server, the second target server and the third target server, and Figure 6 As shown, the analysis module 306 is further used to analyze the network quality data of the first target server, the network quality data of the second target server, and the network quality data of the third target server to obtain a first weight corresponding to the first target server, a second weight corresponding to the second target server, and a third weight corresponding to the third target server, wherein the better the network quality, the greater the weight; based on the distance between the client and the first target server, the second target server, and the third target server, the first weight, the second weight, and the third weight are corrected to obtain a corrected first weight, a corrected second weight, and a corrected third weight, wherein the closer the distance, the greater the weight;

[0192] The determination module 302 is further used to quantify each network quality parameter of the first target server, each network quality parameter of the second target server, and each network quality parameter of the third target server to obtain a quantized value of each network quality parameter; for any fourth target server, multiply the quantized value of each network quality parameter of the fourth target server by a weight corresponding to the fourth target server to obtain a selection value of the fourth target server, wherein the fourth target server is the first target server, the second target server, and the third target server;

[0193] The determination module 302 is further configured to determine, according to the selection values ​​of all the fourth target servers, a fourth target server with the highest selection value from among the selection values ​​of all the fourth target servers as the optimal target server.

[0194] It can be seen that implementation Figure 6The described device for network optimization of VDI desktops, after obtaining the optimal target server through multiple methods, further determines the respective weights based on its network quality parameters and the distance value from the client, and finally determines the target server with the best network quality in combination with its network quality parameters, which can further improve the accuracy and reliability of determining the optimal target server, thereby further ensuring the smoothness of the network for data transmission.

[0195] Embodiment 5

[0196] See also Figure 7 , Figure 7 Another device for optimizing the network of a VDI desktop disclosed in an embodiment of the present invention includes any one of a client, a network optimization server, a network optimization platform, and a network optimization system that can optimize the network speed of the VDI desktop. Figure 7 As shown, the device for performing network optimization on the VDI desktop may include:

[0197] A memory 401 storing executable program codes;

[0198] a processor 402 coupled to the memory 401;

[0199] Furthermore, it may also include an input interface 403 and an output interface 404 coupled to the processor 402;

[0200] The processor 402 calls the executable program code stored in the memory 401 to execute some or all of the steps in the method for network optimization of the VDI desktop described in the first or second embodiment.

[0201] Embodiment 6

[0202] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute some or all of the steps of the method for network optimization of a VDI desktop described in Embodiment 1 or Embodiment 2.

[0203] Embodiment 7

[0204] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute some or all of the steps in the method for network optimization of a VDI desktop described in Embodiment 1 or Embodiment 2.

[0205] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0206] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0207] Finally, it should be noted that the method and device for network optimization of VDI desktops disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for network optimization of a VDI desktop, characterized in that: The method comprises: When it is detected that a user triggers an access request for the VDI desktop through a client, obtaining, according to the access request, current network data of the client and server data corresponding to a plurality of servers that can communicate with the client; Determine an acceleration protocol matching the VDI desktop based on the acquired current network data of the client, and determine a target server with the best network quality among all the servers based on the acquired server data corresponding to all the servers; Accelerating and hijacking the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client; After the VDI desktop process is hijacked, the target data of the client is forwarded to the cloud server through the network resources on the target server; The step of determining an acceleration protocol matching the VDI desktop according to the acquired current network data of the client includes: Analyze the acquired current network data of the client to obtain the current network status of the client; When the current network status of the client is used to indicate that the current network stability of the client is greater than or equal to the preset network stability and the network delay duration of the client is greater than or equal to the preset network delay duration, determining the TCP protocol as the acceleration protocol matching the VDI desktop; When the current network status of the client indicates that the current network resources of the client do not meet the preset network resource requirements or the number of network congestion times occurring at the client is greater than or equal to the preset number of congestion times, the UDP protocol is determined to be an acceleration protocol matching the VDI desktop.

2. The method for network optimization of VDI desktop according to claim 1, characterized in that: The server data includes one or more of network quality data of each of the servers, topological structures of all the servers, and geographical locations of all the servers; And, determining a target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers, comprises: When the server data includes network quality data of each server, analyzing the acquired network quality data of each server to obtain network quality parameters of each server, and determining the network quality of each server according to the analyzed network quality parameters of each server, and determining a target server with the best network quality from all the servers according to the network quality of all the servers, wherein the network quality parameters include one or more of delay duration, packet loss rate, bandwidth size, network load, node availability and node security; When the server data includes a topological structure of all the servers, determining a server closest to the client as a target server with the best network quality according to the topological structure, wherein the topological structure is used to represent a connection relationship between each of the servers and a distance between each of the servers; When the server data includes the geographical locations of all the servers, a server closest to the client is determined as the target server with the best network quality.

3. The method for network optimization of a VDI desktop according to claim 1 or 2, characterized in that: Before forwarding the target data of the client to the cloud server through the network resources on the target server, the method further includes: Determine the data type of the target data of the client; Based on the data type of the target data, compress the target data using the network accelerator corresponding to the client to obtain the compressed target data, and trigger the execution of the operation of proxy forwarding the target data of the client to the cloud server through the network resources on the target server, and the target data is the compressed target data; The method of compressing the target data based on the data type of the target data using the network accelerator corresponding to the client to obtain the compressed target data includes: When the data type of the target data is a text type, converting the target data into a binary format using a network accelerator corresponding to the client to obtain binary data, and determining the binary data as the compressed target data; When the data type of the target data is an instruction type, using a network accelerator corresponding to the client to add a corresponding code to the target data, and determining the code corresponding to the target data as the compressed target data; When the data type of the target data is an image type, a network accelerator corresponding to the client is used to perform a differential encoding operation for the target data to obtain a pixel difference value between each pixel point in the target data, and all the pixel difference values ​​are determined as the compressed target data.

4. The method for network optimization of VDI desktop according to claim 3, characterized in that: The method of accelerating and hijacking the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client includes: A corresponding virtual adapter is created for the network accelerator corresponding to the client, and the acceleration protocol is used through the virtual adapter to accelerate and hijack the process of the VDI desktop.

5. The method for network optimization of VDI desktop according to claim 3, characterized in that: The method further comprises: Determine data parameters of target data of the client, wherein the data parameters of the target data include data volume; Analyze the determined data parameters of the target data and the acquired current network data of the client to obtain a data transmission window for the target data; Determining a sending rate of the target data according to the data transmission window and the acquired current network data of the client; The method of forwarding the target data of the client to the cloud server through the network resources on the target server includes: At the sending rate, the target data of the client is proxy-forwarded to the cloud server through the network resources on the target server.

6. The method for network optimization of VDI desktop according to claim 5, characterized in that: The target data is composed of a plurality of data packets, and each of the data packets has a unique corresponding sequence identifier; After forwarding the target data of the client to the cloud server through the network resources on the target server, the method further includes: Receiving target feedback from the cloud server for the sequence identifier of the data packet received by it, wherein the target feedback includes the sequence identifier of the data packet to be retransmitted and is used to request the client to retransmit the data packet corresponding to the sequence identifier; According to the received target feedback, the data packet with the sequence identifier that needs to be retransmitted is re-forwarded to the cloud server through the network resources on the target server.

7. A device for network optimization of a VDI desktop, characterized in that: The device is applied to the method for network optimization of a VDI desktop according to any one of claims 1 to 6, and the device includes: An acquisition module, configured to acquire, when detecting that a user triggers an access request for the VDI desktop through a client, current network data of the client and server data corresponding to a plurality of servers capable of communicating with the client according to the access request; A determination module, configured to determine an acceleration protocol matching the VDI desktop according to the acquired current network data of the client; The determination module is further used to determine the target server with the best network quality among all the servers according to the acquired server data corresponding to all the servers; An acceleration hijacking module, used for accelerating and hijacking the process of the VDI desktop by using the acceleration protocol through the network accelerator corresponding to the client; The proxy forwarding module is used to proxy forward the target data of the client to the cloud server through the network resources on the target server after the process of the VDI desktop is accelerated and hijacked.

8. A device for network optimization of a VDI desktop, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for network optimization of a VDI desktop according to any one of claims 1 to 6.

9. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the method for network optimization of VDI desktops according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • SPICE protocol-based method and system for accelerating video

    CN108600860A

  • Thin client remote desktop control system based on autonomous HVDP protocol

    CN110891084A

  • Virtual desktop network acceleration method and device, terminal and storage medium

    CN114020395A

  • Data transmission method and device based on cloud desktop, equipment and storage medium

    CN115150638A

  • Cloud desktop connection method, device and equipment

    CN115277806A