CN105549701B - Temperature-compensation method, device and mobile terminal for mobile terminal - Google Patents

Temperature-compensation method, device and mobile terminal for mobile terminal Download PDF

Info

Publication number
CN105549701B
CN105549701B CN201510903829.7A CN201510903829A CN105549701B CN 105549701 B CN105549701 B CN 105549701B CN 201510903829 A CN201510903829 A CN 201510903829A CN 105549701 B CN105549701 B CN 105549701B
Authority
CN
China
Prior art keywords
mobile terminal
current temperature
capacitance
temperature value
change threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510903829.7A
Other languages
Chinese (zh)
Other versions
CN105549701A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510903829.7A priority Critical patent/CN105549701B/en
Publication of CN105549701A publication Critical patent/CN105549701A/en
Priority to PCT/CN2016/097964 priority patent/WO2017096978A1/en
Application granted granted Critical
Publication of CN105549701B publication Critical patent/CN105549701B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The present invention proposes that a kind of temperature-compensation method, device and mobile terminal for mobile terminal, the temperature-compensation method for being used for mobile terminal include that the current temperature of mobile terminal is obtained according to the cooling system built in mobile terminal, obtains current temperature value;Capacitance variations threshold value corresponding with current temperature value is obtained according to current temperature value and preset relation tables of data, wherein preset relation tables of data is used to identify the corresponding relationship between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor;The gripping data of mobile terminal are obtained, and according to the grip state for holding data and capacitance variations threshold value corresponding with current temperature value acquisition user.The accuracy that can be improved mobile terminal detection user's grip state through the invention, effectively promotes the usage experience of user.

Description

Temperature compensation method and device for mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a temperature compensation method and apparatus for a mobile terminal, and a mobile terminal.
Background
The temperature of the mobile terminal rises due to the influence of external factors (such as solar radiation, human body heat and the like) and internal factors (such as audio call, video call, charging and the like), the capacitance value of a capacitance sensor arranged on the mobile terminal is inconsistent due to sensing of holding data of a user at different temperatures of the mobile terminal, and in the prior art, when the holding state of the user is judged by the mobile terminal, the influence of the current temperature of the mobile terminal on the holding state detection accuracy is not considered, so that the precision of the mobile terminal for detecting the holding state of the user is not high, and the use experience of the user is poor.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present invention is to provide a temperature compensation method for a mobile terminal, which can improve the accuracy of detecting a user holding state of the mobile terminal and effectively improve the user experience of the user.
Another object of the present invention is to provide a temperature compensation apparatus for a mobile terminal.
Another object of the present invention is to provide a mobile terminal.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a temperature compensation method for a mobile terminal, including: acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value; acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor; and acquiring holding data of the mobile terminal, and acquiring a holding state of a user according to the holding data and the capacitance change threshold corresponding to the current temperature value.
According to the temperature compensation method for the mobile terminal provided by the embodiment of the first aspect of the invention, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of the mobile terminal in detecting the holding state of the user can be improved, and the use experience of the user is effectively improved.
In order to achieve the above object, a temperature compensation device for a mobile terminal according to an embodiment of a second aspect of the present invention includes: the temperature acquisition module is used for acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value; a capacitance change threshold acquisition module, configured to acquire a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relationship data table, where the preset relationship data table is used to identify a correspondence between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor; and the holding state acquisition module is used for acquiring holding data of the mobile terminal and acquiring the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value.
According to the temperature compensation device for the mobile terminal provided by the embodiment of the second aspect of the invention, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of the mobile terminal in detecting the holding state of the user can be improved, and the use experience of the user is effectively improved.
In order to achieve the above object, an embodiment of a third aspect of the present invention provides a mobile terminal, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value; acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor; and acquiring holding data of the mobile terminal, and acquiring a holding state of a user according to the holding data and the capacitance change threshold corresponding to the current temperature value.
According to the mobile terminal provided by the embodiment of the third aspect of the invention, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of the mobile terminal in detecting the holding state of the user can be improved, and the use experience of the user is effectively improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a temperature compensation method for a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the location of an edge of a mobile terminal housing edge in an embodiment of the invention;
fig. 3 is a flowchart illustrating a temperature compensation method for a mobile terminal according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a temperature compensation apparatus for a mobile terminal according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a temperature compensation apparatus for a mobile terminal according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a temperature compensation method for a mobile terminal according to an embodiment of the present invention, where the temperature compensation method for the mobile terminal includes:
s101: and obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value.
The mobile terminal may be a hardware device with various operating systems, such as a smart phone, a tablet computer, a personal digital assistant, and an electronic book.
Specifically, the higher the operating frequency and the longer the operating time of a Central Processing Unit (CPU) of the mobile terminal are, the higher the temperature value of the mobile terminal itself is, and if the mobile terminal is in a high-temperature working state for a long time, the service life of the mobile terminal may be shortened.
The temperature of the mobile terminal rises due to the influence of external factors (such as solar radiation, human body heat and the like) and internal factors (such as audio call, video call, charging and the like), the capacitance value of a capacitance sensor arranged on the mobile terminal is inconsistent due to sensing of holding data of a user at different temperatures of the mobile terminal, and in the prior art, the influence of the current temperature of the mobile terminal on the holding state detection accuracy is not considered when the holding state of the user is judged by the mobile terminal.
In the embodiment of the invention, in order to avoid the influence of the current temperature of different mobile terminals on the detection accuracy of the holding state, the current temperature value of the mobile terminal is used as a parameter for judging the holding state of the user.
Optionally, the current temperature of the mobile terminal may be obtained in real time through a built-in heat dissipation system of the mobile terminal, or the current temperature of the mobile terminal may also be obtained through the built-in heat dissipation system of the mobile terminal at intervals of a preset time to obtain a current temperature value, where the preset time may be set by a built-in program of the mobile terminal, or may be set by a user according to a requirement of the user.
The current temperature value of the mobile terminal obtained by the built-in heat dissipation system of the mobile terminal is, for example, 25 ℃.
Optionally, obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal, and before obtaining the current temperature value, the method further includes: and starting the temperature compensation function of the mobile terminal.
S102: and acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, so as to detect the holding state of the user.
For example, if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 25 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), and if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 0 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 1000F.
Optionally, before obtaining the current temperature value according to a built-in cooling system of the mobile terminal, the method further includes: and acquiring a preset relation data table according to an experiment.
S103: and acquiring holding data of the mobile terminal, and acquiring the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value.
In the embodiment of the present invention, the holding data is data detected by the hand-held sensor that the user holds the mobile terminal, and the holding data may be, for example, pressure data generated when the user presses the interface of the mobile terminal with fingers. The holding data can be single holding data or an average value of holding data for multiple times within a preset time range, and the preset time range can be preset according to requirements.
The holding data may be raw data or processed characteristic data. For example, in the present embodiment, the holding data may be the distance between the user's finger and any one of the four sides of the edge of the mobile terminal housing, and the original data of the contact area between the user's finger and any one of the four sides of the edge of the mobile terminal housing.
In particular, the holding data of the contact area of the user's finger and the interface of the mobile terminal can be detected by a hand-held sensor in the mobile terminal.
Wherein, holding the sensor and can be for example capacitive sensor, capacitive sensor's quantity can be four, and four capacitive sensor can set up respectively in four edges at mobile terminal shell edge, and four capacitive sensor overall arrangement form and hold the sensor.
A capacitive sensor is a sensor that converts a change in a measured quantity (e.g., size, pressure, contact area, etc.) into a change in capacitance.
It is understood that the grip sensor may be configured to detect the holding data of the user in real time, or may be configured to detect the holding data of the user at preset time intervals, where the preset time may be preset according to requirements.
Optionally, the holding state includes that the user holds the mobile terminal, and the mobile terminal obtains the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value, including: judging whether the capacitance value of the capacitance sensor is larger than a capacitance change threshold value corresponding to the current temperature value or not; if the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value, further judging whether the number of the capacitance sensors of which the capacitance values are larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number; and if the number of the capacitive sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number, the holding state is that the user holds the mobile terminal.
Optionally, the holding state further includes that the user does not hold the mobile terminal, and the mobile terminal obtains the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value, and further includes: if the capacitance value of the capacitance sensor is smaller than the capacitance change threshold value corresponding to the current temperature value, or if the number of the capacitance sensors of which the capacitance value is larger than the capacitance change threshold value corresponding to the current temperature value does not reach the preset number, the holding state is that the user does not hold the mobile terminal.
Specifically, when the finger of the user touches any one of the four edges of the edge of the mobile terminal housing, at this time, the distance between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is decreased, or the contact area between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is increased, the capacitance values of the four capacitance sensors installed on the four edges of the edge of the mobile terminal housing are increased, and when the finger of the user does not touch the four edges of the edge of the mobile terminal housing, the capacitance value of the capacitance sensor is 0F (farad), therefore, firstly, the capacitance values of the four capacitance sensors after capacitance increase need to be calculated respectively according to the obtained holding data of the user, and compared with the capacitance change threshold value in the mobile terminal, when the capacitance value of one capacitance sensor after increase is greater than the capacitance change threshold value, the method can determine that the fingers of the user hold the edge of the mobile terminal shell where the capacitive sensor is located, and further determine that the user holds the mobile terminal if the number of the capacitive sensors (that is, the number of the edges of the mobile terminal shell where the fingers of the user hold the mobile terminal) with the increased capacitance values larger than the capacitance change threshold reaches a preset number.
Wherein the preset number is, for example, 2.
In this embodiment, for example, as shown in fig. 2, the schematic position diagram of the edge of the mobile terminal housing includes four positions, i.e., an upper position, a lower position, a left position and a right position, if the edge specifically held by the fingers of the user includes the left edge and does not include the right edge, the holding posture of the user may be determined as left-handed holding, if the edge specifically held by the fingers of the user includes the right edge and does not include the left edge, the holding posture of the user may be determined as right-handed holding, and if the edge specifically held by the fingers of the user includes the left edge and also includes the right edge, the holding posture of the user may be determined as left-handed holding, where left-handed holding, right-handed holding, and left-handed holding both indicate that the holding state of the user is.
In the embodiment, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of detecting the holding state of the user by the mobile terminal can be improved, and the use experience of the user is effectively improved.
Fig. 3 is a flowchart illustrating a temperature compensation method for a mobile terminal according to another embodiment of the present invention, where the temperature compensation method for the mobile terminal includes:
s301: and acquiring a preset relation data table according to an experiment.
The preset relationship data table is used for identifying the corresponding relationship between the temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The user can obtain the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor in advance according to experiments to obtain a preset relation data table.
S302: and starting the temperature compensation function of the mobile terminal.
Specifically, when the user starts the temperature compensation function of the mobile terminal, step S303 is triggered to be executed, and if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not acquired, and the holding state of the user is determined by using a capacitance change threshold preset by a built-in program of the mobile terminal.
Through the steps, a user can select whether to start the temperature compensation function of the mobile terminal according to the self requirement, and the flexibility of capacitance change threshold value conversion is improved.
S303: and obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value.
Specifically, the higher the operating frequency and the longer the operating time of a Central Processing Unit (CPU) of the mobile terminal are, the higher the temperature value of the mobile terminal itself is, and if the mobile terminal is in a high-temperature working state for a long time, the service life of the mobile terminal may be shortened.
Optionally, the current temperature of the mobile terminal may be obtained in real time through a built-in heat dissipation system of the mobile terminal, or the current temperature of the mobile terminal may also be obtained through the built-in heat dissipation system of the mobile terminal at intervals of a preset time to obtain a current temperature value, where the preset time may be set by a built-in program of the mobile terminal, or may be set by a user according to a requirement of the user.
The current temperature value of the mobile terminal obtained by the built-in heat dissipation system of the mobile terminal is, for example, 25 ℃.
On the other hand, in the step, the current temperature of the mobile terminal is obtained according to the built-in heat dissipation system of the mobile terminal instead of being detected by the temperature sensor, so that the manufacturing cost of the mobile terminal is effectively reduced.
S304: and acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, so as to detect the holding state of the user.
For example, if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 25 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), and if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 0 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 1000F.
S305: and acquiring holding data of the mobile terminal.
In the embodiment of the present invention, the holding data is data detected by the hand-held sensor that the user holds the mobile terminal, and the holding data may be, for example, pressure data generated when the user presses the interface of the mobile terminal with fingers. The holding data can be single holding data or an average value of holding data for multiple times within a preset time range, and the preset time range can be preset according to requirements.
The holding data may be raw data or processed characteristic data. For example, in the present embodiment, the holding data may be the distance between the user's finger and any one of the four sides of the edge of the mobile terminal housing, and the original data of the contact area between the user's finger and any one of the four sides of the edge of the mobile terminal housing.
In particular, the holding data of the contact area of the user's finger and the interface of the mobile terminal can be detected by a hand-held sensor in the mobile terminal.
Wherein, holding the sensor and can be for example capacitive sensor, capacitive sensor's quantity can be four, and four capacitive sensor can set up respectively in four edges at mobile terminal shell edge, and four capacitive sensor overall arrangement form and hold the sensor.
A capacitive sensor is a sensor that converts a change in a measured quantity (e.g., size, pressure, contact area, etc.) into a change in capacitance.
It is understood that the grip sensor may be configured to detect the holding data of the user in real time, or may be configured to detect the holding data of the user at preset time intervals, where the preset time may be preset according to requirements.
S306: and judging whether the capacitance value of the capacitance sensor is larger than a capacitance change threshold value corresponding to the current temperature value, if so, executing a step S307, and otherwise, executing a step S309.
Specifically, when the finger of the user touches any one of the four edges of the edge of the mobile terminal housing, at this time, the distance between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is decreased, or the contact area between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is increased, the capacitance values of the four capacitance sensors installed on the four edges of the edge of the mobile terminal housing are increased, and when the finger of the user does not touch the four edges of the edge of the mobile terminal housing, the capacitance value of the capacitance sensor is 0F (farad), therefore, firstly, the capacitance values of the four capacitance sensors after capacitance increase need to be calculated respectively according to the obtained holding data of the user, and compared with the capacitance change threshold value in the mobile terminal, when the capacitance value of one capacitance sensor after increase is greater than the capacitance change threshold value, it can be determined that a user's finger is held on the edge of the mobile terminal housing where the capacitive sensor is located.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, then the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), so that when the capacitance value of the capacitance sensor is greater than the capacitance change threshold 2000F corresponding to the current temperature value, step S307 is triggered to be executed, and when the capacitance value of the capacitance sensor is less than the capacitance change threshold 2000F corresponding to the current temperature value, step S309 is triggered to be executed.
S307: and judging whether the number of the capacitance sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number, if so, executing the step S308, and otherwise, executing the step S309.
Specifically, if the number of capacitive sensors (i.e., the number of edges of the edge of the housing of the mobile terminal held by the fingers of the user) whose increased capacitance value is greater than the capacitance change threshold value reaches a preset number, it may be determined that the user holds the mobile terminal.
Wherein the preset number is, for example, 2.
In this embodiment, for example, as shown in fig. 2, the schematic position diagram of the edge of the mobile terminal housing includes four positions, i.e., an upper position, a lower position, a left position and a right position, if the edge specifically held by the fingers of the user includes the left edge and does not include the right edge, the holding posture of the user may be determined as left-handed holding, if the edge specifically held by the fingers of the user includes the right edge and does not include the left edge, the holding posture of the user may be determined as right-handed holding, and if the edge specifically held by the fingers of the user includes the left edge and also includes the right edge, the holding posture of the user may be determined as left-handed holding, where left-handed holding, right-handed holding, and left-handed holding both indicate that the holding state of the user is.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, then the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), so that when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is greater than or equal to 2, step S308 is triggered to be executed, and when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is smaller than 2, step S309 is triggered to be executed.
S308: and judging the holding state as that the user holds the mobile terminal.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, and the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), then when the capacitance value of the capacitance sensor is greater than the capacitance change threshold 2000F corresponding to the current temperature value, and the number of capacitance sensors having capacitance values greater than the capacitance change threshold 2000F corresponding to the current temperature value is greater than or equal to 2, it is determined that the holding state is that the user holds the mobile terminal.
S309: and judging that the holding state is that the user does not hold the mobile terminal.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, and the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), it is determined that the holding state is that the user does not hold the mobile terminal when the capacitance value of the capacitance sensor is smaller than the capacitance change threshold 2000F corresponding to the current temperature value, or when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is smaller than 2.
In the embodiment, the preset relation data table is obtained according to the experiment, the current temperature value of the mobile terminal is used as a parameter for judging the holding state of the user, the influence of the current temperatures of different mobile terminals on the detection accuracy of the holding state is avoided, the temperature compensation function of the mobile terminal can be started or not according to the requirement of the user by starting the temperature compensation function of the mobile terminal, and the flexibility of capacitance change threshold value transformation is improved. The current temperature of the mobile terminal is obtained according to the built-in heat dissipation system of the mobile terminal, so that the manufacturing cost of the mobile terminal is effectively reduced. The capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of detecting the holding state of the user by the mobile terminal can be improved, and the use experience of the user is effectively improved.
Fig. 4 is a schematic structural diagram of a temperature compensation apparatus for a mobile terminal according to another embodiment of the present invention, where the temperature compensation apparatus 40 for a mobile terminal includes a temperature obtaining module 401, a capacitance change threshold obtaining module 402, and a holding state obtaining module 403, where,
the temperature obtaining module 401 is configured to obtain a current temperature of the mobile terminal according to a built-in cooling system of the mobile terminal, so as to obtain a current temperature value.
The mobile terminal may be a hardware device with various operating systems, such as a smart phone, a tablet computer, a personal digital assistant, and an electronic book.
Specifically, the higher the operating frequency and the longer the operating time of a Central Processing Unit (CPU) of the mobile terminal are, the higher the temperature value of the mobile terminal itself is, and if the mobile terminal is in a high-temperature working state for a long time, the service life of the mobile terminal may be shortened.
The temperature of the mobile terminal rises due to the influence of external factors (such as solar radiation, human body heat and the like) and internal factors (such as audio call, video call, charging and the like), the capacitance value of a capacitance sensor arranged on the mobile terminal is inconsistent due to sensing of holding data of a user at different temperatures of the mobile terminal, and in the prior art, the influence of the current temperature of the mobile terminal on the holding state detection accuracy is not considered when the holding state of the user is judged by the mobile terminal.
In the embodiment of the invention, in order to avoid the influence of the current temperature of different mobile terminals on the detection accuracy of the holding state, the current temperature value of the mobile terminal is used as a parameter for judging the holding state of the user.
Optionally, the current temperature of the mobile terminal may be obtained in real time through a built-in heat dissipation system of the mobile terminal, or the current temperature of the mobile terminal may also be obtained through the built-in heat dissipation system of the mobile terminal at intervals of a preset time to obtain a current temperature value, where the preset time may be set by a built-in program of the mobile terminal, or may be set by a user according to a requirement of the user.
The current temperature value of the mobile terminal obtained by the built-in heat dissipation system of the mobile terminal is, for example, 25 ℃.
On the other hand, the current temperature of the mobile terminal is obtained according to the built-in heat dissipation system of the mobile terminal instead of being detected by the temperature sensor, so that the manufacturing cost of the mobile terminal is effectively reduced.
Optionally, as shown in fig. 5, the temperature compensation apparatus 40 for a mobile terminal further includes a preset relation data table obtaining module 404, configured to obtain a preset relation data table according to an experiment.
The preset relationship data table is used for identifying the corresponding relationship between the temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The user can obtain the corresponding relation between the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor in advance according to experiments so as to obtain a preset relation data table.
A capacitance change threshold obtaining module 402, configured to obtain a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relationship data table, where the preset relationship data table is used to identify a corresponding relationship between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, so as to detect the holding state of the user.
For example, if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 25 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), and if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 0 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 1000F.
The holding state obtaining module 403 is configured to obtain holding data of the mobile terminal, and obtain a holding state of the user according to the holding data and a capacitance change threshold corresponding to the current temperature value.
In the embodiment of the present invention, the holding data is data detected by the hand-held sensor that the user holds the mobile terminal, and the holding data may be, for example, pressure data generated when the user presses the interface of the mobile terminal with fingers. The holding data can be single holding data or an average value of holding data for multiple times within a preset time range, and the preset time range can be preset according to requirements.
The holding data may be raw data or processed characteristic data. For example, in the present embodiment, the holding data may be the distance between the user's finger and any one of the four sides of the edge of the mobile terminal housing, and the original data of the contact area between the user's finger and any one of the four sides of the edge of the mobile terminal housing.
In particular, the holding data of the contact area of the user's finger and the interface of the mobile terminal can be detected by a hand-held sensor in the mobile terminal.
Wherein, holding the sensor and can be for example capacitive sensor, capacitive sensor's quantity can be four, and four capacitive sensor can set up respectively in four edges at mobile terminal shell edge, and four capacitive sensor overall arrangement form and hold the sensor.
A capacitive sensor is a sensor that converts a change in a measured quantity (e.g., size, pressure, contact area, etc.) into a change in capacitance.
It is understood that the grip sensor may be configured to detect the holding data of the user in real time, or may be configured to detect the holding data of the user at preset time intervals, where the preset time may be preset according to requirements.
Optionally, the holding state includes that the user holds the mobile terminal, and the holding state obtaining module is specifically configured to: judging whether the capacitance value of the capacitance sensor is larger than a capacitance change threshold value corresponding to the current temperature value or not; if the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value, further judging whether the number of the capacitance sensors of which the capacitance values are larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number; and if the number of the capacitive sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number, the holding state is that the user holds the mobile terminal.
Optionally, the holding state further includes that the user does not hold the mobile terminal, and the holding state obtaining module is further specifically configured to: if the capacitance value of the capacitance sensor is smaller than the capacitance change threshold value corresponding to the current temperature value, or if the number of the capacitance sensors of which the capacitance value is larger than the capacitance change threshold value corresponding to the current temperature value does not reach the preset number, the holding state is that the user does not hold the mobile terminal.
Specifically, when the finger of the user touches any one of the four edges of the edge of the mobile terminal housing, at this time, the distance between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is decreased, or the contact area between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is increased, the capacitance values of the four capacitance sensors installed on the four edges of the edge of the mobile terminal housing are increased, and when the finger of the user does not touch the four edges of the edge of the mobile terminal housing, the capacitance value of the capacitance sensor is 0F (farad), therefore, firstly, the capacitance values of the four capacitance sensors after capacitance increase need to be calculated respectively according to the obtained holding data of the user, and compared with the capacitance change threshold value in the mobile terminal, when the capacitance value of one capacitance sensor after increase is greater than the capacitance change threshold value, the method can determine that the fingers of the user hold the edge of the mobile terminal shell where the capacitive sensor is located, and further determine that the user holds the mobile terminal if the number of the capacitive sensors (that is, the number of the edges of the mobile terminal shell where the fingers of the user hold the mobile terminal) with the increased capacitance values larger than the capacitance change threshold reaches a preset number.
Wherein the preset number is, for example, 2.
In this embodiment, for example, as shown in fig. 2, the schematic position diagram of the edge of the mobile terminal housing includes four positions, i.e., an upper position, a lower position, a left position and a right position, if the edge specifically held by the fingers of the user includes the left edge and does not include the right edge, the holding posture of the user may be determined as left-handed holding, if the edge specifically held by the fingers of the user includes the right edge and does not include the left edge, the holding posture of the user may be determined as right-handed holding, and if the edge specifically held by the fingers of the user includes the left edge and also includes the right edge, the holding posture of the user may be determined as left-handed holding, where left-handed holding, right-handed holding, and left-handed holding both indicate that the holding state of the user is.
Optionally, as shown in fig. 5, the temperature compensation apparatus 40 for a mobile terminal further includes a starting module 405 for starting a temperature compensation function of the mobile terminal.
Specifically, when the user starts the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is detected, and if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not acquired, and the holding state of the user is determined by using a capacitance change threshold preset by a built-in program of the mobile terminal.
Through the steps, a user can select whether to start the temperature compensation function of the mobile terminal according to the self requirement, and the flexibility of capacitance change threshold value conversion is improved.
In the embodiment, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of detecting the holding state of the user by the mobile terminal can be improved, and the use experience of the user is effectively improved.
The embodiment of the invention also provides a mobile terminal which comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
s101': and obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value.
The mobile terminal may be a hardware device with various operating systems, such as a smart phone, a tablet computer, a personal digital assistant, and an electronic book.
Specifically, the higher the operating frequency and the longer the operating time of a Central Processing Unit (CPU) of the mobile terminal are, the higher the temperature value of the mobile terminal itself is, and if the mobile terminal is in a high-temperature working state for a long time, the service life of the mobile terminal may be shortened.
The temperature of the mobile terminal rises due to the influence of external factors (such as solar radiation, human body heat and the like) and internal factors (such as audio call, video call, charging and the like), the capacitance value of a capacitance sensor arranged on the mobile terminal is inconsistent due to sensing of holding data of a user at different temperatures of the mobile terminal, and in the prior art, the influence of the current temperature of the mobile terminal on the holding state detection accuracy is not considered when the holding state of the user is judged by the mobile terminal.
In the embodiment of the invention, in order to avoid the influence of the current temperature of different mobile terminals on the detection accuracy of the holding state, the current temperature value of the mobile terminal is used as a parameter for judging the holding state of the user.
Optionally, the current temperature of the mobile terminal may be obtained in real time through a built-in heat dissipation system of the mobile terminal, or the current temperature of the mobile terminal may also be obtained through the built-in heat dissipation system of the mobile terminal at intervals of a preset time to obtain a current temperature value, where the preset time may be set by a built-in program of the mobile terminal, or may be set by a user according to a requirement of the user.
The current temperature value of the mobile terminal obtained by the built-in heat dissipation system of the mobile terminal is, for example, 25 ℃.
Optionally, obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal, and before obtaining the current temperature value, the method further includes: and starting the temperature compensation function of the mobile terminal.
S102': and acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, so as to detect the holding state of the user.
For example, if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 25 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), and if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 0 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 1000F.
Optionally, before obtaining the current temperature value according to a built-in cooling system of the mobile terminal, the method further includes: and acquiring a preset relation data table according to an experiment.
S103': and acquiring holding data of the mobile terminal, and acquiring the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value.
In the embodiment of the present invention, the holding data is data detected by the hand-held sensor that the user holds the mobile terminal, and the holding data may be, for example, pressure data generated when the user presses the interface of the mobile terminal with fingers. The holding data can be single holding data or an average value of holding data for multiple times within a preset time range, and the preset time range can be preset according to requirements.
The holding data may be raw data or processed characteristic data. For example, in the present embodiment, the holding data may be the distance between the user's finger and any one of the four sides of the edge of the mobile terminal housing, and the original data of the contact area between the user's finger and any one of the four sides of the edge of the mobile terminal housing.
In particular, the holding data of the contact area of the user's finger and the interface of the mobile terminal can be detected by a hand-held sensor in the mobile terminal.
Wherein, holding the sensor and can be for example capacitive sensor, capacitive sensor's quantity can be four, and four capacitive sensor can set up respectively in four edges at mobile terminal shell edge, and four capacitive sensor overall arrangement form and hold the sensor.
A capacitive sensor is a sensor that converts a change in a measured quantity (e.g., size, pressure, contact area, etc.) into a change in capacitance.
It is understood that the grip sensor may be configured to detect the holding data of the user in real time, or may be configured to detect the holding data of the user at preset time intervals, where the preset time may be preset according to requirements.
Optionally, the holding state includes that the user holds the mobile terminal, and the mobile terminal obtains the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value, including: judging whether the capacitance value of the capacitance sensor is larger than a capacitance change threshold value corresponding to the current temperature value or not; if the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value, further judging whether the number of the capacitance sensors of which the capacitance values are larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number; and if the number of the capacitive sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number, the holding state is that the user holds the mobile terminal.
Optionally, the holding state further includes that the user does not hold the mobile terminal, and the mobile terminal obtains the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value, and further includes: if the capacitance value of the capacitance sensor is smaller than the capacitance change threshold value corresponding to the current temperature value, or if the number of the capacitance sensors of which the capacitance value is larger than the capacitance change threshold value corresponding to the current temperature value does not reach the preset number, the holding state is that the user does not hold the mobile terminal.
Specifically, when the finger of the user touches any one of the four edges of the edge of the mobile terminal housing, at this time, the distance between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is decreased, or the contact area between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is increased, the capacitance values of the four capacitance sensors installed on the four edges of the edge of the mobile terminal housing are increased, and when the finger of the user does not touch the four edges of the edge of the mobile terminal housing, the capacitance value of the capacitance sensor is 0F (farad), therefore, firstly, the capacitance values of the four capacitance sensors after capacitance increase need to be calculated respectively according to the obtained holding data of the user, and compared with the capacitance change threshold value in the mobile terminal, when the capacitance value of one capacitance sensor after increase is greater than the capacitance change threshold value, the method can determine that the fingers of the user hold the edge of the mobile terminal shell where the capacitive sensor is located, and further determine that the user holds the mobile terminal if the number of the capacitive sensors (that is, the number of the edges of the mobile terminal shell where the fingers of the user hold the mobile terminal) with the increased capacitance values larger than the capacitance change threshold reaches a preset number.
Wherein the preset number is, for example, 2.
In this embodiment, for example, as shown in fig. 2, the schematic position diagram of the edge of the mobile terminal housing includes four positions, i.e., an upper position, a lower position, a left position and a right position, if the edge specifically held by the fingers of the user includes the left edge and does not include the right edge, the holding posture of the user may be determined as left-handed holding, if the edge specifically held by the fingers of the user includes the right edge and does not include the left edge, the holding posture of the user may be determined as right-handed holding, and if the edge specifically held by the fingers of the user includes the left edge and also includes the right edge, the holding posture of the user may be determined as left-handed holding, where left-handed holding, right-handed holding, and left-handed holding both indicate that the holding state of the user is.
In the embodiment, the capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of detecting the holding state of the user by the mobile terminal can be improved, and the use experience of the user is effectively improved.
In another embodiment, the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
s301': and acquiring a preset relation data table according to an experiment.
The preset relationship data table is used for identifying the corresponding relationship between the temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The user can obtain the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor in advance according to experiments to obtain a preset relation data table.
S302': and starting the temperature compensation function of the mobile terminal.
Specifically, when the user starts the temperature compensation function of the mobile terminal, step S303' is triggered to be executed, and if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not obtained, and the holding state of the user is determined by using a capacitance change threshold preset by a built-in program of the mobile terminal.
Through the steps, a user can select whether to start the temperature compensation function of the mobile terminal according to the self requirement, and the flexibility of capacitance change threshold value conversion is improved.
S303': and obtaining the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value.
Specifically, the higher the operating frequency and the longer the operating time of a Central Processing Unit (CPU) of the mobile terminal are, the higher the temperature value of the mobile terminal itself is, and if the mobile terminal is in a high-temperature working state for a long time, the service life of the mobile terminal may be shortened.
Optionally, the current temperature of the mobile terminal may be obtained in real time through a built-in heat dissipation system of the mobile terminal, or the current temperature of the mobile terminal may also be obtained through the built-in heat dissipation system of the mobile terminal at intervals of a preset time to obtain a current temperature value, where the preset time may be set by a built-in program of the mobile terminal, or may be set by a user according to a requirement of the user.
The current temperature value of the mobile terminal obtained by the built-in heat dissipation system of the mobile terminal is, for example, 25 ℃.
S304': and acquiring a capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table.
The preset relation data table comprises two parameters of the current temperature value of the mobile terminal and the capacitance change threshold value of the capacitance sensor. Different current temperature values correspond to different or the same capacitance change threshold. The mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, so as to detect the holding state of the user.
For example, if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 25 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), and if the current temperature value of the mobile terminal obtained through the heat dissipation system built in the mobile terminal is, for example, 0 ℃, the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 1000F.
S305': and acquiring holding data of the mobile terminal.
In the embodiment of the present invention, the holding data is data detected by the hand-held sensor that the user holds the mobile terminal, and the holding data may be, for example, pressure data generated when the user presses the interface of the mobile terminal with fingers. The holding data can be single holding data or an average value of holding data for multiple times within a preset time range, and the preset time range can be preset according to requirements.
The holding data may be raw data or processed characteristic data. For example, in the present embodiment, the holding data may be the distance between the user's finger and any one of the four sides of the edge of the mobile terminal housing, and the original data of the contact area between the user's finger and any one of the four sides of the edge of the mobile terminal housing.
In particular, the holding data of the contact area of the user's finger and the interface of the mobile terminal can be detected by a hand-held sensor in the mobile terminal.
Wherein, holding the sensor and can be for example capacitive sensor, capacitive sensor's quantity can be four, and four capacitive sensor can set up respectively in four edges at mobile terminal shell edge, and four capacitive sensor overall arrangement form and hold the sensor.
A capacitive sensor is a sensor that converts a change in a measured quantity (e.g., size, pressure, contact area, etc.) into a change in capacitance.
It is understood that the grip sensor may be configured to detect the holding data of the user in real time, or may be configured to detect the holding data of the user at preset time intervals, where the preset time may be preset according to requirements.
S306': and judging whether the capacitance value of the capacitance sensor is larger than a capacitance change threshold value corresponding to the current temperature value, if so, executing a step S307 ', otherwise, executing a step S309'.
Specifically, when the finger of the user touches any one of the four edges of the edge of the mobile terminal housing, at this time, the distance between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is decreased, or the contact area between the finger of the user and any one of the four edges of the edge of the mobile terminal housing is increased, the capacitance values of the four capacitance sensors installed on the four edges of the edge of the mobile terminal housing are increased, and when the finger of the user does not touch the four edges of the edge of the mobile terminal housing, the capacitance value of the capacitance sensor is 0F (farad), therefore, firstly, the capacitance values of the four capacitance sensors after capacitance increase need to be calculated respectively according to the obtained holding data of the user, and compared with the capacitance change threshold value in the mobile terminal, when the capacitance value of one capacitance sensor after increase is greater than the capacitance change threshold value, it can be determined that a user's finger is held on the edge of the mobile terminal housing where the capacitive sensor is located.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, and the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), then step S307 'is triggered to be executed when the capacitance value of the capacitance sensor is greater than the capacitance change threshold 2000F corresponding to the current temperature value, and step S309' is triggered to be executed when the capacitance value of the capacitance sensor is less than the capacitance change threshold 2000F corresponding to the current temperature value.
S307': and judging whether the number of the capacitance sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number, if so, executing the step S308 ', and otherwise, executing the step S309'.
Specifically, if the number of capacitive sensors (i.e., the number of edges of the edge of the housing of the mobile terminal held by the fingers of the user) whose increased capacitance value is greater than the capacitance change threshold value reaches a preset number, it may be determined that the user holds the mobile terminal.
Wherein the preset number is, for example, 2.
In this embodiment, for example, as shown in fig. 2, the schematic position diagram of the edge of the mobile terminal housing includes four positions, i.e., an upper position, a lower position, a left position and a right position, if the edge specifically held by the fingers of the user includes the left edge and does not include the right edge, the holding posture of the user may be determined as left-handed holding, if the edge specifically held by the fingers of the user includes the right edge and does not include the left edge, the holding posture of the user may be determined as right-handed holding, and if the edge specifically held by the fingers of the user includes the left edge and also includes the right edge, the holding posture of the user may be determined as left-handed holding, where left-handed holding, right-handed holding, and left-handed holding both indicate that the holding state of the user is.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, then the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), so that when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is greater than or equal to 2, step S308 'is triggered to be executed, and when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is smaller than 2, step S309' is triggered to be executed.
S308': and judging the holding state as that the user holds the mobile terminal.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, and the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), then when the capacitance value of the capacitance sensor is greater than the capacitance change threshold 2000F corresponding to the current temperature value, and the number of capacitance sensors having capacitance values greater than the capacitance change threshold 2000F corresponding to the current temperature value is greater than or equal to 2, it is determined that the holding state is that the user holds the mobile terminal.
S309': and judging that the holding state is that the user does not hold the mobile terminal.
For example, if the current temperature value of the mobile terminal obtained by the heat dissipation system built in the mobile terminal is, for example, 25 ℃, and the capacitance change threshold corresponding to the current temperature value of 25 ℃ is 2000F (farad), it is determined that the holding state is that the user does not hold the mobile terminal when the capacitance value of the capacitance sensor is smaller than the capacitance change threshold 2000F corresponding to the current temperature value, or when the number of capacitance sensors having capacitance values larger than the capacitance change threshold 2000F corresponding to the current temperature value is smaller than 2.
In the embodiment, the preset relation data table is obtained according to the experiment, the current temperature value of the mobile terminal is used as a parameter for judging the holding state of the user, the influence of the current temperatures of different mobile terminals on the detection accuracy of the holding state is avoided, the temperature compensation function of the mobile terminal can be started or not according to the requirement of the user by starting the temperature compensation function of the mobile terminal, and the flexibility of capacitance change threshold value transformation is improved. The capacitance change threshold corresponding to the current temperature value is obtained according to the current temperature value of the mobile terminal, and the holding state of the user is obtained according to the holding data and the capacitance change threshold corresponding to the current temperature value of the mobile terminal, so that the accuracy of detecting the holding state of the user by the mobile terminal can be improved, and the use experience of the user is effectively improved.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (9)

1. A temperature compensation method for a mobile terminal, comprising the steps of:
if the temperature compensation function of the mobile terminal is started, acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value; the mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, and acquire the capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor;
acquiring holding data of the mobile terminal, and acquiring a holding state of a user according to the holding data and the capacitance change threshold corresponding to the current temperature value;
or,
if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not acquired, and the holding state of the user is directly acquired according to the holding data of the mobile terminal and a capacitance change threshold preset by a built-in program of the mobile terminal; before the current temperature of the mobile terminal is obtained according to the built-in heat dissipation system of the mobile terminal and the current temperature value is obtained, the method further comprises the following steps:
acquiring the preset relation data table according to an experiment;
the preset relation data table comprises two parameters, namely a current temperature value of the mobile terminal and a capacitance change threshold value of the capacitance sensor, wherein different current temperature values correspond to different or same capacitance change threshold values.
2. The temperature compensation method for a mobile terminal according to claim 1, wherein the holding data of the mobile terminal is obtained by the capacitive sensors, which are respectively disposed on four sides of an edge of a housing of the mobile terminal.
3. The method according to claim 1, wherein the holding state comprises a user holding the mobile terminal, and the obtaining the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value comprises:
judging whether the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value or not;
if the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value, further judging whether the number of the capacitance sensors of which the capacitance values are larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number;
and if the number of the capacitive sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches the preset number, the holding state is that the user holds the mobile terminal.
4. The method according to claim 3, wherein the holding state further includes that the mobile terminal is not held by a user, and the obtaining the holding state of the user according to the holding data and the capacitance change threshold corresponding to the current temperature value further includes:
if the capacitance value of the capacitance sensor is smaller than the capacitance change threshold value corresponding to the current temperature value, or if the number of the capacitance sensors of which the capacitance value is larger than the capacitance change threshold value corresponding to the current temperature value does not reach the preset number, the holding state is that the user does not hold the mobile terminal.
5. A temperature compensation apparatus for a mobile terminal, comprising:
the temperature acquisition module is used for acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal when the temperature compensation function of the mobile terminal is started, so as to obtain a current temperature value;
the capacitance change threshold acquisition module is used for enabling the mobile terminal to automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal and acquiring the capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor;
the holding state acquisition module is used for acquiring holding data of the mobile terminal and acquiring the holding state of a user according to the holding data and the capacitance change threshold corresponding to the current temperature value;
or,
if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not acquired, and the holding state of the user is directly acquired according to the holding data of the mobile terminal and a capacitance change threshold preset by a built-in program of the mobile terminal;
the preset relation data table acquisition module is used for acquiring the preset relation data table according to an experiment;
the preset relation data table comprises two parameters, namely a current temperature value of the mobile terminal and a capacitance change threshold value of the capacitance sensor, wherein different current temperature values correspond to different or same capacitance change threshold values.
6. The temperature compensation apparatus for a mobile terminal according to claim 5, wherein the holding state obtaining module obtains the holding data of the mobile terminal through the capacitive sensors, and the capacitive sensors are respectively disposed on four sides of an edge of a housing of the mobile terminal.
7. The temperature compensation apparatus for a mobile terminal according to claim 5, wherein the holding state comprises a user holding the mobile terminal, and the holding state obtaining module is specifically configured to:
judging whether the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value or not;
if the capacitance value of the capacitance sensor is larger than the capacitance change threshold value corresponding to the current temperature value, further judging whether the number of the capacitance sensors of which the capacitance values are larger than the capacitance change threshold value corresponding to the current temperature value reaches a preset number;
and if the number of the capacitive sensors with the capacitance values larger than the capacitance change threshold value corresponding to the current temperature value reaches the preset number, the holding state is that the user holds the mobile terminal.
8. The temperature compensation apparatus for a mobile terminal according to claim 7, wherein the holding state further includes that the mobile terminal is not held by a user, and the holding state obtaining module is further specifically configured to:
if the capacitance value of the capacitance sensor is smaller than the capacitance change threshold value corresponding to the current temperature value, or if the number of the capacitance sensors of which the capacitance value is larger than the capacitance change threshold value corresponding to the current temperature value does not reach the preset number, the holding state is that the user does not hold the mobile terminal.
9. A mobile terminal, comprising:
a housing;
a processor;
a memory;
a circuit board and a power supply circuit;
the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: if the temperature compensation function of the mobile terminal is started, acquiring the current temperature of the mobile terminal according to a built-in heat dissipation system of the mobile terminal to obtain a current temperature value; the mobile terminal can automatically select a capacitance change threshold corresponding to the current temperature value according to the current temperature value of the mobile terminal, and acquire the capacitance change threshold corresponding to the current temperature value according to the current temperature value and a preset relation data table, wherein the preset relation data table is used for identifying the corresponding relation between the temperature value of the mobile terminal and the capacitance change threshold of the capacitance sensor; acquiring holding data of the mobile terminal, and acquiring a holding state of a user according to the holding data and the capacitance change threshold corresponding to the current temperature value; or if the user does not start the temperature compensation function of the mobile terminal, the current temperature of the mobile terminal is not acquired, and the holding state of the user is directly acquired according to the holding data of the mobile terminal and a capacitance change threshold preset by a built-in program of the mobile terminal;
before the current temperature of the mobile terminal is obtained according to the built-in heat dissipation system of the mobile terminal and the current temperature value is obtained, the method further comprises the following steps:
acquiring the preset relation data table according to an experiment;
the preset relation data table comprises two parameters, namely a current temperature value of the mobile terminal and a capacitance change threshold value of the capacitance sensor, wherein different current temperature values correspond to different or same capacitance change threshold values.
CN201510903829.7A 2015-12-09 2015-12-09 Temperature-compensation method, device and mobile terminal for mobile terminal Expired - Fee Related CN105549701B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510903829.7A CN105549701B (en) 2015-12-09 2015-12-09 Temperature-compensation method, device and mobile terminal for mobile terminal
PCT/CN2016/097964 WO2017096978A1 (en) 2015-12-09 2016-09-02 Temperature compensation method and device for mobile terminal, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510903829.7A CN105549701B (en) 2015-12-09 2015-12-09 Temperature-compensation method, device and mobile terminal for mobile terminal

Publications (2)

Publication Number Publication Date
CN105549701A CN105549701A (en) 2016-05-04
CN105549701B true CN105549701B (en) 2019-05-14

Family

ID=55828931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510903829.7A Expired - Fee Related CN105549701B (en) 2015-12-09 2015-12-09 Temperature-compensation method, device and mobile terminal for mobile terminal

Country Status (2)

Country Link
CN (1) CN105549701B (en)
WO (1) WO2017096978A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549701B (en) * 2015-12-09 2019-05-14 Oppo广东移动通信有限公司 Temperature-compensation method, device and mobile terminal for mobile terminal
WO2019006666A1 (en) * 2017-07-04 2019-01-10 深圳市汇顶科技股份有限公司 Touch detection circuit, electronic device, and method for detecting environment temperature of touchscreen
EP3454190A4 (en) 2017-07-04 2019-06-12 Shenzhen Goodix Technology Co., Ltd. Electronic device, touch detection circuit, and method for updating reference value of touchscreen
CN110389640B (en) * 2019-07-03 2021-07-13 维沃移动通信有限公司 Heat dissipation method and mobile terminal
US11609128B2 (en) * 2019-12-10 2023-03-21 Wiliot, LTD. Single layer LC oscillator
CN112505542B (en) * 2020-12-23 2023-04-18 全球能源互联网研究院有限公司 Capacitance-voltage and capacitance-temperature characteristic measuring method and system of solid-state switch
CN116295943B (en) * 2021-12-21 2024-02-23 荣耀终端有限公司 Wearable device and temperature measurement method
CN113961102B (en) * 2021-12-22 2022-06-17 上海艾为微电子技术有限公司 Detection parameter determination method, distance detection system and electronic equipment
CN114594807B (en) * 2022-03-07 2023-02-28 黄山奥仪电器有限公司 Constant temperature control system based on VTI
CN116128770B (en) * 2023-04-13 2023-08-04 杭州微影软件有限公司 Image generation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566901A (en) * 2008-04-23 2009-10-28 索尼爱立信移动通信日本株式会社 Contact-sensing device, mobile information terminal, and capacitance calibration program and method
CN103309490A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Touch input equipment positioning adjusting method and device and touch input equipment
CN103684254A (en) * 2012-09-05 2014-03-26 深圳市经纬科技有限公司 Temperature frequency difference compensation method, system and terminal for electromagnetic pen
CN103777873A (en) * 2014-02-18 2014-05-07 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101012305B1 (en) * 2008-04-22 2011-02-08 삼성전자주식회사 Method for operation of touch input device and portable terminal using the same
EP2544078B1 (en) * 2010-03-01 2021-02-17 Panasonic Intellectual Property Management Co., Ltd. Display device with adaptive capacitive touch panel
CN103235672B (en) * 2013-04-11 2016-05-11 深圳市天微电子股份有限公司 Capacitance touch screen automatic calibrating method and system
JP2015194948A (en) * 2014-03-31 2015-11-05 ソニー株式会社 Information processor, input device, information processing method and program
CN105404425B (en) * 2015-12-09 2018-12-04 广东欧珀移动通信有限公司 Temperature-compensation method, device and mobile terminal for mobile terminal
CN105549701B (en) * 2015-12-09 2019-05-14 Oppo广东移动通信有限公司 Temperature-compensation method, device and mobile terminal for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566901A (en) * 2008-04-23 2009-10-28 索尼爱立信移动通信日本株式会社 Contact-sensing device, mobile information terminal, and capacitance calibration program and method
CN103309490A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Touch input equipment positioning adjusting method and device and touch input equipment
CN103684254A (en) * 2012-09-05 2014-03-26 深圳市经纬科技有限公司 Temperature frequency difference compensation method, system and terminal for electromagnetic pen
CN103777873A (en) * 2014-02-18 2014-05-07 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
WO2017096978A1 (en) 2017-06-15
CN105549701A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105549701B (en) Temperature-compensation method, device and mobile terminal for mobile terminal
US10438559B2 (en) Electronic device supporting USB interface and control method for USB interface
US9859661B2 (en) Connector of an electronic device
US10256658B2 (en) Operating method of an electronic device and electronic device supporting the same
CN101963873B (en) Method for setting and calibrating capacitive-type touch panel capacitance base value
KR102273371B1 (en) Method for controlling and an electronic device thereof
CN108474823B (en) Method and device for estimating temperature
JP6386189B2 (en) Power management method, power management apparatus, and electronic device
CN111083271B (en) Wearing detection method, system, equipment and computer readable storage medium
CN108759892B (en) Sensor calibration method, electronic device and computer-readable storage medium
CN110840246A (en) Heating control method and device and electric kettle
CN105630158B (en) Sensing data processing method, device and terminal device
TW201339935A (en) Capacitive touch control system and touch control device and touch control method using the same
CN103294583B (en) A kind of method of control terminal screen and mobile terminal
CN105571722A (en) Temperature measuring method and terminal
CN105739847A (en) Intelligent electronic device and system and method for awakening screen of intelligent electronic device
TWI575429B (en) Operation mode switching method used in capacitive touch control panel module
CN108139899B (en) Terminal device and method for controlling charging
US20160202127A1 (en) Electronic thermometer
US9207805B2 (en) Computer-readable recording medium, information processing apparatus, and correction processing method
CN107306307B (en) Mobile terminal and method for determining antenna
US10084332B2 (en) Method and apparatus for charging using multiple energy source
CN104423661A (en) Mobile terminal and method for preventing wrong touch on touch screen
JP6135413B2 (en) Electronic device and program
CN107817397B (en) Charging heating abnormity detection method and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523859 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190514

CF01 Termination of patent right due to non-payment of annual fee