Comparison method and system for quantifying influence of different algorithms on cloud desktop transmission performance
By quantifying and comparing the cloud desktop transmission performance, screening and comparing data indicators solves the problems of low evaluation efficiency and insufficient accuracy in the existing technology, realizes the simultaneous collection and visual analysis of data indicators, and helps developers determine the direction of algorithm improvement. , improving user experience and analysis efficiency.
Patent Information
- Application Number
- CN202410893794.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-22
AI Technical Summary
The existing technology lacks automation and quantification methods when evaluating cloud desktop transmission performance, resulting in low evaluation efficiency and insufficient accuracy, and it is difficult to determine the direction of improvement by comparing the impact of different algorithms.
By obtaining quantitative comparison tasks input by users, filtering data indicators such as CPU load and bandwidth, collecting and comparing time series results under different algorithms, and displaying and performing statistical analysis in visual charts to ensure the synchronization and coupling of data indicators.
It realizes flexible data index screening and synchronous collection, improves the reliability of analysis and drawing efficiency, helps developers and testers reasonably determine the direction of algorithm improvement, and improves user experience.
Smart Images

Figure CN118820097A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud desktops, and in particular to a comparison method and system for quantifying the effects of different algorithms on cloud desktop transmission performance. Background Art
[0002] In the field of virtualization technology, optimizing and improving user experience is a hot topic in current research, and remote desktop transmission in virtualization technology is the focus of research. In the field of desktop transmission in virtualization technology, in order to evaluate the quality of the data transmission process between the source server and the destination client, it is often necessary to consider relevant data.
[0003] The current consideration method is usually that researchers evaluate the quality of the transmission process based on experience. However, the evaluation process based on experience is relatively abstract and does not take into account the refinement and quantification of performance indicators, resulting in low evaluation efficiency and insufficient accuracy. Therefore, an automated and concrete form is needed to achieve rapid analysis of data and preview of results.
[0004] At the same time, when improving the transmission performance between the source server and the destination client, it is usually necessary to iterate the data compression, encryption, decryption, rendering and other algorithms. How to consider the impact of different algorithms on transmission performance has become a thorny issue, and it is impossible to reasonably determine the subsequent improvement direction of the algorithm by comparing the corresponding transmission performance of different algorithms. Summary of the invention
[0005] The purpose of the present invention is to disclose a comparison method and system for quantifying the impact of different algorithms on cloud desktop transmission performance, so as to assist developers and testers in reasonably determining the subsequent improvement direction of the algorithm.
[0006] To achieve the above purpose, the present invention discloses a comparative method for quantifying the impact of different algorithms on cloud desktop transmission performance, including:
[0007] A quantitative comparison task input by a user is obtained, wherein the quantitative comparison task specifies a target cloud desktop client, a target cloud desktop server, and at least two data indicators selected from a data indicator set; the data indicator set includes: a client subset and a server terminal set, the client subset includes CPU load, memory usage, total traffic, bandwidth mean, and bandwidth peak, and the server terminal set includes: CPU load, memory usage, CPU occupancy of a virtual machine PID (Process Identifier, process control symbol; or process identifier) and memory occupancy of a virtual machine PID;
[0008] When the target cloud desktop client and the target cloud desktop server optimize the transmission performance between the two based on the first algorithm, synchronously collect the first time series results corresponding to each of the selected data indicators;
[0009] After the target cloud desktop client and the target cloud desktop server switch to optimizing the transmission performance between the two based on the second algorithm, synchronously collect the second time series results corresponding to each of the selected data indicators;
[0010] Comparing the first time series result and the second time series result corresponding to the selected first data indicator in a first visualization chart based on time series alignment;
[0011] Based on the same time series alignment method, the first time series result and the second time series result corresponding to the selected second data indicator are compared and displayed in the second visualization chart, and so on, until visualization charts comparing all the selected data indicators are obtained.
[0012] Preferably, this embodiment also includes: for any screened data indicator, performing comparative statistical analysis on the corresponding first time series and second time series, and the comparative statistical analysis objects include the number, mean, standard deviation, maximum value, minimum value of all sampling values, and the distribution of the first quartile, median and third quartile.
[0013] Preferably, the data indicators of this embodiment are compared and analyzed based on a unified data structure.
[0014] Preferably, this embodiment further comprises: before the comparative analysis, for at least one selected data indicator, performing data cleaning on the corresponding first time series and second time series and then converting them into a unified data structure.
[0015] To achieve the above-mentioned purpose, the present invention also discloses a comparison system for quantifying the impact of different algorithms on cloud desktop transmission performance, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method when executing the computer program.
[0016] The present invention has the following beneficial effects:
[0017] 1. Users can filter data indicators from the data indicator set according to their own needs, and can flexibly take into account the various user needs in the quantitative comparison task.
[0018] 2. Synchronous data collection for different data indicators improves the coupling between data indicators and effectively avoids the impact of asynchronous data collection in different dimensions on the reliability of analysis conclusions. Moreover, the timing alignment of the first and second time series in different charts is consistent, which further improves the coupling between data indicators and improves the system's mapping efficiency; thus, it can effectively assist developers and testers in reasonably determining the subsequent improvement direction of the algorithm.
[0019] 3. The functions of each visualization chart are simple, which improves the user experience.
[0020] The present invention will be further described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0022] Figure 1 It is a flow chart of a comparison method for quantifying the impact of different algorithms on cloud desktop transmission performance disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The embodiments of the present invention are described in detail below with reference to the accompanying drawings, but the present invention can be implemented in many different ways as defined and covered by the claims.
[0024] Example 1
[0025] This embodiment discloses a comparative method for quantifying the impact of different algorithms on cloud desktop transmission performance. Figure 1 As shown, including:
[0026] Step S1: obtaining a quantitative comparison task input by a user, wherein the quantitative comparison task specifies a target cloud desktop client, a target cloud desktop server, and at least two data indicators selected from a data indicator set.
[0027] In this embodiment, as shown in Table 1, the data indicator set includes: a client subset and a server terminal set. The client subset includes CPU load, used memory, total traffic, bandwidth average and bandwidth peak. The server terminal set includes: CPU load, used memory, CPU occupancy of virtual machine PID and memory occupancy of virtual machine PID.
[0028] Table 1: Data indicators and description
[0029]
[0030] In Table 1, the mean and peak values are usually the mean and peak values between two adjacent sampling points, the total flow is the total flow between two adjacent sampling points, and other loads, CPU and memory usage are the current values corresponding to the sampling time.
[0031] Step S2: When the target cloud desktop client and the target cloud desktop server optimize the transmission performance between the two based on the first algorithm, the first time series results corresponding to the selected data indicators are synchronously collected.
[0032] In this step, the so-called "synchronous collection" means that the sampling period and sampling time of each data indicator are consistent.
[0033] Step S3: after the target cloud desktop client and the target cloud desktop server switch to optimizing the transmission performance between the two based on the second algorithm, synchronously collect the second time series results corresponding to each of the selected data indicators.
[0034] In the above steps, the first algorithm and the second algorithm are only two different algorithms defined for the convenience of description for optimizing the transmission performance between the cloud desktop client segment and the cloud desktop server. The corresponding algorithm logics are not the innovation of the present invention and will not be elaborated.
[0035] To ensure the reliability of the comparative data analysis results, preferably, during the test process, the test environments corresponding to the first algorithm and the second algorithm are consistent.
[0036] Preferably, the data indicators of this embodiment are compared and analyzed based on a unified data structure. Before the comparison and analysis in the subsequent steps, for at least one selected data indicator, the corresponding first time series and second time series are cleaned and then converted into a unified data structure.
[0037] Among them, data structure is a format for organizing, managing and storing data; it includes three aspects: the logical structure of data, the storage structure of data and the operation of data. Only when the above three aspects are exactly the same can they become exactly the same data structure. Usually, a carefully selected data structure can bring higher operation or storage efficiency.
[0038] Step S4: Compare and display the first time series result and the second time series result corresponding to the selected first data indicator in a first visualization chart based on time series alignment.
[0039] In this step, the first data indicator is the indicator that is most concerned by the user among the data indicators selected in the above step S1, which can be specified by the user. In each visualization chart, the time axis can usually be used as the horizontal axis, and the vertical axis represents the sampling value corresponding to each data indicator, and different colors are used to mark the sampling values derived from the first time series or the second time series.
[0040] In this embodiment, the sampling frequencies of the above steps S2 and S3 are consistent. However, preferably, in this embodiment, the number of sampling points in the above steps S2 and S3 is prohibited to be consistent, so that the alignment method of step S4 only has a limited number of possible alignment relationships such as start point alignment, end point alignment and middle segment alignment (but there is no relationship of simultaneous alignment of the start point and the end point. In most cases, this alignment relationship is usually not the best alignment relationship); for this reason, the final alignment method can be determined by calculating the approximation (or Euclidean distance, Pearson correlation coefficient, etc.) of the two time series in the time series alignment part under different alignment methods. In this embodiment, the method with the highest approximation (or the smallest Euclidean distance, the larger Pearson correlation coefficient) is preferably used as the final alignment method.
[0041] Step S5: Based on the same timing alignment method, the first timing sequence result and the second timing sequence result corresponding to the selected second data indicator are compared and displayed in a second visualization chart, and so on, until visualization charts comparing all the selected data indicators are obtained.
[0042] Preferably, the execution body of the above steps can be implemented by a dedicated device independent of the cloud desktop client and the cloud desktop server.
[0043] Example 2
[0044] This embodiment is further improved on the basis of Embodiment 1, specifically: for any selected data indicator, a comparative statistical analysis is performed on the corresponding first time series and second time series, and the comparative statistical analysis objects include the number, mean value, standard deviation, maximum value, minimum value of all sampling values, and the distribution of the first quartile, median and third quartile.
[0045] Optionally, this embodiment can aggregate various data indicators into the same statistical table, for example, displaying each statistical analysis object one by one in rows, and arranging each data indicator one by one in columns. In this way, a complementary relationship can be formed with each visualization chart in the above embodiment, thereby assisting developers and testers to reasonably determine the subsequent improvement direction of the algorithm.
[0046] Example 3
[0047] The present invention discloses a comparison system for quantifying the impact of different algorithms on cloud desktop transmission performance, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the corresponding methods of the above two embodiments are implemented.
[0048] In summary, the method and system disclosed in the present invention have the following beneficial effects:
[0049] 1. Users can filter data indicators from the data indicator set according to their own needs, and can flexibly take into account the various user needs in the quantitative comparison task.
[0050] 2. Synchronous data collection for different data indicators improves the coupling between data indicators and effectively avoids the impact of asynchronous data collection in different dimensions on the reliability of analysis conclusions. Moreover, the timing alignment of the first and second time series in different charts is consistent, which further improves the coupling between data indicators and improves the system's mapping efficiency; thus, it can effectively assist developers and testers in reasonably determining the subsequent improvement direction of the algorithm.
[0051] 3. The functions of each visualization chart are simple, which improves the user experience.
[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A comparative method for quantifying the impact of different algorithms on cloud desktop transmission performance, characterized in that: include: Acquire a quantitative comparison task input by a user, wherein the quantitative comparison task specifies a target cloud desktop client, a target cloud desktop server, and at least two data indicators selected from a data indicator set; The data indicator set includes: a client subset and a server terminal set, the client subset includes CPU load, memory usage, total traffic, bandwidth mean and bandwidth peak, and the server terminal set includes: CPU load, memory usage, CPU occupancy of virtual machine PID and memory occupancy of virtual machine PID; When the target cloud desktop client and the target cloud desktop server optimize the transmission performance between the two based on the first algorithm, synchronously collect the first time series results corresponding to each of the selected data indicators; After the target cloud desktop client and the target cloud desktop server switch to optimizing the transmission performance between the two based on the second algorithm, synchronously collect the second time series results corresponding to each of the selected data indicators; Comparing the first time series result and the second time series result corresponding to the selected first data indicator in a first visualization chart based on time series alignment; Based on the same time series alignment method, the first time series result and the second time series result corresponding to the selected second data indicator are compared and displayed in the second visualization chart, and so on, until visualization charts comparing all the selected data indicators are obtained.
2. The method according to claim 1, characterized in that Also includes: For any selected data indicator, a comparative statistical analysis is performed on the corresponding first time series and second time series, and the comparative statistical analysis objects include the number, mean, standard deviation, maximum value, minimum value, first quartile, median and third quartile of all sampling values.
3. The method according to claim 2, characterized in that Each data indicator is compared and analyzed based on a unified data structure.
4. The method according to claim 3, characterized in that Also includes: Before the comparative analysis, for at least one selected data indicator, the corresponding first time series and second time series are cleaned and then converted into a unified data structure.
5. A comparison system for quantifying the impact of different algorithms on cloud desktop transmission performance, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
