Electronic equipment control method and device, equipment and storage medium

Through multiple temperature sensors, the temperature misjudgment of electronic devices is judged, the frequency of the central processor and the brightness of the screen are adjusted, and the problem of poor temperature control in the prior art is solved, and the accuracy of temperature acquisition and control effect are improved.

CN119200772APending Publication Date: 2024-12-27ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411126867.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the prior art, the temperature judgment error occurs when the temperature control of the electronic equipment is reduced due to the reduction of the sensitivity of the thermistor, which affects the control effect.

Method used

Multiple temperature sensors (including NTC thermistors and other types of temperature sensors) are used to collect temperatures in different areas, and the temperature error is judged by comparing the temperature difference or setting the threshold, and then adjusting the central processor frequency and screen brightness to reduce the temperature. .

Benefits of technology

It improves the accuracy and control effect of temperature acquisition of electronic equipment, avoids the problem of excessive temperature caused by misjudgment, and extends the service life of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200772A_ABST
    Figure CN119200772A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of equipment control, and provides an electronic equipment control method and device, equipment and a storage medium, applied to electronic equipment, the control method comprises the following steps: obtaining a first temperature of a first preset area of the electronic equipment; acquiring a second temperature of a second preset area of the electronic equipment; when the first temperature and the second temperature are both larger than or equal to the preset temperature threshold value, at least one of the frequency of the central processing unit and the screen brightness of the electronic equipment is turned down, so that the temperature control effect on the electronic equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device control technology, and in particular to a control method, device, equipment and storage medium for an electronic device. Background Art

[0002] At present, when electronic devices are used, the temperature of the electronic devices generally increases. When the temperature of the electronic devices is too high, it is easy to have an adverse effect on the user experience of the electronic devices. Based on this, it is necessary to control the temperature of the electronic devices.

[0003] In the related art, the temperature of the electronic device is generally determined by the resistance value of the thermistor provided on the electronic device. However, since the sensitivity of the thermistor decreases when the temperature is too high, it is easy to misjudge the temperature of the electronic device, resulting in poor temperature control effect of the electronic device. Summary of the invention

[0004] The main purpose of the present application is to provide a control method, device, equipment and storage medium for an electronic device, aiming to solve the technical problem of poor temperature control effect of the electronic device due to incorrect judgment of the temperature of the electronic device.

[0005] In a first aspect, the present application provides a control method of an electronic device, which is applied to the electronic device, and the control method includes:

[0006] Acquire a first temperature of a first preset area of ​​the electronic device;

[0007] Acquiring a second temperature of a second preset area of ​​the electronic device;

[0008] When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced.

[0009] In a second aspect, the present application provides a control device for an electronic device, the control device comprising:

[0010] A first temperature acquisition module, used to acquire a first temperature of a first preset area of ​​the electronic device;

[0011] A second temperature acquisition module, used to acquire a second temperature of a second preset area of ​​the electronic device;

[0012] The control module is used to reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device when the first temperature and the second temperature are both greater than or equal to a preset temperature threshold.

[0013] In a third aspect, the present application provides an electronic device, the electronic device comprising a memory and a processor;

[0014] The memory is used to store computer programs;

[0015] The processor is used to execute the computer program and implement the steps of the control method of the electronic device as described above when executing the computer program.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the control method of the electronic device as described above are implemented.

[0017] The present application provides a control method, apparatus, device and storage medium of an electronic device. The electronic device is provided with a first temperature sensor and a second temperature sensor. The control method comprises: obtaining a first temperature of a first preset area of ​​the electronic device; obtaining a second temperature of a second preset area of ​​the electronic device; when the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing at least one of the frequency of a central processing unit and the screen brightness of the electronic device.

[0018] When the first temperature and the second temperature are both within the same temperature range, such as being greater than or equal to the preset temperature threshold, it can be determined that the electronic device has not misjudged the first temperature of the first preset area and the second temperature of the second preset area. Based on this, the electronic device can take corresponding cooling measures for the temperature of the electronic device based on the first temperature and the second temperature in combination with the preset temperature threshold, which is conducive to improving the temperature control effect of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 It is a flowchart of a control method of an electronic device provided in an embodiment of the present application;

[0021] Figure 2 It is a flowchart of a control method of an electronic device involved in the first embodiment of the present application;

[0022] Figure 3 is a schematic block diagram of a control device of an electronic device provided in an embodiment of the present application;

[0023] Figure 4It is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0026] The embodiments of the present application provide a control method, device, equipment and storage medium of an electronic device. The control method of the electronic device can be applied to an electronic device. The electronic device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, a wearable device and the like. Wearable devices may include smart bracelets, smart watches, near-eye display devices, and the like. Near-eye display devices may include augmented reality (AR) glasses, mixed reality (MR) glasses, AR helmets, MR helmets, and the like, without limitation. The control method of the electronic device can also be applied to a server, which can be a separate server or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and basic cloud computing services such as big data and artificial intelligence platforms.

[0027] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0028] See also Figure 1 , Figure 1 It is a flow chart of a control method of an electronic device provided in an embodiment of the present application. It should be noted that the control method of an electronic device provided in an embodiment of the present application can be used in electronic devices, which is not limited here.

[0029] like Figure 1 As shown, the control method of the electronic device includes steps S101 to S103.

[0030] S101: Acquire a first temperature of a first preset area of ​​an electronic device.

[0031] In some implementations, the electronic device may collect the first temperature of the first preset area to obtain the first temperature.

[0032] The first preset area may include any one of the preset components of the electronic device, such as the screen, battery, and central processing unit. Of course, it is not limited thereto, and the first preset area may include any one of the partial areas of the preset components, such as the middle area of ​​the battery, the edge area of ​​the battery, the middle area of ​​the screen, the edge area of ​​the screen, the inner area of ​​the central processing unit, the outer area of ​​the central processing unit, etc.

[0033] The first temperature of the first preset area acquired by the electronic device can be used by the electronic device to subsequently determine whether corresponding temperature control measures need to be taken.

[0034] S102: Acquire a second temperature of a second preset area of ​​the electronic device.

[0035] In some implementations, the electronic device may collect the second temperature of the second preset area to obtain the second temperature.

[0036] The second preset area may include any one of the preset components of the electronic device, such as the screen, battery, and central processing unit. Of course, it is not limited thereto, and the second preset area may include any one of the partial areas of the preset components, such as the middle area of ​​the battery, the edge area of ​​the battery, the middle area of ​​the screen, the edge area of ​​the screen, the inner area of ​​the central processing unit, the outer area of ​​the central processing unit, etc.

[0037] The second temperature of the second preset area acquired by the electronic device can be used by the electronic device to subsequently determine whether corresponding temperature control measures need to be taken in combination with the first temperature of the first preset area.

[0038] In some implementations, the second preset area and the first preset area may be distributed on different areas of the same preset component of the electronic device, or may be distributed on different preset components.

[0039] Take the example that the first preset area includes the internal area of ​​the central processing unit, and the second preset area includes the external area of ​​the central processing unit. When the difference between the first temperature of the internal area of ​​the central processing unit collected by the electronic device and the second temperature of the external area of ​​the central processing unit is less than or equal to the preset temperature difference threshold, or the first temperature and the second temperature are both greater than or equal to the preset temperature threshold, it can be determined that the electronic device has not misjudged the temperature of the internal area of ​​the central processing unit and the temperature of the external area of ​​the central processing unit. The preset temperature difference threshold can be pre-set or set by the user, which is not limited here.

[0040] Of course, it is not limited to this. For example, the first preset area includes the CPU and the second preset area is the battery. When the difference between the first temperature of the CPU and the second temperature of the battery collected by the electronic device is less than or equal to the preset temperature difference threshold, or the first temperature and the second temperature are both greater than or equal to the preset temperature threshold, it can be determined that the electronic device has not misjudged the temperature of the CPU and the temperature of the battery.

[0041] Based on this, when the electronic device collects the temperatures of different preset areas of the electronic device respectively, the second temperature and the first temperature can be reference temperatures to each other to determine whether the electronic device misjudges the first temperature or the second temperature, thereby improving the accuracy of temperature collection of the electronic device.

[0042] Exemplarily, the electronic device is provided with a first temperature sensor and a second temperature sensor. For example, when the first temperature sensor is provided on the electronic device, the electronic device can collect the temperature of the first preset area of ​​the electronic device through the first temperature sensor to obtain the first temperature. For example, when the second temperature sensor is provided on the electronic device, the electronic device can collect the temperature of the second preset area of ​​the electronic device through the second temperature sensor to obtain the second temperature.

[0043] The first temperature sensor and the second temperature sensor may include any one of a thermocouple temperature sensor, a thermal resistor temperature sensor, a semiconductor temperature sensor, etc. The thermal resistor temperature sensor includes, for example, a negative temperature coefficient (NTC) thermistor.

[0044] In some embodiments, the second temperature sensor and the first temperature sensor are temperature sensors of different types.

[0045] Take the example of a first temperature sensor being an NTC thermistor and a second temperature sensor being a temperature sensor other than the NTC thermistor. Since the sensitivity of the NTC thermistor is easily reduced when the temperature is too high, such as when the temperature exceeds 67°C, the resistance drop rate of the NTC thermistor will decrease, and it is easy for the NTC thermistor to misjudge the first temperature of the first preset area. Based on this, when the electronic device collects the first temperature through the NTC thermistor and collects the second temperature through a temperature sensor other than the thermistor temperature sensor, the electronic device can determine whether the first temperature is obtained by the NTC thermistor misjudging the temperature of the first preset area based on the second temperature. For example, when the difference between the first temperature and the second temperature is less than or equal to the preset temperature difference threshold, or when the first temperature and the second temperature are both greater than or equal to the preset temperature threshold, the electronic device can determine that the NTC thermistor has not misjudged the temperature of the first preset area.

[0046] Based on this, when the second temperature sensor and the first temperature sensor are temperature sensors of different types, the second temperature collected by the second temperature sensor and the first temperature collected by the first temperature sensor can be used as reference temperatures to each other, so as to determine whether the first temperature sensor misjudges the temperature of the first preset area, or to determine whether the second temperature sensor misjudges the temperature of the second preset area, thereby improving the accuracy of temperature collection of the electronic device.

[0047] When the temperature acquisition accuracy of the electronic device is improved, the subsequent electronic device takes corresponding temperature control measures according to the first temperature and the second temperature to control the temperature of the electronic device, which is beneficial to improving the temperature control effect of the electronic device.

[0048] S103: When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device.

[0049] For example, when the first temperature and the second temperature are both greater than or equal to the preset temperature threshold, the electronic device may determine that the temperature of the electronic device is too high and needs to be cooled down. The preset temperature threshold may be pre-set or user-set, which is not limited here.

[0050] In some embodiments, the electronic device can reduce the heat generated when the user uses the electronic device by reducing at least one of the frequency of the central processor and the screen brightness of the electronic device, thereby reducing the temperature rise of the electronic device. When the temperature rise of the electronic device is reduced to less than 0, the temperature of the electronic device can be reduced.

[0051] In this way, when the first temperature and the second temperature of the electronic device are both greater than or equal to the preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced, which is beneficial to improving the temperature control effect of the electronic device.

[0052] Exemplarily, the first temperature sensor includes an NTC thermistor, and the second temperature sensor includes a temperature sensor other than the NTC thermistor.

[0053] In some embodiments, when the first temperature collected by the NTC thermistor is greater than or equal to a preset temperature threshold, and the second temperature collected by a temperature sensor other than the NTC thermistor is greater than or equal to the preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced.

[0054] For example, based on the resistance change characteristics of the NTC thermistor, when the first temperature collected by the NTC thermistor and the second temperature collected by the temperature sensor other than the NTC thermistor are both greater than or equal to the preset temperature threshold, the electronic device can determine that the NTC thermistor and the temperature sensor other than the NTC thermistor have not misjudged the temperature of the electronic device. Accordingly, when the first temperature and the second temperature are both greater than or equal to the preset temperature threshold, the electronic device can determine that corresponding cooling measures need to be taken, and the electronic device can reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device to reduce the heat generated by the user when using the electronic device, reduce the temperature rise of the electronic device, and thus reduce the temperature of the electronic device.

[0055] Exemplarily, when the first temperature and the second temperature reach different preset temperature thresholds, the electronic device may take different cooling measures to reduce the temperature rise of the electronic device, thereby reducing the temperature of the electronic device.

[0056] In some embodiments, when the first temperature and the second temperature are both greater than or equal to a first preset temperature threshold, the frequency of the central processing unit is reduced to be less than or equal to the first preset frequency.

[0057] For example, when the first temperature and the second temperature of the electronic device rise to a value greater than or equal to a first preset temperature threshold, the electronic device can reduce the frequency of the central processing unit to a value less than or equal to the first preset frequency to reduce the heat generated when the central processing unit is running.

[0058] The first preset temperature threshold is 60°C, and the first preset frequency is the initial frequency of the CPU. For example, when the first temperature and the second temperature are both greater than or equal to 60°C, the electronic device can adjust the frequency of the central processing unit to a value less than or equal to the initial frequency of the central processing unit. Of course, it is not limited to this. The first preset temperature threshold and the first preset frequency can be pre-set or set by the user, which is not limited here.

[0059] For example, when the CPU adopts a big and small core architecture, when the electronic device adjusts the frequency of the CPU to less than or equal to the first preset frequency, the big and small core frequencies of the CPU can be adjusted down to less than or equal to the first preset frequency.

[0060] In this way, when the first temperature and the second temperature of the electronic device are both greater than or equal to the first preset temperature threshold, the heat generated by the central processing unit during operation can be reduced by adjusting the frequency of the central processing unit to less than or equal to the first preset frequency, which is beneficial to reducing the temperature rise of the electronic device, thereby reducing the temperature of the electronic device.

[0061] In some embodiments, when the first temperature and the second temperature are both greater than or equal to a second preset temperature threshold, the frequency of the central processing unit is reduced to less than or equal to the second preset frequency, and the screen brightness is reduced to less than or equal to the first preset brightness; the second preset temperature threshold is greater than the first preset temperature threshold, and the second preset frequency is less than the first preset frequency.

[0062] For example, when the first temperature and the second temperature of the electronic device continue to rise to the second preset temperature threshold, the electronic device can set the second preset frequency to be less than the first preset frequency, and adjust the frequency of the central processing unit to be less than or equal to the second preset frequency, so as to further reduce the heat generated when the central processing unit is running. Accordingly, the electronic device can limit the screen brightness, such as adjusting it to be less than or equal to the first preset brightness, so as to reduce the heat generated when the screen is displayed.

[0063] The second preset temperature threshold is 70°C, and the second preset frequency is the initial frequency of the CPU. The first preset brightness is the initial brightness of the screen. For example, when the first temperature and the second temperature are both greater than or equal to 70°C, the electronic device can adjust the frequency of the central processing unit to a value less than or equal to the initial frequency of the central processing unit. And reduce the screen brightness to less than or equal to the initial brightness of the screen Of course, it is not limited to this. The second preset temperature threshold, the second preset frequency and the first preset brightness can be preset or set by the user, which is not limited here.

[0064] For example, when the CPU adopts a big and small core architecture, when the electronic device adjusts the frequency of the CPU to less than or equal to the second preset frequency, the big and small core frequencies of the CPU can be adjusted down to less than or equal to the second preset frequency.

[0065] In this way, when the first temperature and the second temperature of the electronic device are both greater than or equal to the second preset temperature threshold, the heat generated by the central processing unit and the screen during the use of the electronic device can be reduced by reducing the frequency of the central processing unit to less than or equal to the second preset frequency, and reducing the screen brightness to less than or equal to the first preset brightness, which is beneficial to reducing the temperature rise of the electronic device, thereby reducing the temperature of the electronic device.

[0066] In some embodiments, when the first temperature and the second temperature are both greater than or equal to a third preset temperature threshold, the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness; the third preset temperature threshold is greater than the second preset temperature threshold, the third preset frequency is less than the second preset frequency, and the second preset brightness is less than the first preset brightness; wherein, when the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness, a preset prompt message is displayed, and the preset prompt message is used to prompt to switch the power mode of the electronic device to the power saving mode; and when a confirmation instruction for the preset prompt message is detected, the power mode of the electronic device is switched to the power saving mode.

[0067] For example, when the first temperature and the second temperature of the electronic device continue to rise to the third preset temperature threshold, the electronic device can set the third preset frequency to be less than the second preset frequency, and adjust the frequency of the central processing unit to be less than or equal to the third preset frequency, so as to further reduce the heat generated when the central processing unit is running. Correspondingly, the electronic device can set the second preset brightness to be less than the first preset brightness, and adjust the screen brightness to be less than or equal to the second and black brightness, so as to further reduce the heat generated when the screen is displayed.

[0068] The third preset temperature threshold is 80°C, and the third preset frequency is the initial frequency of the CPU. The second preset brightness is the initial brightness of the screen. For example, when the first temperature and the second temperature are both greater than or equal to 80°C, the electronic device can adjust the frequency of the central processing unit to a value less than or equal to the initial frequency of the central processing unit. And reduce the screen brightness to less than or equal to the initial brightness of the screen Of course, it is not limited thereto. The third preset temperature threshold, the third preset frequency and the second preset brightness may be preset or may be set by the user, which is not limited here.

[0069] When the CPU adopts a big and small core architecture, when the electronic device adjusts the frequency of the CPU to be less than or equal to the third preset frequency, the big and small core frequencies of the CPU can be adjusted down to be less than or equal to the third preset frequency.

[0070] For example, when the frequency of the central processing unit is adjusted down to less than or equal to the third preset frequency, the processing efficiency of the electronic device in executing the corresponding operation in response to the user's instruction will be reduced accordingly. Based on this, the electronic device can display a preset prompt message to prompt the electronic device to switch the power mode to the power saving mode. For example, in the power saving mode, the central processing unit can focus on processing the application currently operated by the user without processing the background application, which is conducive to improving the processing efficiency of the electronic device for the application currently operated by the user.

[0071] For example, when the screen brightness is reduced to less than or equal to the second preset brightness, the screen brightness is close to the screen brightness in the power saving mode, and the electronic device can display a preset prompt message to prompt the electronic device to switch the power mode to the power saving mode. In the power saving mode, when a switching instruction to an application is detected, the electronic device can keep the screen brightness less than or equal to the second preset brightness to reduce the heat generated when the screen is displayed.

[0072] Based on this, when the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness, the electronic device can display a preset prompt message. When the user views the preset prompt message displayed by the electronic device, the user can choose whether to switch the power mode of the electronic device to the power saving mode. For example, when the user chooses to switch the power mode of the electronic device to the power saving mode, the user can send a confirmation instruction to the electronic device for the preset prompt information through voice information, gesture information, touch information, etc. Correspondingly, the electronic device can switch the power mode of the electronic device to the power saving mode when detecting the confirmation instruction for the preset prompt message.

[0073] In this way, when the first temperature and the second temperature of the electronic device are both greater than or equal to the third preset temperature threshold, the heat generated by the central processor and the screen during the use of the electronic device can be reduced by reducing the frequency of the central processor to less than or equal to the third preset frequency, and reducing the screen brightness to less than or equal to the second preset brightness. Accordingly, the electronic device can switch the power mode of the electronic device to the power saving mode in response to the confirmation instruction of the preset prompt information, which can further reduce the heat generated by the electronic device during use. Based on the reduction of the heat generated by the electronic device, it is beneficial to reduce the temperature rise of the electronic device, thereby reducing the temperature of the electronic device.

[0074] In some embodiments, when the first temperature and the second temperature are both greater than or equal to a fourth preset temperature threshold, a shutdown prompt message is displayed; the fourth preset temperature threshold is greater than the third preset temperature threshold; when the time interval after the shutdown prompt message is displayed reaches a preset time threshold, the electronic device is controlled to shut down.

[0075] For example, when the first temperature and the second temperature of the electronic device continue to rise to the fourth preset temperature threshold, the corresponding preset components of the electronic device are easily damaged due to the excessive temperature of the electronic device. Based on this, the electronic device can display a shutdown prompt message. The shutdown prompt message is used to prompt that the electronic device is about to enter a shutdown state. Accordingly, when the time interval after the shutdown prompt message is displayed reaches the preset time threshold, the electronic device can determine that the user has viewed the shutdown prompt message, and can control the electronic device to shut down.

[0076] Take the fourth preset temperature threshold of 90°C and the preset duration threshold of 10 seconds as an example. When the first temperature and the second temperature are both greater than or equal to 90°C, the electronic device can display a shutdown prompt message. When the time interval after the electronic device displays the shutdown prompt message reaches 10 seconds, the electronic device is controlled to shut down. Of course, it is not limited to this. The fourth preset temperature threshold and the preset duration threshold can be pre-set or set by the user, which is not limited here.

[0077] In this way, when the first temperature and the second temperature are both greater than or equal to the fourth preset temperature threshold, the electronic device controls the electronic device to shut down by displaying a shutdown prompt message, and when the time interval after the shutdown prompt message is displayed reaches the preset time threshold, this can avoid the temperature of the electronic device being too high for too long, thereby avoiding damage to corresponding preset components of the electronic device, which is beneficial to improving the device safety of the electronic device.

[0078] In some embodiments, a first temperature rise value corresponding to the first temperature and a second temperature rise value corresponding to the second temperature are obtained. When the first temperature rise value and the second temperature rise value are both less than or equal to a preset temperature rise threshold, the frequency of the central processing unit and the screen brightness are kept unchanged.

[0079] For example, when the electronic device takes corresponding cooling measures, the electronic device can monitor the cooling effect corresponding to the cooling measures. For example, a first temperature rise value corresponding to the first temperature and a second temperature rise value corresponding to the second temperature are obtained. When the first temperature rise value and the second temperature rise value are both less than or equal to the preset temperature rise threshold, the electronic device can determine that the cooling measures currently taken can have a corresponding cooling effect, and the frequency of the central processor and the screen brightness can be kept unchanged, so as to reduce the temperature rise of the electronic device while maintaining the user's experience of the electronic device as much as possible.

[0080] Take the preset temperature rise threshold of 10°C as an example. When the first temperature rise value and the second temperature rise value are both less than or equal to 10°C, the electronic device can keep the frequency of the central processor and the screen brightness unchanged. Of course, the preset temperature rise threshold is not limited to this. The preset temperature rise threshold can be pre-set or set by the user, which is not limited here.

[0081] In some implementations, when the first temperature rise value and the second temperature rise value are both greater than a preset temperature rise threshold, at least one of the frequency of the central processing unit and the screen brightness may be further reduced.

[0082] like Figure 2 As shown, the steps involved in the control method of the electronic device may include S201 to S210.

[0083] S201: Acquire a first temperature of a first preset area and a second temperature of a second preset area of ​​an electronic device.

[0084] For example, the electronic device may collect a first temperature of a first preset area through a first temperature sensor, and may collect a second temperature of a second preset area through a second temperature sensor.

[0085] S202, determine whether the first temperature and the second temperature are both greater than or equal to a first preset temperature threshold, if so, jump to S203.

[0086] For example, when the first temperature and the second temperature are both greater than or equal to the first preset temperature threshold, the electronic device may determine that the temperature of the electronic device is too high and needs to acquire corresponding cooling measures.

[0087] S203, reducing the frequency of the central processing unit to be less than or equal to a first preset frequency.

[0088] S204, determine whether the first temperature and the second temperature are both greater than or equal to the second preset temperature threshold, if so, jump to S205, if not, jump to S206.

[0089] For example, the second preset temperature threshold is greater than the first preset temperature threshold. The electronic device can set the second preset temperature threshold according to the preset temperature rise threshold in combination with the first preset temperature threshold. For example, the electronic device can add the preset temperature rise threshold on the basis of the first preset temperature threshold to obtain the second preset temperature threshold, so that the electronic device can determine whether it is necessary to further reduce at least one of the frequency of the central processing unit and the screen brightness in combination with the second preset temperature threshold, so as to implement further cooling measures for the electronic device.

[0090] S205, reducing the frequency of the central processing unit to be less than or equal to a second preset frequency, and reducing the screen brightness to be less than or equal to a first preset brightness; the second preset frequency is less than the first preset frequency.

[0091] S206. Maintain the frequency of the central processing unit and the screen brightness unchanged.

[0092] For example, when the electronic device takes corresponding cooling measures, if the first temperature and the second temperature of the electronic device do not continue to rise to be greater than or equal to the second preset temperature threshold, the electronic device can maintain the current cooling measures, such as keeping the frequency of the central processing unit and the screen brightness unchanged.

[0093] S207, determine whether the first temperature and the second temperature are both greater than or equal to a third preset temperature threshold, if so, jump to S208, if not, jump to S206.

[0094] For example, the third preset temperature threshold is greater than the second preset temperature threshold. The electronic device can set the third preset temperature threshold according to the preset temperature rise threshold in combination with the second preset temperature threshold. For example, the electronic device can add the preset temperature rise threshold on the basis of the second preset temperature threshold to obtain the third preset temperature threshold, so that the electronic device can determine whether it is necessary to further reduce at least one of the frequency of the central processing unit and the screen brightness in combination with the third preset temperature threshold, so as to implement further cooling measures for the electronic device.

[0095] S208. Reduce the frequency of the central processing unit to less than or equal to a third preset frequency, reduce the screen brightness to less than or equal to a second preset brightness, and display a preset prompt message, so that when a confirmation instruction for the preset prompt message is detected, the power mode of the electronic device is switched to a power saving mode; the third preset frequency is less than the second preset frequency, and the second preset brightness is less than the first preset brightness.

[0096] S209, determine whether the first temperature and the second temperature are both greater than or equal to a fourth preset temperature threshold, if so, jump to S210, if not, jump to S206.

[0097] For example, the fourth preset temperature threshold is greater than the third preset temperature threshold. The electronic device can set the fourth preset temperature threshold according to the preset temperature rise threshold in combination with the third preset temperature threshold. For example, the electronic device can add the preset temperature rise threshold to the third preset temperature threshold to obtain the fourth preset temperature threshold, so that the electronic device can determine whether it needs to switch to the optical machine state.

[0098] S210: Display a shutdown prompt message, and when a time interval after the shutdown prompt message is displayed reaches a preset time threshold, control the electronic device to shut down.

[0099] The control method of the electronic device provided in the above embodiment includes: obtaining a first temperature of a first preset area of ​​the electronic device; obtaining a second temperature of a second preset area of ​​the electronic device; when the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device.

[0100] When the first temperature and the second temperature are both within the same temperature range, such as being greater than or equal to the preset temperature threshold, it can be determined that the electronic device has not misjudged the first temperature of the first preset area and the second temperature of the second preset area. Based on this, the electronic device can take corresponding cooling measures for the temperature of the electronic device based on the first temperature and the second temperature in combination with the preset temperature threshold, which is conducive to improving the temperature control effect of the electronic device.

[0101] See also Figure 3 , Figure 3 It is a schematic block diagram of a control device of an electronic device provided in an embodiment of the present application. The control device of the electronic device can be configured in an electronic device or a server to execute the control method of the aforementioned electronic device. The electronic device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, a wearable device and the like. Wearable devices may include smart bracelets, smart watches, near-eye display devices, and the like. Near-eye display devices may include AR glasses, MR glasses, AR helmets, MR helmets, and the like, which are not limited here. The server may be a separate server, or it may be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms.

[0102] like Figure 3 As shown, the control device of the electronic device includes a first temperature acquisition module 110 , a second temperature acquisition module 120 and a control module 130 .

[0103] The first temperature acquisition module 110 is used to acquire a first temperature of a first preset area of ​​the electronic device.

[0104] The second temperature acquisition module 120 is configured to acquire a second temperature of a second preset area of ​​the electronic device.

[0105] The control module 130 is used to reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device when the first temperature and the second temperature are both greater than or equal to a preset temperature threshold.

[0106] Exemplarily, the electronic device is provided with a first temperature sensor and a second temperature sensor, the first temperature sensor includes an NTC thermistor, and the second temperature sensor includes a temperature sensor other than the NTC thermistor.

[0107] The control module 130 includes a first control submodule.

[0108] The first control submodule is used to reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device when the first temperature determined according to the NTC thermistor is greater than or equal to a preset temperature threshold and the second temperature collected by a temperature sensor other than the NTC thermistor is greater than or equal to the preset temperature threshold.

[0109] Exemplarily, the control module 130 includes a second control submodule.

[0110] The second control submodule is used to reduce the frequency of the central processing unit to less than or equal to the second preset frequency, and reduce the screen brightness to less than or equal to the first preset brightness when the first temperature and the second temperature are both greater than or equal to a second preset temperature threshold; the second preset temperature threshold is greater than the first preset temperature threshold, and the second preset frequency is less than the first preset frequency.

[0111] Exemplarily, the control module 130 includes a third control submodule.

[0112] A third control submodule is used to reduce the frequency of the central processing unit to less than or equal to the third preset frequency, and reduce the screen brightness to less than or equal to the second preset brightness when the first temperature and the second temperature are both greater than or equal to a third preset temperature threshold; the third preset temperature threshold is greater than the second preset temperature threshold, the third preset frequency is less than the second preset frequency, and the second preset brightness is less than the first preset brightness; wherein, when the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness, a preset prompt message is displayed, and the preset prompt message is used to prompt the switching of the power mode of the electronic device to the power saving mode; and when a confirmation instruction for the preset prompt message is detected, the power mode of the electronic device is switched to the power saving mode.

[0113] Exemplarily, the control device further includes a prompting submodule and a fourth control submodule.

[0114] The prompt submodule is used to display a shutdown prompt message when the first temperature and the second temperature are both greater than or equal to a fourth preset temperature threshold; the fourth preset temperature threshold is greater than the third preset temperature threshold.

[0115] The fourth control submodule is used to control the electronic device to shut down when the time interval after the shutdown prompt information is displayed reaches a preset time threshold.

[0116] Exemplarily, the control device further includes a temperature rise acquisition submodule and a fifth control submodule.

[0117] The temperature rise acquisition submodule is used to acquire a first temperature rise value corresponding to the first temperature and a second temperature rise value corresponding to the second temperature.

[0118] The fifth control submodule is used to keep the frequency of the central processing unit and the screen brightness unchanged when the first temperature rise value and the second temperature rise value are both less than or equal to a preset temperature rise threshold.

[0119] It should be noted that technicians in the relevant field can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0120] The method of the present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld devices or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0121] Exemplarily, the above-mentioned methods and devices can be implemented in the form of a computer program, which can be run on an electronic device or a server to control the electronic device. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, a wearable device, and the like. Wearable devices may include smart bracelets, smart watches, near-eye display devices, and the like. Near-eye display devices may include AR glasses, MR glasses, AR helmets, MR helmets, and the like, without limitation. The server may be a separate server, or it may be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms.

[0122] See also Figure 4 , Figure 4 It is a schematic block diagram of the structure of an electronic device provided in an embodiment of the present application.

[0123] like Figure 4As shown, the electronic device includes a memory and a processor. The memory and the processor may be connected via a system bus, and the memory may include a storage medium and an internal memory.

[0124] The storage medium can store an operating system and a computer program. When the computer program is executed, the processor can execute any control method of the electronic device.

[0125] The processor is used to provide computing and control capabilities to support the operation of the entire electronic device.

[0126] The internal memory provides an environment for the operation of the computer program in the storage medium. When the computer program is executed by the processor, the processor can execute any control method of the electronic device.

[0127] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0128] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0129] In one embodiment, the processor is used to execute a computer program and implement the following steps when executing the computer program:

[0130] Acquire a first temperature of a first preset area of ​​the electronic device;

[0131] Acquiring a second temperature of a second preset area of ​​the electronic device;

[0132] When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced.

[0133] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the control of the electronic device described above can refer to the corresponding process in the aforementioned electronic device control method embodiment, and will not be repeated here.

[0134] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. The method implemented when the computer program is executed by a processor can refer to the various embodiments of the control method of the electronic device of the present application.

[0135] The computer-readable storage medium may be an internal storage unit of the electronic device described in the foregoing embodiment, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device.

[0136] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0137] It should also be understood that the term "and / or" used in the specification of this application and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0138] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A control method for an electronic device, characterized in that: Applied to electronic equipment, the control method includes: Acquire a first temperature of a first preset area of ​​the electronic device; Acquiring a second temperature of a second preset area of ​​the electronic device; When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced.

2. The control method according to claim 1, characterized in that: The electronic device is provided with a first temperature sensor and a second temperature sensor, the first temperature sensor includes an NTC thermistor, and the second temperature sensor includes a temperature sensor other than the NTC thermistor; When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device, comprises: When a first temperature determined according to the NTC thermistor is greater than or equal to a preset temperature threshold, and a second temperature collected by a temperature sensor other than the NTC thermistor is greater than or equal to a preset temperature threshold, at least one of the frequency of the central processing unit and the screen brightness of the electronic device is reduced.

3. The control method according to claim 1, characterized in that: When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing the frequency of the central processing unit includes: When the first temperature and the second temperature are both greater than or equal to a first preset temperature threshold, the frequency of the central processing unit is reduced to be less than or equal to the first preset frequency.

4. The control method according to claim 1, characterized in that: When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device, comprises: When the first temperature and the second temperature are both greater than or equal to a second preset temperature threshold, the frequency of the central processing unit is reduced to less than or equal to the second preset frequency, and the screen brightness is reduced to less than or equal to the first preset brightness; the second preset temperature threshold is greater than the first preset temperature threshold, and the second preset frequency is less than the first preset frequency.

5. The control method according to claim 1, characterized in that: When the first temperature and the second temperature are both greater than or equal to a preset temperature threshold, reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device, comprises: When the first temperature and the second temperature are both greater than or equal to a third preset temperature threshold, the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness; the third preset temperature threshold is greater than the second preset temperature threshold, the third preset frequency is less than the second preset frequency, and the second preset brightness is less than the first preset brightness; When the frequency of the central processing unit is reduced to less than or equal to the third preset frequency, and the screen brightness is reduced to less than or equal to the second preset brightness, a preset prompt message is displayed, and the preset prompt message is used to prompt the switching of the power mode of the electronic device to the power saving mode; and when a confirmation instruction for the preset prompt message is detected, the power mode of the electronic device is switched to the power saving mode.

6. The control method according to any one of claims 1 to 5, characterized in that: After reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device when both the first temperature and the second temperature are greater than or equal to the preset temperature threshold, the control method further includes: When the first temperature and the second temperature are both greater than or equal to a fourth preset temperature threshold, a shutdown prompt message is displayed; the fourth preset temperature threshold is greater than the third preset temperature threshold; When the time interval after the shutdown prompt information is displayed reaches a preset time threshold, the electronic device is controlled to shut down.

7. The control method according to any one of claims 1 to 5, characterized in that: After reducing at least one of the frequency of the central processing unit and the screen brightness of the electronic device, the control method further includes: Obtaining a first temperature rise value corresponding to the first temperature and a second temperature rise value corresponding to the second temperature; When the first temperature rise value and the second temperature rise value are both less than or equal to a preset temperature rise threshold, the frequency of the central processing unit and the screen brightness are kept unchanged.

8. A control device for an electronic device, characterized in that: The control device comprises: A first temperature acquisition module, used to acquire a first temperature of a first preset area of ​​the electronic device; A second temperature acquisition module, used to acquire a second temperature of a second preset area of ​​the electronic device; The control module is used to reduce at least one of the frequency of the central processing unit and the screen brightness of the electronic device when the first temperature and the second temperature are both greater than or equal to a preset temperature threshold.

9. An electronic device, characterized in that: The electronic device comprises a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the steps of the control method of the electronic device according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the control method of the electronic device according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Temperature control method, wire controller and computer readable storage medium

    CN121478020A