Operating parameter adjustment method, device, electronic device and storage medium
By collecting and analyzing user's perceived information and adjusting the operating parameters of the CPU, GPU and memory of electronic devices, the problem of not considering user perception in the existing technology is solved, and performance and power consumption is optimized, which improves the user experience.
Patent Information
- Application Number
- CN202211213677.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-29
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-09-29
AI Technical Summary
In the prior art, the operating parameters of the CPU, GPU and memory of electronic devices are adjusted mainly based on the current task load, and the user's perceived information is not fully considered, resulting in poor working performance.
By collecting user's haptic, auditory and visual related information, determine the target's perceived intensity, and adjust the operating parameters of the target component according to the perceived intensity, such as CPU frequency, GPU frequency and memory bandwidth.
Optimize the working performance and power consumption of the target components and improve the user experience.
Smart Images

Figure CN115421925B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of terminal devices, and in particular to an operating parameter adjustment method, device, electronic device, and storage medium. Background Art
[0002] Currently, adjustments to the operating parameters of the CPU (Central Processing Unit), GPU (Graphics Processing Unit) and memory of electronic devices mostly only consider the current task load, which often leads to poor performance of the corresponding components. Summary of the Invention
[0003] The embodiments of the present application provide an operating parameter adjustment method, device, electronic device, and storage medium, which are conducive to optimizing the operating performance and power consumption of target components.
[0004] A first aspect of an embodiment of the present application provides a method for adjusting operating parameters, including:
[0005] Collecting user perception information; wherein the perception information includes at least one of the following: tactile related information, auditory related information, and visual related information;
[0006] determining a target perception intensity based on the perception information;
[0007] According to the relevant numerical value of the target component corresponding to the target perception intensity, the target operating parameter of the target component is determined, and the target operating parameter of the target component includes any one of the following: the target frequency of the CPU, the target frequency of the GPU and the target bandwidth of the memory.
[0008] A second aspect of an embodiment of the present application provides an operating parameter adjustment device, including:
[0009] A perception information collection unit, configured to collect user perception information; wherein the perception information includes at least one of the following: tactile-related information, auditory-related information, and visual-related information;
[0010] a perception intensity determination unit, configured to determine a target perception intensity based on the perception information;
[0011] An operating parameter determination unit is used to determine the target operating parameters of the target component according to the relevant numerical value of the target component corresponding to the target perception intensity, and the target operating parameters of the target component include any one of the following: the target frequency of the CPU, the target frequency of the GPU and the target bandwidth of the memory.
[0012] A third aspect of the embodiments of the present application provides an electronic device, which may include:
[0013] a memory storing executable program code;
[0014] and a processor coupled to the memory;
[0015] The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method as described in the first aspect of the embodiment of the present application.
[0016] A fourth aspect of the embodiments of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method described in the first aspect of the embodiments of the present application is implemented.
[0017] A fifth aspect of the embodiments of the present application discloses a computer program product. When the computer program product runs on a computer, it enables the computer to execute any one of the methods disclosed in the first aspect of the embodiments of the present application.
[0018] The sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes any one of the methods disclosed in the first aspect of the embodiment of the present application.
[0019] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0020] In an embodiment of the present application, user perception information is collected; wherein the perception information includes at least one of the following: tactile-related information, auditory-related information, and visual-related information; based on the perception information, a target perception intensity is determined; based on the relevant numerical value of the target component corresponding to the target perception intensity, a target operating parameter of the target component is determined, and the target operating parameter of the target component includes any one of the following: a target frequency of the CPU, a target frequency of the GPU, and a target bandwidth of the memory.
[0021] By implementing this method, the target perception intensity corresponding to the user is obtained through the collection and analysis of the user's perception information, and then the target operating parameters of the target component corresponding to the target perception intensity are determined, so that the operating parameters of the target component can match the user perception, which is conducive to optimizing the working performance and power consumption of the target component, thereby improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments and the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.
[0023] Figure 1 This is a schematic diagram of a scenario of the operating parameter adjustment method disclosed in the embodiment of the present application;
[0024] Figure 2 This is a flow chart of the operating parameter adjustment method disclosed in the embodiment of the present application;
[0025] Figure 3 This is another flow chart of the operating parameter adjustment method disclosed in the embodiment of the present application;
[0026] Figure 4 This is a structural block diagram of the operating parameter adjustment device disclosed in the embodiment of the present application;
[0027] Figure 5 This is a structural block diagram of the electronic device disclosed in the embodiment of this application. DETAILED DESCRIPTION
[0028] The embodiments of the present application provide an operating parameter adjustment method, device, electronic device, and storage medium, which are conducive to optimizing the operating performance and power consumption of target components and improving the user experience.
[0029] In order to enable those skilled in the art to better understand the present invention, the technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All embodiments in the present invention should fall within the scope of protection of the present invention.
[0030] It can be understood that the electronic devices involved in the embodiments of the present application may include general handheld screen electronic user terminals, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), laptop computers, notebooks (Note Pads), wireless broadband (Wibro) terminals, tablet computers (Personal Computers, PCs), smart PCs, point of sales (POS) terminals and car computers, etc.
[0031] Electronic devices may also include wearable devices. Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, alarm function, and can also be connected to mobile phones and various terminals. Wearable devices may include but are not limited to wrist-supported watches (such as watches, wrists, etc.), foot-supported shoes (such as shoes, socks or other leg-worn products), head-supported Glass (such as glasses, helmets, headbands, etc.), as well as smart clothing, backpacks, crutches, accessories and other non-mainstream product forms.
[0032] The existing adjustment of the operating parameters of any component of an electronic device is usually achieved based on the task load of the component in the previous few time windows. Specifically: the electronic device first accumulates and calculates a reasonable task load based on the task load of the component in the previous few time windows, and then selects operating parameters that match the reasonable task load. It can be seen that most of the current operating parameter adjustment methods do not take into account human perception, such as vision, hearing, touch and other human perceptions, thereby ignoring the impact of these human perceptions on the operating parameters of the components. To solve this problem, the embodiment of the present application provides an operating parameter adjustment method based on the user's perception information, which fully considers the impact of human perception on the operating parameters of the components, and is also beneficial to optimizing the working performance and power consumption of the components of the electronic device, thereby improving the user's usage experience.
[0033] The following first explains the technical terms involved in the embodiments of this application:
[0034] CPU: The core component of an electronic computer, whose main function is to interpret computer instructions and process data in computer software.
[0035] GPU: A microprocessor that is specifically designed to perform image processing on personal computers, workstations, game consoles, and some mobile devices (such as tablets, smartphones, etc.).
[0036] Memory: Memory is one of the important components in a computer. It is the bridge for communication with the CPU.
[0037] Time window: refers to the periodic duration of the operating parameters of the components of the electronic equipment.
[0038] Task load: refers to the average number of processes in the system that are in an operational and uninterruptible state per unit time.
[0039] CPU frequency: The CPU clock frequency refers to the frequency at which the CPU operates.
[0040] GPU frequency: The clock frequency of the GPU refers to the frequency of the CPU operation.
[0041] Memory bandwidth: refers to the number of bits or bytes accessed per second.
[0042] See also Figure 1 , Figure 1 This is a schematic diagram of a scenario of the operating parameter adjustment method disclosed in the embodiment of this application. Figure 1 The scene diagram shown includes an electronic device 10, which can collect user perception information (one or more of tactile-related information, auditory-related information, and visual-related information), and then determine the target perception intensity based on the perception information, and then determine the target operating parameters of the target component based on the relevant numerical value corresponding to the target perception intensity. The target operating parameters of the target component include any of the following: the target frequency of the CPU, the target frequency of the GPU, and the target bandwidth of the memory. It can be seen that this operating parameter adjustment method based on perception information can make the operating parameters of the target component match the user's perception, which is conducive to optimizing the working performance and power consumption of the target component and improving the user's usage experience.
[0043] See also Figure 2 , Figure 2 This is a flow chart of the operating parameter adjustment method disclosed in the embodiment of this application. Figure 2 The operating parameter adjustment method shown may include the following steps:
[0044] 201. Collect user perception information; wherein the perception information includes at least one of the following: tactile-related information, auditory-related information, and visual-related information.
[0045] The tactile-related information is used to reflect the user's tactile perception, the visual-related information is used to reflect the user's visual perception, and the auditory-related information is used to reflect the user's auditory perception.
[0046] In an embodiment of the present application, tactile-related information may include any one or a combination of the following: a click signal, a lift signal, and a slide signal (including a fast slide signal, a slow slide signal, and a throw slide signal, etc.). The click signal and the slide signal may be collected via the display screen of the electronic device, and the lift signal may be collected via a motion sensor of the electronic device. The motion sensor may include any one of the following: a three-axis sensor, a six-axis sensor, and a nine-axis sensor, etc.
[0047] The hearing-related information may include any one or a combination of the following: a sound start signal, a sound end signal, short sound-related signals (short sound signal, short sound pause signal), and long sound-related signals (long sound signal, long sound pause signal, and long sound buff (effect) signal), etc. The hearing-related information may be collected by a sound pickup of an electronic device.
[0048] Visually relevant information may include any one or a combination of the following: a screen-on signal, a screen-off signal, a frame-related signal (including a frame refresh rate, a lost frame signal, a frame start signal, and a frame end signal, etc.). Among them, the frame-related signal can be collected by a graphics processing unit (GPU) of an electronic device; when the screen-on signal and the screen-off signal are audio signals, the screen-on signal and the screen-off signal are collected by a microphone of the electronic device; when the screen-on signal and the screen-off signal are touch signals, the screen-on signal and the screen-off signal are collected by a display screen of the electronic device; when the screen-on signal and the screen-off signal are gesture signals, the screen-on signal and the screen-off signal are collected by a motion sensor of the electronic device.
[0049] In some embodiments, collecting the user's perception information may include: collecting the user's perception information when detecting that a target application is running in the foreground of the electronic device. The target application may refer to an application that has high performance requirements on target components (such as CPU, GPU and memory), such as game applications, video playback applications, etc. By implementing this method, the electronic device can be guaranteed to run the target application smoothly, reducing the probability of the target application being stuck.
[0050] 202. Determine target perception intensity based on the perception information.
[0051] In some embodiments, the electronic device may pre-set N (N>2) perception intensities, wherein the N perception intensities may include a perception intensity indicating that the electronic device is in a non-perception scenario and a perception intensity indicating that the electronic device is in a perception scenario.
[0052] In some embodiments, each of the N perception intensities may correspond to key perception information. Further, determining the target perception intensity based on the perception information may include: identifying key perception information in the perception information, and using the perception intensity corresponding to the identified key perception information as the target perception intensity.
[0053] Exemplarily, the above-mentioned N perception intensities include a first perception intensity and a second perception intensity indicating that the electronic device is in a perception scene, and a third perception intensity indicating that the electronic device is in a non-perception scene, and the perception intensity indicated by the first perception intensity is greater than the perception intensity indicated by the second perception intensity. Among them, the key perception information corresponding to the third perception intensity includes any one or more of the following: screen off signal, frame end signal and sound end signal, etc. The key perception information corresponding to the first perception intensity includes any one or more of the following: click signal, lift signal, slide signal, short sound freeze signal, long sound freeze signal and lost frame signal, etc. The key perception information corresponding to the second perception intensity includes any one or more of the following: screen light signal, sound start signal and frame start signal, etc.
[0054] 203. Determine target operating parameters of the target component according to relevant values of the target component corresponding to the target perception intensity. The target operating parameters of the target component include any one of the following: a target frequency of the CPU, a target frequency of the GPU, and a target bandwidth of the memory.
[0055] The relevant values may include values representing the efficiency improvement of the target component's operating parameters and / or values representing the target component's operating parameters, which are not limited in the present embodiment. For example, if the target component is a CPU, the target component's operating parameter refers to the CPU frequency; if the target component is a GPU, the target component's operating parameter refers to the GPU frequency; if the target component is a memory, the target component's operating parameter refers to the memory bandwidth.
[0056] In some embodiments, an electronic device may store N intensity identifiers and N value tables, each of which may include multiple component identifiers and the associated value for each component identifier. The intensity identifier is used to uniquely identify the perceived intensity, and the component identifier is used to uniquely identify a component of the electronic device. The intensity identifier and component identifier may include any one or a combination of the following: numbers, letters, and special characters.
[0057] Further optionally, obtaining the relevant numerical value of the target component corresponding to the target perception intensity may include: determining the target numerical table corresponding to the intensity identifier of the target perception intensity from the N numerical table, and obtaining the relevant numerical value matching the component identifier of the target component from the target numerical table.
[0058] The target operating parameters of the target component refer to the operating parameters of the target component in the next time window, and the next time window represents the duration for which the target component continues to operate with the target operating parameters.
[0059] In some embodiments, after step 203 , the next time window of the target component may be determined, and the target component may be controlled to operate with target operating parameters within the next time window.
[0060] In some embodiments, determining the next time window of the target component may include: using a pre-set specified duration as the next time window; that is, the time window corresponding to the target component may be fixed, that is, calculating the operating parameters of the target component once every specified duration (executing steps 201-203 once).
[0061] By implementing this method, the target perception intensity corresponding to the user is obtained through the collection and analysis of the user's perception information, and then the target operating parameters of the target component corresponding to the target perception intensity are determined, so that the operating parameters of the target component can match the user perception, which is conducive to optimizing the working performance and power consumption of the target component, thereby improving the user's usage experience.
[0062] See also Figure 3 , Figure 3 This is another flow chart of the operating parameter adjustment method disclosed in the embodiment of this application. Figure 3 The operating parameter adjustment method shown may include the following steps:
[0063] 301. Collect user perception information; wherein the perception information includes at least one of the following: tactile-related information, auditory-related information, and visual-related information.
[0064] For the description of step 301, please refer to Figure 2 The introduction of step 201 is not repeated here.
[0065] 302. Determine target perception intensity based on the perception information.
[0066] In some embodiments, the electronic device may be pre-trained with at least one perception classifier; the electronic device may use the at least one perception classifier to process the perception information to obtain the target perception intensity.
[0067] In an embodiment of the present application, a perceptual classifier may be trained using the N perceptual intensities and the sample perceptual information corresponding to each perceptual intensity. Optionally, the perceptual classifier may be trained using any of the following algorithms: Naive Bayes, K-nearest neighbor, support vector machine, decision tree, and random forest.
[0068] In some embodiments, if the perception classifier is trained based on a random forest algorithm, the perception classifier is a random forest classification model for identifying perception intensities. Furthermore, processing the perception information using the random forest classification model to obtain the target perception intensity may include: obtaining a probability set obtained by each decision tree in the random forest classification model based on the perception information, wherein the probability set includes a probability value corresponding to each of the N perception intensities; and obtaining the target perception intensity based on the probability set corresponding to each decision tree.
[0069] It should be noted that the random forest classification model is not prone to fitting, and using the random forest classification model as the perception classifier is beneficial to improving the analysis accuracy of perception information.
[0070] In some embodiments, the target perception strength is obtained based on the probability set corresponding to each decision tree, which may include but is not limited to the following methods:
[0071] According to the probability set corresponding to each decision tree, the sum of the probability values corresponding to each of the N perception intensities is calculated, and the perception intensity with the largest sum of the corresponding probability values among the N perception intensities is taken as the target perception intensity;
[0072] or,
[0073] The perception intensity corresponding to the maximum probability value in the probability set corresponding to each decision tree is taken as the predicted perception intensity of the decision tree, and the predicted perception intensity with the highest occurrence frequency is taken as the target perception intensity.
[0074] In some embodiments, the at least one perception classifier includes a plurality of perception classifiers. Optionally, determining the target perception intensity based on the perception information may include: inputting the perception information into each perception classifier to obtain the perception intensity corresponding to each perception classifier; and using the perception intensity corresponding to each perception classifier with the highest frequency as the target perception intensity.
[0075] In some embodiments, the above-mentioned multiple perception classifiers can be trained based on the same algorithm or different algorithms, which is not limited in the present embodiment. By implementing this method, the recognition accuracy of the target perception intensity can be effectively improved by using multiple perception classifiers to comprehensively analyze the perception information.
[0076] 303. Determine a target operating parameter of the target component according to a relevant value of the target component corresponding to the target perception intensity. The target operating parameter of the target component includes any one of the following: a target frequency of the CPU, a target frequency of the GPU, and a target bandwidth of the memory.
[0077] In some embodiments, if the target perception intensity indicates that the electronic device is in a perception scenario, the relevant values may include a first value representing an operating parameter of the target component, and a second value and a third value representing an efficiency of improving the operating parameter of the target component. The first value and the second value are both proportional to the intensity of the perception intensity; the stronger the perception intensity, the larger the corresponding first value and the second value; and the third value is inversely proportional to the intensity of the perception intensity; the stronger the perception intensity, the smaller the corresponding third value.
[0078] Furthermore, in some embodiments, determining the target operating parameter of the target component based on the relevant value of the target component corresponding to the target perception intensity may include: if the current task load is greater than a task load threshold, using a first value as the target operating parameter of the target component; if the current task load is less than or equal to the task load threshold, calculating the target operating parameter of the target component based on a second value and a third value. The task load threshold and the first value may both be set based on experience.
[0079] Exemplarily, the target component is a CPU, and the N-1 perception intensities include a first perception intensity and a second perception intensity, wherein the first perception intensity indicates a greater perception intensity than the second perception intensity. The first value corresponding to the first perception intensity is 3.0 GHz, the second value corresponding to the first perception intensity is 1.25, and the third value corresponding to the first perception intensity is 80. The first value corresponding to the second perception intensity is 2.0 GHz, the second value corresponding to the second perception intensity is 1.2, and the third value corresponding to the second perception intensity is 90.
[0080] In some embodiments, calculating the target operating parameters of the target component based on the second and third numerical values may include: multiplying the second numerical value by the current operating parameters of the target component to obtain a first calculated value; dividing the current task load of the target component by the third numerical value to obtain a second calculated value; dividing the second calculated value by the maximum operating parameters of the target component to obtain a third calculated value; and multiplying the first calculated value by the third calculated value to obtain the target operating parameters of the target component.
[0081] Among them, if the target component is a CPU, the current operating parameter is the current frequency of the CPU, and the maximum operating parameter of the target component is the maximum frequency of the CPU; if the target component is a GPU, the current operating parameter is the current frequency of the GPU, and the maximum operating parameter of the target component is the maximum frequency of the GPU; if the target component is a memory, the current operating parameter is the current bandwidth of the memory, and the maximum operating parameter of the target component is the maximum bandwidth of the memory.
[0082] Exemplarily, the target operating parameters of the target component include the target frequency of the CPU, and the calculation formula for the target frequency of the CPU is: NextFreq = NextC*CurrFreq*(Util / TargetLoads) / Max; wherein NextFreq represents the target frequency of the CPU, NextC represents the second value, CurrFreq represents the current frequency of the CPU, Util represents the current task load, TargetLoads represents the third value, and Max represents the maximum frequency of the CPU.
[0083] In some embodiments, if the target perception intensity indicates that the electronic device is in a non-perception scenario, the relevant numerical values include a second numerical value and a third numerical value used to characterize the efficiency of improving the operating parameters of the target component; determining the target operating parameters of the target component based on the relevant numerical value of the target component corresponding to the target perception intensity may include: calculating the target operating parameters of the target component based on the second numerical value and the third numerical value.
[0084] It should be noted that, for the specific steps of calculating the target operating parameters of the target component based on the second value and the third value corresponding to the target perception intensity, please refer to the above description and will not be repeated here.
[0085] Exemplarily, the target component is a CPU. If the target perception strength indicates that the electronic device is in a non-perception scenario, the second value is 1.1 and the third value is 95.
[0086] 304. Within a time window of the target component corresponding to the target perception intensity, control the target component to operate with target operating parameters.
[0087] In some embodiments, the target value table corresponding to the intensity identifier of the target perception intensity may also include a time window that matches the component identifier of the target component. The electronic device can obtain the time window of the target component corresponding to the target perception intensity by searching the target value table.
[0088] For the same target component, in an embodiment of the present application, for the above-mentioned N perception intensities, the electronic device, in addition to storing the above-mentioned data (the second and third values corresponding to the perception intensity indicating that the electronic device is in a non-perception scene; the second, third and first values corresponding to the perception intensity indicating that the electronic device is in a perception scene), also stores the time windows corresponding to each perception intensity. Among them, for the above-mentioned N perception intensities, the stronger the perception intensity, the shorter the corresponding time window, the higher the adjustment frequency of the operating parameters, and the more sensitive the response speed; conversely, the weaker the perception intensity, the longer the corresponding time window, the lower the adjustment frequency of the operating parameters, and the less sensitive the response speed. Exemplarily, the time window corresponding to the first perception intensity is 8ms (milliseconds), the time window corresponding to the second perception intensity is 16ms, and the time window corresponding to the third perception intensity is 32ms.
[0089] Based on the above description, different adjustment strategies are used to adjust the operating parameters of the target component under different perception intensities. Specifically, at low perception intensities, a more conservative adjustment strategy is used to adjust the operating parameters of the target component; at medium perception intensities, a more balanced adjustment strategy is used to adjust the operating parameters of the target component; at high perception intensities, a more aggressive adjustment strategy is used to adjust the operating parameters of the target component, thereby optimizing the performance and power consumption of the electronic device.
[0090] By implementing this method, the user's perception information is collected and analyzed to obtain the target perception intensity corresponding to the user. The target operating parameters of the target component are then determined using the relevant values of the target component corresponding to the target perception intensity. This allows the target component's operating parameters to match the user's perception, facilitating optimization of the target component's operating performance and power consumption, thereby enhancing the user's user experience. Furthermore, the frequency of adjustment of the target component's operating parameters can be adjusted based on the user's perception information, further optimizing the target component's operating performance and power consumption.
[0091] See also Figure 4 , Figure 4 This is a structural block diagram of the operating parameter adjustment device disclosed in the embodiment of this application. Figure 4 The operating parameter adjustment device shown includes a perception information collection unit 401, a perception intensity determination unit 402, and an operating parameter determination unit 403; wherein:
[0092] The sensory information collecting unit 401 is configured to collect sensory information of the user; wherein the sensory information includes at least one of the following: tactile related information, auditory related information, and visual related information;
[0093] The perception intensity determination unit 402 is configured to determine the target perception intensity based on the perception information;
[0094] The operating parameter determination unit 403 is used to determine the target operating parameters of the target component according to the relevant values of the target component corresponding to the target perception intensity. The target operating parameters of the target component include any one of the following: the target frequency of the CPU, the target frequency of the GPU and the target bandwidth of the memory.
[0095] In some embodiments, the target perception intensity indicates that the electronic device is in a perception scenario, and the relevant values include a first value characterizing the operating parameters of the target component, and a second value and a third value characterizing the improvement efficiency of the operating parameters of the target component; the operating parameter determination unit 403 is used to determine the target operating parameters of the target component according to the relevant values of the target component corresponding to the target perception intensity. Specifically, the operating parameter determination unit 403 is used to use the first value as the target operating parameter of the target component if the current task load is greater than the task load threshold; if the current task load is less than or equal to the task load threshold, the target operating parameter of the target component is calculated based on the second value and the third value.
[0096] In some embodiments, the target perception intensity includes a first perception intensity or a second perception intensity, the perception intensity indicated by the second perception intensity is greater than the perception intensity indicated by the first perception intensity; the first numerical value corresponding to the first perception intensity is less than the first numerical value corresponding to the second perception intensity; the second numerical value corresponding to the first perception intensity is greater than the second numerical value corresponding to the second perception intensity; and the third numerical value corresponding to the first perception intensity is less than the third numerical value corresponding to the second perception intensity.
[0097] In some embodiments, the target perception intensity indicates that the electronic device is in a non-perception scenario, and the relevant numerical values include a second numerical value and a third numerical value that characterize the efficiency of improving the operating parameters of the target component; the operating parameter determination unit 403 is used to determine the target operating parameters of the target component according to the relevant numerical value of the target component corresponding to the target perception intensity. Specifically, the method may include: the operating parameter determination unit 403 is used to calculate the target operating parameters of the target component based on the second numerical value and the third numerical value.
[0098] In some embodiments, Figure 4 The operating parameter adjustment device shown may also include an operating parameter control unit ( Figure 4 (not shown) An operating parameter control unit is configured to control the target component to operate with target operating parameters within a time window of the target component corresponding to the target perception intensity.
[0099] In some embodiments, the operating parameter determination unit 403 is used to calculate the target operating parameters of the target component based on the second value and the third value, which may specifically include: the operating parameter determination unit 403 is used to multiply the second value by the current operating parameter of the target component to obtain a first calculated value; divide the current task load by the third value to obtain a second calculated value; divide the second calculated value by the maximum operating parameter of the target component to obtain a third calculated value; and multiply the first calculated value by the third calculated value to obtain the target operating parameter of the target component.
[0100] In some embodiments, the perception intensity determination unit 402 is used to determine the target perception intensity based on the perception information, which may specifically include: the perception intensity determination unit 402 is used to use a perception classifier to process the perception information to obtain the target perception intensity; wherein the number of perception classifiers is at least one.
[0101] In some embodiments, there are multiple perception separators; the perception intensity determination unit 402 is used to process the perception information using the perception classifier to obtain the target perception intensity, which may specifically include: the perception intensity determination unit 402 is used to input the perception information into each perception classifier respectively to obtain the perception intensity corresponding to each perception classifier; and the perception intensity with the highest frequency among the perception intensities corresponding to each perception classifier is used as the target perception intensity.
[0102] See also Figure 5 , Figure 5 This is a structural block diagram of the electronic device disclosed in the embodiment of this application. Figure 5 The electronic device shown may include a processor 501 and a memory 502 coupled to the processor 501 , wherein the memory 502 may store one or more computer programs.
[0103] The processor 501 may include one or more processing cores. The processor 501 utilizes various interfaces and circuits to connect various components within the electronic device. It executes instructions, programs, code sets, or instruction sets stored in the memory 502, as well as accesses data stored in the memory 502, to perform various functions of the electronic device and process data. Optionally, the processor 501 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 501 and may be implemented separately via a communication chip.
[0104] The memory 502 may include a random access memory (RAM) or a read-only memory (ROM). The memory 502 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device during use.
[0105] In the embodiment of the present application, the processor 501 also has the following functions:
[0106] Collecting user perception information; wherein the perception information includes at least one of the following: tactile related information, auditory related information, and visual related information;
[0107] Determine the target perception intensity based on the perception information;
[0108] According to the relevant values of the target component corresponding to the target perception intensity, the target operating parameters of the target component are determined, and the target operating parameters of the target component include any one of the following: target frequency of the CPU, target frequency of the GPU, and target bandwidth of the memory.
[0109] In the embodiment of the present application, the target perception strength indicates that the electronic device is in a perception scenario, and the relevant values include a first value representing an operating parameter of the target component, and a second value and a third value representing an improvement efficiency of the operating parameter of the target component. The processor 501 further has the following functions:
[0110] If the current task load is greater than the task load threshold, using the first value as the target operating parameter of the target component;
[0111] If the current task load is less than or equal to the task load threshold, the target operating parameter of the target component is calculated according to the second value and the third value.
[0112] In an embodiment of the present application, the target perception intensity includes a first perception intensity or a second perception intensity, the perception intensity indicated by the second perception intensity is greater than the perception intensity indicated by the first perception intensity; the first numerical value corresponding to the first perception intensity is less than the first numerical value corresponding to the second perception intensity; the second numerical value corresponding to the first perception intensity is greater than the second numerical value corresponding to the second perception intensity; and the third numerical value corresponding to the first perception intensity is less than the third numerical value corresponding to the second perception intensity.
[0113] In an embodiment of the present application, if the target perception strength indicates that the electronic device is in a non-perception scenario, the relevant values include a second value and a third value representing the efficiency of improving the operating parameter of the target component; and the processor 501 further has the following functions:
[0114] A target operating parameter of the target component is calculated based on the second value and the third value.
[0115] In the embodiment of the present application, the processor 501 also has the following functions:
[0116] Within the time window of the target component corresponding to the target perception intensity, the target component is controlled to operate with the target operating parameters.
[0117] In the embodiment of the present application, the processor 501 also has the following functions:
[0118] multiplying the second value by the current operating parameter of the target component to obtain a first calculated value;
[0119] Dividing the current task load by the third value to obtain a second calculated value;
[0120] Dividing the second calculated value by the maximum operating parameter of the target component to obtain a third calculated value;
[0121] The target operating parameter of the target component is obtained by multiplying the first calculated value by the third calculated value.
[0122] In the embodiment of the present application, the processor 501 also has the following functions:
[0123] The perception information is processed using a perception classifier to obtain a target perception strength; wherein the number of the perception classifier is at least one.
[0124] In the embodiment of the present application, there are multiple sensor separators; the processor 501 also has the following functions:
[0125] Input the perception information into each perception classifier respectively to obtain the perception strength corresponding to each perception classifier;
[0126] Among the perception intensities corresponding to the various perception classifiers, the perception intensity with the highest occurrence frequency is taken as the target perception intensity.
[0127] An embodiment of the present application discloses a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements part or all of the steps performed by the electronic device in the above embodiment.
[0128] An embodiment of the present application discloses a computer program product. When the computer program product is run on a computer, the computer executes part or all of the steps executed by the electronic device in the above embodiment.
[0129] An embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes some or all of the steps executed by the electronic device in the above embodiment.
[0130] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0131] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website, a computer, a server, or a data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server or a data center that includes one or more available media integrations. Available media can be magnetic media, (e.g., floppy disk, magnetic disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state disk Solid State Disk (SSD)), etc.
[0132] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0133] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0134] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0135] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0137] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adjusting operating parameters, characterized in that: include: Collecting user perception information; wherein the perception information includes at least one of the following: tactile related information, auditory related information, and visual related information; determining a target perception intensity based on the perception information; Determining a target operating parameter of the target component according to a relevant value of the target component corresponding to the target perception intensity, where the target operating parameter of the target component includes any one of the following: a target frequency of a CPU, a target frequency of a GPU, and a target bandwidth of a memory; The relevant values include a second value and a third value that characterize the efficiency of improving the operating parameters of the target component, and the target operating parameters are calculated based on the second value, the third value, and the current task load of the target component.
2. The method according to claim 1, characterized in that The target perception strength indicates that the electronic device is in a perception scenario, the relevant values include a first value representing an operating parameter of the target component, the second value, and the third value; and determining the target operating parameter of the target component according to the relevant value of the target component corresponding to the target perception strength includes: If the current task load is greater than the task load threshold, using the first value as the target operating parameter of the target component; If the current task load is less than or equal to the task load threshold, the target operating parameter of the target component is calculated according to the second value and the third value.
3. The method according to claim 2, characterized in that The target perceived intensity includes a first perceived intensity or a second perceived intensity, wherein the perceived intensity indicated by the second perceived intensity is greater than the perceived intensity indicated by the first perceived intensity; A first value corresponding to the first perception intensity is smaller than a first value corresponding to the second perception intensity; a second value corresponding to the first perception intensity is larger than a second value corresponding to the second perception intensity; The third value corresponding to the first perception intensity is smaller than the third value corresponding to the second perception intensity.
4. The method according to claim 1, wherein The target perception strength indicates that the electronic device is in a non-perception scenario, the relevant values include the second value and the third value, and determining the target operating parameter of the target component according to the relevant value of the target component corresponding to the target perception strength includes: A target operating parameter of the target component is calculated according to the second value and the third value.
5. The method according to claim 1, characterized in that After determining the target operating parameter of the target component according to the relevant value of the target component corresponding to the target perception intensity, the method further includes: Within a time window of the target component corresponding to the target perception intensity, the target component is controlled to operate with the target operating parameters.
6. The method according to claim 2 or 4, characterized in that Calculating the target operating parameter of the target component according to the second value and the third value includes: multiplying the second value by the current operating parameter of the target component to obtain a first calculated value; Dividing the current task load by the third value to obtain a second calculated value; dividing the second calculated value by the maximum operating parameter of the target component to obtain a third calculated value; The target operating parameter of the target component is obtained by multiplying the first calculated value by the third calculated value.
7. The method according to any one of claims 1 to 5, characterized in that Determining the target perception intensity according to the perception information includes: The perception information is processed using a perception classifier to obtain a target perception intensity; wherein the number of the perception classifier is at least one.
8. The method according to claim 7, characterized in that There are multiple perception classifiers, and processing the perception information using the perception classifiers to obtain target perception strength includes: Inputting the perception information into each perception classifier respectively to obtain the perception strength corresponding to each perception classifier; Among the perception intensities corresponding to the various perception classifiers, the perception intensity with the highest occurrence frequency is taken as the target perception intensity.
9. An operating parameter adjustment device, characterized in that: include: A perception information collection unit, configured to collect user perception information; wherein the perception information includes at least one of the following: tactile-related information, auditory-related information, and visual-related information; a perception intensity determination unit, configured to determine a target perception intensity based on the perception information; an operating parameter determining unit, configured to determine a target operating parameter of the target component according to a relevant value of the target component corresponding to the target perception intensity, where the target operating parameter of the target component includes any one of the following: a target frequency of a CPU, a target frequency of a GPU, and a target bandwidth of a memory; The relevant values include a second value and a third value that characterize the efficiency of improving the operating parameters of the target component, and the target operating parameters are calculated based on the second value, the third value, and the current task load of the target component.
10. An electronic device, characterized in that: include: a memory storing executable program code; and a processor coupled to the memory; The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having executable program code stored thereon, characterized in that: When the executable program code is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Self-adaptive adjusting method and device of system parameter, terminal equipment and storage medium
CN107656774A