Temperature detection method and device and electronic equipment
By setting up a capacitive sensor on the frame of the electronic device, using two detection channels to obtain the change amount information, combined with the temperature-capacitance coefficient table, the problem of inaccurate shell temperature detection in the existing technology is solved, and the temperature of the frame area is realized High accuracy detection optimizes shell temperature detection effect.
Patent Information
- Application Number
- CN202411247284.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-12
AI Technical Summary
The existing electronic equipment housing temperature detection scheme is difficult to accurately detect the temperature of the frame area, resulting in inaccurate shell temperature information.
A capacitive sensor is set on the frame of the electronic device, and the change amount information is obtained through two detection channels, combined with the temperature-capacitance coefficient table, the temperature information of the functional elements is determined, thereby improving the accuracy of temperature detection in the frame area.
It effectively improves the accuracy of temperature detection in the frame area of electronic equipment, optimizes the accuracy of shell temperature detection, reduces the number of temperature sensors, and improves the layout of functional components.
Smart Images

Figure CN118936662A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a temperature detection method, device and electronic equipment. Background Art
[0002] Mobile phones and other electronic devices will generate heat during use, especially when performing high-load operations such as playing games, watching videos or charging. The processor and other internal components of the electronic device will generate a lot of heat, and this heat will be conducted to the casing of the mobile phone and other electronic devices, thereby affecting the user's holding experience.
[0003] At present, in order to reduce the impact of the temperature of the shell of the electronic device on the user's holding experience, some manufacturers have launched a shell temperature detection solution to realize the temperature detection of the shell of the electronic device. In the process of detecting the shell temperature of the electronic device, a temperature sensor is usually set on the circuit board of the electronic device, and the shell temperature of the electronic device is determined based on the temperature detected by the temperature sensor. However, since it is difficult to detect the temperature of the border area of the electronic device in the conventional shell temperature detection solution, the detected shell temperature information is inaccurate. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a temperature detection method, device and electronic device, which can solve the problem of low accuracy of shell temperature detection solutions in related technologies.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an electronic device, including:
[0007] A first functional element, wherein the first functional element is disposed on a frame of the electronic device;
[0008] A circuit board, wherein the circuit board is accommodated in the frame;
[0009] A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element;
[0010] The first change amount information obtained based on the first detection channel and the second change amount information obtained based on the second detection channel are used to determine the temperature information of the first functional element.
[0011] In a second aspect, an embodiment of the present application provides a temperature detection method, which is applied to an electronic device, wherein the electronic device includes:
[0012] A first functional element, wherein the first functional element is disposed on a frame of the electronic device;
[0013] A circuit board, wherein the circuit board is accommodated in the frame;
[0014] A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element;
[0015] The method comprises:
[0016] Acquire first variation information and second variation information, wherein the first variation information is variation information acquired based on the first detection channel, and the second variation information is variation information acquired based on the second detection channel;
[0017] The temperature information of the first functional element is determined based on the first change amount information and the second change amount information.
[0018] In a third aspect, an embodiment of the present application provides a temperature detection device, which is applied to an electronic device, wherein the electronic device includes:
[0019] A first functional element, wherein the first functional element is disposed on a frame of the electronic device;
[0020] A circuit board, wherein the circuit board is accommodated in the frame;
[0021] A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element;
[0022] The device comprises:
[0023] A first acquisition module, used for acquiring first variation information and second variation information, wherein the first variation information is variation information acquired based on the first detection channel, and the second variation information is variation information acquired based on the second detection channel;
[0024] The first determining module is used to determine the temperature information of the first functional element based on the first change amount information and the second change amount information.
[0025] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the second aspect are implemented.
[0026] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.
[0027] In a sixth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the second aspect.
[0028] In a seventh aspect, an embodiment of the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the method described in the second aspect.
[0029] In an embodiment of the present application, the temperature coefficient of the first functional element can be determined based on the first change amount information obtained by the first detection channel and the second change amount information obtained by the second detection channel, and then the temperature information of the first functional element can be determined based on the temperature coefficient of the first functional element, thereby realizing the acquisition of the temperature information of the first functional element arranged on the border of the electronic device, that is, realizing the acquisition of the temperature information of the border of the electronic device, effectively improving the accuracy of temperature detection of the border area of the electronic device, and improving the accuracy of shell temperature detection of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is one of the structural schematic diagrams of the electronic device provided in the embodiment of the present application;
[0031] Figure 2 This is the second structural diagram of the electronic device provided in the embodiment of the present application;
[0032] Figure 3 It is a temperature-capacitance coefficient table provided in an embodiment of the present application;
[0033] Figure 4 is a flow chart of a temperature detection method provided in an embodiment of the present application;
[0034] Figure 5a It is a schematic diagram of the slope of diff change when a user approaches a scene provided by an embodiment of the present application;
[0035] Figure 5b is a schematic diagram of the slope of diff change in the temperature increase scenario provided in an embodiment of the present application;
[0036] Figure 6 is a structural diagram of a temperature detection device provided in an embodiment of the present application;
[0037] Figure 7 It is one of the structural diagrams of the electronic device provided in the embodiment of the present application;
[0038] Figure 8 This is the second structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0039] 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.
[0040] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0041] like Figure 1 and Figure 2 As shown, an embodiment of the present application provides an electronic device, including:
[0042] A first functional element 10, wherein the first functional element 10 is disposed on a frame of the electronic device;
[0043] A circuit board 20, the circuit board 20 is accommodated in the frame;
[0044] The capacitive sensor 30 includes a first detection channel 31 and a second detection channel 32 . The first detection channel 31 is disposed on the circuit board 20 , and the second detection channel 32 is connected to the first functional element 10 .
[0045] The capacitive sensor 30 can be used to detect the change in capacitance, and can determine the application scenario of the electronic device based on the change in capacitance, such as determining whether the electronic device is in a temperature rise scenario, that is, determining whether the electronic device is in a temperature rise application scenario.
[0046] Furthermore, when it is determined that the electronic device is in a temperature rise scenario, the temperature information of the circuit board 20 and the first functional element 10 can be determined based on the capacitance change information detected by the capacitive sensor 30 .
[0047] The first detection channel 31 is arranged on the circuit board 20, which can be understood as the wiring of the first detection channel 31 is arranged on the circuit board 20, and a first capacitor can be formed between the first detection channel 31 and the circuit board 20, so that the capacitive sensor 30 can sense the capacitance change information of the first capacitor based on the first detection channel 31, and the capacitance change information of the first capacitor can be represented by the first change amount information. Moreover, since the capacitance value of the first capacitor changes based on the change of temperature, the temperature information of the circuit board 20 can be determined based on the capacitance change information of the first capacitor, that is, the temperature information of the circuit board 20 can be determined based on the first change amount information obtained by the first detection channel 31.
[0048] The second detection channel 32 is connected to the first functional element 10, which can be understood as a second capacitor can be formed between the second detection channel 32 and the first functional element 10, and the capacitive sensor 30 can sense the capacitance change information of the second capacitor based on the second detection channel 32, and the capacitance change information of the second capacitor can be represented by the second change amount information. Moreover, since the capacitance value of the second capacitor changes based on the change of temperature, the temperature information of the first functional element 10 can be determined based on the capacitance change information of the second capacitor, that is, the temperature information of the first functional element 10 can be determined based on the second change amount information obtained by the second detection channel 32.
[0049] In some embodiments, the second detection channel 32 may be first arranged on the circuit board 20 and then connected to the first functional element 10, that is, the wiring of the second detection channel 32 is first arranged on the circuit board 20 and then extended to the first functional element 10 and connected to the first functional element 10. The second variation information obtained based on the second detection channel 32 can simultaneously characterize the temperature information of the first functional element 10 and the circuit board 20.
[0050] The first variation information obtained based on the first detection channel 31 and the second variation information obtained based on the second detection channel 32 are used to determine the temperature information of the first functional element 10 .
[0051] The first variation information may be determined based on the capacitance variation information acquired by the first detection channel 31 , and the second variation information may be determined based on the capacitance variation information acquired by the second detection channel 32 .
[0052] In some embodiments, diff can be set to represent the change information of the capacitive sensor 30 obtained based on the detection channel, such as setting CS0 diff to the first change information obtained based on the first detection channel 31, and setting CS1diff to the second change information obtained based on the second detection channel 32.
[0053] Referring to the data of CS1 diff and CS0 diff shown in Table 1, it can be seen that the data of CS1 diff and CS0 diff are changing, such as CS1 diff=26440, CS0 diff=2650.
[0054] Table 1
[0055] Line 15 CS1: diff=25828USE=25259 CS0:USE=2627 Line 40 CS1: diff=25820USE=25251 CS0:USE=2626 … … … Line 712 CS1: diff=25412USE=24843 CS0:USE=2654 Line 738 CS1: diff=25635USE=25066 CS0:USE=2654
[0056] Wherein, diff0 can be set to represent the value at this moment, diff1 can represent the value at the next second, and diff2 can represent the value at the next two seconds. If CS1 diff(0)=26440, CS0 diff(0)=2650, CS1 diff(1)=27722, CS0diff(1)=4395, CS1 diff(2)=29935, and CS0 diff(2)=6145, then the temperature coefficient of the circuit board 20 can be calculated as K0=(CS0 diff(2)-CS0 diff(1) / (CS0 diff(1)-CS0diff(0)=(6145-4395) / (4395-2650)=1.003, and the temperature coefficient of the circuit board 20+the first functional element 10 can be calculated as K1=(CS1diff(2)-CS1 diff(1) / (CS1diff(1)-CS1 diff(0)=(29935-27722) / (27722-26440)=1.7262.
[0057] The temperature coefficient K0 can be expressed as a slope curve corresponding to the first variation information obtained based on the first detection channel 31 ; the temperature coefficient K1 can be expressed as a slope curve corresponding to the second variation information obtained based on the second detection channel 32 .
[0058] The temperature coefficient K2 of the first functional element 10 can be obtained based on the temperature coefficient K0 and the temperature coefficient K1. Specifically, the temperature coefficient K2=temperature coefficient K1-temperature coefficient K0=1.7262-1.003=0.7232.
[0059] In this way, the temperature coefficient of the first functional element 10 can be determined based on the first change amount information obtained by the first detection channel 31 and the second change amount information obtained by the second detection channel 32, and then the temperature information of the first functional element 10 can be determined based on the temperature coefficient of the first functional element 10, thereby realizing the acquisition of the temperature information of the first functional element 10 set on the border of the electronic device, that is, realizing the acquisition of the temperature information of the border of the electronic device, effectively improving the accuracy of temperature detection of the border area of the electronic device, and improving the accuracy of shell temperature detection of the electronic device.
[0060] In the process of determining the temperature information of the first functional element 10 based on the temperature coefficient of the first functional element 10, the temperature information of the first functional element 10 can be determined based on the following example: Figure 3 The temperature-capacitance coefficient table shown in the figure determines the temperature information of the first functional element 10. Specifically, it can be determined by judging whether the temperature-capacitance coefficient table includes the temperature coefficient of the first functional element 10, such as judging whether the temperature-capacitance coefficient table includes a slope curve with a slope of 0.7232. If it is included, the temperature corresponding to the slope curve with a slope of 0.7232 in the temperature-capacitance coefficient table is determined as the temperature information of the first functional element 10.
[0061] Specifically, a temperature-capacitance coefficient table may be queried based on the temperature coefficient to determine the temperature information corresponding to the temperature coefficient.
[0062] In some embodiments, multiple CS0diff data in the first change information can be used to obtain multiple continuously distributed first temperature coefficients, and the multiple continuously distributed first temperature coefficients can form a continuous slope curve in the coordinate system of the time capacitance, that is, the first slope curve corresponding to the first change information can be obtained, and then whether the electronic device is in a temperature rise scenario can be determined by judging whether there is a rapid mutation in the first slope curve.
[0063] In some embodiments, multiple CS1diff data in the second change information can be used to obtain multiple continuously distributed second temperature coefficients, and the multiple continuously distributed second temperature coefficients can form a continuous slope curve in the coordinate system of the time capacitance, that is, the second slope curve corresponding to the second change information can be obtained, and then whether the electronic device is in a temperature rise scenario can be determined by judging whether there is a rapid mutation in the second slope curve.
[0064] In some embodiments, if the temperature coefficient K0 corresponds to 55°C in the temperature-capacitance coefficient table, and the temperature coefficient K2 corresponds to 45°C in the temperature-capacitance coefficient table, and since the capacitance of the electronic device rises linearly when the temperature rises, it is possible to determine whether the electronic device is in a temperature rise scenario by judging whether there is a rapid mutation in the temperature coefficient or slope curve. When it is determined that the electronic device is in a temperature rise scenario, it can be determined that the first functional element 10 is heating, but its temperature is not as high as the temperature of the circuit board 20. Wherein, in the case where the first functional element 10 is an antenna structure, if the temperature of the antenna structure is not as high as the temperature of the circuit board 20, and since the RF front-end module of the antenna structure is arranged on the circuit board 20, that is, the power amplifier of the antenna structure is arranged on the circuit board, the temperature of the circuit board 20 can be determined as the temperature of the power amplifier of the antenna structure, that is, the temperature of the power amplifier of the antenna structure can be determined to be 55°C.
[0065] Among them, Figure 3 The temperature-capacitance coefficient table shown can be based on the material of the circuit board 20 and the material of the first functional element 10. Those skilled in the art can test the data of diff changing with time and temperature based on the whole machine characteristic test and other links, and normalize the test data to obtain Figure 3 Temperature-capacitance coefficient table shown.
[0066] In some embodiments, the electronic device further includes a temperature sensor 40, and the temperature sensor 40 is used to detect temperature information of the second functional element of the electronic device;
[0067] The temperature information of the first functional element 10 and the temperature information of the second functional element are used to determine the temperature information of the housing of the electronic device.
[0068] The second functional element is a functional element on the electronic device that is disposed away from the first functional element 10. For example, if the first functional element 10 is an antenna structure disposed on the frame, the second functional element may be a speaker module or a main circuit board disposed away from the antenna structure; for another example, if the first functional element 10 is a data interface disposed on the frame, the second functional element may be a battery module or a sub-circuit board disposed away from the data interface.
[0069] The temperature sensor 40 may be a thermistor, or a sensor based on a thermistor.
[0070] In this embodiment, by determining the temperature information of the housing of the electronic device based on the temperature information of the first functional element 10 and the temperature information of the second functional element, the accuracy of the acquired temperature information of the housing of the electronic device can be improved.
[0071] In some embodiments, when the above-mentioned circuit board 20 is the main circuit board (i.e., main board) of the electronic device, and the second functional element is also the main circuit board of the electronic device, the temperature of the main circuit board detected by the temperature sensor 40 can be used to determine the accuracy of the temperature represented by the first change information obtained based on the first detection channel 31, that is, the temperature represented by the first change information obtained based on the first detection channel 31 can be verified based on the temperature of the main circuit board detected by the temperature sensor 40, so as to reduce the problem that the detection data of the capacitive sensor 30 is susceptible to interference, and improve the accuracy of the temperature information of the shell of the electronic device obtained.
[0072] For example, the temperature information of the main circuit board can be determined based on the temperature corresponding to the first change information obtained by the first detection channel 31 and the temperature of the main circuit board detected by the temperature sensor 40, and then the temperature information of the shell of the electronic device can be determined based on the temperature information of the main circuit board and the temperature corresponding to the second change information obtained by the second detection channel 32.
[0073] Moreover, since the capacitive sensor 30 can not only realize the temperature detection of functional components at the border position of the electronic device, that is, it can not only realize the temperature detection of the border area of the electronic device, but also realize the temperature detection of circuit board areas such as the motherboard, that is, the detection channel of the capacitive sensor 30 has the characteristics of large coverage area and large sensing area, compared with the temperature detection scheme in the prior art that it is difficult for the temperature sensor to detect the temperature at the border position of the electronic device, it effectively makes up for the detection range of the temperature sensor.
[0074] Furthermore, compared with conventional temperature detection schemes based on temperature sensors, temperature detection schemes that require setting temperature sensors at various positions of electronic devices to detect the shell temperature of electronic devices can also save the number of temperature sensors set and optimize the layout of functional components of electronic devices.
[0075] In some embodiments, the first functional element 10 is an antenna structure, and the second detection channel 32 is connected to the radiator 11 of the antenna structure;
[0076] The first variation information acquired based on the first detection channel 31 and the second variation information acquired based on the second detection channel 32 are used to determine the temperature information of the radiator 11 .
[0077] In this embodiment, when the first functional element 10 is an antenna structure, the temperature information of the radiator 11 of the antenna structure can be detected based on the capacitive sensor 30, and then the temperature information of the frame of the electronic device can be detected, which effectively compensates for the problem that it is difficult for the temperature sensor to detect the temperature of the frame area of the electronic device.
[0078] In some embodiments, the antenna structure further includes a radio frequency front-end module 12, and the radio frequency front-end module 12 can be disposed on a main board of the electronic device.
[0079] In some embodiments, the first functional element 10 is a data interface;
[0080] The first variation information obtained based on the first detection channel 31 and the second variation information obtained based on the second detection channel 32 are used to determine the temperature information of the data interface.
[0081] In this embodiment, when the first functional element 10 is a data interface, the temperature information of the data interface can be detected based on the capacitive sensor 30, and then the temperature information of the frame of the electronic device can be detected, which effectively compensates for the problem that it is difficult for the temperature sensor to detect the temperature of the frame area of the electronic device.
[0082] In some embodiments, the capacitive sensor 30 may include two groups of detection channels, each group of detection channels including a first detection channel 31 and a second detection channel 32;
[0083] The first group of detection channels in the two groups of detection channels is used to detect the temperature information of the antenna structure of the electronic device, and the second group of detection channels in the two groups of detection channels is used to detect the temperature information of the data interface of the electronic device.
[0084] Wherein, the first detection channel in the first group of detection channels may be arranged on the main circuit board, and the second detection channel in the first group of detection channels may be partially arranged on the main circuit board and connected to the radiator of the antenna structure;
[0085] The first detection channel in the second group of detection channels may be arranged on the auxiliary circuit board, and the second detection channel in the second group of detection channels may be partially arranged on the auxiliary circuit board and connected to the data interface.
[0086] The auxiliary circuit board mentioned above can be understood as a circuit board arranged in the battery compartment of the corresponding electronic device.
[0087] In some embodiments, the capacitive sensor 30 may be disposed on a main circuit board of the electronic device.
[0088] See also Figure 4 , Figure 4 : is a flow chart of a temperature detection method provided in an embodiment of the present application. The temperature detection method provided in the embodiment of the present application can be applied to Figure 1 to Figure 2 The electronic equipment shown, such as Figure 4 As shown, the method comprises the following steps:
[0089] Step 401: Obtain first variation information and second variation information.
[0090] The first variation information is variation information obtained based on the first detection channel, and the second variation information is variation information obtained based on the second detection channel.
[0091] Step 401: Determine temperature information of the first functional element based on the first change information and the second change information.
[0092] In this embodiment, the temperature information of the first functional element can be determined based on the first change amount information obtained by the first detection channel of the capacitive sensor and the second change amount information obtained by the second detection channel of the capacitive sensor, thereby realizing the acquisition of the temperature information of the first functional element arranged on the border of the electronic device, that is, realizing the acquisition of the temperature information of the border of the electronic device, effectively improving the accuracy of temperature detection of the border area of the electronic device, and improving the accuracy of shell temperature detection of the electronic device.
[0093] In some embodiments, the electronic device further comprises a temperature sensor, and the temperature sensor is used to detect temperature information of a second functional element of the electronic device;
[0094] After determining the temperature information of the first functional element based on the first variation information and the second variation information, the method further includes:
[0095] Acquiring temperature information of the second functional element detected by the temperature sensor;
[0096] Based on the temperature information of the second functional element and the temperature information of the first functional element, temperature information of the housing of the electronic device is determined.
[0097] In some embodiments, determining the temperature information of the functional element based on the first variation information and the second variation information includes:
[0098] Acquire a first slope curve corresponding to the first variation information and a second slope curve corresponding to the second variation information;
[0099] In a case where both the first slope curve and the second slope curve indicate that the electronic device is in a temperature increase scenario, the temperature information of the functional element is determined based on the first change amount information and the second change amount information.
[0100] Since the user approaching the scene will also cause the capacitance value information of the capacitive sensor to change, before the first change information and the second change information determine the temperature information of the first functional element, the application scenario of the electronic device can be determined based on the first change information and the second change information to reduce the impact of non-temperature rise scenarios on the accuracy of shell temperature detection of the electronic device.
[0101] like Figure 5a and Figure 5bAs shown, when the user approaches the scene, the slope of the diff change will have a sudden change; therefore, it is possible to determine whether the application scenario of the electronic device is a temperature rise scenario by judging whether there is a rapid mutation in the slope curve of the diff change. If there is no rapid mutation in the slope curve of the diff change, it is determined that the application scenario of the electronic device is a temperature rise scenario, and the step of determining the temperature information of the first functional element based on the first change amount information and the second change amount information is executed.
[0102] For example, when the electronic device is in a charging state such as fast charging, the change amount information can be obtained through the detection channel based on the capacitive sensor, and based on the obtained change amount information of the detection channel, it is determined whether the electronic device is in a temperature rise scenario. When it is determined that the electronic device is in a temperature rise scenario, the temperature information of the first functional element is determined based on the obtained change amount information of the detection channel, and then the temperature information of the second functional element of the electronic device is obtained through the temperature sensor on the electronic device, and the temperature information of the shell of the electronic device is calculated based on the temperature information of the first functional element and the temperature information of the second functional element.
[0103] Among them, in calculating the temperature information of the shell of the electronic device based on the temperature information of the first functional element and the temperature information of the second functional element, the weight coefficients of the temperature information of the first functional element and the temperature information of the second functional element in the shell temperature calculation process can be determined based on test data, and then the temperature information of the shell is calculated based on the temperature information of the first functional element and the temperature information of the second functional element and their respective corresponding weight coefficients.
[0104] In some embodiments, the temperature information of the housing may be calculated based on the formula Tfinal=x1*T1+x0*T0;
[0105] Among them, Tfinal represents the temperature information of the shell, x1 represents the weight coefficient of the temperature information of the first functional element, T1 represents the temperature information of the first functional element, x0 represents the weight coefficient of the temperature information of the second functional element, and T0 represents the temperature information of the second functional element.
[0106] For example, when the temperature of the first functional element is 55°C, the temperature of the second functional element is 65°C, and the weight coefficients of the temperature information of the first functional element and the temperature information of the second functional element are 0.25 and 0.72 respectively, the temperature information of the shell can be calculated based on the formula Tfinal=x1*T1+x0*T0=0.25*55+0.72*65=60.55°C, so the temperature of the shell can be determined to be 60.55°C.
[0107] The temperature detection method of the embodiment of the present application obtains first variation information and second variation information, wherein the first variation information is variation information obtained based on the first detection channel, and the second variation information is variation information obtained based on the second detection channel; and the temperature information of the first functional element is determined based on the first variation information and the second variation information. This effectively improves the accuracy of temperature detection of the border area of the electronic device and the accuracy of shell temperature detection of the electronic device.
[0108] The temperature detection method provided in the embodiment of the present application can be executed by a temperature detection device. In the embodiment of the present application, a method for performing temperature detection by a temperature detection device is taken as an example to illustrate the temperature detection device provided in the embodiment of the present application.
[0109] See also Figure 6 , Figure 6 is a structural diagram of a temperature detection device provided in one embodiment of the present application. Figure 6 As shown, the temperature detection device 600 can be applied to Figures 1 to 3 The electronic device shown in the figure, and the temperature detection device 600 includes:
[0110] A first acquisition module 601 is used to acquire first variation information and second variation information, wherein the first variation information is variation information acquired based on the first detection channel, and the second variation information is variation information acquired based on the second detection channel;
[0111] The first determining module 602 is configured to determine the temperature information of the first functional element based on the first change amount information and the second change amount information.
[0112] Optionally, the electronic device further comprises a temperature sensor, and the temperature sensor is used to detect temperature information of a second functional element of the electronic device;
[0113] The temperature detection device 600 further includes:
[0114] A second acquisition module, used to acquire temperature information of the second functional element detected by the temperature sensor;
[0115] The second determining module is used to determine the temperature information of the housing of the electronic device based on the temperature information of the second functional element and the temperature information of the first functional element.
[0116] Optionally, the first determining module 602 is specifically configured to:
[0117] Acquire a first slope curve corresponding to the first variation information and a second slope curve corresponding to the second variation information;
[0118] In a case where both the first slope curve and the second slope curve indicate that the electronic device is in a temperature increase scenario, the temperature information of the functional element is determined based on the first change amount information and the second change amount information.
[0119] The temperature detection device in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplary, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, a super mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0120] The temperature detection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0121] The temperature detection device provided in the embodiment of the present application can achieve Figure 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0122] Alternatively, if Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702, wherein the memory 702 stores programs or instructions that can be executed on the processor 701, and when the program or instructions are executed by the processor 701, the various steps of the above-mentioned temperature detection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0123] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0124] See also Figure 8, Figure 8 is a structural diagram of an electronic device provided by an embodiment of the present application, such as Figure 8 As shown, the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0125] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0126] Among them, the processor 810 is used to: obtain first change information and second change information, the first change information is the change information obtained based on the first detection channel, and the second change information is the change information obtained based on the second detection channel; determine the temperature information of the first functional element based on the first change information and the second change information.
[0127] Optionally, the electronic device further comprises a temperature sensor, and the temperature sensor is used to detect temperature information of a second functional element of the electronic device;
[0128] The processor 810 is used to: obtain temperature information of the second functional element detected by the temperature sensor; and determine temperature information of the housing of the electronic device based on the temperature information of the second functional element and the temperature information of the first functional element.
[0129] Optionally, the processor 810 is used to: obtain a first slope curve corresponding to the first change information, and a second slope curve corresponding to the second change information; when both the first slope curve and the second slope curve indicate that the electronic device is in a temperature rise scenario, determine the temperature information of the functional element based on the first change information and the second change information.
[0130] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0131] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0132] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0133] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned temperature detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0134] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0135] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned temperature detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0136] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0137] An embodiment of the present application provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned temperature detection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0138] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0140] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An electronic device, characterized in that: include: A first functional element, wherein the first functional element is disposed on a frame of the electronic device; A circuit board, wherein the circuit board is accommodated in the frame; A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element; The first change amount information obtained based on the first detection channel and the second change amount information obtained based on the second detection channel are used to determine the temperature information of the first functional element.
2. The electronic device according to claim 1, characterized in that: The electronic device further comprises a temperature sensor, wherein the temperature sensor is used to detect temperature information of a second functional element of the electronic device; The temperature information of the first functional element and the temperature information of the second functional element are used to determine the temperature information of the housing of the electronic device.
3. The electronic device according to claim 1 or 2, characterized in that: The first functional element is an antenna structure, and the second detection channel is connected to a radiator of the antenna structure; The first change amount information obtained based on the first detection channel and the second change amount information obtained based on the second detection channel are used to determine the temperature information of the radiator.
4. The electronic device according to claim 1 or 2, characterized in that: The first functional element is a data interface; The first change amount information obtained based on the first detection channel and the second change amount information obtained based on the second detection channel are used to determine the temperature information of the data interface.
5. A temperature detection method, characterized in that: Applicable to electronic equipment, the electronic equipment comprising: A first functional element, wherein the first functional element is disposed on a frame of the electronic device; A circuit board, wherein the circuit board is accommodated in the frame; A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element; The method comprises: Acquire first variation information and second variation information, wherein the first variation information is variation information acquired based on the first detection channel, and the second variation information is variation information acquired based on the second detection channel; The temperature information of the first functional element is determined based on the first change amount information and the second change amount information.
6. The method according to claim 5, characterized in that The electronic device further comprises a temperature sensor, wherein the temperature sensor is used to detect temperature information of a second functional element of the electronic device; After determining the temperature information of the first functional element based on the first variation information and the second variation information, the method further includes: Acquiring temperature information of the second functional element detected by the temperature sensor; Based on the temperature information of the second functional element and the temperature information of the first functional element, temperature information of the housing of the electronic device is determined.
7. The method according to claim 5 or 6, characterized in that: The determining the temperature information of the functional element based on the first variation information and the second variation information includes: Acquire a first slope curve corresponding to the first variation information and a second slope curve corresponding to the second variation information; In a case where both the first slope curve and the second slope curve indicate that the electronic device is in a temperature increase scenario, the temperature information of the functional element is determined based on the first change amount information and the second change amount information.
8. A temperature detection device, characterized in that: Applicable to electronic equipment, the electronic equipment comprising: A first functional element, wherein the first functional element is disposed on a frame of the electronic device; A circuit board, wherein the circuit board is accommodated in the frame; A capacitive sensor, the capacitive sensor comprising a first detection channel and a second detection channel, the first detection channel being arranged on the circuit board, and the second detection channel being connected to the first functional element; The device comprises: A first acquisition module, used for acquiring first variation information and second variation information, wherein the first variation information is variation information acquired based on the first detection channel, and the second variation information is variation information acquired based on the second detection channel; The first determining module is used to determine the temperature information of the first functional element based on the first change amount information and the second change amount information.
9. The device according to claim 8, characterized in that The electronic device further comprises a temperature sensor, wherein the temperature sensor is used to detect temperature information of a second functional element of the electronic device; The device also includes: A second acquisition module, used to acquire temperature information of the second functional element detected by the temperature sensor; The second determining module is used to determine the temperature information of the housing of the electronic device based on the temperature information of the second functional element and the temperature information of the first functional element.
10. The device according to claim 8 or 9, characterized in that The first determining module is specifically configured to: Acquire a first slope curve corresponding to the first variation information and a second slope curve corresponding to the second variation information; In a case where both the first slope curve and the second slope curve indicate that the electronic device is in a temperature increase scenario, the temperature information of the functional element is determined based on the first change amount information and the second change amount information.
