CN111831510B - Function regulation and control method and device and computer readable storage medium - Google Patents

Function regulation and control method and device and computer readable storage medium Download PDF

Info

Publication number
CN111831510B
CN111831510B CN202010668053.6A CN202010668053A CN111831510B CN 111831510 B CN111831510 B CN 111831510B CN 202010668053 A CN202010668053 A CN 202010668053A CN 111831510 B CN111831510 B CN 111831510B
Authority
CN
China
Prior art keywords
temperature
target
control
threshold
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010668053.6A
Other languages
Chinese (zh)
Other versions
CN111831510A (en
Inventor
裴林
颜龙平
李明阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010668053.6A priority Critical patent/CN111831510B/en
Publication of CN111831510A publication Critical patent/CN111831510A/en
Application granted granted Critical
Publication of CN111831510B publication Critical patent/CN111831510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides a function regulation and control method, a function regulation and control device and a computer readable storage medium, wherein the function regulation and control method comprises the following steps: when the battery temperature reaches a target temperature lower than a safety test temperature threshold, acquiring the temperature difference between the battery temperature and the mainboard temperature; when the temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value; when the battery temperature reaches a target temperature control threshold, determining a function regulation strategy corresponding to the target temperature control threshold; and regulating and controlling the system function according to the function regulation and control strategy. By implementing the scheme, before the safety temperature threshold set by the safety test is triggered, the current operation scene is identified through the temperature difference between the battery and the mainboard, the safety temperature threshold is compensated under the common operation scene to obtain the actual temperature control threshold, and then the function regulation strategy is called by taking the temperature control threshold as the reference, so that the accuracy of system function regulation can be improved, and the interference of temperature control on the normal use of a user is reduced.

Description

Function regulation and control method and device and computer readable storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for regulating and controlling functions, and a computer-readable storage medium.
Background
With the rapid development of electronic technology, terminal devices such as mobile phones, tablet computers and intelligent wearable devices are increasingly popularized in the life of users. In practical applications, the control of the heat generation of the terminal plays an important role in the operational performance and the use safety of the terminal.
At present, in the related art, temperature safety regulations are usually tested when a terminal leaves a factory, corresponding safety compliance strategies are respectively set for different terminal temperatures, and corresponding functions can be turned off at different temperatures by calling the safety compliance strategies, so that heat generated by the functions is reduced, and the temperature in the using process of the terminal meets the safety regulation temperature requirement. However, in the actual safety test process, the terminal housing temperature is usually used for testing, while the temperature identified in the actual terminal use process is the battery temperature, and since a certain temperature difference exists between the battery temperature and the housing temperature, if the preset safety compliance policy corresponding to the housing temperature is called by the battery temperature, the safety policy may be triggered by mistake, which affects the normal use of the user.
Disclosure of Invention
The embodiment of the application provides a function regulating method, a function regulating device and a computer readable storage medium, which can at least solve the problems that in the related art, a safety compliance strategy corresponding to the shell temperature preset by a temperature safety test is called according to the battery temperature in the actual use process, so that the safety compliance strategy is easily triggered by mistake and the normal use of a user is interfered.
A first aspect of the embodiments of the present application provides a method for regulating and controlling a function, including:
when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold, acquiring a first temperature difference between the battery temperature and the mainboard temperature;
when the first temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value;
determining a target function regulation strategy corresponding to the target temperature control threshold when the battery temperature reaches the target temperature control threshold;
and regulating and controlling the system function according to the target function regulating and controlling strategy.
A second aspect of the embodiments of the present application provides a function regulating device, including:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a first temperature difference between the battery temperature and the mainboard temperature when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold;
the compensation module is used for carrying out temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value when the first temperature difference is smaller than a preset temperature difference threshold value;
the determining module is used for determining a target function regulating strategy corresponding to the target temperature control threshold when the battery temperature reaches the target temperature control threshold;
and the regulation and control module is used for regulating and controlling the system function according to the target function regulation and control strategy.
A third aspect of embodiments of the present application provides an electronic device, including: the function regulating method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the function regulating method provided in the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the function regulating method provided in the first aspect of the embodiments of the present application.
As can be seen from the above, according to the function control method, the function control device, and the computer-readable storage medium provided in the present application, when the battery temperature reaches the target temperature lower than the preset safety test temperature threshold, the first temperature difference between the battery temperature and the motherboard temperature is obtained; when the first temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value; when the battery temperature reaches a target temperature control threshold, determining a target function regulation strategy corresponding to the target temperature control threshold; and regulating and controlling the system function according to the target function regulating and controlling strategy. Through the implementation of the scheme, before the safety temperature threshold set by the safety test is triggered, the current operation scene is identified through the temperature difference between the battery and the mainboard, the safety temperature threshold is compensated under the common operation scene to obtain the actual temperature control threshold, and then the function regulation strategy is called by taking the temperature control threshold as the reference, so that the accuracy of system function regulation is effectively improved, and the interference of temperature control on the normal use of a user is reduced.
Drawings
Fig. 1 is a schematic basic flowchart of a function regulating method according to a first embodiment of the present disclosure;
fig. 2 is a schematic diagram of a mapping relationship between a safety test temperature and a function regulation and control strategy provided in the first embodiment of the present application;
fig. 3 is a schematic flow chart of a method for enhancing function control according to a first embodiment of the present disclosure;
fig. 4 is a detailed schematic flow chart of a function regulating method according to a second embodiment of the present application;
FIG. 5 is a schematic diagram illustrating program modules of a function control apparatus according to a third embodiment of the present disclosure;
FIG. 6 is a schematic diagram of program modules of another function control apparatus according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
At present, in order to ensure that an electronic device can pass the temperature safety requirements of various countries, the safety test is usually performed based on the shell temperature, and then the function required to be correspondingly closed is configured under different safety temperature thresholds. However, in the actual use process, the temperature identification is to detect the battery temperature through the NTC thermistor, and a certain temperature difference exists between the battery temperature detected by the NTC thermistor and the case temperature, so that when the battery temperature reaches the safety temperature threshold set by the safety test, the case temperature does not reach the temperature actually, that is, a certain safety temperature margin still exists in the electronic device in the current application scene, which causes an error to trigger the system function to close, for example, quitting the application currently running by the user, and the like, and causes extremely poor use experience for the user. Based on this, in order to solve the defect that the safety compliance policy corresponding to the case temperature preset by the temperature safety test is called by the battery temperature in the actual use process in the related art, so that the safety compliance policy is easily triggered by mistake and the normal use of the user is disturbed, a first embodiment of the present application provides a function regulation method, as shown in fig. 1, which is a basic flowchart of the function regulation method provided in this embodiment, and the function regulation method includes the following steps:
step 101, when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold, acquiring a first temperature difference between the battery temperature and the mainboard temperature.
Specifically, in this embodiment, the battery temperature of the electronic device during use is detected in real time, where the safety test temperature threshold is a target temperature value (e.g., 47 ℃) that is set corresponding to the trigger function during the safety test, and the target temperature is a certain temperature (e.g., 43 ℃) that is lower than the safety test temperature threshold, and in the use of the electronic device, the battery and the motherboard are heated, so that the battery temperature and the motherboard temperature are acquired before the battery temperature reaches the safety test temperature threshold, and the temperature difference between the battery temperature and the motherboard temperature is calculated.
And 102, when the first temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value.
Specifically, in this embodiment, the temperature difference between the battery temperature and the motherboard temperature is compared with a preset temperature difference threshold (for example, 4 ℃), and if the temperature difference between the battery temperature and the motherboard temperature is smaller than the temperature difference threshold, it is indicated that the temperatures of the battery and the motherboard are relatively close, and the current operation scene of the electronic device is a common operation scene, that is, the system load is not high. In a common operation scenario, since the safety test temperature threshold is used as the temperature control threshold, the function regulation may be triggered by mistake when a certain safety temperature margin exists, and based on this, the present embodiment performs temperature compensation on the basis of the safety test temperature threshold, that is, an increment temperature is added to the safety test temperature threshold to obtain the target temperature control threshold, where the safety test temperature is 47 ℃ for example, the increment temperature may be 4 ℃, that is, the temperature control threshold for actually performing the function regulation is 51 ℃.
In addition, it should be further noted that, when the first temperature difference is greater than the preset temperature difference threshold, this embodiment indicates that the current motherboard temperature is higher, and the electronic device is in a heavy-load operation scenario, although there is a certain safety regulation temperature margin in the battery temperature, it is still necessary to perform system function regulation to reduce the temperature of the electronic motherboard, and then the safety regulation test temperature threshold may be directly used as the target temperature control threshold.
In some embodiments of this embodiment, the safety test temperature threshold comprises a plurality of safety test temperature thresholds, and the plurality of safety test temperature thresholds are sequentially increased. Correspondingly, when the battery temperature reaches the target temperature that is less than preset safety test temperature threshold, obtain the first difference in temperature of battery temperature and mainboard temperature and include: when the battery temperature reaches a target temperature lower than a first-level safety test temperature threshold in preset safety test temperature thresholds, a first temperature difference between the battery temperature and the mainboard temperature is obtained. The step of carrying out temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value comprises the following steps: and respectively carrying out temperature compensation on the multistage safety test temperature thresholds to obtain a plurality of corresponding target temperature control thresholds.
Specifically, in this embodiment, during the safety test, only one safety test temperature threshold may be set, and then the system function that needs to be shut down is configured only for the temperature threshold. In practical applications, in order to improve flexibility and effectiveness of temperature control of the electronic device, a plurality of safety test temperature thresholds may be set in this embodiment, for example, the safety test temperature thresholds may be divided into five levels, where the first level safety test temperature threshold is 47 ℃, the second, third, and fourth level safety test temperature thresholds are 49 ℃, 52 ℃, and 75 ℃, respectively, and the last level safety test temperature threshold may be 85 ℃. Further, in the using process of the electronic device, a target temperature before the first-level safety test temperature threshold is used as an initial judgment temperature, the temperature difference between the battery and the main board is obtained at the temperature, and then when the electronic device is determined to be in a common operation scene through the temperature difference, the temperature compensation is triggered to be respectively carried out on the safety test temperature thresholds to obtain corresponding multi-level temperature control thresholds, for example, the temperature control threshold corresponding to the first-level safety test temperature threshold is 51 ℃, and the temperature control threshold corresponding to the second-level safety test temperature threshold is 53 ℃. It should be noted that, in the embodiment, when performing temperature compensation, the incremental temperatures used for the safety test temperature thresholds of different levels may be the same value or different values, which is not limited in the embodiment.
In some embodiments of this embodiment, before performing temperature compensation on the safety test temperature threshold to obtain the target temperature control threshold, the method further includes: and after the battery temperature reaches the target temperature, the target time interval is long, and a second temperature difference between the battery temperature and the mainboard temperature is obtained.
Specifically, different from the foregoing embodiment in which only one temperature difference determination is adopted, the present embodiment proposes that two temperature difference determinations may be continuously performed before the battery temperature reaches the target temperature, where the two temperature differences are obtained at a certain interval (for example, 30 s), and when the second temperature difference is smaller than the preset temperature difference threshold, the step of performing temperature compensation on the safety test temperature threshold to obtain the target temperature control threshold is performed. The second temperature difference judgment is also taken as a re-judgment measure to avoid the accidental error existing in the previous judgment, and when the temperature difference detected twice is smaller than the temperature difference threshold value, the electronic device is determined to be in the common operation scene, and the original temperature control threshold value, namely the safety test temperature threshold value, is regulated and controlled to obtain a new temperature control threshold value.
It should be noted that, in the above-described embodiment, the target time spaced by the preset time period after the previous temperature difference determination is made is used as the trigger point for the subsequent temperature difference determination, but in other embodiments, it may be a certain temperature (e.g., 45 ℃) between the temperature (e.g., 43 ℃) at which the previous temperature difference determination is made and the safety test temperature threshold (e.g., 47 ℃).
Further, in some embodiments of the present embodiment, before obtaining the second temperature difference between the battery temperature and the motherboard temperature, the method further includes: acquiring the temperature rise rate of the battery temperature in the process of raising the temperature to the target temperature; the target time period is set based on the temperature rise rate.
Specifically, in this embodiment, the second temperature difference determination needs to be completed before the battery temperature reaches the safety test temperature threshold, and in this embodiment, it is considered that the temperature rise rates of the electronic device in different operation scenarios are different, so that if a fixed target duration is set, the second temperature difference determination may not be applicable in a part of operation scenarios, for example, the battery temperature may already exceed the safety test temperature threshold in the part of operation scenarios.
Further, in some embodiments of this embodiment, after obtaining the second temperature difference between the battery temperature and the motherboard temperature, the method further includes: and when at least one of the first temperature difference and the second temperature difference is greater than the temperature difference threshold value, setting the safety test temperature threshold value as a target temperature control threshold value.
Specifically, in this embodiment, if the temperature difference threshold is exceeded at least once in two temperature difference determinations, it can be said that the electronic device is in a heavy-load operation scene, and the safety test temperature threshold is directly used as the temperature control threshold, so as to perform function control in advance when the battery temperature has the safety temperature margin, and to meet the cooling requirement of the motherboard.
It should be further noted that, in this embodiment, it may also be determined whether the current battery temperature has exceeded the safety test temperature threshold when the target time length is reached; if yes, directly setting the safety test temperature threshold as a target temperature control threshold.
And 103, when the battery temperature reaches the target temperature control threshold, determining a target function regulating strategy corresponding to the target temperature control threshold.
Specifically, in this embodiment, when the temperature of the battery reaches the temperature control threshold, the function regulation and control strategy that needs to be called currently is obtained, as shown in fig. 2, which is a schematic diagram of a mapping relationship between the safety test temperature and the function regulation and control strategy provided in this embodiment, after the safety test, the function regulation and control strategy may be configured corresponding to each safety test temperature threshold, for example, the electronic device is controlled to turn off the fill light at 47 ℃, reduce screen brightness and turn off a WiFi hotspot at 49 ℃, turn on the flight mode and clear background application at 52 ℃, turn off the upper layer of the system at 75 ℃, and turn off the bottom layer of the system at 85 ℃.
In some embodiments of the present embodiment, determining the target function regulation strategy corresponding to the target temperature control threshold comprises: determining a function to be regulated and a corresponding regulation and control mode from all currently started functions based on a temperature control target corresponding to a target temperature control threshold; and generating a target function regulation strategy by combining the function to be regulated and the regulation mode.
Specifically, different from the method for presetting the corresponding function regulation and control strategy for each safety test temperature threshold in the foregoing embodiments, the preset function regulation and control strategy may be directly and correspondingly invoked according to the temperature control threshold, and in other embodiments, the current function regulation and control strategy may be combined with the temperature control target under the temperature control threshold and all currently started functions, instead of presetting the existing function regulation and control strategy, to determine the function to be regulated and control and the corresponding regulation and control mode, and then generate the function regulation and control strategy in real time based on the function to be regulated and control target and all currently started functions under the temperature control threshold. It should be noted that the temperature control target of the embodiment may be associated with a temperature value required to be adjusted downward, the function to be adjusted and controlled may include a display function, an application running function, and the like, and the adjustment and control manner may be a specific value required to reduce the display brightness, a specific application required to be cleaned in the background, and the like.
And 104, regulating and controlling the system function according to the target function regulating and controlling strategy.
Specifically, in the embodiment, the function regulation and control strategy is called based on the temperature control threshold compensated on the basis of the safety standard test temperature threshold, so that the accuracy of system function regulation and control is effectively improved, and the interference of temperature control on normal use of a user is reduced. In addition, after triggering the temperature regulation, if the battery temperature drops to a preset temperature (for example, 40 ℃), the system returns the temperature control threshold to the preset safety test temperature threshold again, and when the temperature rises to the target temperature before the safety test temperature threshold again, the above step 101 is executed again.
As shown in fig. 3, which is a schematic flow chart of the enhanced function control method provided in this embodiment, in some embodiments of this embodiment, after controlling the system function according to the target function control policy, the method further includes:
step 301, evaluating the temperature control effect by monitoring the battery temperature;
step 302, when the temperature control effect is lower than a preset effect threshold value, generating a function-enhanced regulation strategy based on a target function regulation strategy;
and step 303, continuously regulating and controlling the system function according to the enhanced function regulation and control strategy.
Specifically, in practical application, under the influence of objective factors, the called function regulation and control strategy does not necessarily have an expected temperature control effect, so that after the system function is regulated and controlled, the battery temperature is further monitored to track whether the current temperature control behavior is effective, and if the temperature control effect is not good (for example, the temperature cannot be reduced to the expected temperature, or the temperature is reduced slowly, or the temperature is reduced and then rapidly increased), the embodiment further strengthens the function regulation and control strategy called before, so as to generate a strengthened function regulation and control strategy, wherein the function regulation and control depth of the strengthened function regulation and control strategy is greater than that of the target function regulation and control strategy, for example, the function regulation and control strategy before is to close part of all applications running in the background, and the current strengthened function regulation and control strategy is to close more applications, so as to strengthen the function regulation and control effect of the system, and effectively reduce the heat generation of electronic products.
Based on the technical scheme of the embodiment of the application, when the battery temperature reaches the target temperature lower than the safety test temperature threshold, the temperature difference between the battery temperature and the mainboard temperature is obtained; when the temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value; when the battery temperature reaches a target temperature control threshold, determining a function regulation strategy corresponding to the target temperature control threshold; and regulating and controlling the system function according to the function regulation and control strategy. By implementing the scheme, before the safety temperature threshold set by the safety test is triggered, the current operation scene is identified through the temperature difference between the battery and the mainboard, the safety temperature threshold is compensated under the common operation scene to obtain the actual temperature control threshold, and then the function regulation strategy is called by taking the temperature control threshold as the reference, so that the accuracy of system function regulation can be improved, and the interference of temperature control on the normal use of a user is reduced.
The method in fig. 4 is a detailed method for regulating functions provided in the second embodiment of the present application, and the method for regulating functions includes:
step 401, when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold, acquiring a first temperature difference between the battery temperature and the mainboard temperature.
Specifically, in the use process of the electronic device, the battery is heated, and the mainboard is also heated, so that the battery temperature and the mainboard temperature are acquired before the battery temperature reaches the safety test temperature threshold, and the temperature difference between the battery temperature and the mainboard temperature is calculated.
Step 402, after the battery temperature reaches the target temperature, a target duration is set, and a second temperature difference between the battery temperature and the mainboard temperature is obtained.
Specifically, the present embodiment continuously performs two temperature difference determinations before the battery temperature reaches the target temperature, where the two temperature differences are acquired at a certain interval.
And 403, comparing the first temperature difference and the second temperature difference with a preset temperature difference threshold value respectively.
And step 404, when the first temperature difference and the second temperature difference are both smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value.
In this embodiment, the second temperature difference determination is used as a re-determination measure to avoid an accidental error in the previous temperature difference determination, and when the temperature difference detected twice is smaller than the temperature difference threshold, it is determined that the electronic device is currently in a common operation scene, and the original temperature control threshold, that is, the safety test temperature threshold, is regulated and controlled to obtain a new temperature control threshold.
In addition, when at least one of the first temperature difference and the second temperature difference is larger than the temperature difference threshold value, the electronic device is determined to be in a heavy-load operation scene, and the safety test temperature threshold value is set as a target temperature control threshold value.
Step 405, when the battery temperature reaches the target temperature control threshold, determining a target function regulation strategy corresponding to the target temperature control threshold.
Specifically, the function regulating strategy of this embodiment may include: turning off a light supplement lamp, reducing screen brightness, turning off a WiFi hotspot, turning on a flight mode, cleaning background applications and the like.
And 406, regulating and controlling the system function according to the target function regulating and controlling strategy, and evaluating the temperature control effect by monitoring the battery temperature.
Specifically, in practical application, under the influence of objective factors, the called function regulation and control strategy does not necessarily have an expected temperature control effect, so that the battery temperature is further monitored to track whether the current temperature control behavior is effective or not after the system function is regulated and controlled in the embodiment.
And 407, generating a strengthened function regulating and controlling strategy based on the target function regulating and controlling strategy when the temperature control effect is lower than a preset effect threshold value.
Specifically, in this embodiment, when the temperature control effect is not good, the function regulation and control strategy called before is further enhanced to generate an enhanced function regulation and control strategy, where the function regulation and control depth of the enhanced function regulation and control strategy is greater than that of the target function regulation and control strategy.
And step 408, continuously regulating and controlling the system function according to the enhanced function regulation and control strategy.
Specifically, the embodiment enhances the effect of system function regulation and control by enhancing the function regulation and control strategy, and effectively reduces the heat generation of the electronic product.
It should be understood that, the size of the serial number of each step in this embodiment does not mean the execution sequence of the step, and the execution sequence of each step should be determined by its function and inherent logic, and should not be limited uniquely to the implementation process of the embodiment of the present application.
The embodiment of the application discloses a function regulation and control method, wherein before a safety regulation temperature threshold set by a safety regulation test is triggered, a current operation scene is identified through the temperature difference between a battery and a mainboard, the safety regulation temperature threshold is compensated under a common operation scene to obtain an actual temperature control threshold, the safety regulation temperature threshold is reduced under a heavy load operation scene and is set as the actual temperature control threshold, then a function regulation and control strategy is called by taking the temperature control threshold as a reference, so that the accuracy of system function regulation and control can be improved, and the interference of temperature control on the normal use of a user is reduced; in addition, when the temperature control effect is not good, the function regulation and control strategy called before is further strengthened to generate a strengthened function regulation and control strategy so as to strengthen the function regulation and control effect of the system and effectively reduce the heat of the electronic product.
Fig. 5 is a functional regulation device according to a third embodiment of the present application, which can be applied to the functional regulation methods of the first and second embodiments. As shown in fig. 5, the function control device mainly includes:
the obtaining module 501 is configured to obtain a first temperature difference between the battery temperature and the motherboard temperature when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold;
the compensation module 502 is configured to perform temperature compensation on the safety test temperature threshold to obtain a target temperature control threshold when the first temperature difference is smaller than a preset temperature difference threshold;
a determining module 503, configured to determine a target function regulating and controlling strategy corresponding to a target temperature control threshold when the battery temperature reaches the target temperature control threshold;
and a regulating module 504, configured to regulate and control a system function according to the target function regulating and controlling policy.
In some embodiments of this embodiment, the safety test temperature threshold includes a multi-level safety test temperature threshold, and the multi-level safety test temperature threshold increases in sequence. Correspondingly, the obtaining module 501 is specifically configured to: when the battery temperature reaches a target temperature lower than a first-level safety test temperature threshold in preset safety test temperature thresholds, a first temperature difference between the battery temperature and the mainboard temperature is obtained. The compensation module 502 is specifically configured to: and respectively carrying out temperature compensation on the multi-stage safety test temperature thresholds to obtain a plurality of corresponding target temperature control thresholds.
In some embodiments of this embodiment, the obtaining module 501 is further configured to: before the safety test temperature threshold is subjected to temperature compensation to obtain a target temperature control threshold, after the battery temperature reaches the target temperature, a target time interval is set, and a second temperature difference between the battery temperature and the mainboard temperature is obtained. Correspondingly, the compensation module 502 is specifically configured to: and when the second temperature difference is smaller than the preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value.
As shown in fig. 6, another function regulating device provided in this embodiment is further provided, in some embodiments of this embodiment, the function regulating device further includes: a setting module 505, configured to: before acquiring a second temperature difference between the battery temperature and the mainboard temperature, acquiring the temperature rise rate of the battery temperature in the process of rising to the target temperature; the target time period is set based on the temperature rise rate.
Further, in some embodiments of the present embodiment, the setting module 505 is further configured to: after the second temperature difference between the battery temperature and the mainboard temperature is obtained, when at least one of the first temperature difference and the second temperature difference is larger than a temperature difference threshold value, the safety regulation test temperature threshold value is set as a target temperature control threshold value.
In some embodiments of this embodiment, the determining module 503 is specifically configured to: determining a function to be regulated and a corresponding regulation and control mode from all currently started functions based on a temperature control target corresponding to a target temperature control threshold; and generating a target function regulation strategy by combining the function to be regulated and the regulation mode.
Referring to fig. 6 again, in some embodiments of the present invention, the function controlling apparatus further includes: an evaluation module 506 and a generation module 507, wherein the evaluation module 506 is configured to: after the system function is regulated according to the target function regulation strategy, evaluating the temperature control effect by monitoring the battery temperature; the generating module 507 is configured to: when the temperature control effect is lower than a preset effect threshold value, generating a strengthened function regulation strategy based on the target function regulation strategy; wherein the function regulation depth of the enhanced function regulation strategy is greater than that of the target function regulation strategy. The regulation module 504 is further configured to: and continuously regulating and controlling the system function according to the enhanced function regulation and control strategy.
It should be noted that, the function control method in the first and second embodiments can be implemented based on the function control device provided in this embodiment, and it can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the function control device described in this embodiment may refer to the corresponding process in the foregoing method embodiment, and details are not described herein.
According to the function regulating device provided by the embodiment, when the battery temperature reaches the target temperature lower than the safety test temperature threshold, the temperature difference between the battery temperature and the mainboard temperature is obtained; when the temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value; when the battery temperature reaches a target temperature control threshold, determining a function regulation strategy corresponding to the target temperature control threshold; and regulating and controlling the system function according to the function regulation and control strategy. By implementing the scheme, before the safety temperature threshold set by the safety test is triggered, the current operation scene is identified through the temperature difference between the battery and the mainboard, the safety temperature threshold is compensated under the common operation scene to obtain the actual temperature control threshold, and then the function regulation strategy is called by taking the temperature control threshold as the reference, so that the accuracy of system function regulation can be improved, and the interference of temperature control on the normal use of a user is reduced.
Referring to fig. 7, fig. 7 is an electronic device according to a fourth embodiment of the present disclosure. The electronic device can be used for realizing the function regulation and control method in the embodiment. As shown in fig. 7, the electronic device mainly includes:
a memory 701, a processor 702, a bus 703 and a computer program stored on the memory 701 and executable on the processor 702, the memory 701 and the processor 702 being connected by the bus 703. When the processor 702 executes the computer program, the function control method in the foregoing embodiments is implemented. Wherein the number of processors may be one or more.
The Memory 701 may be a high-speed Random Access Memory (RAM) Memory or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 701 is used for storing executable program code, and the processor 702 is coupled with the memory 701.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 7.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the function regulating method in the foregoing embodiments. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned readable storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the above description of the function adjusting method, the function adjusting device and the computer readable storage medium provided by the present application, for those skilled in the art, according to the idea of the embodiment of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as limiting the present application.

Claims (9)

1. A method of functional regulation, comprising:
when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold, acquiring a first temperature difference between the battery temperature and the mainboard temperature;
when the first temperature difference is smaller than a preset temperature difference threshold value, performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value;
when the battery temperature reaches the target temperature control threshold, determining a target function regulation strategy corresponding to the target temperature control threshold;
regulating and controlling system functions according to the target function regulating and controlling strategy;
evaluating the temperature control effect by monitoring the temperature of the battery;
when the temperature control effect is lower than a preset effect threshold value, generating a strengthened function regulation strategy based on the target function regulation strategy; wherein the function regulation depth of the enhanced function regulation strategy is greater than that of the target function regulation strategy;
and continuously regulating and controlling the system function according to the enhanced function regulation and control strategy.
2. The functional regulation and control method of claim 1, wherein the safety test temperature threshold comprises a multi-level safety test temperature threshold, and the multi-level safety test temperature threshold increases in sequence;
when the battery temperature reaches the target temperature that is less than preset safety test temperature threshold, acquire the first difference in temperature of battery temperature and mainboard temperature includes:
when the battery temperature reaches a target temperature lower than a first-level safety test temperature threshold in preset safety test temperature thresholds, acquiring a first temperature difference between the battery temperature and the mainboard temperature;
the step of performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value comprises the following steps:
and respectively carrying out temperature compensation on the multistage safety test temperature thresholds to obtain a plurality of corresponding target temperature control thresholds.
3. The method for regulating and controlling functions of claim 1, wherein before the temperature compensation of the safety test temperature threshold value to obtain the target temperature control threshold value, the method further comprises:
after the battery temperature reaches the target temperature, the target time interval is carried out, and a second temperature difference between the battery temperature and the mainboard temperature is obtained;
and when the second temperature difference is smaller than a preset temperature difference threshold value, executing the step of performing temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value.
4. The method for controlling functions according to claim 3, wherein before obtaining the second temperature difference between the battery temperature and the motherboard temperature, the method further comprises:
acquiring the temperature rise rate of the battery temperature in the process of raising the temperature to the target temperature;
setting the target duration based on the rate of temperature rise.
5. The method for controlling functions according to claim 3, wherein after obtaining the second temperature difference between the battery temperature and the motherboard temperature, the method further comprises:
and when at least one of the first temperature difference and the second temperature difference is larger than the temperature difference threshold value, setting the safety test temperature threshold value as the target temperature control threshold value.
6. The method of claim 1, wherein determining the target function control strategy corresponding to the target temperature control threshold comprises:
determining a function to be regulated and a corresponding regulation and control mode from all the currently started functions based on a temperature control target corresponding to the target temperature control threshold;
and generating the target function regulation strategy by combining the function to be regulated and the regulation mode.
7. A function control device, comprising:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a first temperature difference between the battery temperature and the mainboard temperature when the battery temperature reaches a target temperature lower than a preset safety test temperature threshold;
the compensation module is used for carrying out temperature compensation on the safety test temperature threshold value to obtain a target temperature control threshold value when the first temperature difference is smaller than a preset temperature difference threshold value;
the determining module is used for determining a target function regulating strategy corresponding to the target temperature control threshold when the battery temperature reaches the target temperature control threshold;
the regulation and control module is used for regulating and controlling the system function according to the target function regulation and control strategy;
the evaluation module is used for evaluating the temperature control effect by monitoring the temperature of the battery;
the generation module is used for generating a strengthened function regulation strategy based on the target function regulation strategy when the temperature control effect is lower than a preset effect threshold value; wherein the function regulation depth of the enhanced function regulation strategy is greater than that of the target function regulation strategy;
and the regulation and control module is also used for continuously regulating and controlling the system function according to the strengthening function regulation and control strategy.
8. An electronic device, comprising: a memory, a processor, and a bus;
the bus is used for realizing connection communication between the memory and the processor;
the processor is to execute a computer program stored on the memory;
the processor, when executing the computer program, performs the steps of the method of any one of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010668053.6A 2020-07-13 2020-07-13 Function regulation and control method and device and computer readable storage medium Active CN111831510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010668053.6A CN111831510B (en) 2020-07-13 2020-07-13 Function regulation and control method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010668053.6A CN111831510B (en) 2020-07-13 2020-07-13 Function regulation and control method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111831510A CN111831510A (en) 2020-10-27
CN111831510B true CN111831510B (en) 2022-10-18

Family

ID=72900407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010668053.6A Active CN111831510B (en) 2020-07-13 2020-07-13 Function regulation and control method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111831510B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115866132A (en) * 2022-11-24 2023-03-28 Oppo广东移动通信有限公司 Electronic equipment, temperature control method and device and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4764982B2 (en) * 2006-05-09 2011-09-07 富士電機株式会社 Power stabilization system using power storage device
CN105259951A (en) * 2015-11-15 2016-01-20 科大智能电气技术有限公司 Intelligent temperature controller and intelligent temperature controller system applied to power distribution cabinet temperature monitoring
CN107396591B (en) * 2016-05-16 2020-08-07 南京中兴新软件有限责任公司 Heat dissipation method and terminal
JP2018200244A (en) * 2017-05-29 2018-12-20 三菱マテリアル株式会社 Abnormal temperature detection circuit
CN107702278B (en) * 2017-09-11 2020-05-22 美的集团武汉制冷设备有限公司 Air conditioning system, human body heat source detection method and computer readable storage medium
CN110500717B (en) * 2019-08-19 2021-04-23 珠海格力电器股份有限公司 Air conditioning air volume correction control method, device and equipment and air conditioning system
CN111256833B (en) * 2020-02-19 2022-05-24 北京都是科技有限公司 Body temperature detection method, system and device and thermal infrared image processor

Also Published As

Publication number Publication date
CN111831510A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
US20210034436A1 (en) Virtual Machine Scheduling Method and System
CN108980985B (en) Electric heater fault alarm method, electric heater fault alarm device, computer equipment and storage medium
CN111831510B (en) Function regulation and control method and device and computer readable storage medium
CN109412240A (en) A kind of method and apparatus adjusting charging current
US11482876B2 (en) Method, apparatus and system for controlling charging of a battery module
WO2016197651A1 (en) Method for controlling heating, and terminal
CN109388540B (en) Processing method and electronic equipment
CN109185208B (en) Fan speed regulation method and related device
CN112221146A (en) Temperature control method and device and computer readable storage medium
CN107153592B (en) Electronic device and power management method thereof
CN105354054A (en) Electronic product and adjusting method for performance parameter thereof
Jaiswal et al. Accurate Device Temperature Forecasting using Recurrent Neural Network for Smartphone Thermal Management
CN110611127B (en) Battery management method, device, storage medium and electronic equipment
CN116774056A (en) Method, system and computer readable storage medium for evaluating charge time of battery
CN107357654A (en) A kind of CPU overclockings working state control method and device
CN110384394B (en) Constant humidity control method and system for over-temperature steam box, electronic equipment and storage medium
CN112306806B (en) Electronic equipment control method and device and electronic equipment
KR101653720B1 (en) Home Appliance Identification Method based on Real Time Power Consumption Analysis
CN112965551A (en) Heating control method and device for loudspeaker
US11307629B2 (en) Power limit alterations of component types
CN111694713B (en) Application operation optimization method and device and computer readable storage medium
CN112731840B (en) Parameter adjusting method and device of electronic equipment and processor
CN117130464A (en) Electronic equipment power consumption control method and device, computer equipment and storage medium
CN116093885B (en) Low-voltage protection method and device applied to model airplane electronic speed regulator
CN115962494A (en) Dry burning detection method and system, stove, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant