Cloud performance testing method, device, computer equipment and storage medium

By sending multiple test operation requests between the physical terminal and the cloud and recording performance information, the problem of inaccurate cloud performance test results caused by inconsistent user feedback standards is solved, and the reliability and consistency of cloud performance testing are achieved.

CN116827823BActive Publication Date: 2025-10-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310912502.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-10-03
Estimated Expiration
2043-07-24

AI Technical Summary

Technical Problem

Existing cloud performance testing methods have low reliability of performance test results due to different user feedback standards.

Method used

Send various test operation requests to the cloud through the physical terminal, record the sending and receiving performance information, and determine the stability of the cloud based on the difference information of multiple test results, including running speed, resource consumption and stability.

Benefits of technology

Improves the reliability and consistency of performance testing and ensures the accuracy of cloud performance testing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116827823B_ABST
    Figure CN116827823B_ABST
Patent Text Reader

Abstract

The present application relates to a cloud performance testing method, apparatus, computer equipment, storage medium, and computer program product. The method includes: obtaining a performance test task based on multiple test operations for cloud applications deployed on the cloud; performing multiple tests on the cloud according to the performance test task to obtain multiple test results; determining the stability of the cloud based on the multiple test results; the process of testing the cloud includes: sequentially sending operation requests for various test operations to the cloud, recording first performance information of the entity terminal when sending the operation requests for various test operations; recording second performance information of the entity terminal when receiving the execution results of various test operations returned by the cloud; obtaining the performance information change corresponding to each test operation based on the first performance information and the second performance information; and determining the performance information change corresponding to each test operation as the test result of this test. The use of this method can improve the reliability of the performance test results on the cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a cloud performance testing method, apparatus, computer equipment, storage medium, and computer program product. Background Art

[0002] The cloud refers to the server that carries cloud applications such as cloud platforms, cloud computers, and cloud phones. By performing performance testing on the cloud, we can also perform performance testing on the cloud applications carried on the cloud.

[0003] In the related art, cloud performance testing typically involves assessing cloud application performance through user feedback, such as questionnaires. However, different users use cloud applications for varying lengths of time and purposes, and have varying performance evaluation criteria. Consequently, cloud performance testing methods based on related art can easily lead to low reliability in cloud performance test results. Summary of the Invention

[0004] Based on this, it is necessary to provide a cloud performance testing method, device, computer equipment, computer-readable storage medium and computer program product that can ensure the reliability of cloud performance testing results in response to the above technical problems.

[0005] In a first aspect, the present application provides a cloud performance testing method. The method is applied to a physical terminal and includes:

[0006] Determining multiple test operations for a cloud application deployed on a cloud, and obtaining a performance test task for the cloud based on the multiple test operations;

[0007] Perform multiple tests on the cloud according to the performance test task to obtain multiple test results;

[0008] Determining the stability of the cloud based on the difference information between the multiple test results;

[0009] The process of testing the cloud according to the performance test task includes:

[0010] sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal;

[0011] Recording second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud;

[0012] Based on the first performance information and the second performance information, obtaining a performance information change corresponding to each test operation;

[0013] The performance information change corresponding to each test operation is determined as the test result of this test.

[0014] In one embodiment, the recording of the first performance information of the physical terminal when sending the operation request for the various test operations includes:

[0015] For each test operation operation request, determining a first time point for sending the test operation operation request;

[0016] Determining a first temperature, a first power level, and a first traffic consumption of the physical terminal at the first time point;

[0017] The first time point, the first temperature, the first power, and the first traffic consumption are determined as first performance information of the physical terminal.

[0018] In one embodiment, the second performance information of the physical terminal when recording the execution results of various test operations returned by the cloud includes:

[0019] For each test operation execution result, determining a second time point at which the test operation execution result is received;

[0020] Determining a second temperature, a second power level, and a second traffic consumption of the physical terminal at the second time point;

[0021] The second time point, the second temperature, the second power and the second traffic consumption are determined as the second performance information of the physical terminal.

[0022] In one embodiment, the first performance information includes first performance indicator information under multiple performance indicators, and the second performance information includes second performance indicator information under the multiple performance indicators;

[0023] The obtaining, based on the first performance information and the second performance information, a performance information change corresponding to each test operation includes:

[0024] For each test operation, based on the first performance indicator information and the second performance indicator information under each performance indicator, respectively determine the performance information change amount under the respective performance indicators;

[0025] The performance information changes under the multiple performance indicators are used as the performance information changes corresponding to the test operation.

[0026] In one embodiment, each test operation includes a plurality of test sub-operations;

[0027] The obtaining, based on the first performance information and the second performance information, a performance information change corresponding to each test operation further includes:

[0028] For each test operation, determining, based on the first performance information and the second performance information corresponding to each test sub-operation in the test operation, a performance information change corresponding to each test sub-operation in the test operation;

[0029] Determining the performance information change corresponding to each test operation as the test result of this test includes:

[0030] Obtaining a comprehensive performance information change amount corresponding to the test operation based on the performance information change amount corresponding to each test sub-operation in the test operation;

[0031] The comprehensive performance information change corresponding to each test operation is determined as the test result of this test.

[0032] In one embodiment, obtaining the comprehensive performance information change corresponding to the test operation based on the performance information change corresponding to each test sub-operation in the test operation includes:

[0033] Determining an average performance information change of the test operation according to the performance information change corresponding to each test sub-operation in the test operation;

[0034] The average performance information change is determined as the comprehensive performance information change corresponding to the test operation.

[0035] In one embodiment, determining the stability of the cloud based on the difference information between the multiple test results includes:

[0036] From the plurality of test results, identifying a plurality of groups of test results corresponding to the same test operations;

[0037] Determining, based on difference information between multiple test results in each group of test results, the operational stability of the test operation corresponding to the group of test results on the cloud;

[0038] The stability of the cloud is obtained according to the operational stability of the cloud corresponding to the various test operations.

[0039] In a second aspect, the present application also provides a cloud performance testing device. The device includes:

[0040] A test task determination module, configured to determine a plurality of test operations for a cloud application deployed on a cloud, and obtain a performance test task for the cloud based on the plurality of test operations;

[0041] A performance test execution module, configured to perform multiple tests on the cloud according to the performance test task and obtain multiple test results;

[0042] a stability performance determination module, configured to determine the stability of the cloud based on difference information between the plurality of test results;

[0043] The performance test execution module is also used to send operation requests for various test operations to the cloud in sequence, and record the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal; record the second performance information of the physical terminal when receiving the execution results of the various test operations returned by the cloud; based on the first performance information and the second performance information, obtain the performance information change corresponding to each test operation; and determine the performance information change corresponding to each test operation as the test result of this test.

[0044] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0045] Determining multiple test operations for a cloud application deployed on a cloud, and obtaining a performance test task for the cloud based on the multiple test operations;

[0046] Perform multiple tests on the cloud according to the performance test task to obtain multiple test results;

[0047] Determining the stability of the cloud based on the difference information between the multiple test results;

[0048] The process of testing the cloud according to the performance test task includes:

[0049] sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal;

[0050] Recording second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud;

[0051] Based on the first performance information and the second performance information, obtaining a performance information change corresponding to each test operation;

[0052] The performance information change corresponding to each test operation is determined as the test result of this test.

[0053] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0054] Determining multiple test operations for a cloud application deployed on a cloud, and obtaining a performance test task for the cloud based on the multiple test operations;

[0055] Perform multiple tests on the cloud according to the performance test task to obtain multiple test results;

[0056] Determining the stability of the cloud based on the difference information between the multiple test results;

[0057] The process of testing the cloud according to the performance test task includes:

[0058] sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal;

[0059] Recording second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud;

[0060] Based on the first performance information and the second performance information, obtaining a performance information change corresponding to each test operation;

[0061] The performance information change corresponding to each test operation is determined as the test result of this test.

[0062] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0063] Determining multiple test operations for a cloud application deployed on a cloud, and obtaining a performance test task for the cloud based on the multiple test operations;

[0064] Perform multiple tests on the cloud according to the performance test task to obtain multiple test results;

[0065] Determining the stability of the cloud based on the difference information between the multiple test results;

[0066] The process of testing the cloud according to the performance test task includes:

[0067] sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal;

[0068] Recording second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud;

[0069] Based on the first performance information and the second performance information, obtaining a performance information change corresponding to each test operation;

[0070] The performance information change corresponding to each test operation is determined as the test result of this test.

[0071] The above-mentioned cloud performance testing method, apparatus, computer equipment, storage medium and computer program product first determine multiple test operations for cloud applications deployed on the cloud, and obtain performance testing tasks for the cloud based on the multiple test operations; then, according to the performance testing tasks, the cloud is tested multiple times to obtain multiple test results; finally, based on the difference information between the multiple test results, the stability of the cloud is determined; wherein, the process of testing the cloud according to the performance testing tasks includes: sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the entity terminal when sending the operation requests for various test operations; the cloud is used to execute various test operations and return the execution results of various test operations to the entity terminal; recording the second performance information of the entity terminal when receiving the execution results of various test operations returned by the cloud; based on the first performance information and the second performance information, obtaining the performance information change corresponding to each test operation; determining the performance information change corresponding to each test operation as the test result of this test. In this way, based on the first performance information when the physical terminal sends operation requests for various test operations in sequence, and the second performance information when the physical terminal receives the execution results of the cloud in response to each test operation, the performance information change of the physical terminal corresponding to each test operation can be obtained, and then the performance of the cloud under each test operation can be measured; and through multiple tests on the cloud, multiple test results corresponding to multiple tests can be obtained, and then the stability of the cloud can be determined; the cloud performance testing method based on the above process, compared with the related technology based on user feedback information, can ensure consistency in the performance testing process, thereby improving the reliability of the performance test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 This is an application environment diagram of a cloud performance testing method in one embodiment;

[0073] Figure 2 1 is a flowchart of a cloud performance testing method according to an embodiment;

[0074] Figure 3 A schematic diagram of a performance testing task on the cloud in one embodiment;

[0075] Figure 4 A schematic diagram of a process for testing a cloud based on a performance testing task in one embodiment;

[0076] Figure 5 A schematic diagram of a process for recording first performance information of a physical terminal when sending operation requests for various test operations in one embodiment;

[0077] Figure 6 A schematic diagram of a process for recording second performance information of a physical terminal when receiving execution results of various test operations returned by the cloud in one embodiment;

[0078] Figure 7 A schematic diagram of a flow chart of a cloud performance testing method according to another embodiment;

[0079] Figure 8 A schematic diagram of a process for testing a cloud phone based on different types of operation requests each time in one embodiment;

[0080] Figure 9 This is a structural block diagram of a cloud performance testing device in one embodiment;

[0081] Figure 10 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0083] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0084] The cloud performance testing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The application environment includes a physical terminal 102 and a cloud 104, and the physical terminal 102 and the cloud 104 communicate with each other through a network. Among them, the physical terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, and tablet computers; the cloud 104 is a server that carries cloud applications such as cloud platforms, cloud computers, and cloud phones, and can be implemented as an independent server or a server cluster composed of multiple servers. The physical terminal 102 is used to send operation requests to the cloud 104 and receive the execution results returned by the cloud 104 in response to the operation requests, thereby realizing performance testing of the cloud 104; the cloud 104 interacts with the physical terminal 102 through the execution results returned in response to the operation requests, such as video streams.

[0085] Specifically, the physical terminal 102 first determines a variety of test operations for the cloud application deployed on the cloud 104, and obtains a performance test task for the cloud 104 based on the multiple test operations; then, the physical terminal 102 performs multiple tests on the cloud 104 according to the performance test task, and obtains multiple test results; finally, the physical terminal 102 determines the stability of the cloud 104 based on the difference information between the multiple test results; wherein, the process of the physical terminal 102 testing the cloud 104 according to the performance test task includes: the physical terminal 102 sends operation requests for various test operations to the cloud 104 in sequence, and records the sending of various test operations. The first performance information of the entity terminal 102 is received when an operation request is made for an operation; after receiving the operation request sent by the entity terminal 102, the cloud 104 performs the corresponding test operation according to the operation request, and returns the execution result corresponding to the test operation to the entity terminal 102; the entity terminal 102 records the second performance information of the entity terminal 102 when the execution results of various test operations returned by the cloud 104 are received; the entity terminal 102 obtains the performance information change corresponding to each test operation based on the first performance information and the second performance information; the entity terminal 102 determines the performance information change corresponding to each test operation as the test result of this test.

[0086] In an exemplary embodiment, Figure 2 As shown, a cloud performance testing method is provided, which is applied to Figure 1 The following steps are used as an example to illustrate the physical terminal in the example:

[0087] Step S202 : determining multiple test operations for the cloud application deployed on the cloud, and obtaining a performance test task for the cloud based on the multiple test operations.

[0088] Among them, the cloud refers to the server that carries cloud applications such as cloud platforms, cloud computers, and cloud phones. Cloud applications refer to the specific manifestation of cloud computing technology at the application layer. Its working principle is to change the traditional software's "local installation, local calculation" usage mode into a "ready-to-use" service, and connect and control remote server clusters through the Internet or local area network to complete a new type of application of business logic or computing tasks.

[0089] Taking cloud phones as an example, users can send operation requests to cloud phones through the cloud phone application installed on their mobile phones, thereby remotely controlling the cloud phones. The cloud phones can return the video stream corresponding to the operation request sent by the user to the user through the cloud server where they are located, thereby realizing interaction with the user; for example, when the user clicks on the video playback control, the cloud phone returns the played video to the user. For another example, when the user interface slides, the cloud phone returns the new interface after the slide to the user.

[0090] Among them, the performance test of the cloud mainly focuses on the cloud's operating speed, operating resources, and stability. The cloud's operating speed is mainly determined by the transmission speed between the physical terminal and the cloud, and the cloud's own processing speed. The cloud's operating resources are mainly determined by the power required for information transmission between the physical terminal and the cloud, the traffic consumed when the cloud processes data, and the temperature changes generated by the physical terminal when information is transmitted between the physical terminal and the cloud.

[0091] Among them, the cloud's operational stability is used to characterize the changes in various performance characteristics of the cloud during long-term operation. For example, if after a long period of operation, for the same operation request, the cloud's operating speed and the resources consumed by the operation have not changed significantly, then it means that the cloud has good stability. Conversely, if after a long period of operation, for the same operation request, the cloud's operating speed and the resources consumed by the operation have changed significantly, then it means that the cloud has poor stability.

[0092] Each group of test operations includes at least one test sub-operation.

[0093] Specifically, when the physical terminal starts the performance test for the cloud, it first determines multiple test operations for the cloud application deployed on the cloud, and arranges the multiple test operations in sequence to obtain a performance test task for the cloud.

[0094] It can be understood that in actual applications in the cloud, users interact with the cloud through the user terminals used by the users, while in the cloud performance testing method proposed in the present application, a physical terminal is used to simulate the user terminal, and the performance testing of the cloud is achieved through the interaction between the physical terminal and the cloud; therefore, in the cloud performance testing method proposed in the present application, each test operation corresponds to an action of remotely controlling the cloud application on the cloud through the user terminal during the actual application process in the cloud, such as interface sliding, information input, video playback, phone call making, music playback, etc.

[0095] For example, based on the various actions that users will perform on cloud applications on the cloud during actual cloud applications, the physical terminal determines multiple test operations for cloud applications deployed on the cloud, such as interface sliding, information input, video playback, phone calls, music playback, etc., and arranges the above test operations in sequence to obtain the following: Figure 3 The performance test task for the cloud is shown.

[0096] Step S204: Perform multiple tests on the cloud according to the performance test task to obtain multiple test results.

[0097] The test results at least include the time representing the operating speed of the cloud during the test, and the resource consumption representing the resources consumed by the operation of the cloud.

[0098] like Figure 4 As shown, the above step S204, the process of performing each of the multiple tests on the cloud according to the performance test task, specifically includes the following steps:

[0099] In step S402 , operation requests for various test operations are sequentially sent to the cloud, and first performance information of the physical terminal when the operation requests for various test operations are sent is recorded.

[0100] Step S404: Record the second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud.

[0101] Step S406: Obtain the performance information variation corresponding to each test operation based on the first performance information and the second performance information.

[0102] Step S408: Determine the performance information change corresponding to each test operation as the test result of this test.

[0103] The cloud is used to execute various test operations and return the execution results of various test operations to the physical terminal.

[0104] The performance information of the physical terminal refers to the performance data of the physical terminal during the test, such as time, temperature, power consumption, and data traffic consumption. It is understood that since the cloud provides services to users and the performance of the cloud affects the user experience, the cloud performance testing method proposed in this application uses the performance data of the physical terminal to characterize the performance of the cloud.

[0105] Specifically, the physical terminal sends operation requests for various test operations to the cloud in sequence, and records the performance data of the physical terminal when sending the operation requests for various test operations as the first performance information of the physical terminal; after receiving the operation request for the test operation, the cloud will respond to the operation request, perform corresponding data processing, and return the result obtained by the data processing (that is, the execution result of the test operation) to the physical terminal through a video stream; the physical terminal receives the execution results of various test operations returned by the cloud in sequence, and records the performance data of the physical terminal when receiving the execution results of various test operations as the second performance data of the physical terminal; then, the physical terminal obtains the performance information change corresponding to each test operation based on the first performance information and the second performance information, thereby obtaining the test result of this test.

[0106] For an example, see Figure 3 The physical terminal first sends an interface sliding operation request corresponding to an interface sliding test operation to the cloud, and records the first performance information of the physical terminal when sending the interface sliding operation request; when the physical terminal receives the interface sliding execution result in response to the interface sliding test operation returned by the cloud, the physical terminal records the second performance information when the physical terminal receives the interface sliding execution result; based on the first performance information when the physical terminal sends the interface sliding operation request and the second performance information when the physical terminal receives the interface sliding execution result, the performance information change of the physical terminal corresponding to the interface sliding test operation is obtained. Next, the physical terminal sends an information input operation request corresponding to an information input test operation to the cloud, and records the first performance information of the physical terminal when sending the information input operation request; when the physical terminal receives the information input execution result in response to the information input test operation returned by the cloud, the physical terminal records the second performance information when the physical terminal receives the information input execution result; based on the first performance information when the physical terminal sends the information input operation request and the second performance information when the physical terminal receives the information input execution result, the performance information change of the physical terminal corresponding to the information input test operation is obtained. For each test operation in the performance test task, the physical terminal uses the above process to test the cloud and obtains the performance information change of the physical terminal corresponding to various test operations until the performance test task is completed (that is, all test operations in the performance test task are completed).

[0107] Step S206: Determine the stability of the cloud based on the difference information between the multiple test results.

[0108] The difference information between the multiple test results is used to represent the changes between the multiple test results.

[0109] Specifically, the physical terminal determines difference information between the multiple test results, and based on the difference information between the multiple test results, judges the changes between the multiple test results, thereby determining the stability of the cloud.

[0110] For example, the physical terminal plots multiple test results as a line graph. The stability of the cloud can be intuitively judged through the changing trend of the line graph. If the line graph does not show a significant rise or fall, it means that the stability of the cloud is good. If the line graph shows a significant rise or fall, it means that the stability of the cloud is poor.

[0111] In the cloud performance testing method provided by the above embodiment, the entity terminal first determines multiple test operations for the cloud application deployed on the cloud, and obtains a performance testing task for the cloud based on the multiple test operations; then, the entity terminal performs multiple tests on the cloud according to the performance testing task to obtain multiple test results; finally, the entity terminal determines the stability of the cloud based on the difference information between the multiple test results; wherein, the process of the entity terminal testing the cloud according to the performance testing task includes: the entity terminal sends operation requests for various test operations to the cloud in sequence, and records the first performance information of the entity terminal when sending the operation requests for various test operations; the cloud is used to execute various test operations and return the execution results of various test operations to the entity terminal; the entity terminal records the second performance information of the entity terminal when receiving the execution results of various test operations returned by the cloud; the entity terminal obtains the performance information change corresponding to each test operation based on the first performance information and the second performance information; the entity terminal determines the performance information change corresponding to each test operation as the test result of this test. In this way, the entity terminal can obtain the change in performance information of the entity terminal corresponding to each test operation based on the first performance information when the entity terminal sends operation requests for various test operations in sequence, and the second performance information when the entity terminal receives the execution results of each test operation in response from the cloud, and thus can measure the performance of the cloud under each test operation; and through multiple tests on the cloud, multiple test results corresponding to multiple tests can be obtained, and then the stability of the cloud can be determined; the cloud performance testing method based on the above process, compared with the related technology based on user feedback information, can ensure consistency in the performance testing process, thereby improving the reliability of the performance test results.

[0112] like Figure 5As shown, in an exemplary embodiment, in the above step S402, recording the first performance information of the physical terminal when sending operation requests for various test operations specifically includes the following steps:

[0113] Step S502: for each test operation operation request, determine a first time point for sending the test operation operation request.

[0114] Step S504: determining a first temperature, a first power level, and a first traffic consumption of the physical terminal at a first time point.

[0115] Step S506: Determine the first time point, the first temperature, the first power, and the first traffic consumption as first performance information of the physical terminal.

[0116] Specifically, for each operation request of the test operation, the physical terminal determines the time point when the physical terminal sends the operation request as the first time point; then, the physical terminal determines the first temperature, first power and first traffic consumption of the physical terminal at the first time point, and determines the above first time point, first temperature, first power and first traffic consumption as the first performance information of the physical terminal.

[0117] In this embodiment, the physical terminal can accurately determine the specific conditions of the temperature, power and traffic consumption of the physical terminal at the first time point by recording the first time point of sending each operation request, thereby determining the first performance information of the physical terminal when sending each operation request. The determination of the first performance information helps to subsequently determine the change in the performance information of the physical terminal, thereby helping to evaluate the cloud performance, and thus improving the reliability of the cloud performance test results.

[0118] like Figure 6 As shown, in an exemplary embodiment, the above step S404, recording the second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud, specifically includes the following steps:

[0119] Step S602: for each execution result of the test operation, determine a second time point at which the execution result of the test operation is received.

[0120] Step S604: Determine a second temperature, a second power level, and a second traffic consumption of the physical terminal at a second time point.

[0121] Step S606: Determine the second time point, the second temperature, the second power, and the second traffic consumption as the second performance information of the physical terminal.

[0122] Specifically, the physical terminal determines the time point when the physical terminal receives the execution result returned by the cloud in response to each test operation as the second time point; then, the physical terminal determines the second temperature, second power and second traffic consumption of the physical terminal at the second time point, and determines the above second time point, second temperature, second power and second traffic consumption as the second performance information of the physical terminal.

[0123] In this embodiment, the physical terminal can accurately determine the specific conditions of the temperature, power and traffic consumption of the physical terminal at the second time point by recording the second time point when each execution result is received, thereby determining the second performance information of the physical terminal when each execution result is received. The determination of the second performance information helps to subsequently determine the change in the performance information of the physical terminal, thereby helping to evaluate the cloud performance, and thereby improving the reliability of the cloud performance test results.

[0124] In an exemplary embodiment, the first performance information includes first performance indicator information under a plurality of performance indicators, and the second performance information includes second performance indicator information under a plurality of performance indicators.

[0125] The above-mentioned step S406 obtains the performance information change corresponding to each test operation based on the first performance information and the second performance information, which specifically includes the following contents: for each test operation, based on the first performance indicator information and the second performance indicator information under each performance indicator, respectively determine the performance information change under each performance indicator; and use the performance information change under multiple performance indicators as the performance information change corresponding to the test operation.

[0126] Specifically, when the first performance information includes first performance indicator information under multiple performance indicators and the second performance information includes second performance indicator information under multiple performance indicators, the entity terminal first determines, for each test operation, the performance information change under each performance indicator based on the first performance indicator information and second performance indicator information under each performance indicator corresponding to the test operation; and then uses the performance information change of the entity terminal under multiple performance indicators as the performance information change corresponding to the test operation, thereby obtaining the performance information change corresponding to each test operation.

[0127] Taking the performance indicators including time, temperature, power, and traffic consumption as an example, the first performance indicator information of the physical terminal under the interface sliding test operation includes the first time point, the first temperature, the first power, and the first traffic consumption, and the second performance indicator information under the interface sliding test operation includes the second time point, the second temperature, the second power, and the second traffic consumption; the physical terminal determines the time change between the physical terminal issuing the interface sliding operation request and receiving the interface sliding execution result (that is, the time required for the cloud to complete the interface sliding test operation) through the first time point and the second time point, and determines the temperature change between the physical terminal issuing the interface sliding operation request and receiving the interface sliding execution result through the first temperature and the second temperature ( The first power level and the second power level are used to determine the power change between the time when the physical terminal sends the interface sliding operation request and the time when the interface sliding execution result is received (i.e., the power consumed by the cloud to complete the interface sliding test operation). The first traffic consumption and the second traffic consumption are used to determine the traffic change between the time when the physical terminal sends the interface sliding operation request and the time when the interface sliding execution result is received (i.e., the traffic consumed by the cloud to complete the interface sliding test operation). The above-mentioned time change, temperature change, power change, and traffic change between the time when the operation request is sent and the time when the execution result is received are the performance information changes corresponding to the various performance indicators of the physical terminal under the interface sliding test operation. The process of determining the performance information changes corresponding to the remaining test operations is similar to the performance information changes corresponding to the interface sliding test operation and will not be repeated here.

[0128] In this embodiment, the entity terminal can test multiple cloud performances (such as running speed, running resources consumed) by separately determining the performance information change under each performance indicator, thereby expanding the scope of cloud performance testing and further improving the reliability of cloud performance test results.

[0129] In an exemplary embodiment, each test operation includes a plurality of test sub-operations.

[0130] The above-mentioned step S406 obtains the performance information change corresponding to each test operation based on the first performance information and the second performance information, and specifically also includes the following content: for each test operation, based on the first performance information and the second performance information corresponding to each test sub-operation in the test operation, the performance information change corresponding to each test sub-operation in the test operation is determined respectively.

[0131] The above-mentioned step S408 determines the performance information change corresponding to each test operation as the test result of this test, which specifically includes the following contents: based on the performance information change corresponding to each test sub-operation in the test operation, the comprehensive performance information change corresponding to the test operation is obtained; the comprehensive performance information change corresponding to each test operation is determined as the test result of this test.

[0132] Each test operation includes multiple identical test sub-operations.

[0133] The comprehensive performance information variation is used to represent the overall situation of the performance information variation of multiple test sub-operations, such as the average, median, mode, etc. of the performance information variation of multiple test sub-operations.

[0134] Specifically, when each test operation includes multiple test sub-operations, the entity terminal will respectively record the first performance information and the second performance information corresponding to each test sub-operation; then, for each test operation, the entity terminal determines the performance information change amount of the entity terminal corresponding to each test sub-operation in the test operation based on the first performance information and the second performance information of each test sub-operation in the test operation; then, based on the performance information change amount corresponding to each test sub-operation in the test operation, the entity terminal determines the comprehensive performance information change amount of the entity terminal corresponding to the test operation; repeating the above process, the entity terminal obtains the comprehensive performance information change amount of each test operation, thereby obtaining the test result of this test. It can be understood that if the first performance information and the second performance information both include multiple performance indicators, the first performance information, the second performance information, and the performance information change amount under the multiple performance indicators can be determined by referring to the determination process of the performance information change amount under the above multiple performance indicators.

[0135] For example, assuming that the interface sliding test operation includes multiple interface sliding test sub-operations, the physical terminal records the first performance information and the second performance information corresponding to each interface sliding test sub-operation respectively, thereby determining the performance information change corresponding to each interface sliding test sub-operation respectively; then, the average value, median or mode of the performance information change corresponding to the multiple interface sliding test sub-operations is used as the comprehensive performance information change of the interface sliding test operation. The process of determining the comprehensive performance information change corresponding to the remaining test operations is similar to the performance information change corresponding to the interface sliding test operation, and will not be repeated here; based on the above process, the physical terminal obtains the test results of this test.

[0136] It can be understood that for performance indicators that change little under a single test sub-operation, the performance information change of the entity terminal under the test operations to which the first test sub-operation and the last test sub-operation belong can be determined based on the first performance information when the operation request corresponding to the first test sub-operation is sent, and the second performance information when the operation request corresponding to the last test sub-operation in response to the first test sub-operation (that is, the last test sub-operation belonging to the same test operation as the first test sub-operation) is received; taking the temperature and power under the interface sliding operation as an example, the entity terminal can obtain the temperature change and power change of the entity terminal under the interface sliding test operation based on the temperature and power when the first interface sliding operation request is sent, and the temperature and power when the last interface sliding execution result is received.

[0137] In this embodiment, the entity terminal can eliminate randomness in the test process by setting multiple test sub-operations for each test operation; and by separately determining the performance information change of each test sub-operation, a comprehensive performance change is obtained, which can characterize the performance information change of each test operation from the overall situation, further eliminating randomness in the test process, thereby improving the reliability of the performance test results in the cloud.

[0138] In an exemplary embodiment, the above-mentioned performance information change corresponding to each test sub-operation in the test operation is used to obtain the comprehensive performance information change corresponding to the test operation, which specifically includes the following contents: determining the average performance information change of the test operation based on the performance information change corresponding to each test sub-operation in the test operation; and determining the average performance information change as the comprehensive performance information change corresponding to the test operation.

[0139] Specifically, the entity terminal determines the average value of the performance information changes corresponding to each test sub-operation based on the performance information changes corresponding to each test sub-operation in the test operation to characterize the overall situation of the performance information changes of multiple test sub-operations, and uses the average value as the average performance information change of the test operation, that is, the comprehensive performance information change corresponding to the test operation.

[0140] In this embodiment, the entity terminal uses the average value of the performance information changes of multiple test sub-operations to characterize the overall situation of the performance information changes of multiple test sub-operations, thereby obtaining the comprehensive performance information changes corresponding to the test operations, eliminating the randomness in the test process, and improving the reliability of the performance test results in the cloud.

[0141] In an exemplary embodiment, the above-mentioned step S206 determines the stability of the cloud based on the difference information between multiple test results, and specifically includes the following contents: identifying multiple groups of test results with the same corresponding test operations from multiple test results; determining the operational stability of the cloud corresponding to the test operation corresponding to the group of test results based on the difference information between multiple test results in each group of test results; and obtaining the stability of the cloud based on the operational stability of the cloud corresponding to various test operations.

[0142] The test operations corresponding to the multiple test results in each group of test results are the same.

[0143] Specifically, the entity terminal identifies multiple groups of test results with the same corresponding test operations from multiple test results, and for each group of test results, compares multiple test results in the group of test results to obtain difference information between the multiple test results in the group of test results; then, based on the difference information between the multiple test results in each group of test results, determines an operational stability score for characterizing the operational stability of the test operation corresponding to the group of test results in the cloud; finally, the entity terminal fuses the operational stability scores that characterize the operational stability of the cloud corresponding to each test operation to obtain a comprehensive stability score for characterizing the stability of the cloud, and determines the stability level of the cloud based on the correspondence between the stability score and the stability level.

[0144] For an example, see Figure 3 Assuming that the physical terminal has conducted three tests on the cloud, then for the interface sliding test operation, the physical terminal filters out the test results of the interface sliding test operation from the test results of the three tests, and compares the differences between the test results of the interface sliding test operation in the three tests. If the difference is small, it means that the cloud has good operational stability for the interface sliding test operation. If the difference is large, it means that the cloud has poor operational stability for the interface sliding test operation. Based on the difference, the physical terminal determines the operational stability score of the cloud for the interface sliding test operation. Similarly, the physical terminal can determine the operational stability score of the cloud for the remaining test operations, and perform weighted summation of the operational stability scores corresponding to various test operations according to the weights corresponding to various test operations, thereby obtaining a comprehensive stability score of the cloud. Then, the physical terminal queries the stability level corresponding to the comprehensive stability score of the cloud in the correspondence between the stability score and the stability level, as the target stability level of the cloud, thereby characterizing the stability of the cloud.

[0145] In this embodiment, the entity terminal can determine the operational stability of the cloud for the test operation by comparing the test results of the same test operation in multiple tests, and based on the operational stability of the cloud for different test operations, measure the stability of the cloud from the overall operation of the cloud, thereby improving the reliability of the performance test results of the cloud.

[0146] In an exemplary embodiment, Figure 7 As shown in the figure, another cloud performance testing method is provided, which is applied to Figure 1 The following steps are used as an example to illustrate the physical terminal in the example:

[0147] Step S701: Determine multiple test operations for the cloud application deployed on the cloud.

[0148] In step S702, operation requests for various test operations are sent to the cloud in sequence, and for each operation request for the test operation, the first time point for sending the operation request for the test operation is determined, as well as the first temperature, first power, and first traffic consumption of the physical terminal at the first time point.

[0149] Step S703: Determine the first time point, the first temperature, the first power, and the first traffic consumption as first performance information of the physical terminal.

[0150] Step S704, for each test operation execution result returned by the cloud, determine the second time point at which the test operation execution result is received, and determine the second temperature, second power and second traffic consumption of the physical terminal at the second time point.

[0151] Step S705: Determine the second time point, the second temperature, the second power, and the second traffic consumption as the second performance information of the physical terminal.

[0152] Step S706 : for each test sub-operation in each test operation, based on the first performance indicator and the second performance indicator information of the test sub-operation under each performance indicator, respectively determine the performance information change amount of the test sub-operation under each performance indicator.

[0153] Step S707: The performance information change of the test sub-operation under multiple performance indicators is used as the performance information change corresponding to the test sub-operation, and based on the performance information change corresponding to each test sub-operation in the test operation, the comprehensive performance information change corresponding to the test operation is obtained.

[0154] Step S708: The change in comprehensive performance information corresponding to each test operation is determined as the test result of this test, and the process returns to step S702 to perform the next test on the cloud.

[0155] Step S709 : After performing multiple tests on the cloud, multiple groups of test results corresponding to the same test operations are identified from the test results of the multiple tests.

[0156] Step S710, based on the difference information between multiple test results in each group of test results, determine the operational stability of the test operation corresponding to the group of test results on the cloud, and obtain the stability of the cloud according to the operational stability of the cloud corresponding to various test operations.

[0157] In this embodiment, first, by recording the first time point at which each operation request is sent, the physical terminal can accurately determine the specific conditions of the physical terminal's temperature, power, and traffic consumption at the first time point, thereby determining the first performance information of the physical terminal when sending each operation request. By recording the second time point at which each execution result is received, the physical terminal can accurately determine the specific conditions of the physical terminal's temperature, power, and traffic consumption at the second time point, thereby determining the second performance information of the physical terminal when receiving each execution result. The determination of the above-mentioned first performance information and second performance information facilitates the subsequent determination of the performance information change of the physical terminal. Second, by separately determining the performance information change under each performance indicator, the physical terminal can test multiple cloud performance indicators (such as operating speed and operating resources consumed), thereby expanding the scope of cloud performance testing. Third, by setting multiple test sub-operations for each test operation, the physical terminal can eliminate randomness in the testing process. By separately determining the performance information change of each test sub-operation, a comprehensive performance change is obtained, which can comprehensively represent the performance information change of each test operation, further eliminating randomness in the testing process. Fourth, by comparing the test results of the same test operation across multiple tests, the physical terminal can determine the cloud's operational stability for that test operation. Based on the cloud's operational stability for different test operations, the stability of the cloud can be measured from the perspective of its overall operation. Compared to related technologies based on user feedback, this cloud performance testing method based on this process ensures consistency throughout the performance testing process, thereby improving the reliability of performance test results.

[0158] In order to more clearly illustrate the cloud performance testing method provided by the embodiment of the present application, the following is a specific example of the cloud performance testing method, but it should be understood that the embodiment of the present application is not limited to this. In an exemplary embodiment, the present application also provides a mobile terminal performance automation testing method, which specifically includes the following steps:

[0159] Step 1: The physical terminal sends multiple interface sliding operation requests to the cloud phone in sequence, and records the time point when the physical terminal sends each interface sliding operation request, as well as the temperature, power and traffic consumption of the physical terminal when sending each interface sliding operation request.

[0160] In step 2, the physical terminal receives the interface sliding execution results returned by the cloud phone in response to each interface sliding operation request in sequence, and records the time point when the physical terminal receives and sends each interface sliding execution result, as well as the temperature, power and traffic consumption of the physical terminal when receiving each interface sliding execution result.

[0161] In step 3, the physical terminal sends multiple phone call operation requests to the cloud phone in sequence, and records the time point when the physical terminal sends each phone call operation request, as well as the temperature, power and traffic consumption of the physical terminal when sending each phone call operation request.

[0162] In step 4, the physical terminal receives the call dialing execution results returned by the cloud phone in response to each call dialing operation request in sequence, and records the time point when the physical terminal receives and sends each call dialing execution result, as well as the temperature, power and traffic consumption of the physical terminal when receiving each call dialing execution result.

[0163] In step 5, the physical terminal sends multiple video playback operation requests to the cloud phone in sequence, and records the time point when the physical terminal sends each video playback operation request, as well as the temperature, power and traffic consumption of the physical terminal when sending each video playback operation request.

[0164] In step 6, the physical terminal receives the video playback execution results returned by the cloud phone in response to each video playback operation request in sequence, and records the time point when the physical terminal receives and sends each video playback execution result, as well as the temperature, power and traffic consumption of the physical terminal when receiving each video playback execution result.

[0165] It is understandable that the physical terminal can also send other types of operation requests to the cloud phone.

[0166] Step 7. The physical terminal determines the time required for the cloud phone to process each operation request based on the time of sending each operation request and the time of receiving the execution result corresponding to the operation request; determines the temperature change caused by the cloud phone processing each operation request based on the temperature of the physical terminal when sending each operation request and the temperature of the physical terminal when receiving the execution result corresponding to the operation request; determines the power consumed by the cloud phone to process each operation request based on the power of the physical terminal when sending each operation request and the power of the physical terminal when receiving the execution result corresponding to the operation request; and determines the traffic consumed by the cloud phone to process each operation request based on the traffic consumption of the physical terminal when sending each operation request and the traffic consumption of the physical terminal when receiving the execution result corresponding to the operation request.

[0167] Step 8: Return to step 1, and the physical terminal performs the next test on the cloud phone. After multiple tests on the cloud phone, the physical terminal compares the time required for the same operation request, temperature changes, power consumption, and traffic consumption during the multiple tests. If the changes are small, it indicates that the cloud phone is stable. If the changes are large, it indicates that the cloud phone is unstable.

[0168] Among them, the physical terminal tests the cloud phone based on different types of operation requests each time, that is, the process from step 1 to step 7, which can be as follows Figure 8 shown.

[0169] In this embodiment, the physical terminal simulates the user's mobile phone and uses an automated method to complete the synchronous testing of multiple indicators such as time, temperature, power, and traffic consumption, thereby improving the test efficiency of the performance test of the cloud phone, reducing the errors caused by manual statistics, ensuring the consistency of the cloud phone performance test results, and thus improving the reliability of the cloud phone performance test results.

[0170] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0171] Based on the same inventive concept, the present application also provides a cloud performance testing device for implementing the aforementioned cloud performance testing method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more cloud performance testing device embodiments provided below can be found in the above-mentioned limitations of the cloud performance testing method and will not be repeated here.

[0172] In an exemplary embodiment, Figure 9 As shown, a cloud performance testing device is provided, including: a test task determination module 902, a performance test execution module 904 and a stability performance determination module 906, wherein:

[0173] The test task determination module 902 is used to determine multiple test operations for the cloud application deployed on the cloud, and obtain performance test tasks for the cloud based on the multiple test operations.

[0174] The performance test execution module 904 is used to perform multiple tests on the cloud according to the performance test task and obtain multiple test results.

[0175] The stability performance determination module 906 is configured to determine the stability of the cloud based on the difference information between the multiple test results.

[0176] The performance test execution module 904 is also used to send operation requests for various test operations to the cloud in sequence, and record the first performance information of the physical terminal when sending the operation requests for various test operations; the cloud is used to execute various test operations and return the execution results of various test operations to the physical terminal; record the second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud; based on the first performance information and the second performance information, obtain the performance information change corresponding to each test operation; determine the performance information change corresponding to each test operation as the test result of this test.

[0177] In an exemplary embodiment, the performance test execution module 904 is also used to determine the first time point for sending the operation request for the test operation for each operation request of the test operation; determine the first temperature, first power and first traffic consumption of the physical terminal at the first time point; and determine the first time point, first temperature, first power and first traffic consumption as the first performance information of the physical terminal.

[0178] In an exemplary embodiment, the performance test execution module 904 is also used to determine, for each test operation, a second time point at which the execution result of the test operation is received; determine the second temperature, second power, and second traffic consumption of the physical terminal at the second time point; and determine the second time point, second temperature, second power, and second traffic consumption as the second performance information of the physical terminal.

[0179] In an exemplary embodiment, the first performance information includes first performance indicator information under a plurality of performance indicators, and the second performance information includes second performance indicator information under a plurality of performance indicators.

[0180] The performance test execution module 904 is also used to determine, for each test operation, the performance information change under each performance indicator based on the first performance indicator information and the second performance indicator information under each performance indicator; and use the performance information change under multiple performance indicators as the performance information change corresponding to the test operation.

[0181] In an exemplary embodiment, each test operation includes a plurality of test sub-operations.

[0182] The performance test execution module 904 is also used to determine, for each test operation, the performance information change corresponding to each test sub-operation in the test operation based on the first performance information and the second performance information corresponding to each test sub-operation in the test operation; obtain the comprehensive performance information change corresponding to the test operation based on the performance information change corresponding to each test sub-operation in the test operation; and determine the comprehensive performance information change corresponding to each test operation as the test result of this test.

[0183] In an exemplary embodiment, the performance test execution module 904 is also used to determine the average performance information change of the test operation based on the performance information change corresponding to each test sub-operation in the test operation; and determine the average performance information change as the comprehensive performance information change corresponding to the test operation.

[0184] In an exemplary embodiment, the stability performance determination module 906 is also used to identify multiple groups of test results with the same corresponding test operations from multiple test results; determine the operational stability of the test operations corresponding to the group of test results on the cloud based on the difference information between the multiple test results in each group of test results; and obtain the stability of the cloud based on the operational stability of the cloud corresponding to various test operations.

[0185] Each module in the aforementioned cloud-based performance testing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0186] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a cloud performance testing method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.

[0187] Those skilled in the art will understand that Figure 10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0188] In an exemplary embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0189] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0190] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0191] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0192] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0193] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A cloud performance testing method, characterized in that: Applied to a physical terminal, the physical terminal being used to simulate a user terminal, the method comprising: Determine multiple test operations for a cloud application deployed on a cloud, and obtain a performance test task for the cloud based on the multiple test operations; each test operation includes multiple identical test sub-operations; Perform multiple tests on the cloud according to the performance test task to obtain multiple test results of the cloud; Determining the stability of the cloud based on the difference information between the multiple test results; The process of testing the cloud according to the performance test task includes: sending operation requests for various test operations to the cloud in sequence, and recording the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal; Recording second performance information of the physical terminal when receiving the execution results of various test operations returned by the cloud; Based on the first performance information and the second performance information, obtaining a performance information change corresponding to each test operation; Determine the performance information change corresponding to each test operation as the test result of the cloud under this test; The performance information of the physical terminal is used to represent performance data of the physical terminal under a performance indicator.

2. The method according to claim 1, characterized in that The record of first performance information of the physical terminal when sending the operation request for the various test operations includes: For each test operation operation request, determining a first time point for sending the test operation operation request; Determining a first temperature, a first power level, and a first traffic consumption of the physical terminal at the first time point; The first time point, the first temperature, the first power, and the first traffic consumption are determined as first performance information of the physical terminal.

3. The method according to claim 1, characterized in that The second performance information of the physical terminal when the execution results of various test operations returned by the cloud are received by the record includes: For each test operation execution result, determining a second time point at which the test operation execution result is received; Determining a second temperature, a second power level, and a second traffic consumption of the physical terminal at the second time point; The second time point, the second temperature, the second power and the second traffic consumption are determined as the second performance information of the physical terminal.

4. The method according to claim 1, wherein The first performance information includes first performance indicator information under multiple performance indicators, and the second performance information includes second performance indicator information under the multiple performance indicators; The obtaining, based on the first performance information and the second performance information, a performance information change corresponding to each test operation includes: For each test operation, based on the first performance indicator information and the second performance indicator information under each performance indicator, respectively determine the performance information change amount under the respective performance indicators; The performance information changes under the multiple performance indicators are used as the performance information changes corresponding to the test operation.

5. The method according to claim 1, wherein The obtaining, based on the first performance information and the second performance information, a performance information change corresponding to each test operation further includes: For each test operation, determining, based on the first performance information and the second performance information corresponding to each test sub-operation in the test operation, a performance information change corresponding to each test sub-operation in the test operation; Determining the performance information change corresponding to each test operation as the test result of this test includes: Obtaining a comprehensive performance information change amount corresponding to the test operation based on the performance information change amount corresponding to each test sub-operation in the test operation; The comprehensive performance information change corresponding to each test operation is determined as the test result of this test.

6. The method according to claim 5, characterized in that The obtaining, based on the performance information changes corresponding to the respective test sub-operations in the test operation, of the comprehensive performance information change corresponding to the test operation includes: Determining an average performance information change of the test operation according to the performance information change corresponding to each test sub-operation in the test operation; The average performance information change is determined as the comprehensive performance information change corresponding to the test operation.

7. The method according to any one of claims 1 to 6, characterized in that The determining the stability of the cloud based on the difference information between the multiple test results includes: From the plurality of test results, identifying a plurality of groups of test results corresponding to the same test operations; Determining, based on difference information between multiple test results in each group of test results, the operational stability of the test operation corresponding to the group of test results on the cloud; The stability of the cloud is obtained according to the operational stability of the cloud corresponding to the various test operations.

8. A cloud performance testing device, characterized in that: The device comprises: A test task determination module is used to determine multiple test operations for a cloud application deployed on the cloud, and obtain a performance test task for the cloud based on the multiple test operations; each test operation includes multiple identical test sub-operations; A performance test execution module, configured to perform multiple tests on the cloud according to the performance test task, and obtain multiple test results of the cloud; a stability performance determination module, configured to determine the stability of the cloud based on difference information between the plurality of test results; The performance test execution module is also used to send operation requests for various test operations to the cloud in sequence, and record the first performance information of the physical terminal when sending the operation requests for the various test operations; the cloud is used to execute the various test operations and return the execution results of the various test operations to the physical terminal; record the second performance information of the physical terminal when receiving the execution results of the various test operations returned by the cloud; based on the first performance information and the second performance information, obtain the performance information change corresponding to each test operation; determine the performance information change corresponding to each test operation as the test result of the cloud under this test; wherein, the physical terminal is used to simulate the user terminal; the performance information of the physical terminal is used to characterize the performance data of the physical terminal under the performance indicator.

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

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

11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for testing cloud desktop performance

    CN108156054A