CN105404425B - 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
CN105404425B
CN105404425B CN201510903963.7A CN201510903963A CN105404425B CN 105404425 B CN105404425 B CN 105404425B CN 201510903963 A CN201510903963 A CN 201510903963A CN 105404425 B CN105404425 B CN 105404425B
Authority
CN
China
Prior art keywords
mobile terminal
capacitance
current temperature
sensor
user
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
CN201510903963.7A
Other languages
Chinese (zh)
Other versions
CN105404425A (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 CN201510903963.7A priority Critical patent/CN105404425B/en
Publication of CN105404425A publication Critical patent/CN105404425A/en
Application granted granted Critical
Publication of CN105404425B publication Critical patent/CN105404425B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive 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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04104Multi-touch detection in digitiser, i.e. details about the simultaneous detection of a plurality of touching locations, e.g. multiple fingers or pen and finger

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical 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 detecting the current temperature of 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, device and mobile terminal for mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to it is a kind of for the temperature-compensation method of mobile terminal, device and Mobile terminal.
Background technique
The temperature of mobile terminal can be since external factor be (for example, shine upon, the body heat etc. of people.) and internal factor (for example, voice-frequency telephony, video calling, and charging etc..) influence and increase, mobile terminal is at different temperature, mobile The variation for the capacitance that the capacitance sensor being arranged in terminal is generated due to sensing the gripping data of user is inconsistent, existing In technology, mobile terminal can't consider that mobile terminal Current Temperatures examine grip state in the grip state for judging user The influence for surveying accuracy causes the accuracy of mobile terminal detection user's grip state not high, and the usage experience of user is poor.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, can be improved an object of the present invention is to provide a kind of temperature-compensation method for mobile terminal Mobile terminal detects the accuracy of user's grip state, effectively promotes the usage experience of user.
It is another object of the present invention to propose a kind of temperature compensation means for mobile terminal.
It is another object of the present invention to propose a kind of mobile terminal.
In order to achieve the above objectives, the temperature-compensation method for mobile terminal that first aspect present invention embodiment proposes, Include: to detect the current temperature of mobile terminal, obtains current temperature value;According to the current temperature value and preset relation data Table obtains capacitance variations threshold value corresponding with current temperature value, wherein the preset relation tables of data is for identifying mobile terminal Temperature value and capacitance sensor capacitance variations threshold value between corresponding relationship;The gripping data of the mobile terminal are obtained, And the grip state of user is obtained according to the gripping data and the capacitance variations threshold value corresponding with current temperature value.
The temperature-compensation method for mobile terminal that first aspect present invention embodiment proposes, by according to gripping data The grip state that user is obtained with capacitance variations threshold value corresponding with mobile terminal current temperature value can be improved mobile terminal inspection The accuracy of user's grip state is surveyed, the usage experience of user is effectively promoted.
In order to achieve the above objectives, the temperature compensation means for mobile terminal that second aspect of the present invention embodiment proposes, Include: temperature detecting module, for detecting the current temperature of mobile terminal, obtains current temperature value;Capacitance variations threshold value obtains Module, for obtaining capacitance variations threshold corresponding with current temperature value according to the current temperature value and preset relation tables of data Value, wherein the preset relation tables of data is used to identify the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Between corresponding relationship;Grip state obtains module, for obtaining the gripping data of the mobile terminal, and according to the gripping Data and the capacitance variations threshold value corresponding with current temperature value obtain the grip state of user.
The temperature compensation means for mobile terminal that second aspect of the present invention embodiment proposes, by according to gripping data The grip state that user is obtained with capacitance variations threshold value corresponding with mobile terminal current temperature value can be improved mobile terminal inspection The accuracy of user's grip state is surveyed, the usage experience of user is effectively promoted.
In order to achieve the above objectives, the mobile terminal that third aspect present invention embodiment proposes, comprising: shell, is deposited processor Reservoir, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor and memory setting On circuit boards;Power circuit, for each circuit or the device power supply for mobile terminal;Memory is for storing executable journey Sequence code;Processor is corresponding with executable program code to run by reading the executable program code stored in memory Program, for executing: the current temperature of detection mobile terminal obtains current temperature value;According to the current temperature value and Preset relation tables of data obtains capacitance variations threshold value corresponding with current temperature value, wherein the preset relation tables of data is used for Identify the corresponding relationship between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor;Obtain the mobile terminal Gripping data, and holding according to the gripping data and corresponding with current temperature value capacitance variations threshold value acquisition user Hold state.
Third aspect present invention embodiment propose mobile terminal, by according to hold data and with mobile terminal it is currently warm The corresponding capacitance variations threshold value of angle value obtains the grip state of user, can be improved the essence of mobile terminal detection user's grip state Exactness effectively promotes the usage experience of user.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the temperature-compensation method for mobile terminal that one embodiment of the invention proposes;
Fig. 2 is the position view on the side at mobile terminal case edge in the embodiment of the present invention;
Fig. 3 is the flow diagram for the temperature-compensation method for mobile terminal that another embodiment of the present invention proposes;
Fig. 4 is the structural schematic diagram for the temperature compensation means for mobile terminal that another embodiment of the present invention proposes;
Fig. 5 is the structural schematic diagram for the temperature compensation means for mobile terminal that another embodiment of the present invention proposes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal Object.
Fig. 1 is the flow diagram for the temperature-compensation method for mobile terminal that one embodiment of the invention proposes, the use Include: in the temperature-compensation method of mobile terminal
S101: the current temperature of detection mobile terminal obtains current temperature value.
Wherein, mobile terminal can be smart phone, tablet computer, personal digital assistant, e-book etc. with various behaviour Make the hardware device of system.
Specifically, the current temperature of mobile terminal can be detected by temperature sensor.
The temperature of mobile terminal can be since external factor be (for example, shine upon, the body heat etc. of people.) and internal factor (for example, voice-frequency telephony, video calling, and charging etc..) influence and increase, mobile terminal is at different temperature, mobile The variation for the capacitance that the capacitance sensor being arranged in terminal is generated due to sensing the gripping data of user is inconsistent, existing In technology, mobile terminal can't consider that mobile terminal Current Temperatures examine grip state in the grip state for judging user Survey the influence of accuracy.
And in the embodiment of the present invention, to avoid the Current Temperatures of different mobile terminals to grip state accuracy in detection It influences, using mobile terminal current temperature value as a parameter for judging user's grip state.
It is alternatively possible to detect the current temperature of mobile terminal in real time, moved alternatively, can also be detected every preset time The current temperature of dynamic terminal, obtains current temperature value, wherein and preset time can be set by mobile terminal plug-in, alternatively, It is set by user according to self-demand.
The current temperature value that temperature sensor detects is, for example, 25 DEG C.
Optionally, the current temperature of detection mobile terminal, before obtaining current temperature value, further includes:
Open the temperature compensation function of mobile terminal.
S102: capacitance variations threshold corresponding with current temperature value is obtained according to current temperature value and preset relation tables of data Value, wherein preset relation tables of data is for identifying between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Corresponding relationship.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.Mobile terminal can be according to itself Current temperature value automatically select capacitance variations threshold value corresponding with current temperature value, examined with the grip state to user It surveys.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), and the current temperature value that temperature sensor detects is, for example, 0 DEG C, then current temperature value 25 DEG C corresponding capacitance variations threshold value is 1000F.
Optionally, before the current temperature of detection mobile terminal obtains current temperature value, further includes:
Preset relation tables of data is obtained according to experiment.
S103: the gripping data of mobile terminal are obtained, and are become according to gripping data and capacitor corresponding with current temperature value Change the grip state that threshold value obtains user.
Wherein, in an embodiment of the present invention, holding data is that the user that grip sensor detects holds mobile terminal Data, holding data can the finger of such as user generated pressure data when pressing interface of mobile terminal.Hold data It can be the gripping data of single, or the average value of data, preset time range are repeatedly held in preset time range It can preset according to demand.
Holding data can be initial data, or the characteristic obtained by processing.For example, in the present embodiment, Holding data can be the distance of finger any side in mobile terminal case edge four edges of user, and, user hand Refer to the initial data with the contact area of any side in mobile terminal case edge four edges.
Specifically, it can be contacted by the finger that the grip sensor in mobile terminal detects user with interface of mobile terminal The gripping data in region.
Wherein, grip sensor can be, for example, capacitance sensor, and the quantity of capacitance sensor can be four, four electricity Holding sensor can be respectively arranged on the four edges at mobile terminal case edge, and four capacitance sensors are laid out to form holding sensing Device.
Capacitance type sensor is will to be measured the variation of (such as size, pressure, contact area etc.) to be converted into electric capacitance change A kind of sensor.
It is understood that grip sensor can be set to the gripping data of real-time detection user, alternatively, can also be with It is set as detecting the gripping data of user every preset time, preset time can be preset according to demand.
Optionally, grip state includes that user holds mobile terminal, and mobile terminal is according to gripping data and and Current Temperatures Be worth the grip state that corresponding capacitance variations threshold value obtains user, comprising: judge the capacitance of capacitance sensor whether be greater than with The corresponding capacitance variations threshold value of current temperature value;If the capacitance of capacitance sensor is greater than capacitor corresponding with current temperature value Change threshold then further judges that capacitance is greater than the number of the capacitance sensor of capacitance variations threshold value corresponding with current temperature value Whether amount reaches preset quantity;If capacitance is greater than the capacitance sensor of capacitance variations threshold value corresponding with current temperature value Quantity reaches preset quantity, then grip state is that user holds mobile terminal.
Optionally, grip state further includes that user does not hold mobile terminal, mobile terminal according to hold data and with it is current The corresponding capacitance variations threshold value of temperature value obtains the grip state of user, further includes: if the capacitance of capacitance sensor is less than Capacitance variations threshold value corresponding with current temperature value, alternatively, if capacitance is greater than capacitance variations corresponding with current temperature value The quantity of the capacitance sensor of threshold value is not up to preset quantity, then grip state is that user does not hold mobile terminal.
Specifically, when the finger of user touches any side in mobile terminal case edge four edges, at this point, user Finger reduces at a distance from any side in mobile terminal case edge four edges, alternatively, user's finger and mobile terminal case When the contact area of any side increases in edge four edges, it can make be mounted on the four edges at mobile terminal case edge four The capacitance of a capacitance sensor increases, when the finger of user is not in contact with mobile terminal case edge four edges, capacitance sensing The capacitance of device is 0F (farad), therefore, it is necessary first to calculate separately four capacitors according to the gripping data of the user got The capacitor of sensor increase after capacitance, and by after increase capacitance and mobile terminal in capacitance variations threshold value compare It is right, when the capacitance after the increase of some capacitance sensor is greater than capacitance variations threshold value, it is possible to determine that the finger grip of user On the side at the mobile terminal case edge where the capacitance sensor, further, if the capacitance after increasing is greater than capacitor The quantity (i.e. the quantity on the side at the finger grip mobile terminal case edge of user) of the capacitance sensor of change threshold reaches pre- If quantity, then it can determine that user holds mobile terminal.
Wherein, preset quantity is, for example, 2.
In the present embodiment, for example, as shown in Fig. 2, the position view on the side at mobile terminal case edge, including upper, Under, left and right four positions, if in the side that the finger of user is specifically held include the left side, and do not include the right, then can be determined that The grip of user is left-handed, if in the side that the finger of user is specifically held including the right, and does not include the left side, then It can be determined that the grip of user also includes if including the left side in the side that the finger of user is specifically held for right hand gripping The right then can be determined that the grip of user for right-hand man's gripping, wherein left-handed, the right hand are held, and left and right is held It holds and shows that the grip state of user is that user holds mobile terminal.
In the present embodiment, by being obtained according to gripping data and capacitance variations threshold value corresponding with mobile terminal current temperature value The grip state for taking family can be improved the accuracy of mobile terminal detection user's grip state, effectively promote the use of user Experience.
Fig. 3 is the flow diagram for the temperature-compensation method for mobile terminal that another embodiment of the present invention proposes, should Temperature-compensation method for mobile terminal includes:
S301: preset relation tables of data is obtained according to experiment.
Wherein, preset relation tables of data is used to identify the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Between corresponding relationship.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.User can be previously according to experiment The corresponding relationship between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor is obtained, to obtain preset relation number According to table.
S302: the temperature compensation function of mobile terminal is opened.
Specifically, when user opens the temperature compensation function of mobile terminal, triggering executes step S303, if user does not open The temperature compensation function of mobile terminal is opened, then does not detect the current temperature of mobile terminal, is set in advance with mobile terminal plug-in Fixed capacitance variations threshold value, to determine the grip state of user.
By this step, family can be used and chosen whether to open the temperature compensation function of mobile terminal according to self-demand, Promote the flexibility of capacitance variations threshold transformation.
S303: the current temperature of detection mobile terminal obtains current temperature value.
It is alternatively possible to detect the current temperature of mobile terminal in real time, moved alternatively, can also be detected every preset time The current temperature of dynamic terminal, obtains current temperature value, wherein and preset time can be set by mobile terminal plug-in, alternatively, It is set by user according to self-demand.
The current temperature value that temperature sensor detects is, for example, 25 DEG C.
S304: capacitance variations threshold corresponding with current temperature value is obtained according to current temperature value and preset relation tables of data Value.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.Mobile terminal can be according to itself Current temperature value automatically select capacitance variations threshold value corresponding with current temperature value, examined with the grip state to user It surveys.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), and the current temperature value that temperature sensor detects is, for example, 0 DEG C, then current temperature value 25 DEG C corresponding capacitance variations threshold value is 1000F.
S305: the gripping data of mobile terminal are obtained.
Wherein, in an embodiment of the present invention, holding data is that the user that grip sensor detects holds mobile terminal Data, holding data can the finger of such as user generated pressure data when pressing interface of mobile terminal.Hold data It can be the gripping data of single, or the average value of data, preset time range are repeatedly held in preset time range It can preset according to demand.
Holding data can be initial data, or the characteristic obtained by processing.For example, in the present embodiment, Holding data can be the distance of finger any side in mobile terminal case edge four edges of user, and, user hand Refer to the initial data with the contact area of any side in mobile terminal case edge four edges.
Specifically, it can be contacted by the finger that the grip sensor in mobile terminal detects user with interface of mobile terminal The gripping data in region.
Wherein, grip sensor can be, for example, capacitance sensor, and the quantity of capacitance sensor can be four, four electricity Holding sensor can be respectively arranged on the four edges at mobile terminal case edge, and four capacitance sensors are laid out to form holding sensing Device.
Capacitance type sensor is will to be measured the variation of (such as size, pressure, contact area etc.) to be converted into electric capacitance change A kind of sensor.
It is understood that grip sensor can be set to the gripping data of real-time detection user, alternatively, can also be with It is set as detecting the gripping data of user every preset time, preset time can be preset according to demand.
S306: judging whether the capacitance of capacitance sensor is greater than capacitance variations threshold value corresponding with current temperature value, if It is to then follow the steps S307, it is no to then follow the steps S309.
Specifically, when the finger of user touches any side in mobile terminal case edge four edges, at this point, user Finger reduces at a distance from any side in mobile terminal case edge four edges, alternatively, user's finger and mobile terminal case When the contact area of any side increases in edge four edges, it can make be mounted on the four edges at mobile terminal case edge four The capacitance of a capacitance sensor increases, when the finger of user is not in contact with mobile terminal case edge four edges, capacitance sensing The capacitance of device is 0F (farad), therefore, it is necessary first to calculate separately four capacitors according to the gripping data of the user got The capacitor of sensor increase after capacitance, and by after increase capacitance and mobile terminal in capacitance variations threshold value compare It is right, when the capacitance after the increase of some capacitance sensor is greater than capacitance variations threshold value, it is possible to determine that the finger grip of user On the side at the mobile terminal case edge where the capacitance sensor.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor greater than capacitor corresponding with current temperature value When changing threshold value 2000F, triggering executes step S307, is less than capacitor corresponding with current temperature value in the capacitance of capacitance sensor When change threshold 2000F, triggering executes step S309.
S307: judge that capacitance is greater than the quantity of the capacitance sensor of capacitance variations threshold value corresponding with current temperature value It is no to reach preset quantity, if so, S308 is thened follow the steps, it is no to then follow the steps S309.
Specifically, if the capacitance after increasing is greater than quantity (the i.e. user of the capacitance sensor of capacitance variations threshold values The quantity on the side at finger grip mobile terminal case edge) reach preset quantity, then it can determine that user holds mobile terminal.
Wherein, preset quantity is, for example, 2.
In the present embodiment, for example, as shown in Fig. 2, the position view on the side at mobile terminal case edge, including upper, Under, left and right four positions, if in the side that the finger of user is specifically held include the left side, and do not include the right, then can be determined that The grip of user is left-handed, if in the side that the finger of user is specifically held including the right, and does not include the left side, then It can be determined that the grip of user also includes if including the left side in the side that the finger of user is specifically held for right hand gripping The right then can be determined that the grip of user for right-hand man's gripping, wherein left-handed, the right hand are held, and left and right is held It holds and shows that the grip state of user is that user holds mobile terminal.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is greater than capacitance variations threshold value 2000F corresponding with current temperature value in capacitance The quantity of capacitance sensor when being more than or equal to 2, triggering executes step S308, is greater than and current temperature value in capacitance When the quantity of the capacitance sensor of corresponding capacitance variations threshold value 2000F is less than 2, triggering executes step S309.
S308: determine that grip state holds mobile terminal for user.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor greater than capacitor corresponding with current temperature value Change threshold value 2000F, and in the number of capacitance sensor of the capacitance greater than capacitance variations threshold value 2000F corresponding with current temperature value When amount is more than or equal to 2, determine that grip state holds mobile terminal for user.
S309: determine that grip state does not hold mobile terminal for user.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor less than capacitor corresponding with current temperature value Change threshold value 2000F, alternatively, being greater than the capacitance sensor of capacitance variations threshold value 2000F corresponding with current temperature value in capacitance Quantity less than 2 when, determine that grip state for user does not hold mobile terminal.
In the present embodiment, by obtaining preset relation tables of data according to experiment, using mobile terminal current temperature value as sentencing One parameter of disconnected user's grip state, avoids the Current Temperatures of different mobile terminals to grip state accuracy in detection It influences, by opening the temperature compensation function of mobile terminal, family can be used according to self-demand and choose whether to open movement eventually The temperature compensation function at end promotes the flexibility of capacitance variations threshold transformation.By working as according to gripping data and with mobile terminal The corresponding capacitance variations threshold value of preceding temperature value obtains the grip state of user, can be improved mobile terminal detection user's grip state Accuracy, effectively promoted user usage experience.
Fig. 4 is the structural schematic diagram for the temperature compensation means for mobile terminal that another embodiment of the present invention proposes, should Temperature compensation means 40 for mobile terminal obtains module 402 including temperature detecting module 401, capacitance variations threshold value, and Grip state obtains module 403, wherein
Temperature detecting module 401 obtains current temperature value for detecting the current temperature of mobile terminal.
Wherein, mobile terminal can be smart phone, tablet computer, personal digital assistant, e-book etc. with various behaviour Make the hardware device of system.
Optionally, temperature detecting module 401 detects the current temperature of mobile terminal by temperature sensor.
The temperature of mobile terminal can be since external factor be (for example, shine upon, the body heat etc. of people.) and internal factor (for example, voice-frequency telephony, video calling, and charging etc..) influence and increase, mobile terminal is at different temperature, mobile The variation for the capacitance that the capacitance sensor being arranged in terminal is generated due to sensing the gripping data of user is inconsistent, existing In technology, mobile terminal can't consider that mobile terminal Current Temperatures examine grip state in the grip state for judging user Survey the influence of accuracy.
And in the embodiment of the present invention, to avoid the Current Temperatures of different mobile terminals to grip state accuracy in detection It influences, using mobile terminal current temperature value as a parameter for judging user's grip state.
It is alternatively possible to detect the current temperature of mobile terminal in real time, moved alternatively, can also be detected every preset time The current temperature of dynamic terminal, obtains current temperature value, wherein and preset time can be set by mobile terminal plug-in, alternatively, It is set by user according to self-demand.
The current temperature value that temperature sensor detects is, for example, 25 DEG C.
Optionally, as shown in figure 5, the temperature compensation means 40 for being used for mobile terminal further includes that preset relation tables of data obtains Modulus block 404, for obtaining preset relation tables of data according to experiment.
Wherein, preset relation tables of data is used to identify the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Between corresponding relationship.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.User can be previously according to experiment The corresponding relationship between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor is obtained, to obtain preset relation number According to table.
Capacitance variations threshold value obtains module 402, for obtaining and working as according to current temperature value and preset relation tables of data The corresponding capacitance variations threshold value of preceding temperature value, wherein preset relation tables of data is used to identify the temperature value and capacitor of mobile terminal Corresponding relationship between the capacitance variations threshold value of sensor.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.Mobile terminal can be according to itself Current temperature value automatically select capacitance variations threshold value corresponding with current temperature value, examined with the grip state to user It surveys.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), and the current temperature value that temperature sensor detects is, for example, 0 DEG C, then current temperature value 25 DEG C corresponding capacitance variations threshold value is 1000F.
Grip state obtains module 403, for obtaining the gripping data of mobile terminal, and according to hold data and with it is current The corresponding capacitance variations threshold value of temperature value obtains the grip state of user.
Wherein, in an embodiment of the present invention, holding data is that the user that grip sensor detects holds mobile terminal Data, holding data can the finger of such as user generated pressure data when pressing interface of mobile terminal.Hold data It can be the gripping data of single, or the average value of data, preset time range are repeatedly held in preset time range It can preset according to demand.
Holding data can be initial data, or the characteristic obtained by processing.For example, in the present embodiment, Holding data can be the distance of finger any side in mobile terminal case edge four edges of user, and, user hand Refer to the initial data with the contact area of any side in mobile terminal case edge four edges.
Specifically, it can be contacted by the finger that the grip sensor in mobile terminal detects user with interface of mobile terminal The gripping data in region.
Wherein, grip sensor can be, for example, capacitance sensor, and the quantity of capacitance sensor can be four, four electricity Holding sensor can be respectively arranged on the four edges at mobile terminal case edge, and four capacitance sensors are laid out to form holding sensing Device.
Capacitance type sensor is will to be measured the variation of (such as size, pressure, contact area etc.) to be converted into electric capacitance change A kind of sensor.
It is understood that grip sensor can be set to the gripping data of real-time detection user, alternatively, can also be with It is set as detecting the gripping data of user every preset time, preset time can be preset according to demand.
Optionally, grip state includes that user holds mobile terminal, and grip state obtains module and is specifically used for: judging capacitor Whether the capacitance of sensor is greater than capacitance variations threshold value corresponding with current temperature value;If the capacitance of capacitance sensor is big In capacitance variations threshold value corresponding with current temperature value, then further judge that capacitance is greater than capacitor corresponding with current temperature value Whether the quantity of the capacitance sensor of change threshold reaches preset quantity;If capacitance is greater than electricity corresponding with current temperature value The quantity for holding the capacitance sensor of change threshold reaches preset quantity, then grip state is that user holds mobile terminal.
Optionally, grip state further includes that user does not hold mobile terminal, grip state obtain module also particularly useful for: such as The capacitance of fruit capacitance sensor be less than capacitance variations threshold value corresponding with current temperature value, alternatively, if capacitance be greater than with The quantity of the capacitance sensor of the corresponding capacitance variations threshold value of current temperature value is not up to preset quantity, then grip state is user Mobile terminal is not held.
Specifically, when the finger of user touches any side in mobile terminal case edge four edges, at this point, user Finger reduces at a distance from any side in mobile terminal case edge four edges, alternatively, user's finger and mobile terminal case When the contact area of any side increases in edge four edges, it can make be mounted on the four edges at mobile terminal case edge four The capacitance of a capacitance sensor increases, when the finger of user is not in contact with mobile terminal case edge four edges, capacitance sensing The capacitance of device is 0F (farad), therefore, it is necessary first to calculate separately four capacitors according to the gripping data of the user got The capacitor of sensor increase after capacitance, and by after increase capacitance and mobile terminal in capacitance variations threshold value compare It is right, when the capacitance after the increase of some capacitance sensor is greater than capacitance variations threshold value, it is possible to determine that the finger grip of user On the side at the mobile terminal case edge where the capacitance sensor, further, if the capacitance after increasing is greater than capacitor The quantity (i.e. the quantity on the side at the finger grip mobile terminal case edge of user) of the capacitance sensor of change threshold reaches pre- If quantity, then it can determine that user holds mobile terminal.
Wherein, preset quantity is, for example, 2.
In the present embodiment, for example, as shown in Fig. 2, the position view on the side at mobile terminal case edge, including upper, Under, left and right four positions, if in the side that the finger of user is specifically held include the left side, and do not include the right, then can be determined that The grip of user is left-handed, if in the side that the finger of user is specifically held including the right, and does not include the left side, then It can be determined that the grip of user also includes if including the left side in the side that the finger of user is specifically held for right hand gripping The right then can be determined that the grip of user for right-hand man's gripping, wherein left-handed, the right hand are held, and left and right is held It holds and shows that the grip state of user is that user holds mobile terminal.
Optionally, it as shown in figure 5, the temperature compensation means 40 for being used for mobile terminal further includes opening module 405, is used for Open the temperature compensation function of mobile terminal.
Specifically, when user opens the temperature compensation function of mobile terminal, the current temperature of detection mobile terminal, if with The temperature compensation function of mobile terminal is not opened at family, then does not detect the current temperature of mobile terminal, with mobile terminal plug-in Preset capacitance variations threshold value, to determine the grip state of user.
By this step, family can be used and chosen whether to open the temperature compensation function of mobile terminal according to self-demand, Promote the flexibility of capacitance variations threshold transformation.
In the present embodiment, by being obtained according to gripping data and capacitance variations threshold value corresponding with mobile terminal current temperature value The grip state for taking family can be improved the accuracy of mobile terminal detection user's grip state, effectively promote the use of user Experience.
The embodiment of the invention also provides a kind of mobile terminal, which includes shell, processor, memory, electricity Road plate and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are arranged in circuit board On;Power circuit, for each circuit or the device power supply for mobile terminal;Memory is for storing executable program code; Processor runs program corresponding with executable program code by reading the executable program code stored in memory, with For executing:
S101 ': the current temperature of detection mobile terminal obtains current temperature value.
Wherein, mobile terminal can be smart phone, tablet computer, personal digital assistant, e-book etc. with various behaviour Make the hardware device of system.
Specifically, the current temperature of mobile terminal can be detected by temperature sensor.
The temperature of mobile terminal can be since external factor be (for example, shine upon, the body heat etc. of people.) and internal factor (for example, voice-frequency telephony, video calling, and charging etc..) influence and increase, mobile terminal is at different temperature, mobile The variation for the capacitance that the capacitance sensor being arranged in terminal is generated due to sensing the gripping data of user is inconsistent, existing In technology, mobile terminal can't consider that mobile terminal Current Temperatures examine grip state in the grip state for judging user Survey the influence of accuracy.
And in the embodiment of the present invention, to avoid the Current Temperatures of different mobile terminals to grip state accuracy in detection It influences, using mobile terminal current temperature value as a parameter for judging user's grip state.
It is alternatively possible to detect the current temperature of mobile terminal in real time, moved alternatively, can also be detected every preset time The current temperature of dynamic terminal, obtains current temperature value, wherein and preset time can be set by mobile terminal plug-in, alternatively, It is set by user according to self-demand.
The current temperature value that temperature sensor detects is, for example, 25 DEG C.
Optionally, the current temperature of detection mobile terminal, before obtaining current temperature value, further includes:
Open the temperature compensation function of mobile terminal.
S102 ': capacitance variations corresponding with current temperature value are obtained according to current temperature value and preset relation tables of data Threshold value, wherein preset relation tables of data be used for identify mobile terminal temperature value and capacitance sensor capacitance variations threshold value it Between corresponding relationship.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.Mobile terminal can be according to itself Current temperature value automatically select capacitance variations threshold value corresponding with current temperature value, examined with the grip state to user It surveys.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), and the current temperature value that temperature sensor detects is, for example, 0 DEG C, then current temperature value 25 DEG C corresponding capacitance variations threshold value is 1000F.
Optionally, before the current temperature of detection mobile terminal obtains current temperature value, further includes:
Preset relation tables of data is obtained according to experiment.
S103 ': the gripping data of mobile terminal are obtained, and are become according to gripping data and capacitor corresponding with current temperature value Change the grip state that threshold value obtains user.
Wherein, in an embodiment of the present invention, holding data is that the user that grip sensor detects holds mobile terminal Data, holding data can the finger of such as user generated pressure data when pressing interface of mobile terminal.Hold data It can be the gripping data of single, or the average value of data, preset time range are repeatedly held in preset time range It can preset according to demand.
Holding data can be initial data, or the characteristic obtained by processing.For example, in the present embodiment, Holding data can be the distance of finger any side in mobile terminal case edge four edges of user, and, user hand Refer to the initial data with the contact area of any side in mobile terminal case edge four edges.
Specifically, it can be contacted by the finger that the grip sensor in mobile terminal detects user with interface of mobile terminal The gripping data in region.
Wherein, grip sensor can be, for example, capacitance sensor, and the quantity of capacitance sensor can be four, four electricity Holding sensor can be respectively arranged on the four edges at mobile terminal case edge, and four capacitance sensors are laid out to form holding sensing Device.
Capacitance type sensor is will to be measured the variation of (such as size, pressure, contact area etc.) to be converted into electric capacitance change A kind of sensor.
It is understood that grip sensor can be set to the gripping data of real-time detection user, alternatively, can also be with It is set as detecting the gripping data of user every preset time, preset time can be preset according to demand.
Optionally, grip state includes that user holds mobile terminal, and mobile terminal is according to gripping data and and Current Temperatures Be worth the grip state that corresponding capacitance variations threshold value obtains user, comprising: judge the capacitance of capacitance sensor whether be greater than with The corresponding capacitance variations threshold value of current temperature value;If the capacitance of capacitance sensor is greater than capacitor corresponding with current temperature value Change threshold then further judges that capacitance is greater than the number of the capacitance sensor of capacitance variations threshold value corresponding with current temperature value Whether amount reaches preset quantity;If capacitance is greater than the capacitance sensor of capacitance variations threshold value corresponding with current temperature value Quantity reaches preset quantity, then grip state is that user holds mobile terminal.
Optionally, grip state further includes that user does not hold mobile terminal, mobile terminal according to hold data and with it is current The corresponding capacitance variations threshold value of temperature value obtains the grip state of user, further includes: if the capacitance of capacitance sensor is less than Capacitance variations threshold value corresponding with current temperature value, alternatively, if capacitance is greater than capacitance variations corresponding with current temperature value The quantity of the capacitance sensor of threshold value is not up to preset quantity, then grip state is that user does not hold mobile terminal.
Specifically, when the finger of user touches any side in mobile terminal case edge four edges, at this point, user Finger reduces at a distance from any side in mobile terminal case edge four edges, alternatively, user's finger and mobile terminal case When the contact area of any side increases in edge four edges, it can make be mounted on the four edges at mobile terminal case edge four The capacitance of a capacitance sensor increases, when the finger of user is not in contact with mobile terminal case edge four edges, capacitance sensing The capacitance of device is 0F (farad), therefore, it is necessary first to calculate separately four capacitors according to the gripping data of the user got The capacitor of sensor increase after capacitance, and by after increase capacitance and mobile terminal in capacitance variations threshold value compare It is right, when the capacitance after the increase of some capacitance sensor is greater than capacitance variations threshold value, it is possible to determine that the finger grip of user On the side at the mobile terminal case edge where the capacitance sensor, further, if the capacitance after increasing is greater than capacitor The quantity (i.e. the quantity on the side at the finger grip mobile terminal case edge of user) of the capacitance sensor of change threshold reaches pre- If quantity, then it can determine that user holds mobile terminal.
Wherein, preset quantity is, for example, 2.
In the present embodiment, for example, as shown in Fig. 2, the position view on the side at mobile terminal case edge, including upper, Under, left and right four positions, if in the side that the finger of user is specifically held include the left side, and do not include the right, then can be determined that The grip of user is left-handed, if in the side that the finger of user is specifically held including the right, and does not include the left side, then It can be determined that the grip of user also includes if including the left side in the side that the finger of user is specifically held for right hand gripping The right then can be determined that the grip of user for right-hand man's gripping, wherein left-handed, the right hand are held, and left and right is held It holds and shows that the grip state of user is that user holds mobile terminal.
In the present embodiment, by being obtained according to gripping data and capacitance variations threshold value corresponding with mobile terminal current temperature value The grip state for taking family can be improved the accuracy of mobile terminal detection user's grip state, effectively promote the use of user Experience.
In another embodiment, processor runs and can be performed by reading the executable program code stored in memory The corresponding program of program code, for executing:
S301 ': preset relation tables of data is obtained according to experiment.
Wherein, preset relation tables of data is used to identify the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Between corresponding relationship.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.User can be previously according to experiment The corresponding relationship between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor is obtained, to obtain preset relation number According to table.
S302 ': the temperature compensation function of mobile terminal is opened.
Specifically, when user opens the temperature compensation function of mobile terminal, triggering executes step S303 ', if user is not The temperature compensation function for opening mobile terminal, then do not detect the current temperature of mobile terminal, preparatory with mobile terminal plug-in The capacitance variations threshold value of setting, to determine the grip state of user.
By this step, family can be used and chosen whether to open the temperature compensation function of mobile terminal according to self-demand, Promote the flexibility of capacitance variations threshold transformation.
S303 ': the current temperature of detection mobile terminal obtains current temperature value.
It is alternatively possible to detect the current temperature of mobile terminal in real time, moved alternatively, can also be detected every preset time The current temperature of dynamic terminal, obtains current temperature value, wherein and preset time can be set by mobile terminal plug-in, alternatively, It is set by user according to self-demand.
The current temperature value that temperature sensor detects is, for example, 25 DEG C.
S304 ': capacitance variations corresponding with current temperature value are obtained according to current temperature value and preset relation tables of data Threshold value.
Wherein, preset relation tables of data includes the current temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Two parameters.The corresponding different or identical capacitance variations threshold value of different current temperature values.Mobile terminal can be according to itself Current temperature value automatically select capacitance variations threshold value corresponding with current temperature value, examined with the grip state to user It surveys.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), and the current temperature value that temperature sensor detects is, for example, 0 DEG C, then current temperature value 25 DEG C corresponding capacitance variations threshold value is 1000F.
S305 ': the gripping data of mobile terminal are obtained.
Wherein, in an embodiment of the present invention, holding data is that the user that grip sensor detects holds mobile terminal Data, holding data can the finger of such as user generated pressure data when pressing interface of mobile terminal.Hold data It can be the gripping data of single, or the average value of data, preset time range are repeatedly held in preset time range It can preset according to demand.
Holding data can be initial data, or the characteristic obtained by processing.For example, in the present embodiment, Holding data can be the distance of finger any side in mobile terminal case edge four edges of user, and, user hand Refer to the initial data with the contact area of any side in mobile terminal case edge four edges.
Specifically, it can be contacted by the finger that the grip sensor in mobile terminal detects user with interface of mobile terminal The gripping data in region.
Wherein, grip sensor can be, for example, capacitance sensor, and the quantity of capacitance sensor can be four, four electricity Holding sensor can be respectively arranged on the four edges at mobile terminal case edge, and four capacitance sensors are laid out to form holding sensing Device.
Capacitance type sensor is will to be measured the variation of (such as size, pressure, contact area etc.) to be converted into electric capacitance change A kind of sensor.
It is understood that grip sensor can be set to the gripping data of real-time detection user, alternatively, can also be with It is set as detecting the gripping data of user every preset time, preset time can be preset according to demand.
S306 ': judging whether the capacitance of capacitance sensor is greater than capacitance variations threshold value corresponding with current temperature value, if It is to then follow the steps S307 ', it is no to then follow the steps S309 '.
Specifically, when the finger of user touches any side in mobile terminal case edge four edges, at this point, user Finger reduces at a distance from any side in mobile terminal case edge four edges, alternatively, user's finger and mobile terminal case When the contact area of any side increases in edge four edges, it can make be mounted on the four edges at mobile terminal case edge four The capacitance of a capacitance sensor increases, when the finger of user is not in contact with mobile terminal case edge four edges, capacitance sensing The capacitance of device is 0F (farad), therefore, it is necessary first to calculate separately four capacitors according to the gripping data of the user got The capacitor of sensor increase after capacitance, and by after increase capacitance and mobile terminal in capacitance variations threshold value compare It is right, when the capacitance after the increase of some capacitance sensor is greater than capacitance variations threshold value, it is possible to determine that the finger grip of user On the side at the mobile terminal case edge where the capacitance sensor.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor greater than capacitor corresponding with current temperature value When changing threshold value 2000F, triggering executes step S307 ', is less than electricity corresponding with current temperature value in the capacitance of capacitance sensor When holding change threshold 2000F, triggering executes step S309 '.
S307 ': judge that capacitance is greater than the quantity of the capacitance sensor of capacitance variations threshold value corresponding with current temperature value Whether preset quantity is reached, if so, S308 ' is thened follow the steps, it is no to then follow the steps S309 '.
Specifically, if the capacitance after increasing is greater than quantity (the i.e. user of the capacitance sensor of capacitance variations threshold values The quantity on the side at finger grip mobile terminal case edge) reach preset quantity, then it can determine that user holds mobile terminal.
Wherein, preset quantity is, for example, 2.
In the present embodiment, for example, as shown in Fig. 2, the position view on the side at mobile terminal case edge, including upper, Under, left and right four positions, if in the side that the finger of user is specifically held include the left side, and do not include the right, then can be determined that The grip of user is left-handed, if in the side that the finger of user is specifically held including the right, and does not include the left side, then It can be determined that the grip of user also includes if including the left side in the side that the finger of user is specifically held for right hand gripping The right then can be determined that the grip of user for right-hand man's gripping, wherein left-handed, the right hand are held, and left and right is held It holds and shows that the grip state of user is that user holds mobile terminal.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is greater than capacitance variations threshold value 2000F corresponding with current temperature value in capacitance The quantity of capacitance sensor when being more than or equal to 2, triggering executes step S308 ', is greater than and Current Temperatures in capacitance When being worth the quantity of the capacitance sensor of corresponding capacitance variations threshold value 2000F less than 2, triggering executes step S309 '.
S308 ': determine that grip state holds mobile terminal for user.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor greater than capacitor corresponding with current temperature value Change threshold value 2000F, and in the number of capacitance sensor of the capacitance greater than capacitance variations threshold value 2000F corresponding with current temperature value When amount is more than or equal to 2, determine that grip state holds mobile terminal for user.
S309 ': determine that grip state does not hold mobile terminal for user.
For example, the current temperature value that temperature sensor detects is, for example, 25 DEG C, then 25 DEG C of corresponding electricity of current temperature value Appearance change threshold is 2000F (farad), therefore, is become in the capacitance of capacitance sensor less than capacitor corresponding with current temperature value Change threshold value 2000F, alternatively, being greater than the capacitance sensor of capacitance variations threshold value 2000F corresponding with current temperature value in capacitance Quantity less than 2 when, determine that grip state for user does not hold mobile terminal.
In the present embodiment, by obtaining preset relation tables of data according to experiment, using mobile terminal current temperature value as sentencing One parameter of disconnected user's grip state, avoids the Current Temperatures of different mobile terminals to grip state accuracy in detection It influences, by opening the temperature compensation function of mobile terminal, family can be used according to self-demand and choose whether to open movement eventually The temperature compensation function at end promotes the flexibility of capacitance variations threshold transformation.By working as according to gripping data and with mobile terminal The corresponding capacitance variations threshold value of preceding temperature value obtains the grip state of user, can be improved mobile terminal detection user's grip state Accuracy, effectively promoted user usage experience.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple " It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (11)

1. a kind of temperature-compensation method for mobile terminal, which comprises the following steps:
The current temperature of mobile terminal is detected, current temperature value is obtained;
Capacitance variations threshold value corresponding with current temperature value is obtained according to the current temperature value and preset relation tables of data, In, the preset relation tables of data is for identifying between the temperature value of mobile terminal and the capacitance variations threshold value of capacitance sensor Corresponding relationship;
The gripping data of the mobile terminal are obtained, and according to the gripping data and the capacitor corresponding with current temperature value The grip state of change threshold acquisition user;
Before the current temperature of the detection mobile terminal obtains current temperature value, further includes:
The preset relation tables of data is obtained according to experiment;
Wherein, the preset relation tables of data includes the current temperature value of the mobile terminal and the capacitance variations of capacitance sensor Two parameters of threshold value, the corresponding different or identical capacitance variations threshold value of different current temperature values;
The finger and interface of mobile terminal contact area of the user are detected by the grip sensor in the mobile terminal Hold data;
Wherein, the grip sensor is capacitance sensor, and the quantity of the capacitance sensor is four, four capacitance sensors It can be respectively arranged on the four edges at the mobile terminal case edge, four capacitance sensors are laid out to form the holding Sensor.
2. being used for the temperature-compensation method of mobile terminal as described in claim 1, which is characterized in that examined by temperature sensor Survey the current temperature of the mobile terminal.
3. being used for the temperature-compensation method of mobile terminal as claimed in claim 2, which is characterized in that the grip state includes User holds mobile terminal, and the mobile terminal is according to the gripping data and the capacitance variations corresponding with current temperature value The grip state of threshold value acquisition user, comprising:
Judge whether the capacitance of the capacitance sensor is greater than the capacitance variations threshold value corresponding with current temperature value;
If the capacitance of the capacitance sensor is greater than the capacitance variations threshold value corresponding with current temperature value, further Judge whether the capacitance reaches greater than the quantity of the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value To preset quantity;
If the quantity that the capacitance is greater than the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value reaches To the preset quantity, then the grip state is that user holds mobile terminal.
4. being used for the temperature-compensation method of mobile terminal as claimed in claim 3, which is characterized in that the grip state is also wrapped It includes user and does not hold mobile terminal, the mobile terminal is according to the gripping data and the capacitor corresponding with current temperature value The grip state of change threshold acquisition user, further includes:
If the capacitance of the capacitance sensor is less than the capacitance variations threshold value corresponding with current temperature value, alternatively, such as The quantity that capacitance described in fruit is greater than the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value is not up to institute Preset quantity is stated, then the grip state is that user does not hold mobile terminal.
5. being used for the temperature-compensation method of mobile terminal as claimed in claim 4, which is characterized in that the detection mobile terminal Current temperature, before obtaining current temperature value, further includes:
Open the temperature compensation function of the mobile terminal.
6. a kind of temperature compensation means for mobile terminal characterized by comprising
Temperature detecting module obtains current temperature value for detecting the current temperature of mobile terminal;
Capacitance variations threshold value obtains module, for being obtained and current temperature according to the current temperature value and preset relation tables of data The corresponding capacitance variations threshold value of angle value, wherein the preset relation tables of data is used to identify the temperature value and capacitor of mobile terminal Corresponding relationship between the capacitance variations threshold value of sensor;
Grip state obtains module, for obtaining the gripping data of the mobile terminal, and according to gripping data and described Capacitance variations threshold value corresponding with current temperature value obtains the grip state of user;
Further include:
Preset relation tables of data obtains module, for obtaining the preset relation tables of data according to experiment;
Wherein, the preset relation tables of data includes the current temperature value of the mobile terminal and the capacitance variations of capacitance sensor Two parameters of threshold value, the corresponding different or identical capacitance variations threshold value of different current temperature values;
The finger and interface of mobile terminal contact area of the user are detected by the grip sensor in the mobile terminal Hold data;
Wherein, the grip sensor is capacitance sensor, and the quantity of the capacitance sensor is four, four capacitance sensors It can be respectively arranged on the four edges at the mobile terminal case edge, four capacitance sensors are laid out to form the holding Sensor.
7. being used for the temperature compensation means of mobile terminal as claimed in claim 6, which is characterized in that the temperature detecting module The current temperature of the mobile terminal is detected by temperature sensor.
8. being used for the temperature compensation means of mobile terminal as claimed in claim 7, which is characterized in that the grip state includes User holds mobile terminal, and the grip state obtains module and is specifically used for:
Judge whether the capacitance of the capacitance sensor is greater than the capacitance variations threshold value corresponding with current temperature value;
If the capacitance of the capacitance sensor is greater than the capacitance variations threshold value corresponding with current temperature value, further Judge whether the capacitance reaches greater than the quantity of the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value To preset quantity;
If the quantity that the capacitance is greater than the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value reaches To the preset quantity, then the grip state is that user holds mobile terminal.
9. being used for the temperature compensation means of mobile terminal as claimed in claim 8, which is characterized in that the grip state is also wrapped Include user and do not hold mobile terminal, the grip state obtain module also particularly useful for:
If the capacitance of the capacitance sensor is less than the capacitance variations threshold value corresponding with current temperature value, alternatively, such as The quantity that capacitance described in fruit is greater than the capacitance sensor of the capacitance variations threshold value corresponding with current temperature value is not up to institute Preset quantity is stated, then the grip state is that user does not hold mobile terminal.
10. being used for the temperature compensation means of mobile terminal as claimed in claim 9, which is characterized in that further include:
Opening module, for opening the temperature compensation function of the mobile terminal.
11. a kind of mobile terminal characterized by comprising
Shell;
Processor;
Memory;
Circuit board and power circuit;
Wherein, circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply electricity Road, for each circuit or the device power supply for mobile terminal;Memory is for storing executable program code;Processor passes through The executable program code that stores is read in memory to run program corresponding with executable program code, for executing: The current temperature of mobile terminal is detected, current temperature value is obtained;It is obtained according to the current temperature value and preset relation tables of data Take capacitance variations threshold value corresponding with current temperature value, wherein the preset relation tables of data is used to identify the temperature of mobile terminal Corresponding relationship between angle value and the capacitance variations threshold value of capacitance sensor;Obtain the gripping data of the mobile terminal, and root The grip state of user is obtained according to the gripping data and the capacitance variations threshold value corresponding with current temperature value;
Before the current temperature of the detection mobile terminal obtains current temperature value, further includes:
The preset relation tables of data is obtained according to experiment;
Wherein, the preset relation tables of data includes the current temperature value of the mobile terminal and the capacitance variations of capacitance sensor Two parameters of threshold value, the corresponding different or identical capacitance variations threshold value of different current temperature values;
The finger and interface of mobile terminal contact area of the user are detected by the grip sensor in the mobile terminal Hold data;
Wherein, the grip sensor is capacitance sensor, and the quantity of the capacitance sensor is four, four capacitance sensors It can be respectively arranged on the four edges at the mobile terminal case edge, four capacitance sensors are laid out to form the holding Sensor.
CN201510903963.7A 2015-12-09 2015-12-09 Temperature-compensation method, device and mobile terminal for mobile terminal Expired - Fee Related CN105404425B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN105404425A CN105404425A (en) 2016-03-16
CN105404425B true CN105404425B (en) 2018-12-04

Family

ID=55469942

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN105404425B (en)

Families Citing this family (1)

* 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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104951087A (en) * 2014-03-31 2015-09-30 索尼公司 Information processing device, input device, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104951087A (en) * 2014-03-31 2015-09-30 索尼公司 Information processing device, input device, information processing method, and program

Also Published As

Publication number Publication date
CN105404425A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN105549701B (en) Temperature-compensation method, device and mobile terminal for mobile terminal
CN103399632B (en) The method and mobile terminal of a kind of gesture control
CN103443731B (en) Measuring device and method for the detection of an approach
CN101963873B (en) Method for setting and calibrating capacitive-type touch panel capacitance base value
CN105578007A (en) Method and device used for mobile terminal, and mobile terminal
CN105094494A (en) Fingerprint recognition method, fingerprint recognition device and electronic equipment
US20130154914A1 (en) Casing
CN105205377A (en) Device, method and mobile terminal for preventing mistakenly starting of camera
CN105389038B (en) Scan the method for touch screen and the touch-control integrated circuit for executing this method
CN108759892A (en) Sensor calibrating method, electronic device and computer readable storage medium
CN108438707A (en) Sorting plant and order-picking trucks
CN105378620B (en) Terminal, protective case and inducing method
CN105653259A (en) Application starting method, apparatus and terminal
CN105630166B (en) For the control method of mobile terminal, device and mobile terminal
CN105425958B (en) Income prompting method, device and mobile terminal
CN103576210A (en) Proximity sensing method
CN105404425B (en) Temperature-compensation method, device and mobile terminal for mobile terminal
CN109088993A (en) Proximity state judgment method, device and electronic equipment based on proximity sensor
CN106485216A (en) The based reminding method of the cleannes of fingerprint module and mobile terminal
CN105426181A (en) Display method for interface of mobile terminal and mobile terminal
CN105528153A (en) Screenshot method, screenshot device and electronic device
CN105549736B (en) Income prompting method, device and mobile terminal
CN105578230B (en) Video broadcasting method, device and mobile terminal
CN204360392U (en) A kind of Fingerprint Lock preventing fingerprint from practising fraud
CN103646007A (en) Method, device and system for processing data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

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

Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18

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

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181204

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