Virtual desktop performance detection method, device, equipment and storage medium

By setting up a probe service component in the virtual transport desktop architecture to send and analyze probe packets, the problem of the virtual desktop transmission performance not being effectively detected in the existing technology is solved, thereby improving transmission quality and user experience.

CN116264592BActive Publication Date: 2026-01-23CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211489474.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-25
Publication Date
2026-01-23
Estimated Expiration
2042-11-25

AI Technical Summary

Technical Problem

The lack of effective methods in existing technologies to detect the performance of virtual desktop transmission leads to a degraded user experience.

Method used

By setting up a probe service component in the virtual transport desktop architecture, probe messages are sent to the desktop transport protocol layer, response messages are received, and performance analysis is performed, including generating probe messages, adding protocol headers and opcodes, obtaining key performance indicators such as message round-trip latency and packet loss rate, and providing real-time feedback on probe results to adjust the transmission strategy.

Benefits of technology

It enables the detection of key performance indicators of the virtual desktop transmission protocol, improves transmission quality and user experience, and ensures smooth cloud desktop operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116264592B_ABST
    Figure CN116264592B_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the technical field of desktop transmission, and discloses a virtual desktop performance detection method, which comprises the following steps: sending a detection message to a desktop transmission protocol layer; receiving a response message sent by the desktop transmission protocol layer according to the detection message; and performing transmission performance analysis on the desktop transmission protocol layer according to the response message. Through the above method, the embodiment of the present application can detect the key performance indicators of the accessed desktop transmission protocol and feed back to the accessed desktop transmission protocol in real time, thereby improving the quality of desktop transmission.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of desktop transmission, and in particular to a virtual desktop performance detection method, device, equipment and computer readable storage medium. BACKGROUND

[0002] The current desktop transmission protocol is an important part of the cloud desktop solution, which specifies the data transmission mode between the cloud host and the cloud terminal. An efficient desktop transmission protocol is to realize faster data transmission and higher cloud host resource utilization rate by using superior algorithm, so as to deliver a cloud desktop solution with low delay, clear audio, high-definition and smooth picture, and high user density. However, the current mainstream virtual desktop transmission protocols all have certain defects, for example, low image data compression rate, large bandwidth consumption, response delay in dense operation scenarios, data packet loss, etc., which are all key factors affecting user experience. For actual operation and use, it leads to the problem of reducing user experience.

[0003] However, there is no effective detection method in the prior art to effectively detect the performance of virtual desktop transmission. SUMMARY

[0004] In view of the above problems, embodiments of the present application provide a virtual desktop performance detection method, device, equipment and computer readable storage medium, which are used to solve the problem that there is no effective detection method in the prior art to effectively detect the performance of virtual desktop transmission.

[0005] According to an aspect of an embodiment of the present application, a virtual desktop performance detection method is provided, which is applied to a probe service component arranged in a virtual transmission desktop architecture, and the method comprises:

[0006] sending a detection packet to a desktop transmission protocol layer;

[0007] receiving a response packet sent by the desktop transmission protocol layer according to the detection packet;

[0008] performing transmission performance analysis on the desktop transmission protocol layer according to the response packet.

[0009] In an optional manner, before the detection packet is sent to the desktop transmission protocol layer, the method comprises:

[0010] obtaining configured agreed actions, agreed encodings of the desktop transmission protocol layer and execution parameters corresponding to the agreed actions;

[0011] generating the detection packet according to the agreed actions, agreed encodings and execution parameters corresponding to the agreed actions.

[0012] In an alternative manner, the generating the probe packet according to the agreed action, the agreed encoding and the execution parameter corresponding to the agreed action comprises:

[0013] generating a request body of the probe packet according to the agreed action, the agreed encoding and the execution parameter corresponding to the agreed action;

[0014] adding a protocol header and an operation code to the request body to generate application layer protocol data;

[0015] assembling the application layer protocol data and the underlying TCP packet field to obtain the probe packet.

[0016] In an alternative manner, before the performing the transmission performance analysis on the desktop transmission protocol layer according to the response packet, the method comprises:

[0017] obtaining a user-configured to-be-detected key performance indicator;

[0018] performing to-be-detected key performance indicator analysis on the desktop transmission protocol layer according to the response packet to obtain an analysis result.

[0019] In an alternative manner, the to-be-detected key performance indicator comprises a packet round-trip delay; and the performing to-be-detected key performance indicator analysis on the desktop transmission protocol layer according to the response packet to obtain an analysis result comprises:

[0020] obtaining a timestamp of the probe packet and a timestamp of the response packet;

[0021] calculating the packet round-trip delay according to a difference between the timestamp of the probe packet and the timestamp of the response packet.

[0022] In an alternative manner, the to-be-detected key performance indicator comprises a packet loss rate; and the performing to-be-detected key performance indicator analysis on the desktop transmission protocol layer according to the response packet to obtain an analysis result comprises:

[0023] obtaining a number of all the probe packets and a number of all the response packets;

[0024] determining the packet loss rate according to a ratio between a difference between the number of all the probe packets and the number of all the response packets and the number of all the probe packets.

[0025] In an alternative manner, the method further comprises:

[0026] receiving a data packet sent by the desktop transmission protocol layer through a proxy service;

[0027] According to the data message, transmission performance of the desktop transmission protocol layer is analyzed.

[0028] According to another aspect of the embodiment of the present application, a virtual desktop performance detection device is provided, which is applied to a probe service component arranged in a virtual transmission desktop architecture, and the device comprises:

[0029] The sending module is configured to send a detection message to the desktop transmission protocol layer.

[0030] The receiving module is configured to receive a response message sent by the desktop transmission protocol layer according to the detection message.

[0031] The analyzing module is configured to analyze transmission performance of the desktop transmission protocol layer according to the response message.

[0032] According to another aspect of the embodiment of the present application, a virtual desktop performance detection device is provided, which comprises a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface complete communication with each other through the communication bus.

[0033] The memory is configured to store at least one executable instruction, and the executable instruction causes the processor to execute the operations of the virtual desktop performance detection method.

[0034] According to another aspect of the embodiment of the present application, a computer readable storage medium is provided, and the storage medium stores at least one executable instruction, and the executable instruction causes the virtual desktop performance detection device to execute the operations of the virtual desktop performance detection method when the virtual desktop performance detection device runs.

[0035] The embodiment of the present application can detect key performance indicators of the accessed desktop transmission protocol by sending a detection message to the desktop transmission protocol layer, receiving a response message sent by the desktop transmission protocol layer according to the detection message, and analyzing transmission performance of the desktop transmission protocol layer according to the response message, and the accessed desktop transmission protocol is fed back in real time, so that the quality of desktop transmission is improved.

[0036] The above description is only a summary of the technical scheme of the embodiment of the present application, in order to more clearly understand the technical means of the embodiment of the present application, the embodiment can be implemented according to the content of the specification, and in order to make the above and other purposes, characteristics and advantages of the embodiment of the present application more obvious and easy to understand, the specific embodiment of the present application is described below. BRIEF DESCRIPTION OF DRAWINGS

[0037] The drawings are only used to show the embodiments and are not considered as limitations of the present application. Moreover, the same reference signs are used to represent the same parts throughout the drawings. In the drawings:

[0038] Figure 1 A flowchart illustrating the virtual desktop performance detection method provided in an embodiment of the present invention is shown.

[0039] Figure 2 This diagram illustrates the application environment of the virtual desktop performance detection method provided in this embodiment of the invention.

[0040] Figure 3 This diagram illustrates the generation of probe packets in the virtual desktop performance detection method provided in this embodiment of the invention.

[0041] Figure 4 The diagram illustrates the process of active detection in a virtual desktop performance detection method according to an embodiment of the present invention.

[0042] Figure 5 A flowchart illustrating the passive detection process in a virtual desktop performance detection method provided in another embodiment of the present invention is shown.

[0043] Figure 6 A schematic diagram of the virtual desktop performance detection device provided in an embodiment of the present invention is shown;

[0044] Figure 7 A schematic diagram of the structure of the virtual desktop performance detection device provided in an embodiment of the present invention is shown. Detailed Implementation

[0045] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0046] Figure 1 A flowchart of a virtual desktop performance detection method provided in an embodiment of the present invention is shown. This method is executed by a virtual desktop performance detection device. The virtual desktop performance detection device can be a computer device or a terminal device. Specifically, it can be a virtual desktop device. In this embodiment of the present invention, the virtual desktop performance detection device is a detection service component set up on the virtual desktop. Figure 1 As shown, the method includes the following steps:

[0047] Step 110: Send probe messages to the desktop transport protocol layer.

[0048] In embodiments of the present invention, such as Figure 2As shown, a probe service component is set between the desktop transmission protocol layer and the hardware virtualization layer. This probe service component is used to probe the key performance indicators of various cloud desktop transmission protocols to perform performance testing. The desktop transmission protocol (desktop transmission protocol layer) acts as a bridge between the virtual computer and the user terminal. It is deployed on both the client and server sides to transmit screen information generated by the virtual computer and receive operation commands issued by the user terminal. Key performance indicators include round-trip latency, packet loss rate, encoding efficiency, data compression rate, bitstream of the transmission protocol, frame rate, and instruction density.

[0049] When the transmission protocol accesses the probe service component, it needs to pre-obtain the configured key performance indicators to be detected, the calculation method of the key performance indicators, and the detection strategy, and agree with the desktop transmission protocol layer on the frequency, detection target, and related agreed actions. Therefore, the probe service component obtains the agreed actions, agreed codes, and corresponding execution parameters of the agreed actions pre-configured by the user with the desktop transmission protocol layer. The execution parameters corresponding to the agreed actions are payload data, which carries the execution parameters corresponding to the agreed actions. An example of the agreed actions and action codes is shown in Table 1:

[0050] Conventional actions Action encoding Obtaining channel type CHANNEL_GET Obtaining encoding algorithm ENDRYPT_TYPE_GET Obtaining data key ENCRYPTION_KEY_GET Configuring probe data PROBE_CONFIG_SET

[0051] Table 1 Conventional Actions and Action Codes

[0052] Among them, because the probe service component can be pre-configured with key performance indicators, calculation methods and detection strategies, it can flexibly connect to desktop transmission protocols under different VDI architectures. It can detect desktop transmission protocols from the observer's perspective outside the protocol architecture, and analyze and feed back the detection results in real time. This enables the desktop transmission protocol to intuitively judge the network environment in which the protocol is located and make corresponding feedback.

[0053] In this embodiment of the invention, after determining the agreed action, the agreed code, and the execution parameters corresponding to the agreed action, the probe service component generates the corresponding probe message based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action.

[0054] When generating a probe message, the first step is to determine the agreed-upon action, agreed-upon code, and execution parameters corresponding to the agreed-upon action based on the probe message type corresponding to the key performance indicators to be probed. For example... Figure 3As shown, in this embodiment of the invention, the request body of the probe message is generated based on the agreed-upon action, agreed-upon encoding, and execution parameters corresponding to the agreed-upon action; a protocol header and opcode (request header and request line) are added to the request body to generate application layer protocol data; the application layer protocol data and underlying TCP packet fields are assembled to obtain the probe message. Specifically, the request body of the probe message is the application data portion, which determines the probe action to be executed by the probe service component; the application layer protocol data is the generation of the message data content; the assembly of the application layer protocol data and underlying TCP packet fields constitutes the transport layer content generation process, mainly used to assemble the underlying TCP packet field content. Different probe messages can be used to probe different key performance indicators.

[0055] After generating probe packets, the probe service component sends one or more probe packets to the desktop transport protocol layer according to a preset probe strategy, prompting a response from the desktop transport protocol layer. The preset probe strategy includes a scheduling strategy and a task dispatch mechanism, which are pre-configured by the probe service component based on the probe requirements for key probe indicators.

[0056] Step 120: Receive the response message sent by the desktop transport protocol layer based on the probe message.

[0057] The probe service component, after sending a probe message, determines whether the reception of the response message from the desktop transport protocol layer has timed out. If the response message is not received within the timeout period, the probe message is resent to the desktop transport protocol layer. If the response message is received within the timeout period, the response message is acquired and cached.

[0058] Step 130: Perform transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0059] Upon receiving the response message, the probe service component analyzes the key performance indicators to be detected in the desktop transmission protocol layer based on the response message, and obtains the analysis results.

[0060] In this embodiment of the invention, when the key performance indicator to be detected is the round-trip time (RTT), the timestamps of the probe messages and the response messages are obtained; the RTT is calculated based on the difference between the timestamps of the probe messages and the response messages, thus determining the RTT of the desktop transport protocol layer. When the key performance indicator to be detected is the packet loss rate, the number of all probe messages and the number of all response messages are obtained; the packet loss rate is determined by the ratio of the difference between the number of probe messages and the number of response messages to the total number of probe messages. In this embodiment of the invention, when the key performance indicator to be detected is the encoding efficiency, the agreed-upon actions included in the sent probe messages are encoding actions, and the response messages contain encoded data. The probe service component analyzes the encoded data and encoding method in the received response messages to determine the encoding efficiency of the desktop transport protocol layer. When the key performance indicator to be tested is data compression efficiency, the agreed action included in the probe message is data compression. The data compression rate of the desktop transmission protocol layer can be determined based on the size and compression method of the compressed data in the response message.

[0061] In this embodiment of the invention, after obtaining the detection results, all detection results are statistically analyzed, and outdated analysis results are cleared. Results are fed back to all accessed desktop transmission protocols, and the detection results of agreed-upon key performance indicators are fed back to the corresponding server of the desktop transmission protocol layer in the form of a service interface. This allows the server to adjust its transmission strategy based on transmission quality, ensuring a good user experience. The packet loss rate is related to the data packet length and the frequency of data packet transmission. Therefore, after obtaining the packet loss rate, it can be sent to the desktop transmission protocol layer so that the desktop transmission protocol layer can adjust the length and frequency of the transmitted data packets. For example, by probing the key performance characteristics of various cloud desktop transmission protocols, the probe results are fed back to the server at the desktop transmission protocol layer in real time via a proxy service. The server determines whether the transmission quality is healthy and stable based on the probe service component's results. The server can make this judgment based on configured performance thresholds. If the performance probe result is greater than the performance threshold, it means the transmission effect meets expectations, and the server will not trigger any transmission strategy adjustments. If the probe result is less than the performance threshold, it means the transmission effect does not meet expectations and has not reached the minimum performance threshold required for a specific scenario. In this case, the server will adjust the transmission strategy based on the transmission quality to ensure a smooth user experience. For example, in a high-definition transmission scenario, the bitrate threshold for the image transmission channel is 4Mb / s, but the probe result is 2.4Mb / s. This triggers a strategy adjustment on the server, matching a video compression strategy within the bitrate range of 2-3.9Mb / s for adaptation, switching to high-compression encoding formats H.264 and H.265 to complete digital image transmission and ensure a smooth user experience.

[0062] For different key performance indicators, either active or passive detection methods can be used. Steps 110-130 above represent the active detection method, which proactively acquires the detection results from the desktop transport protocol layer. For example... Figure 4As shown, in a specific implementation, the probe service component, when performing the current probe, obtains the configuration information corresponding to the current probe, reads the configuration information, sets the corresponding probe parameters according to the configuration information, and generates a probe message. The probe message is added to the sending queue, the configuration information of the probe message is read, and after the configuration information is read, the probe message is read again and sent to the desktop transport protocol layer. It is determined whether a response message from the desktop transport protocol layer is received within a preset time. If no response message is received within the timeout, the probe message is resent. If the number of retries to send the probe message reaches a preset number, an exception event is generated and reported. If a response message is received within the preset time, the probe event is analyzed based on the response message, a probe result is generated, and the probe result is reported to the data center and the server of the desktop transport protocol layer. After the probe is completed, the result is reset to empty the sending queue, and the system continues to wait for probe messages.

[0063] In this embodiment of the invention, a passive detection method is also included. Specifically, the detection frequency, agreed-upon behavior, and agreed-upon encoding of key performance indicators for passive detection are pre-negotiated with the desktop transmission protocol. Data packets sent by the server of the desktop transmission protocol layer are received through a proxy service; transmission performance analysis of the desktop transmission protocol layer is performed based on the data packets. Specifically, as... Figure 5 As shown, configure the key performance indicators to be detected, send the relevant configuration information to the desktop transmission protocol layer, reset the timer, receive the data packets sent by the desktop transmission protocol within the preset time, and analyze the key performance indicators based on the data packets.

[0064] This invention improves the quality of desktop transmission by sending a probe message to the desktop transmission protocol layer, receiving a response message from the desktop transmission protocol layer based on the probe message, and performing transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0065] Figure 6 A schematic diagram of the virtual desktop performance detection device provided in an embodiment of the present invention is shown. Figure 6 As shown, the device 300 is used in a probe service component configured in a virtual transport desktop architecture, and includes:

[0066] The sending module 310 is used to send probe messages to the desktop transport protocol layer;

[0067] The receiving module 320 is used to receive the response message sent by the desktop transmission protocol layer according to the probe message;

[0068] Analysis module 330 is used to perform transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0069] In one alternative embodiment, before sending the probe message to the desktop transport protocol layer, the apparatus further includes:

[0070] The configuration module is used to obtain the configured agreed actions, agreed codes, and execution parameters corresponding to the agreed actions of the desktop transmission protocol layer.

[0071] The generation module is used to generate the probe message based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action.

[0072] In one optional approach, generating the probe message based on the agreed-upon action, the agreed-upon code, and the execution parameters corresponding to the agreed-upon action includes:

[0073] The request body of the probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action;

[0074] Add a protocol header and opcode to the request body to generate application layer protocol data;

[0075] The probe message is obtained by assembling the application layer protocol data and the underlying TCP packet fields.

[0076] In one alternative embodiment, before performing transmission performance analysis on the desktop transport protocol layer based on the response message, the apparatus further includes:

[0077] The configuration module is used to obtain the key performance indicators to be tested configured by the user.

[0078] The analysis module is also used to analyze the key performance indicators to be detected in the desktop transmission protocol layer based on the response message, and obtain the analysis results.

[0079] In one optional approach, the key performance indicator to be detected includes message round-trip time; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0080] Obtain the timestamp of the probe message and the timestamp of the response message;

[0081] The round-trip time of the message is calculated based on the difference between the timestamp of the probe message and the timestamp of the response message.

[0082] In one optional approach, the key performance indicator to be detected includes packet loss rate; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0083] Obtain the number of all probe messages and the number of all response messages;

[0084] The packet loss rate is determined by the ratio of the difference between the number of all probe messages and the number of all response messages to the number of all probe messages.

[0085] In an alternative embodiment, the device further includes:

[0086] The data packet module is used to receive data packets sent by the desktop transport protocol layer through the proxy service;

[0087] The analysis module is also used to perform transmission performance analysis on the desktop transmission protocol layer based on the data packets.

[0088] The specific working process of the virtual desktop performance detection device in this embodiment of the invention is largely the same as the specific implementation steps of the above method embodiment, and will not be repeated here.

[0089] This invention improves the quality of desktop transmission by sending a probe message to the desktop transmission protocol layer, receiving a response message from the desktop transmission protocol layer based on the probe message, and performing transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0090] Figure 7 The diagram shows a schematic of the virtual desktop performance detection device provided in an embodiment of the present invention. The specific implementation of the virtual desktop performance detection device is not limited by the specific embodiments of the present invention.

[0091] like Figure 7 As shown, the virtual desktop performance detection device may include: a processor 402, a communications interface 404, a memory 406, and a communications bus 408.

[0092] The processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. Communication interface 404 is used to communicate with other network elements such as clients or other servers. The processor 402 executes program 410, specifically performing the relevant steps described in the embodiment of the virtual desktop performance detection method.

[0093] Specifically, program 410 may include program code, which includes computer-executable instructions.

[0094] Processor 402 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The virtual desktop performance probing device includes one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0095] Memory 406 is used to store program 410. Memory 406 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.

[0096] Specifically, program 410 can be invoked by processor 402 to cause the virtual desktop performance detection device to perform the following operations:

[0097] Send probe messages to the desktop transport protocol layer;

[0098] Receive the response message sent by the desktop transport protocol layer based on the probe message;

[0099] Based on the response message, a transmission performance analysis is performed on the desktop transmission protocol layer.

[0100] In one alternative approach, before sending the probe message to the desktop transport protocol layer, the method includes:

[0101] Obtain the configured convention actions, convention codes, and execution parameters corresponding to the convention actions of the desktop transmission protocol layer;

[0102] The probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action.

[0103] In one optional approach, generating the probe message based on the agreed-upon action, the agreed-upon code, and the execution parameters corresponding to the agreed-upon action includes:

[0104] The request body of the probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action;

[0105] Add a protocol header and opcode to the request body to generate application layer protocol data;

[0106] The probe message is obtained by assembling the application layer protocol data and the underlying TCP packet fields.

[0107] In one alternative approach, before performing transmission performance analysis on the desktop transport protocol layer based on the response message, the method includes:

[0108] Obtain the key performance indicators to be tested as configured by the user;

[0109] Based on the response message, the key performance indicators to be detected of the desktop transmission protocol layer are analyzed, and the analysis results are obtained.

[0110] In one optional approach, the key performance indicator to be detected includes message round-trip time; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0111] Obtain the timestamp of the probe message and the timestamp of the response message;

[0112] The round-trip time of the message is calculated based on the difference between the timestamp of the probe message and the timestamp of the response message.

[0113] In one optional approach, the key performance indicator to be detected includes packet loss rate; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0114] Obtain the number of all probe messages and the number of all response messages;

[0115] The packet loss rate is determined by the ratio of the difference between the number of all probe messages and the number of all response messages to the number of all probe messages.

[0116] In an alternative approach, the method further includes:

[0117] The proxy service receives data packets sent by the desktop transport protocol layer.

[0118] The transmission performance of the desktop transmission protocol layer is analyzed based on the data packets.

[0119] This invention improves the quality of desktop transmission by sending a probe message to the desktop transmission protocol layer, receiving a response message from the desktop transmission protocol layer based on the probe message, and performing transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0120] This invention provides a computer-readable storage medium storing at least one executable instruction. When the executable instruction is executed on a virtual desktop performance detection device, the virtual desktop performance detection device performs the virtual desktop performance detection method in any of the above method embodiments.

[0121] Specifically, the executable instructions can be used to cause the virtual desktop performance testing device to perform the following operations:

[0122] Send probe messages to the desktop transport protocol layer;

[0123] Receive the response message sent by the desktop transport protocol layer based on the probe message;

[0124] Based on the response message, a transmission performance analysis is performed on the desktop transmission protocol layer.

[0125] In one alternative approach, before sending the probe message to the desktop transport protocol layer, the method includes:

[0126] Obtain the configured convention actions, convention codes, and execution parameters corresponding to the convention actions of the desktop transmission protocol layer;

[0127] The probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action.

[0128] In one optional approach, generating the probe message based on the agreed-upon action, the agreed-upon code, and the execution parameters corresponding to the agreed-upon action includes:

[0129] The request body of the probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action;

[0130] Add a protocol header and opcode to the request body to generate application layer protocol data;

[0131] The probe message is obtained by assembling the application layer protocol data and the underlying TCP packet fields.

[0132] In one alternative approach, before performing transmission performance analysis on the desktop transport protocol layer based on the response message, the method includes:

[0133] Obtain the key performance indicators to be tested as configured by the user;

[0134] Based on the response message, the key performance indicators to be detected of the desktop transmission protocol layer are analyzed, and the analysis results are obtained.

[0135] In one optional approach, the key performance indicator to be detected includes message round-trip time; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0136] Obtain the timestamp of the probe message and the timestamp of the response message;

[0137] The round-trip time of the message is calculated based on the difference between the timestamp of the probe message and the timestamp of the response message.

[0138] In one optional approach, the key performance indicator to be detected includes packet loss rate; the step of analyzing the key performance indicator to be detected on the desktop transport protocol layer based on the response message to obtain the analysis results includes:

[0139] Obtain the number of all probe messages and the number of all response messages;

[0140] The packet loss rate is determined by the ratio of the difference between the number of all probe messages and the number of all response messages to the number of all probe messages.

[0141] In an alternative approach, the method further includes:

[0142] The proxy service receives data packets sent by the desktop transport protocol layer.

[0143] The transmission performance of the desktop transmission protocol layer is analyzed based on the data packets.

[0144] This invention improves the quality of desktop transmission by sending a probe message to the desktop transmission protocol layer, receiving a response message from the desktop transmission protocol layer based on the probe message, and performing transmission performance analysis on the desktop transmission protocol layer based on the response message.

[0145] This invention provides a virtual desktop performance detection device for executing the above-described virtual desktop performance detection method.

[0146] This invention provides a computer program that can be invoked by a processor to cause a virtual desktop performance detection device to execute the virtual desktop performance detection method in any of the above method embodiments.

[0147] This invention provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed on a computer, cause the computer to perform the virtual desktop performance detection method in any of the above method embodiments.

[0148] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, the embodiments of the present invention are not directed to any particular programming language. It should be understood that the content of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0149] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0150] Similarly, it should be understood that, in order to streamline the invention and aid in understanding one or more of the various aspects of the invention, features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof in the above description of exemplary embodiments of the invention. However, this disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim.

[0151] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0152] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be construed as limiting the order of execution.

Claims

1. A method for detecting virtual desktop performance, characterized in that, The method, applied to a probe service component configured in a virtual transport desktop architecture, includes: Obtain the configured agreed actions, agreed codes, and execution parameters corresponding to the desktop transport protocol layer; generate probe packets based on the agreed actions, agreed codes, and execution parameters corresponding to the agreed actions; A probe message is sent to the desktop transmission protocol layer; wherein, a probe service component is set between the desktop transmission protocol layer and the hardware virtualization layer, and the key performance indicators of various cloud desktop transmission protocols are probed through the probe service component to perform performance testing; the key performance indicators include the round-trip time of the message during transmission, packet loss rate, coding efficiency, data compression rate, bit stream of the transmission protocol, frame rate, and instruction density performance indicators. Receive the response message sent by the desktop transport protocol layer based on the probe message; Based on the response message, the transmission performance of the desktop transmission protocol layer is analyzed, and all detection results are statistically analyzed. The analysis results that have lost their timeliness will be cleared, and the results of all connected desktop transmission protocols will be fed back. The detection results of the agreed key performance indicators will be fed back to the corresponding server of the desktop transmission protocol layer in the form of a service interface, so that the server can adjust the transmission strategy according to the transmission quality.

2. The method according to claim 1, characterized in that, The step of generating the probe message based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action includes: The request body of the probe message is generated based on the agreed action, the agreed code, and the execution parameters corresponding to the agreed action; Add a protocol header and opcode to the request body to generate application layer protocol data; The probe message is obtained by assembling the application layer protocol data and the underlying TCP packet fields.

3. The method according to claim 1, characterized in that, Before performing transmission performance analysis on the desktop transmission protocol layer based on the response message, the method includes: Obtain the key performance indicators to be tested as configured by the user; Based on the response message, the key performance indicators to be detected of the desktop transmission protocol layer are analyzed, and the analysis results are obtained.

4. The method according to claim 3, characterized in that, The key performance indicators to be detected include message round-trip time; the analysis of the key performance indicators to be detected on the desktop transport protocol layer based on the response message, and the resulting analysis, include: Obtain the timestamp of the probe message and the timestamp of the response message; The round-trip time of the message is calculated based on the difference between the timestamp of the probe message and the timestamp of the response message.

5. The method according to claim 3, characterized in that, The key performance indicators to be detected include packet loss rate; the analysis of the key performance indicators to be detected on the desktop transmission protocol layer based on the response message, and the resulting analysis, include: Obtain the number of all probe messages and the number of all response messages; The packet loss rate is determined by the ratio of the difference between the number of all probe messages and the number of all response messages to the number of all probe messages.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: The proxy service receives data packets sent by the desktop transport protocol layer. The transmission performance of the desktop transmission protocol layer is analyzed based on the data packets.

7. A virtual desktop performance detection device, characterized in that, The apparatus, used in a probe service component configured in a virtual transport desktop architecture, includes: The sending module is used to obtain the configured agreed actions, agreed codes, and execution parameters corresponding to the agreed actions of the desktop transmission protocol layer; generate probe messages based on the agreed actions, agreed codes, and execution parameters; and send the probe messages to the desktop transmission protocol layer. A probe service component is set between the desktop transmission protocol layer and the hardware virtualization layer to perform performance testing on key performance indicators of various cloud desktop transmission protocols. These key performance indicators include round-trip latency, packet loss rate, encoding efficiency, data compression rate, bitstream, frame rate, and instruction density performance indicators of the transmission protocol. The receiving module is used to receive the response message sent by the desktop transport protocol layer based on the probe message; The analysis module is used to perform transmission performance analysis on the desktop transmission protocol layer based on the response message, statistically analyze all detection results, clear out analysis results that have lost their timeliness, provide feedback on the results of all accessed desktop transmission protocols, and feed back the detection results of agreed key performance indicators to the corresponding server of the desktop transmission protocol layer in the form of a service interface, so that the server can adjust the transmission strategy according to the transmission quality.

8. A virtual desktop performance detection device, characterized in that, include: The processor, memory, communication interface, and communication bus are provided, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is used to store at least one executable instruction that causes the processor to perform the operation of the virtual desktop performance detection method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The storage medium stores at least one executable instruction, which, when executed on the virtual desktop performance detection device, causes the virtual desktop performance detection device to perform the operation of the virtual desktop performance detection method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Performance detection method and device of virtual desktop, electronic equipment and storage medium

    CN114090324A

  • Network connectivity detection method, device, equipment and medium

    CN114629820A