Performance evaluation method and device of electronic equipment, electronic equipment and storage medium
By acquiring and analyzing the current operating data of the laptop and calculating performance evaluation values and results, the problem of difficult to accurately reflect performance and battery life in the existing technology is solved, and more accurate performance tuning and battery management are achieved.
Patent Information
- Application Number
- CN202411639152.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-04-04
AI Technical Summary
The existing technology is difficult to accurately reflect the performance and battery life of the laptop, and it is impossible to detect whether the system has lag in time, resulting in poor performance tuning.
By obtaining the current operating data of the electronic device and based on these data and their corresponding correlation coefficients, the performance evaluation value and performance evaluation results are calculated to determine whether the current performance margin is sufficient or insufficient.
It realizes an accurate reflection of the current carrying capacity of electronic equipment, provides an important basis for performance parameter adjustment, and improves the accuracy and efficiency of performance tuning.
Smart Images

Figure CN119759713A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a performance evaluation method and device for an electronic device, an electronic device, and a storage medium. Background Art
[0002] The performance tuning process of a laptop is a complex and comprehensive management process. By setting various performance parameters of the system, the performance, battery life and user experience of the laptop are directly affected. How to ensure high performance while extending the battery life of the system as much as possible without causing system lag is an important topic in current laptop development. Related technologies usually use benchmark software to perform benchmark tests and use scores to measure the tuning effect. This method cannot intuitively and timely reflect whether the system's performance and battery life have been maximized, nor can it use scores to determine whether lags have occurred during the process, resulting in poor performance tuning of the laptop. Therefore, how to accurately tune the performance of a laptop has become a technical problem that needs to be solved urgently. Summary of the invention
[0003] The present application provides a performance evaluation method and device for an electronic device, an electronic device, and a storage medium to at least solve the above technical problems existing in the prior art.
[0004] According to a first aspect of the present application, a performance evaluation method for an electronic device is provided, the method comprising:
[0005] Obtain current operating data of electronic equipment;
[0006] Based on the current operating data and its corresponding first coefficient, a performance evaluation value for the electronic device is obtained; the first coefficient represents the degree of correlation between the operating data and the performance of the electronic device;
[0007] Based on the performance evaluation value, a performance evaluation result for the electronic device is obtained; the performance evaluation result is used to characterize whether the current performance margin of the electronic device is sufficient or insufficient.
[0008] In one possible implementation manner, obtaining a performance evaluation value for the electronic device based on the current operating data and its corresponding first coefficient includes:
[0009] Based on the current operating data and the first coefficient and the second coefficient corresponding thereto, a performance evaluation value for the electronic device is obtained; the second coefficient represents a maximum value jump of the operating data.
[0010] In one possible implementation manner, obtaining a performance evaluation result for the electronic device based on the performance evaluation value includes:
[0011] The performance evaluation value is compared with a first preset threshold value, and when the performance evaluation value is greater than the first preset threshold value, a performance evaluation result indicating that the current performance margin of the electronic device is sufficient is obtained;
[0012] When the performance evaluation value is less than or equal to the first preset threshold, a performance evaluation result indicating that the current performance margin of the electronic device is insufficient is obtained.
[0013] In one possible implementation, it further includes:
[0014] Obtaining an expected range value for an electronic device performance evaluation value;
[0015] Based on the expected range value for the electronic device performance evaluation value, obtaining a third coefficient;
[0016] The obtaining of a performance evaluation value for the electronic device based on the current operation data and the first coefficient and the second coefficient corresponding thereto includes:
[0017] Based on the third coefficient, current operation data and the corresponding first coefficient and second coefficient, a performance evaluation value for the electronic device is obtained.
[0018] In one possible implementation manner, after obtaining the performance evaluation result for the electronic device, the method further includes:
[0019] Determining adjustment parameters for the electronic device based on the performance evaluation result for the electronic device;
[0020] Based on the adjustment parameters, the performance of the electronic device is adjusted.
[0021] In one possible implementation, the current running data includes at least one or more of the following data: current system context switch data, processor queue length counter data, and input delay data.
[0022] According to a second aspect of the present application, a performance evaluation device for an electronic device is provided, the device comprising:
[0023] A first acquisition unit, used to acquire current operation data of the electronic device;
[0024] A second acquisition unit, configured to obtain a performance evaluation value for the electronic device based on the current operating data and a first coefficient corresponding thereto; the first coefficient represents a correlation between the operating data and the performance of the electronic device;
[0025] The third acquisition unit is used to obtain a performance evaluation result for the electronic device based on the performance evaluation value; the performance evaluation result is used to characterize whether the current performance margin of the electronic device is sufficient or insufficient.
[0026] In one possible implementation manner, the second acquisition unit is used to obtain a performance evaluation value for the electronic device based on the current operating data and its corresponding first coefficient and second coefficient; the second coefficient represents a maximum value jump of the operating data.
[0027] According to a third aspect of the present application, an electronic device is provided, including:
[0028] at least one processor; and
[0029] a memory communicatively connected to the at least one processor; wherein,
[0030] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present application.
[0031] According to a fourth aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method described in the present application.
[0032] In this application, the current operation data of the electronic device is obtained; based on the current operation data and its corresponding first coefficient, a performance evaluation value for the electronic device is obtained; the first coefficient represents the degree of correlation between the operation data and the performance of the electronic device; based on the performance evaluation value, a performance evaluation result for the electronic device is obtained; the performance evaluation result is used to represent whether the current performance margin of the electronic device is sufficient or insufficient. It can accurately reflect the current carrying capacity of the electronic device and provide an important basis for adjusting the performance parameters of the electronic device.
[0033] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present application will become easily understood. In the accompanying drawings, several embodiments of the present application are shown in an exemplary and non-limiting manner, wherein:
[0035] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0036] Figure 1 A schematic diagram of the implementation process of the performance evaluation method of an electronic device according to an embodiment of the present application is shown;
[0037] Figure 2 The normalized processing curve expression diagram of the embodiment of the present application is shown in FIG. Figure 1 ;
[0038] Figure 3 The normalized processing curve expression diagram of the embodiment of the present application is shown in FIG. Figure 2 ;
[0039] Figure 4 A schematic diagram showing the composition structure of a performance evaluation device for an electronic device according to an embodiment of the present application is shown;
[0040] Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0041] In order to make the purpose, features, and advantages of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0042] The present application embodiment provides a method for evaluating the performance of an electronic device, such as Figure 1 As shown, the method includes:
[0043] S101: Acquire current operation data of the electronic device.
[0044] In this step, the electronic device includes a laptop computer, a desktop computer, etc. The current operation data of the electronic device includes but is not limited to system context switching data, processor queue length counter data, and input delay data. By reading the current operation data of the electronic device, a performance evaluation value reflecting the carrying capacity of the electronic device can be obtained based on the current operation data of the electronic device. For the specific process, please refer to the detailed description of the relevant parts below, which will not be repeated here.
[0045] S102: Based on the current operating data and its corresponding first coefficient, a performance evaluation value for the electronic device is obtained; the first coefficient represents the degree of correlation between the operating data and the performance of the electronic device.
[0046] In this step, it is preferred that the number of current operating data is multiple. Each current operating data has a corresponding first coefficient. Among them, the first coefficient represents the degree of correlation between the current operating data and the performance of the electronic device, which is an empirical value and is set manually. Based on the current operating data and its corresponding first coefficient, a performance evaluation value for the electronic device can be obtained. In the embodiment of the present application, the performance evaluation value is the real-time response rate of the system, based on which the carrying capacity of the current system can be inferred. The lower the real-time response rate of the system, the lower the carrying capacity of the system, and the more likely it is to cause freezes or UE (User Experience) problems.
[0047] In the embodiment of the present application, before obtaining the performance evaluation value for the electronic device based on the current operation data and its corresponding first coefficient, the current operation data may be normalized, and the performance evaluation value for the electronic device may be obtained based on the normalized current operation data and its corresponding first coefficient. Figure 2 As shown, if the light-colored curve is used The data is relatively divergent and may be negative or infinitely large or infinitely small, making it impossible to perform data analysis. Therefore, this application performs square inversion of the data, which can limit the data analysis results to between 0 and 1, which is more conducive to data analysis and processing. Figure 2 Medium dark curve As shown. Considering that in practical applications, a complete analysis of the performance of electronic equipment cannot be carried out by analyzing only one type or one dimension of data, it is necessary to combine multi-dimensional data for data analysis to ensure the completeness and accuracy of the performance analysis of electronic equipment. Figure 3 As shown, combined Figure 2 , the normalized curves of multiple dimensional data in the embodiment of the present application are as follows: Figure 3 middle As shown, Figure 2 The light-colored curve corresponds to the normalized curve of multiple dimensional data. Figure 3 middle Wherein, x represents the first dimension data, y represents the second dimension data, and the dimension data in the embodiment of the present application is not limited to Figure 3 The two dimensions x and y shown in the figure may also be data of more dimensions, which is not specifically limited in this application.
[0048] S103: Based on the performance evaluation value, a performance evaluation result for the electronic device is obtained; the performance evaluation result is used to indicate whether the current performance margin of the electronic device is sufficient or insufficient.
[0049] In this step, the higher the performance evaluation value, the higher the system's carrying capacity, and the more sufficient the current performance margin of the electronic device. The lower the performance evaluation value, the lower the system's carrying capacity, and the less sufficient the current performance margin of the electronic device.
[0050] In the scheme shown in step S101 to step S103, the current operation data of the electronic device is obtained; based on the current operation data and its corresponding first coefficient, a performance evaluation value for the electronic device is obtained; the first coefficient represents the degree of correlation between the operation data and the performance of the electronic device; based on the performance evaluation value, a performance evaluation result for the electronic device is obtained; the performance evaluation result is used to represent whether the current performance margin of the electronic device is sufficient or insufficient. It can accurately reflect the current carrying capacity of the electronic device and provide an important basis for adjusting the performance parameters of the electronic device.
[0051] In an optional solution, obtaining a performance evaluation value for the electronic device based on the current operating data and its corresponding first coefficient includes:
[0052] Based on the current operating data and the first coefficient and the second coefficient corresponding thereto, a performance evaluation value for the electronic device is obtained; the second coefficient represents a maximum value jump of the operating data.
[0053] In the present application, each current operating data has its corresponding second coefficient, and the second coefficient is the maximum value of the numerical jump of the current operating data, that is, the second coefficient is the maximum fluctuation value that the operating data can allow. Exemplarily, assuming that the allowable fluctuation range of the operating data x is 0-1000, the second coefficient corresponding to the operating data x is 1000. The allowable fluctuation range of the operating data is an empirical value, which is set by artificial customization. Based on the current operating data and its corresponding first coefficient and second coefficient, a performance evaluation value for the electronic device can be obtained. For the specific acquisition process of the electronic device performance evaluation value, please refer to the detailed description of the relevant parts below, which will not be repeated.
[0054] In an optional solution, obtaining a performance evaluation result for the electronic device based on the performance evaluation value includes:
[0055] The performance evaluation value is compared with a first preset threshold value, and when the performance evaluation value is greater than the first preset threshold value, a performance evaluation result indicating that the current performance margin of the electronic device is sufficient is obtained;
[0056] When the performance evaluation value is less than or equal to the first preset threshold, a performance evaluation result indicating that the current performance margin of the electronic device is insufficient is obtained.
[0057] In the present application, a first preset threshold is pre-set for the performance evaluation value. When the performance evaluation value is greater than the first preset threshold, it is considered that the current performance margin of the electronic device is sufficient and can bear more processing tasks. When the performance evaluation value is less than or equal to the first preset threshold, it is considered that the current performance margin of the electronic device is insufficient and cannot bear more processing tasks. Based on the performance evaluation results of the electronic device, the performance of the electronic device can be intuitively displayed, providing a data basis for the subsequent tuning of the electronic device.
[0058] In an optional solution, it also includes:
[0059] Obtaining an expected range value for an electronic device performance evaluation value;
[0060] Based on the expected range value for the electronic device performance evaluation value, obtaining a third coefficient;
[0061] The obtaining of a performance evaluation value for the electronic device based on the current operation data and the first coefficient and the second coefficient corresponding thereto includes:
[0062] Based on the third coefficient, current operation data and the corresponding first coefficient and second coefficient, a performance evaluation value for the electronic device is obtained.
[0063] In this application, the performance evaluation value of the electronic device is calculated by formula (1):
[0064]
[0065] Wherein, R is the performance evaluation value of the electronic device. K is the third coefficient. n is the dimension (number) of the operation data. i is the sequence number of the operation data. a i is the first coefficient corresponding to the i-th running data. i is the i-th running data. i is the second coefficient corresponding to the i-th running data.
[0066] Before obtaining the electronic device performance evaluation value, an expected range value is set manually, such as setting the expected range value of the electronic device performance evaluation value to 0.99-1. Based on the expected range value of the electronic device performance evaluation value, the third coefficient corresponding to the current operating data can be obtained. The specific process is shown in formula (2) to formula (8):
[0067] Assuming that the second coefficient b of each operating data is 1000, the expected range of the performance evaluation value is 0.99-1. If the first coefficient a of each operating data x, y, z is 1, then the following can be derived:
[0068]
[0069] but
[0070] make
[0071] but
[0072] Substituting the value of K back into f, we get
[0074] By using the above formulas (1) to (8), the performance evaluation value for the electronic device can be accurately obtained, thereby providing an accurate data basis for subsequent electronic device parameter tuning.
[0075] In an optional solution, after obtaining the performance evaluation result for the electronic device, the method further includes:
[0076] Determining adjustment parameters for the electronic device based on the performance evaluation result for the electronic device;
[0077] Based on the adjustment parameters, the performance of the electronic device is adjusted.
[0078] In the present application, after obtaining the performance evaluation result of the electronic device, the relevant parameters of the electronic device are tuned based on the performance evaluation result of the electronic device to achieve the tuning of the performance of the electronic device so that the electronic device can perform better.
[0079] In an optional solution, the current running data includes at least one or more of the following data: current system context switch data, processor queue length counter data, and input delay data.
[0080] In the present application, as mentioned above, the current operation data at least includes one or more of the current system context switching data, the processor queue length counter data and the input delay data. The more the current operation data, the more accurate the performance evaluation value of the electronic device is.
[0081] The present application also provides a device for evaluating the performance of an electronic device. Figure 4 As shown, the device comprises:
[0082] A first acquisition unit 401 is used to acquire current operation data of the electronic device;
[0083] A second acquisition unit 402 is used to obtain a performance evaluation value for the electronic device based on the current operating data and its corresponding first coefficient; the first coefficient represents the degree of correlation between the operating data and the performance of the electronic device;
[0084] The third acquisition unit 403 is used to obtain a performance evaluation result for the electronic device based on the performance evaluation value; the performance evaluation result is used to indicate whether the current performance margin of the electronic device is sufficient or insufficient.
[0085] In an optional solution, the second acquisition unit 402 is used to obtain a performance evaluation value for the electronic device based on the current operating data and its corresponding first coefficient and second coefficient; the second coefficient represents a maximum value jump of the operating data.
[0086] In an optional scheme, the third acquisition unit 403 is used to compare the performance evaluation value with a first preset threshold value. When the performance evaluation value is greater than the first preset threshold value, a performance evaluation result indicating that the current performance margin of the electronic device is sufficient is obtained; when the performance evaluation value is less than or equal to the first preset threshold value, a performance evaluation result indicating that the current performance margin of the electronic device is insufficient is obtained.
[0087] In an optional solution, it also includes:
[0088] A fourth acquisition unit is used to acquire an expected range value for the electronic device performance evaluation value; and obtain a third coefficient based on the expected range value for the electronic device performance evaluation value;
[0089] The second acquisition unit 402 is used to obtain a performance evaluation value for the electronic device based on the third coefficient, current operation data and the corresponding first coefficient and second coefficient.
[0090] In an optional solution, the device further includes:
[0091] The adjustment unit is used to determine adjustment parameters for the electronic device based on the performance evaluation result for the electronic device; and adjust the performance of the electronic device based on the adjustment parameters.
[0092] In an optional solution, the current running data includes at least one or more of the following data: current system context switch data, processor queue length counter data, and input delay data.
[0093] It should be noted that the performance evaluation device of the electronic device in the embodiment of the present application solves the problem according to a principle similar to that of the aforementioned performance evaluation method of the electronic device. Therefore, the implementation process, implementation principle, and beneficial effects of the performance evaluation device of the electronic device can all be referred to the description of the implementation process, implementation principle, and beneficial effects of the aforementioned method, and the repeated parts will not be repeated.
[0094] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.
[0095] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0096] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0097] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0098] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as a performance evaluation method for an electronic device. For example, in some embodiments, the performance evaluation method for an electronic device may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the performance evaluation method for the electronic device described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the performance evaluation method for the electronic device in any other appropriate manner (e.g., by means of firmware).
[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0101] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0103] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0104] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.
[0106] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0107] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which 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. A performance evaluation method for an electronic device, characterized in that: The method comprises: Obtain current operating data of electronic equipment; Based on the current operating data and its corresponding first coefficient, a performance evaluation value for the electronic device is obtained; the first coefficient represents the degree of correlation between the operating data and the performance of the electronic device; Based on the performance evaluation value, a performance evaluation result for the electronic device is obtained; the performance evaluation result is used to characterize whether the current performance margin of the electronic device is sufficient or insufficient.
2. The method according to claim 1, characterized in that The obtaining, based on the current operation data and the first coefficient corresponding thereto, a performance evaluation value for the electronic device comprises: Based on the current operating data and the first coefficient and the second coefficient corresponding thereto, a performance evaluation value for the electronic device is obtained; the second coefficient represents a maximum value jump of the operating data.
3. The method according to claim 1 or 2, characterized in that: The obtaining of a performance evaluation result for the electronic device based on the performance evaluation value includes: The performance evaluation value is compared with a first preset threshold value, and when the performance evaluation value is greater than the first preset threshold value, a performance evaluation result indicating that the current performance margin of the electronic device is sufficient is obtained; When the performance evaluation value is less than or equal to the first preset threshold, a performance evaluation result indicating that the current performance margin of the electronic device is insufficient is obtained.
4. The method according to claim 2, characterized in that: Also includes: Obtaining an expected range value for an electronic device performance evaluation value; Based on the expected range value for the electronic device performance evaluation value, obtaining a third coefficient; The obtaining of a performance evaluation value for the electronic device based on the current operation data and the first coefficient and the second coefficient corresponding thereto includes: Based on the third coefficient, current operation data and the corresponding first coefficient and second coefficient, a performance evaluation value for the electronic device is obtained.
5. The method according to claim 1, characterized in that After obtaining the performance evaluation result for the electronic device, the method further includes: Determining adjustment parameters for the electronic device based on the performance evaluation result for the electronic device; Based on the adjustment parameters, the performance of the electronic device is adjusted.
6. The method according to claim 1, characterized in that The current running data includes at least one or more of the following data: current system context switching data, processor queue length counter data, and input delay data.
7. A performance evaluation device for an electronic device, characterized in that: The device comprises: A first acquisition unit, used to acquire current operation data of the electronic device; A second acquisition unit, configured to obtain a performance evaluation value for the electronic device based on the current operating data and a first coefficient corresponding thereto; the first coefficient represents a correlation between the operating data and the performance of the electronic device; The third acquisition unit is used to obtain a performance evaluation result for the electronic device based on the performance evaluation value; the performance evaluation result is used to characterize whether the current performance margin of the electronic device is sufficient or insufficient.
8. The device according to claim 7, characterized in that The second acquisition unit is used to obtain a performance evaluation value for the electronic device based on the current operating data and the first coefficient and the second coefficient corresponding thereto; the second coefficient represents a maximum value jump of the operating data.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.