CN111831510A - 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 PDFInfo
- Publication number
- CN111831510A CN111831510A CN202010668053.6A CN202010668053A CN111831510A CN 111831510 A CN111831510 A CN 111831510A CN 202010668053 A CN202010668053 A CN 202010668053A CN 111831510 A CN111831510 A CN 111831510A
- Authority
- CN
- China
- Prior art keywords
- temperature
- target
- threshold
- control
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring 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)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (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
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for function control, 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 a crucial role in the operational performance and the 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 an embodiment of the present application provides a method for regulating 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 performing 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 apparatus, 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 flow chart 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 be closed, for example, exiting from the application currently running by the user, and causes an extremely poor use experience for the user. Based on this, in order to solve the defects that the safety compliance policy corresponding to the case temperature preset by the temperature safety test is called according to the battery temperature in the actual use process in the related art, and the safety compliance policy is easily triggered by mistake and interferes with the normal use of the user, a first embodiment of the present application provides a function regulating method, for example, fig. 1 is a basic flow chart of the function regulating method provided in this embodiment, and the function regulating method includes the following steps:
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 actually be triggered by mistake when a certain safety temperature margin exists, based on which, 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 described that, in this embodiment, when the first temperature difference is greater than the preset temperature difference threshold, it is described that the current temperature of the motherboard is higher, and the electronic device is in a heavy-load operation scenario, although there is a certain safety 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 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, in the safety test process, only one safety test temperature threshold may be set, and then the system function to be shut down may be configured correspondingly 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, 30s), 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 used as a re-judgment measure to avoid accidental errors 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 a common operation scene currently, and the original temperature control threshold value, namely the safety test temperature threshold value, is regulated 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 this 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 length 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 battery temperature reaches the temperature control threshold, the function control policy that needs to be called currently is obtained, as shown in fig. 2, which is a schematic diagram of a mapping relationship between a safety test temperature and a function regulation strategy provided in this embodiment, after the safety test, a function regulating strategy can be correspondingly configured according to each safety test temperature threshold, for example, the electronic device is controlled to turn off the fill light at 47 ℃, reduce the screen brightness and turn off the WiFi hotspot at 49 ℃, turn on the flight mode and clear background applications at 52 ℃, turn off the upper layer of the system at 75 ℃, turn off the bottom layer of the system at 85 ℃, since the temperature control threshold of the present embodiment is obtained based on the safety test temperature compensation, in combination with the corresponding relationship between the temperature control threshold and the safety test temperature, and determining the function regulation strategy corresponding to each temperature control threshold value according to the mapping relation between the safety test temperature and the function regulation strategy.
In some embodiments of this 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 function regulation and control strategy preset 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 function to be regulated and controlled and the corresponding regulation and control mode may be determined by combining the temperature control target under the temperature control threshold and all currently started functions without presetting the existing function regulation and control strategy, and then the function regulation and control strategy may be generated in real time based on the function to be regulated and control and the corresponding regulation and control mode. 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 display the brightness reduction, 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 the preset temperature (e.g. 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:
and step 303, continuously regulating and controlling the system function according to the enhanced function regulation and control strategy.
Specifically, in practical applications, under the influence of objective factors, the invoked 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 present embodiment further monitors the battery temperature 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 decreased to the expected temperature, or the temperature decrease speed is slow, or the temperature is rapidly increased after being decreased), the present embodiment further strengthens the function regulation and control strategy invoked before, and generates 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 function regulation and control strategy currently is to close more applications, the effect of regulating and controlling the system function can be enhanced, and the heat emission of the electronic product is effectively reduced.
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:
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.
And step 402, 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, 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 two detected temperature differences are 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.
And 405, when the battery temperature reaches a target temperature control threshold, determining a target function regulating strategy corresponding to the target temperature control threshold.
Specifically, the function regulation and control 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, wherein 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 set as the actual temperature control threshold when the safety regulation temperature threshold is reduced under a heavy load operation scene, then a function regulation and control strategy is called by taking the temperature control threshold as the 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 a battery temperature and a 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 multistage 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 length 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 greater than the temperature difference threshold value, the safety test temperature threshold value is set as the 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 device 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, the temperature control effect is evaluated 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 regulatory 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 brevity 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 is not described herein again.
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 mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, 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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
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 above 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 related descriptions of other embodiments.
In view of the above description of the method, apparatus and computer-readable storage medium for function control provided by the present application, those skilled in the art will appreciate that there are variations from the detailed description to the specific embodiments and that the application scope according to the concepts of the embodiments of the present application.
Claims (10)
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;
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.
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 carrying out 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 modulation 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 the target temperature control threshold;
and generating the target function regulation strategy by combining the function to be regulated and the regulation mode.
7. The method according to any one of claims 1 to 6, wherein after the controlling the system function according to the target function controlling strategy, the method further comprises:
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.
8. A function regulating 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 performing 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.
9. 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 configured 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 7.
10. 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 7.
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 true CN111831510A (en) | 2020-10-27 |
CN111831510B 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) |
Cited By (1)
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 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007306669A (en) * | 2006-05-09 | 2007-11-22 | Fuji Electric Systems Co Ltd | Power stabilization system employing power storage unit |
CN105259951A (en) * | 2015-11-15 | 2016-01-20 | 科大智能电气技术有限公司 | Intelligent temperature controller and intelligent temperature controller system applied to power distribution cabinet temperature monitoring |
CN107396591A (en) * | 2016-05-16 | 2017-11-24 | 中兴通讯股份有限公司 | A kind of heat dissipating method and terminal |
CN107702278A (en) * | 2017-09-11 | 2018-02-16 | 美的集团武汉制冷设备有限公司 | Air-conditioning system, human body thermal source detection method and computer-readable recording medium |
JP2018200244A (en) * | 2017-05-29 | 2018-12-20 | 三菱マテリアル株式会社 | Abnormal temperature detection circuit |
CN110500717A (en) * | 2019-08-19 | 2019-11-26 | 珠海格力电器股份有限公司 | Air conditioning air volume correction control method, device and equipment and air conditioning system |
CN111256833A (en) * | 2020-02-19 | 2020-06-09 | 北京都是科技有限公司 | Body temperature detection method, system and device and thermal infrared image processor |
-
2020
- 2020-07-13 CN CN202010668053.6A patent/CN111831510B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007306669A (en) * | 2006-05-09 | 2007-11-22 | Fuji Electric Systems Co Ltd | Power stabilization system employing power storage unit |
CN105259951A (en) * | 2015-11-15 | 2016-01-20 | 科大智能电气技术有限公司 | Intelligent temperature controller and intelligent temperature controller system applied to power distribution cabinet temperature monitoring |
CN107396591A (en) * | 2016-05-16 | 2017-11-24 | 中兴通讯股份有限公司 | A kind of heat dissipating method and terminal |
JP2018200244A (en) * | 2017-05-29 | 2018-12-20 | 三菱マテリアル株式会社 | Abnormal temperature detection circuit |
CN107702278A (en) * | 2017-09-11 | 2018-02-16 | 美的集团武汉制冷设备有限公司 | Air-conditioning system, human body thermal source detection method and computer-readable recording medium |
CN110500717A (en) * | 2019-08-19 | 2019-11-26 | 珠海格力电器股份有限公司 | Air conditioning air volume correction control method, device and equipment and air conditioning system |
CN111256833A (en) * | 2020-02-19 | 2020-06-09 | 北京都是科技有限公司 | Body temperature detection method, system and device and thermal infrared image processor |
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN111831510B (en) | 2022-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109921149A (en) | Battery thermal management control method, device, computer equipment and storage medium | |
US9003213B2 (en) | Battery discharging method | |
WO2021042245A1 (en) | Method and apparatus for controlling heat dissipation device | |
CN111831510B (en) | Function regulation and control method and device and computer readable storage medium | |
CN110429897A (en) | The data processing method and device of motor overload detection | |
CN109185208B (en) | Fan speed regulation method and related device | |
CN112463367A (en) | Method and system for optimizing performance of storage system, electronic equipment and storage medium | |
WO2016197651A1 (en) | Method for controlling heating, and terminal | |
CN116632388A (en) | Method and device for adjusting battery charge and storage medium | |
CN114003464B (en) | Parameter self-adaption method, server, equipment and medium according to temperature change | |
CN107357654A (en) | A kind of CPU overclockings working state control method and device | |
CN108307060A (en) | Electronic equipment, falling protection method and Related product | |
CN110384394B (en) | Constant humidity control method and system for over-temperature steam box, electronic equipment and storage medium | |
US11194381B2 (en) | Techniques for controlling processor performance states | |
CN110581920A (en) | Equipment operation mode control method and device | |
CN111694713B (en) | Application operation optimization method and device and computer readable storage medium | |
CN115977985A (en) | Fan control method and device, electronic equipment and storage medium | |
CN112306806B (en) | Electronic equipment control method and device and electronic equipment | |
CN110838740A (en) | Charging current control method and device | |
CN112685258A (en) | Control method and device and electronic equipment | |
CN108321897B (en) | Charging control method based on temperature balance, mobile terminal and storage medium | |
CN111273853A (en) | Vehicle EEPROM data storage method, device, equipment and medium | |
CN116093885B (en) | Low-voltage protection method and device applied to model airplane electronic speed regulator | |
US11307629B2 (en) | Power limit alterations of component types | |
CN117130464A (en) | Electronic equipment power consumption control method and device, computer 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 |