Operation execution method, device and storage medium

By adjusting the configuration parameters of the device when executing application operations in real time, the problem of poor performance stability of the device when executing application operations is solved based on the differences between the overall performance parameters and the expected performance parameters, and a stable improvement of application operation performance is achieved.

CN114911520BActive Publication Date: 2025-04-29GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210508209.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-10
Publication Date
2025-04-29
Estimated Expiration
2042-05-10

AI Technical Summary

Technical Problem

When performing application operations, existing equipment is prone to performance overflow or insufficient performance problems, resulting in poor stability of application operation performance.

Method used

By obtaining the results of the difference between the overall performance parameters and the expected performance parameters when performing application operations, adjust relevant configuration parameters in real time to ensure that application operation performance is approaching the expected one.

Benefits of technology

Improve the stability of application operation performance and ensure that performance can effectively achieve the optimal power consumption balance in different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114911520B_ABST
    Figure CN114911520B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose an operation execution method, device and storage medium, the method comprising: obtaining an i-th overall performance parameter generated by executing an application operation for an i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation; when the i-th overall performance parameter is different from the expected performance parameter, determining the i+1-th configuration parameter based on the difference between the i-th overall performance parameter and the expected performance parameter; and continuing to execute the application operation for an i+1-th time using the i+1-th configuration parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to an operation execution method, device, and storage medium. Background Art

[0002] In order to provide a good user experience for their products, OEMs will pay attention to the specifications and requirements of various application scenarios, and seek the best performance and power consumption balance of their products in various application scenarios while meeting user needs.

[0003] Currently, devices are usually configured with optimal technical parameters or performance parameters to perform specific application operations. However, due to the influence of external and internal factors, performance overflow or insufficient performance is prone to occur, resulting in poor stability of application operation performance. Summary of the invention

[0004] The embodiments of the present application provide an operation execution method, device and storage medium, which improve the stability of application operation performance.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides an operation execution method, which is applied to an operation execution device, and the method includes:

[0007] Obtaining an i-th overall performance parameter generated by executing an application operation for an i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th actual performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation;

[0008] In the case where the i-th overall performance parameter is different from the expected performance parameter, determining an (i+1)th configuration parameter based on a difference result between the i-th overall performance parameter and the expected performance parameter;

[0009] Continue to use the (i+1)th configuration parameter to perform the application operation for the (i+1)th time.

[0010] In the above method, the operation execution device is a first platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module technical parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the first platform.

[0011] In the above method, determining the (i+1)th configuration parameter based on the difference between the (i)th overall performance parameter and the expected performance parameter includes:

[0012] Based on the difference result, a preset parameter configuration algorithm is used to determine the technical parameters corresponding to each module in the multiple modules as the (i+1)th configuration parameter.

[0013] In the above method, the operation execution device is a second platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module performance parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the second platform.

[0014] In the above method, determining the (i+1)th configuration parameter based on the difference between the (i)th actual performance parameter and the expected performance parameter includes:

[0015] Based on the difference result, the expected performance parameter is decomposed into a plurality of module performance parameters corresponding to the plurality of modules;

[0016] The plurality of module performance parameters are determined as the (i+1)th configuration parameters.

[0017] In the above method, when the i-th overall performance parameter is lower than the expected performance parameter, the overall performance provided by the i+1-th configuration parameter for the application operation is expected to be higher than the overall performance provided by the i-th configuration parameter for the application operation;

[0018] In the case where the i-th overall performance parameter is higher than the expected performance parameter, the overall performance provided by the (i+1)th configuration parameter for the application operation is expected to be lower than the overall performance provided by the i-th configuration parameter for the application operation.

[0019] In the above method, before continuing to use the (i+1)th configuration parameter to perform the application operation for the (i+1)th time, the method further includes:

[0020] In a case where the i-th overall performance parameter is the same as the expected performance parameter, the i-th configuration parameter is determined as the (i+1)-th configuration parameter.

[0021] The present application provides an operation execution device, including:

[0022] an acquisition module, configured to acquire an i-th overall performance parameter generated by executing an application operation for an i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents an overall performance provided by the i-th configuration parameter for the application operation;

[0023] a determination module, configured to determine, when the i-th overall performance parameter is different from the expected performance parameter, an (i+1)th configuration parameter based on a difference result between the i-th overall performance parameter and the expected performance parameter;

[0024] An execution module is used to continue to use the (i+1)th configuration parameter to execute the application operation for the (i+1)th time.

[0025] In the above device, the operation execution device is a first platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module technical parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the first platform.

[0026] In the above device, the determining module is specifically used to:

[0027] Based on the difference result, a preset parameter configuration algorithm is used to determine the module technical parameters corresponding to each module in the multiple modules as the (i+1)th configuration parameter.

[0028] In the above-mentioned device, the operation execution device is a second platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module performance parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the second platform.

[0029] In the above device, the determining module is specifically used to:

[0030] Based on the difference result, the expected performance parameter is decomposed into a plurality of module performance parameters corresponding to the plurality of modules;

[0031] The plurality of module performance parameters are determined as the (i+1)th configuration parameters.

[0032] In the above device, when the i-th overall performance parameter is lower than the expected performance parameter, the overall performance provided by the i+1-th configuration parameter for the application operation is expected to be higher than the overall performance provided by the i-th configuration parameter for the application operation;

[0033] In the case where the i-th overall performance parameter is higher than the expected performance parameter, the overall performance provided by the (i+1)th configuration parameter for the application operation is expected to be lower than the overall performance provided by the i-th configuration parameter for the application operation.

[0034] In the above device, the determining module is further used for:

[0035] In a case where the i-th overall performance parameter is the same as the expected performance parameter, the i-th configuration parameter is determined as the (i+1)-th configuration parameter.

[0036] The embodiment of the present application provides an operation execution device, including: a processor, a memory, and a communication bus;

[0037] The communication bus is used to realize the communication connection between the processor and the memory;

[0038] The processor is used to execute one or more programs stored in the memory to implement the above-mentioned operation execution method.

[0039] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned operation execution method is implemented.

[0040] The embodiment of the present application provides an operation execution method, device and storage medium, the method comprising: obtaining the i-th overall performance parameter generated by executing the application operation for the i-th time using the i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation; when the i-th overall performance parameter is different from the expected performance parameter, determining the i+1-th configuration parameter based on the difference between the i-th overall performance parameter and the expected performance parameter; and continuing to execute the application operation for the i+1-th time using the i+1-th configuration parameter. The technical solution provided in the embodiment of the present application tracks the performance of the application operation and adjusts the relevant configuration parameters in real time, so that the performance of executing the application operation approaches the expectation, thereby improving the stability of the application operation performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of an operation execution method provided in an embodiment of the present application;

[0042] Figure 2 An exemplary application A provided in the embodiment of the present application provides a long cold start time diagram Figure 1 ;

[0043] Figure 3 An exemplary application A provided in the embodiment of the present application provides a long cold start time diagram Figure 2 ;

[0044] Figure 4 A schematic diagram of the structure of an operation execution device provided in an embodiment of the present application Figure 1 ;

[0045] Figure 5 A schematic diagram of an exemplary framework of a first platform provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of an exemplary second platform framework provided in an embodiment of the present application;

[0047] Figure 7 A schematic diagram of the structure of an operation execution device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] The following will specifically describe the technical solution of the present application and how the technical solution of the present application solves the above technical problems through embodiments and in conjunction with the accompanying drawings. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0050] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0051] The embodiment of the present application provides an operation execution method, which is implemented by an operation execution device. The specific type of the operation execution device is not limited in the embodiment of the present application, and it can be any user device, such as a smart phone, a personal computer, a laptop, a tablet computer, and a portable wearable device.

[0052] Figure 1 A flowchart of an operation execution method provided in an embodiment of the present application. Figure 1 As shown, in the embodiment of the present application, the method mainly includes the following steps:

[0053] S101. Obtain an i-th overall performance parameter generated by executing an application operation for the i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation.

[0054] In an embodiment of the present application, the operation execution device may first obtain the i-th overall performance parameter generated by executing the application operation for the i-th time using the i-th configuration parameter, where i is a natural number greater than or equal to 1.

[0055] It should be noted that in the embodiments of the present application, the application operation can be any software operation that needs to be executed, such as cold starting a specific application, acquiring images, and browsing images, etc. The specific application operation can be set according to actual needs and application scenarios, and the embodiments of the present application are not limited.

[0056] It should be noted that in the embodiments of the present application, the i-th configuration parameter, the specific parameters included therein belong to technical parameters or performance parameters, which are determined by the operation execution device. When the operation execution device is a first platform, the i-th configuration parameter belongs to a technical parameter, and when the operation execution device is a second platform, the i-th configuration parameter belongs to a performance parameter.

[0057] It should be noted that, in the embodiments of the present application, when different configuration parameters are used to execute application operations, the overall performance provided for the application operations is different. The operation execution device can track the overall performance parameters generated by executing application operations using different configuration operations. The overall performance parameters are used to characterize the overall performance provided by the corresponding configuration parameters for the application.

[0058] S102: When the i-th overall performance parameter is different from the expected performance parameter, determine the (i+1)th configuration parameter based on the difference between the i-th overall performance parameter and the expected performance parameter.

[0059] In an embodiment of the present application, when the operation execution device obtains the i-th overall performance parameter, it can compare the i-th overall performance parameter with the expected performance parameter, and when the two are different, determine the i+1-th configuration parameter based on the difference between the i-th overall performance parameter and the expected performance parameter.

[0060] It should be noted that, in the embodiments of the present application, the expected performance parameters represent the overall performance expected to be obtained for executing application operations, and the specific expected performance parameters are not limited in the embodiments of the present application.

[0061] It should be noted that, in the embodiment of the present application, when the operation execution device is the first platform, the i-th configuration parameter and the i+1-th configuration parameter both include: module technical parameters corresponding to each of the multiple modules supporting the execution of application operations in the first platform. When the operation execution device is the second platform, the i-th configuration parameter and the i+1-th configuration parameter both include: module performance parameters corresponding to each of the multiple modules supporting the execution of application operations in the second platform.

[0062] It should be noted that in the embodiments of the present application, multiple modules that support executing application operations may specifically be modules such as a central processing unit (CPU), a graphics processing unit (GPU), and a dual-channel synchronous dynamic random access memory (DDR SDRAM).

[0063] Specifically, in an embodiment of the present application, when the operation execution device is the first platform, the operation execution device determines the i+1th configuration parameter based on the difference result between the i-th overall performance parameter and the expected performance parameter, including: based on the difference result, using a preset parameter configuration algorithm, determining the module technical parameters corresponding to each module in the multiple modules as the i+1th configuration parameter.

[0064] Exemplarily, in an embodiment of the present application, the operation execution device is the first platform, the application operation is cold start application A, and the expected performance parameter is: the cold start time of application A is 1.2 seconds. The i+1th configuration parameter is usually the optimal performance frequency point of the configured CPU, GPU, and DDR SDRAM based on the difference between the ith overall performance parameter and the expected performance parameter, and each optimal performance frequency point is a module technical parameter.

[0065] Exemplarily, in an embodiment of the present application, the first platform may be a non-load-oriented platform, and non-load-oriented means that the configuration of the CPU frequency, graphics processing unit (GPU) frequency, double data rate synchronous dynamic random access memory (DDR SDRAM) frequency, related startup feature parameter switches, technical parameters, etc. are not changed due to workload (Workload).

[0066] Specifically, in an embodiment of the present application, when the operation execution device is the second platform, the operation execution device determines the i+1th configuration parameter based on the difference result between the i-th overall performance parameter and the expected performance parameter, including: based on the difference result, decomposing the expected performance parameter into multiple module performance parameters corresponding to multiple modules; and determining the multiple module performance parameters as the i+1th configuration parameter.

[0067] Illustratively, in an embodiment of the present application, based on the difference results, the expected performance parameters are decomposed into a plurality of module performance parameters corresponding one-to-one to a plurality of modules.

[0068] Exemplarily, in an embodiment of the present application, the operation execution device is the second platform, the application operation is the cold start application A, and the expected performance parameter is: the cold start time of application A is 1.2 seconds. The modules supporting the execution of the cold start application A include CPU, GPU, and DDR SDRAM. The operation execution device can decompose 1.2 seconds into three times corresponding to the above three modules, and the decomposed time corresponding to each module is the corresponding module performance parameter.

[0069] Exemplarily, in an embodiment of the present application, the application operation may be image acquisition, and its expected performance parameters may be specific frame rate average and variance. CPU processing time, GPU overlay time, DDR processing time, display module image output time, image compression module processing time, image signal processing time, image post-processing time and network processing time may affect whether frames are dropped and thus cause changes in frame rate average and variance. Accordingly, these modules, i.e., modules that support the execution of application operations, need to be configured with different module technical parameters or suitable module performance parameters need to be decomposed from the expected performance parameters.

[0070] Exemplarily, in an embodiment of the present application, the application operation may be album browsing, and its expected performance parameter may be the complete loading time of a specific screen, wherein the touch screen response delay, CPU, DDR SDRAM, GPU, storage speed, etc. affect the complete loading time, etc. Correspondingly, these modules, i.e., modules that support the execution of application operations, need to be configured with different module technical parameters or the corresponding module performance parameters need to be disassembled from the expected performance parameters.

[0071] Exemplarily, in an embodiment of the present application, the second platform may be a load-oriented platform, where load orientation refers to changing corresponding module performance parameters according to workload; for example, changing performance parameter configurations involving CPU frequency, graphics processing unit (GPU) frequency, double data rate synchronous dynamic random access memory (DDR SDRAM) frequency, startup feature parameter switch, etc.

[0072] It should be noted that, in the embodiments of the present application, when the i-th overall performance parameter is lower than the expected performance parameter, the overall performance expectation provided by the i+1-th configuration parameter for the application operation is higher than the overall performance provided by the i-th configuration parameter for the application operation; when the i-th overall performance parameter is higher than the expected performance parameter, the overall performance expectation provided by the i+1-th configuration parameter for the application operation is lower than the overall performance provided by the i-th configuration parameter for the application operation.

[0073] It can be understood that in the embodiment of the present application, if the i-th overall performance parameter is lower than the expected performance parameter, it indicates that the overall performance provided by the i-th configuration parameter for the application operation is insufficient, and therefore, it is necessary to re-determine the i+1-th configuration parameter whose overall performance expectation provided for the application operation is higher than the actual performance provided by the i-th configuration parameter for the application operation, so that when the application operation is executed for the i+1th time, the re-determined i+1-th configuration parameter is used, so that the i+1-th overall performance parameter generated by the i+1-th execution of the application operation can approach the expected performance parameter, that is, approach the required performance. Correspondingly, if the i-th overall performance parameter is higher than the expected performance parameter, it indicates that the overall performance provided by the i-th configuration parameter for the application operation overflows, and therefore, it is necessary to re-determine the i+1-th configuration parameter whose overall performance expectation provided for the application operation is lower than the overall performance provided by the i-th configuration parameter for the application operation, so that when the application operation is executed for the i+1th time, the re-determined i+1-th configuration parameter is used, so that the i+1-th overall performance parameter generated by the i+1-th execution of the application operation can also approach the expected performance parameter, that is, approach the required performance, and reduce power consumption.

[0074] S103 . Continue to use the (i+1)th configuration parameter to perform the application operation for the (i+1)th time.

[0075] In the embodiment of the present application, when the operation execution device obtains the i+1th configuration parameter, it can continue to use the i+1th configuration parameter to execute the application operation for the i+1th time.

[0076] It should be noted that in an embodiment of the present application, the operation execution device uses the i+1th configuration parameter to execute the application operation for the i+1th time, that is, the specific parameters corresponding to each module in the multiple modules supporting the application operation included in the i+1th configuration parameter are configured to the corresponding module, so as to execute the application operation through these modules.

[0077] Exemplarily, the operation execution device is the first platform, and the application operation is the cold start application A. The operation execution device obtains the i+1th configuration parameter, and the i+1th configuration parameter is the optimal performance frequency of the configured CPU, GPU, and DDR SDRAM. When the i+1th configuration parameter is used to execute the cold start application A, the startup time of the cold start application A can be obtained. The startup time represents the overall performance provided by the application operation of the cold start application A with the i+1th configuration parameter, that is, the i+1th overall performance parameter can continue to be generated.

[0078] It can be understood that in the embodiments of the present application, the operation execution device can generate the i+1th overall performance parameter by continuing to use the i+1th configuration parameter to execute the application operation for the i+1th time, so that the i+1th overall performance parameter can continue to be compared with the expected performance parameter. If the two are different, the i+2th configuration parameter is determined based on the difference between the i+1th overall performance parameter and the expected performance parameter to support the i+2th execution of the application operation.

[0079] It should be noted that in an embodiment of the present application, before continuing to use the i+1th configuration parameter to perform the application operation for the i+1th time, the following steps can also be performed: when the i-th overall performance parameter is the same as the expected performance parameter, the i-th configuration parameter is determined as the i+1th configuration parameter.

[0080] It can be understood that in the embodiments of the present application, the i-th overall performance parameter may be the same as the expected performance parameter, indicating that the performance of the i-th execution of the application operation using the i-th configuration parameter is appropriate and consistent with the requirements. In this case, the i-th configuration parameter can be directly used as the i+1-th configuration parameter for the i+1-th execution of the application operation.

[0081] Figure 2 An exemplary application A provided in the embodiment of the present application provides a long cold start time diagram Figure 1 The operation execution device is the first platform, such as Figure 2 As shown, the application operation is to cold start application A, and the expected performance parameters are: the cold start time of application A is 1.2 seconds, where each configuration parameter is a module technical parameter. The cold start process of application A is described in detail below:

[0082] The first cold start of application A: Use the first configuration parameter: Boost. The cold start duration is 0.8s. Because the first overall performance parameter (0.8s) is less than the expected performance parameter (1.2s), the second configuration parameter is configured when application A is cold started next time: SettingA. Among them, the overall performance provided by Boost is greater than the overall performance provided by Setting A.

[0083] The second cold start of application A: Use the second configuration parameter: Setting A. The cold start duration is 1.4s. Because the second overall performance parameter (1.4s) > the expected performance parameter (1.2s), the third configuration parameter is configured when application A is cold started next time: Setting B. Among them, the overall performance provided by Setting B > the overall performance provided by Setting A.

[0084] The third cold start of application A: use the third configuration parameter: Setting B. The cold start duration is 1.2s. Since the third overall performance parameter (1.2s) = the expected performance parameter (1.2s), Setting B can be determined as the fourth configuration parameter and applied when application A is cold started for the fourth time.

[0085] It should be noted that, in the embodiments of the present application, Figure 2 As shown, the third application A is cold started using the third configuration parameter Setting B, and the cold start duration is 1.2s. Since the third overall performance parameter (1.2s) = the expected performance parameter (1.2s), when application A is cold started for the fourth time, the fourth configuration parameter of the application is equal to the third configuration parameter. However, due to the influence of changes in other factors such as the environment, the fourth overall performance parameter obtained may not be equal to the expected performance parameter. After that, it is necessary to continue to determine the fifth configuration parameter based on the difference between the fourth overall performance parameter and the expected performance parameter to support the fifth cold start of application A.

[0086] Figure 3 An exemplary application A provided in the embodiment of the present application provides a long cold start time diagram Figure 2 The operation execution device is the first platform, such as Figure 3 As shown, the application operation is cold start application A, and the expected performance index is: the cold start time of application A is 1.2 seconds, wherein the configuration parameters used for the first execution of cold start application A can be preset, and the configuration parameters used for each subsequent execution of cold start application A are the configuration parameters adjusted based on the difference between the overall performance index obtained from the previous execution of cold start application A and the expected performance index, wherein different configuration parameters include module performance parameters corresponding to each module from which the expected performance parameters are decomposed, that is, the sum of the module performance parameters is unchanged, which is 1.2 seconds. Through three times of adaptive learning, the cold start time of cold start application A using the module performance parameters disassembled for the third time is equal to 1.2 seconds. The embodiment of the present application provides an operation execution method, which is applied to an operation execution device, and the method includes: obtaining the i-th overall performance parameter generated by executing the application operation for the i-th time using the i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation; when the i-th overall performance parameter is different from the expected performance parameter, based on the difference between the i-th overall performance parameter and the expected performance parameter, determine the i+1th configuration parameter; continue to use the i+1th configuration parameter to execute the application operation for the i+1th time. The operation execution method provided by the embodiment of the present application tracks the performance of the application operation and adjusts the relevant configuration parameters in real time, so that the performance of executing the application operation continues to approach expectations, thereby improving the stability of the application operation performance.

[0087] An embodiment of the present application provides an operation execution device. Figure 4 A schematic diagram of the structure of an operation execution device provided in an embodiment of the present application Figure 1 .like Figure 4 As shown, in an embodiment of the present application, the operation execution device includes:

[0088] An acquisition module 401 is used to acquire an i-th overall performance parameter generated by executing an application operation for an i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1, and the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation;

[0089] A determination module 402 is configured to determine, when the i-th overall performance parameter is different from the expected performance parameter, an (i+1)th configuration parameter based on a difference result between the i-th overall performance parameter and the expected performance parameter;

[0090] The execution module 403 is used to continue to use the (i+1)th configuration parameter to execute the application operation for the (i+1)th time.

[0091] In one embodiment of the present application, the operation execution device is a first platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module technical parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the first platform.

[0092] In an embodiment of the present application, the determining module 402 is specifically configured to:

[0093] Based on the difference result, a preset parameter configuration algorithm is used to determine the module technical parameters corresponding to each module in the multiple modules as the (i+1)th configuration parameter.

[0094] In one embodiment of the present application, the operation execution device is a second platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module performance parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the second platform.

[0095] In an embodiment of the present application, the determining module 402 is specifically configured to:

[0096] Based on the difference result, the expected performance parameter is decomposed into a plurality of module performance parameters corresponding to the plurality of modules;

[0097] The plurality of module performance parameters are determined as the (i+1)th configuration parameters.

[0098] In an embodiment of the present application, when the i-th overall performance parameter is lower than the expected performance parameter, the overall performance provided by the i+1-th configuration parameter for the application operation is expected to be higher than the overall performance provided by the i-th configuration parameter for the application operation;

[0099] In the case where the i-th overall performance parameter is higher than the expected performance parameter, the overall performance provided by the (i+1)th configuration parameter for the application operation is expected to be lower than the overall performance provided by the i-th configuration parameter for the application operation.

[0100] In an embodiment of the present application, the determining module 402 is further configured to:

[0101] In a case where the i-th overall performance parameter is the same as the expected performance parameter, the i-th configuration parameter is determined as the (i+1)-th configuration parameter.

[0102] It should be noted that, in the embodiments of the present application, the operation execution device may be the second platform or the first platform, which will be described in detail below.

[0103] Figure 5 This is a schematic diagram of an exemplary first platform system framework provided in an embodiment of the present application. Figure 5 As shown, the first platform is a platform for chip design and its related drivers and software combinations, which can directly accept upper-level technical parameters. The system framework of the first platform includes system performance monitoring and module performance monitoring. The difference between the expected performance requirements and the system performance monitoring can be used to know the difference between the overall performance and the expected performance. Through the performance adjustment decision mechanism module, the relationship between the overall performance difference and the module performance difference is recorded / learned. At the same time, according to the module performance cost data calculation, the lowest cost solution is found and the performance of the module or multiple modules is determined. By optimizing the module parameter decision mechanism and referring to the module performance scenario fine-tuning, it is decided to adjust the technical parameters of the module or multiple modules.

[0104] Figure 6 This is a schematic diagram of an exemplary second platform system framework provided in an embodiment of the present application. Figure 6 As shown, the second platform is a platform for chip design and its related drivers and software combinations, which can directly accept the upper-layer performance adjustment commands and automatically adapt its technical parameters. The system framework of the second platform includes system performance monitoring and module performance monitoring. The difference between the expected performance requirements and the system performance monitoring can be used to know the difference between the overall performance and the expected performance. Through the performance adjustment decision mechanism module, the relationship between the overall performance difference and the module performance difference is recorded / learned. At the same time, according to the module performance cost data calculation, the lowest cost solution is found and the performance of the module or multiple modules is determined. Based on this, the module performance adjustment is issued to the second platform, and the platform automatically adapts the module technical parameters according to its performance design.

[0105] Figure 7 A schematic diagram of the structure of an operation execution device provided in an embodiment of the present application Figure 2 .like Figure 7 As shown, in the embodiment of the present application, the operation execution device includes: a processor 701, a memory 702 and a communication bus 703;

[0106] The communication bus 703 is used to realize the communication connection between the processor 701 and the memory 702;

[0107] The processor 701 is used to execute one or more programs stored in the memory 702 to implement the above-mentioned operation execution method.

[0108] The embodiment of the present application provides an operation execution device, which obtains the i-th overall performance parameter generated by executing the application operation for the i-th time using the i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation; when the i-th overall performance parameter is different from the expected performance parameter, the i+1-th configuration parameter is determined based on the difference between the i-th overall performance parameter and the expected performance parameter; and the application operation is continued to be executed for the i+1th time using the i+1-th configuration parameter. The operation execution device provided by the embodiment of the present application tracks the performance of the application operation and adjusts the relevant configuration parameters in real time, so that the performance of executing the application operation continuously approaches the expectation, thereby improving the stability of the application operation performance.

[0109] The embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the above-mentioned operation execution method when executed by a processor. The computer-readable storage medium may be a volatile memory (volatile memory), such as a random access memory (Random-Access Memory, RAM); or a non-volatile memory (non-volatile memory), such as a read-only memory (Read-Only Memory, ROM), a flash memory (flash memory), a hard disk (Hard Disk Drive, HDD) or a solid-state drive (Solid-State Drive, SSD); or it may be a respective device including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant

[0110] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

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

[0112] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

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

[0114] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the utility application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An operation execution method, characterized in that: Applied to an operation execution device, the method comprises: Obtaining an i-th overall performance parameter generated by executing an application operation for the i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; the i-th overall performance parameter characterizes the overall performance provided by the i-th configuration parameter for the application operation; when the operation execution device is a first platform, the i-th configuration parameter belongs to a technical parameter, and when the operation execution device is a second platform, the i-th configuration parameter belongs to a performance parameter; wherein the first platform is a non-load-oriented platform; the second platform is a load-oriented platform; the non-load-oriented platform is a platform whose corresponding module performance parameters do not change due to workload; the load-oriented platform is a platform whose corresponding module performance parameters change due to workload; the module performance parameters include: central processing unit frequency, graphics processing unit frequency, double rate synchronous dynamic random access memory frequency, related startup characteristic parameter switches or technical parameters; In the case where the i-th overall performance parameter is different from the expected performance parameter, determining an (i+1)th configuration parameter based on a difference result between the i-th overall performance parameter and the expected performance parameter; Continue to use the (i+1)th configuration parameter to perform the application operation for the (i+1)th time; The determining of the (i+1)th configuration parameter based on the difference between the (i)th overall performance parameter and the expected performance parameter includes: In a case where the operation execution device is the first platform, based on the difference result, a preset parameter configuration algorithm is used to determine a module technical parameter corresponding to each module in the plurality of modules as the (i+1)th configuration parameter; In the case where the operation execution device is the second platform, based on the difference result, the expected performance parameter is disassembled into a plurality of module performance parameters corresponding to a plurality of modules; and the plurality of module performance parameters are determined as the (i+1)th configuration parameter.

2. The method according to claim 1, characterized in that The operation execution device is the first platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module technical parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the first platform.

3. The method according to claim 1, characterized in that: The operation execution device is the second platform, and the i-th configuration parameter and the (i+1)-th configuration parameter both include: module performance parameters corresponding to each module in a plurality of modules supporting execution of the application operation in the second platform.

4. The method according to any one of claims 1 to 3, characterized in that: In the case where the i-th overall performance parameter is lower than the expected performance parameter, the overall performance provided by the i+1-th configuration parameter for the application operation is expected to be higher than the overall performance provided by the i-th configuration parameter for the application operation; In the case where the i-th overall performance parameter is higher than the expected performance parameter, the overall performance provided by the (i+1)th configuration parameter for the application operation is expected to be lower than the overall performance provided by the i-th configuration parameter for the application operation.

5. The method according to claim 1, characterized in that Before continuing to use the (i+1)th configuration parameter to perform the application operation for the (i+1)th time, the method further includes: In a case where the i-th overall performance parameter is the same as the expected performance parameter, the i-th configuration parameter is determined as the (i+1)-th configuration parameter.

6. An operation execution device, characterized in that: include: An acquisition module, used to acquire an i-th overall performance parameter generated by executing an application operation for an i-th time using an i-th configuration parameter; i is a natural number greater than or equal to 1; The i-th overall performance parameter represents the overall performance provided by the i-th configuration parameter for the application operation; In the case where the operation execution device is a first platform, the i-th configuration parameter belongs to a technical parameter, and in the case where the operation execution device is a second platform, the i-th configuration parameter belongs to a performance parameter; wherein the first platform is a non-load-oriented platform; the second platform is a load-oriented platform; the non-load-oriented platform is a platform whose corresponding module performance parameters are not changed due to workload; the load-oriented platform is a platform whose corresponding module performance parameters are changed due to workload; the module performance parameters include: central processing unit frequency, graphics processing unit frequency, double rate synchronous dynamic random access memory frequency, related startup characteristic parameter switches or technical parameters; a determination module, configured to determine, when the i-th overall performance parameter is different from the expected performance parameter, an i+1-th configuration parameter based on a difference result between the i-th overall performance parameter and the expected performance parameter; when the operation execution device is the first platform, based on the difference result, using a preset parameter configuration algorithm, determine a module technical parameter corresponding to each of a plurality of modules as the i+1-th configuration parameter; when the operation execution device is the second platform, based on the difference result, decompose the expected performance parameter into a plurality of module performance parameters corresponding to the plurality of modules; and determine the plurality of module performance parameters as the i+1-th configuration parameter; An execution module is used to continue to use the (i+1)th configuration parameter to execute the application operation for the (i+1)th time.

7. An operation execution device, characterized in that: include: processor, memory, and communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute one or more programs stored in the memory to implement the operation execution method described in any one of claims 1-5.

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

Citation Information

Patent Citations

  • Soc chip performance and power consumption optimization method and device, equipment and medium

    CN111611199A

  • Micro-service configuration method and device, electronic equipment and medium

    CN113434218A