CN106339106B - A kind of proximity test method, device and mobile terminal of terminal - Google Patents

A kind of proximity test method, device and mobile terminal of terminal Download PDF

Info

Publication number
CN106339106B
CN106339106B CN201610665827.3A CN201610665827A CN106339106B CN 106339106 B CN106339106 B CN 106339106B CN 201610665827 A CN201610665827 A CN 201610665827A CN 106339106 B CN106339106 B CN 106339106B
Authority
CN
China
Prior art keywords
proximity
terminal
values
value
proximity values
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
CN201610665827.3A
Other languages
Chinese (zh)
Other versions
CN106339106A (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 CN201610665827.3A priority Critical patent/CN106339106B/en
Publication of CN106339106A publication Critical patent/CN106339106A/en
Application granted granted Critical
Publication of CN106339106B publication Critical patent/CN106339106B/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

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 invention discloses a kind of proximity test method, device and mobile terminal of terminal, wherein this method comprises: obtaining the value added of the proximity values when the proximity values for determining that proximity sensor detects in terminal become larger;Determine the first preset value corresponding with the proximity values;If judging, the value added is greater than first preset value, generates interrupt instruction;According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.Therefore, as soon as the present invention can directly generate interrupt instruction, and enter proximal to interruption of work state according to the interrupt instruction controlling terminal, to improve response speed of the terminal in proximity test when the value added for the proximity values that terminal detects is greater than setting value.

Description

A kind of proximity test method, device and mobile terminal of terminal
Technical field
The invention belongs to the proximity test method, apparatus and movement of sensor technical field more particularly to a kind of terminal eventually End.
Background technique
Currently, being fitted with proximity sensor in many terminals.Terminal can detecte whether have object by proximity sensor Body executes corresponding operation close to or far from terminal according to testing result.For example, when user by mobile phone close in one's ear when, hand Machine can detect the presence of user's face by proximity sensor, close screen backlight to trigger mobile phone and disable touch function Can, to save electricity and prevent mistaken touch.
Proximity sensor judges by its detected value (proximity values detected), and close to threshold value and far from threshold value Object proximity is separate.The numerical value for the proximity values that proximity sensor detects is bigger, shows testee closer to close sensing Device.When the numerical value for the proximity values that proximity sensor detects is greater than close to threshold value, show object relatively close at this time close to passing Sensor is generated close to interrupting, and reports proximity state to terminal, so that terminal can execute corresponding operation, such as closes screen backlight And disable touch function etc..When the numerical value for the proximity values that proximity sensor detects is less than far from threshold value, show that object is separate, Proximity sensor is reported to terminal far from state at this time, so that terminal can light screen backlight and unlatching touch function etc..
However, in actual use, due to various, the mobile terminal for being equipped with proximity sensor exists There is a problem of that proximity test response is slower in some cases.
Summary of the invention
The purpose of the present invention is to provide a kind of proximity test method, device and mobile terminal of terminal, it is intended to improve and move Dynamic response speed of the terminal in proximity test.
In order to solve the above technical problems, the present invention the following technical schemes are provided:
A kind of proximity test method of terminal, comprising:
When the proximity values for determining that proximity sensor detects in terminal become larger, the value added of the proximity values is obtained;
Determine the first preset value corresponding with the proximity values;
If judging, the value added is greater than first preset value, generates interrupt instruction;
According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
In order to solve the above technical problems, the present invention also provides following technical schemes:
A kind of proximity test device of terminal, comprising:
Acquiring unit, it is described close for obtaining when the proximity values for determining that proximity sensor detects in terminal become larger The value added of value;
Determination unit, for determining the first preset value corresponding with the proximity values;
Generation unit, if generating interrupt instruction for judging that the value added is greater than first preset value;
Control unit, for according to the interrupt instruction, controlling terminal to enter proximal to interruption of work state.
The present invention also provides a kind of mobile terminal, the mobile terminal include memory, processor, proximity sensor and One or more programs, one or more of programs are stored in the memory and are configured as being held by the processor Row, one or more of programs include the instruction for operating as follows:
When the proximity values for determining that proximity sensor detects in mobile terminal become larger, the increase of the proximity values is obtained Value;
Determine the first preset value corresponding with the proximity values;
If judging, the value added is greater than first preset value, generates interrupt instruction;
According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
Compared with the existing technology, the proximity test method, device and mobile terminal of terminal provided by the invention, are being determined When the proximity values that proximity sensor in terminal detects become larger, terminal obtains the value added of the proximity values.Then, terminal determines Preset the first preset value corresponding with the proximity values out, and it is first pre- to judge whether the value added of the proximity values is greater than this If value.If judging, the value added of proximity values is greater than first preset value, and terminal generates interrupt instruction, and according to severed finger in this Controlling terminal is enabled to enter proximal to interruption of work state.Therefore, the present invention can the proximity values that terminal detects value added it is big As soon as interrupt instruction is directly generated, and interruption of work state is entered proximal to according to the interrupt instruction controlling terminal when setting value, To improve response speed of the terminal in proximity test.
Detailed description of the invention
With reference to the accompanying drawing, by the way that detailed description of specific embodiments of the present invention, technical solution of the present invention will be made And its advantages are apparent.
Fig. 1 is the flow diagram of the proximity test method for the terminal that first embodiment of the invention provides;
Fig. 2 is the flow diagram of the proximity test method for the terminal that second embodiment of the invention provides;
Fig. 3 is the flow diagram of the proximity test method for the terminal that third embodiment of the invention provides
Fig. 4 is the structural schematic diagram of the proximity test device for the terminal that fourth embodiment of the invention provides;
Fig. 5 is another structural schematic diagram of the proximity test device for the terminal that fourth embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the mobile terminal that fifth embodiment of the invention provides.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
It will be detailed below.
First embodiment
A kind of proximity test method of terminal, comprising: when the proximity values for determining that proximity sensor detects in terminal become larger When, obtain the value added of the proximity values;Determine the first preset value corresponding with the proximity values;If judging that the value added is greater than to be somebody's turn to do First preset value, then generate interrupt instruction;According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
Referring to Fig. 1, Fig. 1 is the flow diagram of the proximity test method for the terminal that first embodiment of the invention provides, Detailed process may include:
In step s101, when the proximity values for determining that proximity sensor detects in terminal become larger, the proximity values are obtained Value added.
It is understood that the executing subject of the embodiment of the present invention can be the terminal devices such as mobile phone, tablet computer.
Proximity sensor passes through its detected value (proximity values detected), and close to threshold value to determine whether there is object It is close.The numerical value for the proximity values that proximity sensor detects is bigger, shows testee closer to proximity sensor.It is passed when close When the numerical value for the proximity values that sensor detects is greater than close to threshold value, show object relatively close to proximity sensor generation at this time connects It is close to interrupt, proximity state is reported to terminal, so that terminal can execute corresponding operation, screen backlight is such as closed and disables touch Function etc..
However, proximity sensor needs just report to terminal when it detects that proximity values are greater than close to threshold value at present Proximity state.So in some cases, the proximity test response speed of terminal is slower.
To solve the above-mentioned problems, in the step S101 of the embodiment of the present invention, it can be determined close to biography in terminal When the proximity values that sensor detects become larger, the value added of the proximity values is obtained.
For example, terminal can first obtain the proximity values that proximity sensor detects in a kind of possible embodiment Current value P1And the numerical value P of proximity values that the proximity sensor last time detects0.Then, terminal calculates P1Subtract P0Obtain Difference.If the difference is positive number, the proximity values for judging that proximity sensor detects in terminal become larger, and terminal will be upper at this time State the value added that difference is determined as the proximity values that proximity sensor detects.
In step s 102, the first preset value corresponding with the proximity values is determined.
For example, can be determined after the value added that terminal gets the proximity values that proximity sensor detects with triggering terminal The first preset value corresponding with the proximity values of proximity sensor.First preset value is for judging testee and close sensing Whether numerical value close to trend is had between device, i.e., it is first default that the value added of the proximity values detected when proximity sensor is greater than this When value, it is believed that have between testee and proximity sensor close to trend, and when the value added of proximity values no more than this When one preset value, it is believed that be not close to trend between testee and proximity sensor.
Based on this, after terminal determines the first preset value corresponding with the proximity values, terminal may determine that step S101 In the value added of proximity values that gets whether be greater than the first preset value.
If terminal judges that the value added for the proximity values that proximity sensor detects no more than the first preset value, can recognize Trend is not close between testee and proximity sensor, then terminal can continue to execute its current process.
If terminal judges that the value added for the proximity values that proximity sensor detects is greater than the first preset value, it may be considered that Have between testee and proximity sensor close to trend, enters step S103 at this time.
In step s 103, if judging, the value added is greater than first preset value, generates interrupt instruction.
In step S104, according to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
For example, step S103 and S104 can be specifically included:
When terminal judges the value added for the proximity values that proximity sensor detects greater than the first preset value, show to be tested Have between object and proximity sensor close to trend.At this point it is possible to which triggering terminal generates first interrupt instruction.The interrupt instruction can With the process being currently executing for suspending terminal, and instruction terminal enters proximal to interruption of work state.Then, terminal can be with The interrupt instruction is executed, hence into close to interruption of work state, for example can control that terminal closes screen backlight, disabling touches The Trigger Function of screen and the fingerprint activated function of disabling etc..
It is understood that in embodiments of the present invention, when the proximity values that terminal judges that proximity sensor detects are big In the first preset value, i.e., when having between proximity sensor and testee close to trend, enter proximal to interrupt work with regard to controlling terminal Make state, such as controlling terminal enters screen backlight and is closed and the disabled working condition of the Trigger Function of touch screen, and nothing It needs to wait for just entering proximal to interruption of work state when the proximity values detected to proximity sensor are greater than close to threshold value, to realize The purpose of quick response is carried out to proximity test.
It can be seen from the above, the proximity test method of terminal provided in this embodiment, determine in terminal close to sensing When the proximity values that device detects become larger, terminal obtains the value added of the proximity values.Then, terminal is determined preset and is somebody's turn to do Corresponding first preset value of proximity values, and judge whether the value added of the proximity values is greater than first preset value.If judging to connect The value added of close values is greater than first preset value, then terminal generates interrupt instruction, and is entered according to the interrupt instruction controlling terminal Close to interruption of work state.Therefore, as soon as the present invention can the value added for the proximity values that terminal detects be greater than setting value when, Interrupt instruction is directly generated, and interruption of work state is entered proximal to according to the interrupt instruction controlling terminal, to improve terminal Response speed in proximity test.
Second embodiment
Described method according to first embodiment takes the mobile phone as an example below and makees further to the proximity test method of terminal It is described in detail.
Referring to Fig. 2, Fig. 2 is the flow diagram of the proximity test method for the terminal that second embodiment of the invention provides, Detailed process may include:
In step s 201, mobile phone obtains the first proximity values and current proximity values that proximity sensor detects, this first Proximity values and current proximity values are the numerical value of the adjacent proximity values detected twice of proximity sensor.
For example, mobile phone can first obtain proximity sensor, and this is detected in order to carry out quick response to proximity test The numerical value of proximity values, i.e., current proximity values.Then, mobile phone obtains the number for the proximity values that the proximity sensor last time detects again Value, i.e. the first proximity values.That is, the current proximity values and the first proximity values be proximity sensor it is adjacent detect twice it is close The numerical value of value.
For example, the first proximity values that mobile phone is got are 100, and current proximity values are 140.
In a kind of possible embodiment, mobile phone can first be arrived the proximity values storage that proximity sensor detects every time In one default file.So, when mobile phone needs to obtain the proximity values that proximity sensor detects, so that it may directly from default These proximity values are read in file.
In step S202, if the difference for calculating the current proximity values and the first proximity values is positive number, mobile phone is determined The proximity values that proximity sensor detects out become larger.
In step S203, when the proximity values for determining that proximity sensor detects become larger, mobile phone determines the difference For the value added of proximity values.
For example, step S202 and S203 can be specifically included:
After mobile phone gets current proximity values and the first proximity values, mobile phone, which can calculate current proximity values and subtract first, to be connect The difference that close values obtain, and judge whether the difference is positive number.
If mobile phone judges that the difference is not positive number, i.e., current proximity values are less than or equal to the first proximity values, then show Mobile phone and proximity sensor detection object be located remotely from each other or proximity sensor detection object not close to mobile phone.At this In the case of kind, mobile phone can continue to execute its current process.
If mobile phone judges that the difference is positive number, i.e., current proximity values are greater than the first proximity values, then mobile phone is determined to connect The proximity values that nearly sensor detects become larger, this shows object that proximity sensor detects close to mobile phone.At this point, mobile phone can The difference of the current proximity values being calculated and the first proximity values to be determined as to the value added of proximity values.For example, mobile phone obtains The difference of the current proximity values 140 and the first proximity values 100 that arrive is 40, then the value added for the proximity values that current phone detects is i.e. It is 40.
In step S204, mobile phone determines the first preset value corresponding with proximity values.
In step S205, if judging, the value added is greater than the first preset value, calculates the first proximity values and first in advance If be worth and value.
For example, step S204 and S205 can be specifically included:
After the value added for determining proximity values that proximity sensor detects, mobile phone can be triggered and determined and proximity values Corresponding first preset value.Whether first preset value is to approach for judging to have between testee and proximity sensor The numerical value of gesture, i.e., when the value added of the proximity values detected when proximity sensor is greater than first preset value, it is believed that tested Have between object and proximity sensor close to trend, and when the value added of proximity values is not more than first preset value, it can recognize Trend is not close between testee and proximity sensor.For example, first preset value can be set to 35.
Based on this, after mobile phone has confirmed the value added and the first preset value of proximity values, mobile phone may determine that this Whether value added is greater than the first preset value.
If mobile phone judge the value added no more than the first preset value, such as the value added of proximity values that mobile phone detects For 25 less than the first preset value 35, it may be considered that be not close to trend between mobile phone and testee, then mobile phone can be after It is continuous to execute its current process.
If mobile phone judges that the value added is greater than the first preset value, such as the value added of proximity values that mobile phone detects is 40 are greater than the first preset value 35, it may be considered that having between mobile phone and testee close to trend.In order to be carried out to proximity test Quick response can trigger proximity sensor when mobile phone is judged to have between proximity sensor and testee close to trend Proximity state is reported to mobile phone.
Proximity state is reported in order to trigger proximity sensor to mobile phone, in a kind of possible embodiment, when mobile phone is true When making the value addeds of the proximity values that proximity sensor detects and being greater than the first preset value, the first proximity values and the can be first calculated One preset value and value.For example, the first proximity values are 100, and the first preset value is 35, then the two is 135 with value.
In step S206, mobile phone is set as this and value close to threshold value for proximity sensor.
In step S207, based on, close to threshold value and current proximity values, mobile phone generates interrupt instruction after setting.
For example, step S206 and S207 can be specifically included:
In proximity sensor, when the proximity values that proximity sensor detects are greater than close to threshold value, proximity sensor is just Proximity state can be reported to mobile phone.
Therefore, in embodiments of the present invention, close in order to judge to have between proximity sensor and testee in mobile phone When trend, proximity sensor can be triggered to mobile phone and report proximity state, can preset calculating the first proximity values and first After be worth and value, mobile phone is set as this and value close to threshold value for proximity sensor.For example, mobile phone is by proximity sensor at this time Be set as 135 close to threshold value.
Mobile phone by proximity sensor be set as close to threshold value the first proximity values and the first preset value and after value, can To generate interrupt instruction based on the current proximity values detected close to threshold value and proximity sensor after setting.Severed finger in this Order can be used for suspending the process that terminal is currently executing, and instruction terminal enters proximal to interruption of work state.
For example, the interrupt instruction can indicate that mobile phone closes screen backlight, disabling touching in a kind of possible embodiment Touch screen Trigger Function and the fingerprint activated function of disabling etc..
It is understood that by the sum for being set as the first proximity values and the first preset value close to threshold value of proximity sensor After value, the current proximity values detected due to proximity sensor are greater than close to threshold value, can trigger proximity sensor to Mobile phone reports proximity state.For example, after setting being 135 close to threshold value, and current proximity values are 140, i.e., current proximity values are big In close to threshold value, therefore proximity sensor can report proximity state to mobile phone.Mobile phone connects receive that proximity sensor reports After nearly state, an interrupt instruction can be generated.
In step S208, according to the interrupt instruction, mobile phone enters proximal to interruption of work state.
For example, mobile phone can execute the interrupt instruction after generating interrupt instruction, enter proximal to interrupt to control mobile phone Working condition.For example, the working condition that control mobile phone enters that screen backlight is closed, touch screen Trigger Function is disabled etc..
It is understood that in embodiments of the present invention, when mobile phone judges have between proximity sensor and testee It when close to trend, just controls mobile phone and enters proximal to interruption of work state, such as control mobile phone and enter screen backlight and be closed and touch The disabled equal working condition of Trigger Function for touching screen, without it is equal until the proximity values that proximity sensor detects be greater than it is close Interruption of work state is just entered proximal to when threshold value, to realize the purpose for carrying out quick response to proximity test.
It, can be with after step S208 mobile phone enters proximal to interruption of work state in a kind of possible embodiment Include the following steps:
The instruction modified to the first preset value for receiving user's input, repairs the first preset value according to the instruction Change.
For example, by mobile phone close to ear, mobile phone detects mobile phone and user's ear at this time when user is conversed using mobile phone Piece have close to trend, then mobile phone can enter proximal to interruption of work state.After this, user terminate call and mobile phone is separate Ear then mobile phone can be exited close to interruption of work state, and is restored to normal working condition.In this case, user It can be modified according to the use demand of itself to the first preset value.Mobile phone receive user input to the first preset value After the instruction modified, it can be modified according to the instruction to the first preset value.
It is understood that mobile phone can be improved in terms of proximity test by allowing to modify to the first preset value Flexibility.For example, when the first preset value of setting is smaller, the value added for the proximity values that mobile phone is detected in proximity sensor In lesser situation, mobile phone access will be controlled close to interruption of work state, i.e. response of the mobile phone in terms of proximity test is too fast. So, the first preset value can be arranged to some biggish value according to the use demand of itself by user, so that mobile phone be made to connect The response of nearly context of detection is moderate.
It can be seen from the above, the proximity test method of terminal provided in this embodiment, determine in terminal close to sensing When the proximity values that device detects become larger, terminal obtains the value added of the proximity values.Then, terminal is determined preset and is somebody's turn to do Corresponding first preset value of proximity values, and judge whether the value added of the proximity values is greater than first preset value.If judging to connect The value added of close values is greater than first preset value, then terminal generates interrupt instruction, and is entered according to the interrupt instruction controlling terminal Close to interruption of work state.Therefore, as soon as the present invention can the value added for the proximity values that terminal detects be greater than setting value when, Interrupt instruction is directly generated, and interruption of work state is entered proximal to according to the interrupt instruction controlling terminal, to improve terminal Response speed in proximity test.
3rd embodiment
Referring to Fig. 3, Fig. 3 is the flow diagram of the proximity test method for the terminal that third embodiment of the invention provides, Detailed process may include:
In step S301, terminal obtains the second proximity values and deformation that proximity sensor detects when deformation occurs and disappears The third proximity values that proximity sensor detects when mistake.
In step s 302, terminal calculates the difference of third proximity values and the second proximity values, and by third proximity values and the The difference of two proximity values is set as the second preset value.
For example, step S301 and S302 can be specifically included:
In actual use, the shell of terminal is especially the shell of non-hard material, and hair is easy under the influence of external force Raw deformation.This deformation may result in proximity sensor and mistakenly report proximity state.For example, terminal is submitted to it by user Other people, if the near sites of proximity sensor are installed in the position of user's finger at the terminal at this time, and user's finger uses Strength it is larger, then the shell of terminal is easy for, deformation occurs, causes proximity sensor close to terminal screen.
Since proximity sensor is closer apart from terminal screen, the proximity values detected can be smaller.For example, being connect for infrared For nearly sensor, when infrared proximity sensor distance terminal screen is close, due to infrared proximity transducer receive by The reflected infrared energy of testee tails off, so the proximity values that infrared proximity transducer detects can become smaller.Therefore, When terminal enclosure deformation occurs lead to proximity sensor close to mobile phone screen when, the proximity values that proximity sensor detects can become It is small.And outer hull shape become disappear, as user's finger unclamp when, proximity sensor can be returned to before position, then close to pass The proximity values that sensor detects can become larger.During terminal enclosure is disappeared by being deflected into deformation, proximity sensor is detected Proximity values change from small to big.In this case, proximity sensor mistakenly may report proximity state to terminal, and then lead It causes terminal to close screen backlight and disables the touch function etc. of touch screen, influence the normal use of user.
To solve the above-mentioned problems, in the step S301 of the embodiment of the present invention, terminal can first obtain it, and deformation occurs When, the size for the proximity values that proximity sensor detects, i.e. the second proximity values.Then, terminal obtains close when deformation disappears again The size for the proximity values that sensor detects, i.e. third proximity values.
After getting the second proximity values and third proximity values, in step s 302, terminal can calculate third proximity values The difference that the second proximity values obtain is subtracted, and the difference is determined as the second preset value.It is understood that second preset value As terminal is when deformation occurs and when deformation disappears, the variable quantity that the proximity values that proximity sensor detects occur.
For example, in terminal factory proximity sensor can will be corresponded in external force to terminal enclosure by instrument Near sites, making terminal enclosure, deformation occurs, then obtain terminal enclosure when deformation occurs proximity sensor detect it is close The numerical value of value, and it is set as the second proximity values.Then, external force is removed so that terminal enclosure deformation disappears, acquisition is at this time close to sensing The numerical value for the proximity values that device detects, and it is set as third proximity values.Finally, terminal, which calculates third proximity values, subtracts the second proximity values Obtained difference, and the difference is determined as the second preset value.For example, the size for the second preset value that terminal is determined is 30。
In a kind of possible embodiment, terminal can protect second preset value after determining the second preset value It is stored in the nonvolatile memory (Nonvolatile RAM) of terminal, so that terminal can call this when needed Second preset value.Alternatively, second preset value can also be stored in some preset text according to preset store path by terminal In part, etc..
In step S303, if it is detected that the first preset value is less than or equal to the second preset value, terminal is default to first Value is adjusted, so that the first preset value is greater than the second preset value.
For example, terminal, after determining the second preset value, terminal can detecte whether the first preset value is greater than second in advance If value, wherein the first preset value is for determining whether the numerical value close to trend.If terminal detects that the first preset value is greater than the Two preset values, then terminal can not be adjusted the first preset value.
If terminal detects the first preset value no more than the second preset value, terminal can be adjusted the first preset value It is whole, so that the first preset value is greater than the second preset value.For example, terminal can be in one number of numerically increase of former first preset value Value, and the numerical value after increase is determined as to the first new preset value, enable the first preset value to be greater than the second preset value.
In step s 304, when the proximity values for determining that proximity sensor detects in terminal become larger, terminal obtains this and connects The value added of close values.
In step S305, terminal determines the first preset value corresponding with the proximity values.
In step S306, if judging, the value added is greater than first preset value, and terminal generates interrupt instruction, and root According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
For example, step S304, S305 and S306 can be specifically included:
In the current proximity values and the upper proximity values once detected that terminal is detected according to proximity sensor, two are calculated When the difference of person is positive number, the proximity values for determining that proximity sensor detects become larger.At this point, above-mentioned difference is determined as by terminal The value added for the proximity values that proximity sensor detects.
Then, terminal determines the first preset value corresponding with the proximity values of proximity sensor.First preset value is to use In the numerical value for judging whether to have close to trend between testee and proximity sensor, i.e., when what proximity sensor detected approaches When the value added of value is greater than first preset value, it is believed that have between testee and proximity sensor close to trend, and work as When the value added of proximity values is not more than first preset value, it is believed that be not close between testee and proximity sensor Gesture.For example, the first preset value can be 35 in a kind of possible embodiment.
After determining the first preset value, terminal judges whether the value added for the proximity values that proximity sensor detects is big In the first preset value.
If terminal judges that the value added for the proximity values that proximity sensor detects is greater than the first preset value, for example, connecing The value added of close values is 40 greater than the first preset value 35, then approaching it is considered that having between proximity sensor and testee Gesture, an interrupt instruction can be generated in terminal at this time, and enters proximal to interruption of work state according to the interrupt instruction controlling terminal, Such as controlling terminal enters screen backlight and is closed and the forbidden working condition of the Trigger Function of touch screen.
If terminal judges that the value added for the proximity values that proximity sensor detects is not more than the first preset value, for example, The value added of proximity values is 30 less than the first preset value 35, then it is considered that not connecing between proximity sensor and testee Nearly trend.Although having not yet been reached at this point, the proximity values that proximity sensor detects are increased and approaching for judging to have First preset value of gesture, then terminal will not enter proximal to interruption of work state.For example, the proximity values that proximity sensor detects Increase be as caused by terminal deformation, but because the value added of proximity values is still less than the first preset value in this case, Therefore terminal will not respond becoming larger for proximity values, i.e., will not enter proximal to interruption of work state.
It is preset it is understood that being set greater than second by the first preset value that will be used to determine whether close to trend The numerical value of value.So, terminal can just be controlled only when the value added for the proximity values that proximity sensor detects is greater than the first preset value Terminal processed enters proximal to interruption of work state.If the value added for the proximity values that proximity sensor detects in terminal is no more than the One preset value, such as the size of the value addeds of proximity values detected are equal to the second preset value, then proximity sensor still can Judge that it is not close to trend between testee, therefore proximity sensor would not also report proximity state, to avoid Proximity sensor mistakenly reports proximity state in the case where deformation occurs, and causes the terminal to enter proximal to interruption of work shape State.
It can be seen from the above, the proximity test method of terminal provided in this embodiment, one side terminal can be in close sensing When the value added for the proximity values that device detects is greater than a setting value, judge to have between proximity sensor and testee close to becoming Gesture, and controlling terminal enters proximal to interruption of work state, to achieve the purpose that carry out quick response to proximity test.Another party Face, by being set greater than the above-mentioned setting value being used to determine whether close to trend because of terminal deformation caused by proximity values increase Variable quantity, mistakenly report proximity state to terminal so as to avoid proximity to sensor in the case where deformation occurs.
Fourth embodiment
For convenient for better implementing the proximity test method of terminal provided in an embodiment of the present invention, the embodiment of the present invention is also mentioned For a kind of device of proximity test method based on above-mentioned terminal.The wherein proximity test method of the meaning of noun and above-mentioned terminal In it is identical, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of the proximity test device for the terminal that fourth embodiment of the invention provides, The apparatus may include: acquiring unit 401, determination unit 402, generation unit 403 and control unit 404.
Acquiring unit 401, for being connect described in acquisition when the proximity values for determining that proximity sensor detects in terminal become larger The value added of close values.
For example, showing testee closer to proximity sensor since the proximity values that proximity sensor detects are bigger.Cause This shows that testee may be to proximity sensor when the proximity values that terminal determines that proximity sensor detects become larger It is close.At this point it is possible to which triggering terminal obtains the value added for the proximity values that proximity sensor detects.
In a kind of possible embodiment, acquiring unit 401 can obtain proximity sensor inspection in the following way The value added of the proximity values measured:
It obtains proximity sensor the first proximity values and current proximity values that detect in terminal, first proximity values and works as Preceding proximity values are the numerical value of the adjacent proximity values detected twice of proximity sensor;
If the difference for calculating the current proximity values and the first proximity values is positive number, it is determined that go out proximity sensor detection To proximity values become larger;
When the proximity values for determining that proximity sensor detects become larger, the difference is determined as to the increasing of the proximity values It is value added.
For example, terminal can first obtain the current value P for the proximity values that proximity sensor detects1And on proximity sensor The numerical value P for the proximity values that one-time detection arrives0.Then, terminal calculates P1Subtract P0Obtained difference.If the difference is positive number, The proximity values for judging that proximity sensor detects in terminal become larger, and above-mentioned difference is determined as proximity sensor inspection by terminal at this time The value added of the proximity values measured.
Determination unit 402, for determining the first preset value corresponding with the proximity values.
For example, can be triggered after the value added that acquiring unit 401 gets the proximity values that proximity sensor detects Determination unit 402 determines the first preset value corresponding with the proximity values of proximity sensor.First preset value is for sentencing Whether there is the numerical value close to trend between disconnected testee and proximity sensor, i.e., the proximity values detected when proximity sensor When value added is greater than first preset value, it is believed that have between testee and proximity sensor close to trend, and when close When the value added of value is not more than first preset value, it is believed that be not close to trend between testee and proximity sensor.
Then, terminal judges whether the value added for the proximity values that proximity sensor detects is greater than the first preset value.If sentencing It is disconnected go out the value added of proximity values that detects of proximity sensor no more than the first preset value, it may be considered that testee and close It is not close to trend between sensor, then terminal can continue to execute its current process, is done without becoming larger to proximity values It responds out.
Generation unit 403, if generating interrupt instruction for judging that the value added is greater than first preset value.
For example, terminal judges that the value added for the proximity values that proximity sensor detects is greater than the first preset value, then it can be with Think have between testee and proximity sensor close to trend.In this case, in order to reach to terminal proximity test into The purpose of row quick response can generate an interrupt instruction by terminal at this moment.The interrupt instruction can be used for suspending terminal The process being currently executing, and instruction terminal enters proximal to interruption of work state.
In a kind of possible embodiment, generation unit 403 can be specifically used for:
If judging, the value added is greater than first preset value, calculates first proximity values and described first in advance If be worth and value;
Described and value are set close to threshold value by proximity sensor;
Based on, close to threshold value and current proximity values, generating interrupt instruction after setting.
For example, when terminal judges the value added for the proximity values that proximity sensor detects greater than the first preset value, eventually End can first calculate the first proximity values and the first preset value and value.Then, terminal being arranged close to threshold value by proximity sensor For this and value.The current proximity values detected due to proximity sensor be greater than after setting close to threshold value, proximity sensor It can generate close to interruption, report proximity state to terminal.Terminal, can when detecting that proximity sensor reports proximity state to it To generate an interrupt instruction.The interrupt instruction can be used for suspending the process that terminal is currently executing, and instruction terminal into Enter close to interruption of work state.
Control unit 404, for according to the interrupt instruction, controlling terminal to enter proximal to interruption of work state.
For example, after generation unit 403 generates interrupt instruction the interruption can be executed by 404 controlling terminal of control unit Instruction so that terminal enters proximal to working condition, for example can control the triggering function that terminal closes screen backlight, disables touch screen Can and disable fingerprint activated function etc..
It is understood that in embodiments of the present invention, when terminal judges have between proximity sensor and testee When close to trend, interruption of work state is entered proximal to regard to controlling terminal, is closed and touches as controlling terminal enters screen backlight The working conditions such as Trigger Function is disabled for touching screen, without equal until the proximity values that proximity sensor detects are greater than close to threshold Interruption of work state is just entered proximal to when value, to realize the purpose for carrying out quick response to proximity test.
Please refer to fig. 5, Fig. 5 is another structure of the proximity test device for the terminal that fourth embodiment of the invention provides Schematic diagram, the device can also include: changing unit 405 and adjustment unit 406.
Changing unit 405, for receiving the instruction of user's input modified to first preset value, according to described Instruction modifies to first preset value.
For example, by terminal close to ear, terminal detects terminal and user's ear at this time when user's using terminal is conversed Piece have close to trend, then terminal can enter proximal to interruption of work state.After this, user terminate call and terminal is separate Ear then terminal can be exited close to interruption of work state, and is restored to normal working condition.In this case, user It can be modified according to the use demand of itself to the first preset value.Terminal receive user input to the first preset value After the instruction modified, it can be modified by changing unit 405 to the first preset value according to the instruction.
It is understood that terminal can be improved in terms of proximity test by allowing to modify to the first preset value Flexibility.For example, when the first preset value of setting is smaller, the value added for the proximity values that terminal is detected in proximity sensor In lesser situation, will controlling terminal access close to interruption of work state, i.e. response of the terminal in terms of proximity test is too fast. So, the first preset value can be arranged to some biggish value according to the use demand of itself by user, so that terminal be made to connect The response of nearly context of detection is moderate.
Adjustment unit 406, the second proximity values and deformation that proximity sensor detects when deformation occurs for obtaining terminal The third proximity values that proximity sensor detects when disappearance;The difference of the third proximity values and the second proximity values is calculated, and will The difference of the third proximity values and the second proximity values is set as the second preset value;If it is detected that the first preset value is less than or equal to Second preset value is then adjusted first preset value, so that first preset value is greater than second preset value.
For example, in actual use, the shell of terminal is especially the shell of non-hard material, under the influence of external force It is easy to happen deformation.In some cases, this deformation can make the proximity sensor in terminal close to terminal screen, make to approach biography The proximity values that sensor detects can become smaller.And outer hull shape become disappear when, proximity sensor can be returned to before position, then The proximity values that proximity sensor detects can become larger.During terminal enclosure is disappeared by being deflected into deformation, proximity sensor The proximity values detected are changed from small to big.In this case, proximity sensor mistakenly may report proximity state to terminal.
It therefore, can be in order to avoid mistakenly reporting proximity state to terminal because of proximity sensor caused by terminal deformation When the second proximity values and deformation that proximity sensor detects when first obtaining terminal by adjustment unit 406 deformation occurs disappear The third proximity values that proximity sensor detects.Then, terminal calculates the difference of third proximity values and the second proximity values, and will The difference is determined as the second preset value.It is understood that second preset value is terminal when deformation occurs and deformation disappears When, the variable quantity for the proximity values that proximity sensor detects.
Terminal can detecte whether the first preset value is greater than the second preset value after determining the second preset value.If eventually End detects that the first preset value is greater than the second preset value, then terminal can not be adjusted the first preset value.If terminal detects The first preset value is not more than the second preset value out, then can be adjusted with triggering terminal to the first preset value, so that first is default Value is greater than the second preset value.
It is understood that since the first preset value is and the second proximity values for determining whether the numerical value close to trend The incrementss of the proximity values detected for terminal by proximity sensor caused by deformation.It therefore, can be by by the first preset value It is set greater than this mode of the second preset value, so that the value added for the proximity values that terminal is only detected in proximity sensor is greater than When the first preset value, just meeting controlling terminal enters proximal to interruption of work state.If what proximity sensor detected in terminal connects The value added of close values is not more than the first preset value, such as the size of the value added of proximity values detected is equal to the second preset value, So proximity sensor still judges it and is not close to trend between testee, thus proximity sensor also would not on Proximity state is reported, mistakenly reports proximity state in the case where deformation occurs so as to avoid proximity sensor, and lead to end End enters proximal to interruption of work state.
It can be seen from the above, the proximity test device of terminal provided in this embodiment, determine in terminal close to sensing When the proximity values that device detects become larger, terminal obtains the value added of the proximity values.Then, terminal is determined preset and is somebody's turn to do Corresponding first preset value of proximity values, and judge whether the value added of the proximity values is greater than first preset value.If judging to connect The value added of close values is greater than first preset value, then terminal generates interrupt instruction, and is entered according to the interrupt instruction controlling terminal Close to interruption of work state.Therefore, as soon as the present invention can the value added for the proximity values that terminal detects be greater than setting value when, Interrupt instruction is directly generated, and interruption of work state is entered proximal to according to the interrupt instruction controlling terminal, to improve terminal Response speed in proximity test.Meanwhile the present embodiment is by being set greater than the second preset value for the first preset value, wherein First preset value be for determining whether the numerical value close to trend, and the second preset value be because of terminal deformation caused by proximity values become Big value added can be avoided proximity sensor and mistakenly report proximity state to terminal in the case where deformation occurs.
For the proximity test device of the terminal of the embodiment of the present invention, each functional module be can integrate at one It handles in chip, is also possible to modules and physically exists alone, be also possible to two or more modules and be integrated in one In module.Above-mentioned integrated module both can take the form of hardware realization, can also be realized using software function module.It is described If integrated module is realized and when sold or used as an independent product in the form of software function module, also can store In a computer readable storage medium, the storage medium is for example read-only memory, disk or CD etc..
5th embodiment
In order to better understand the present invention, the present invention also provides a kind of mobile terminals.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram for the mobile terminal that fifth embodiment of the invention provides.Specifically, mobile Terminal 500 may include: memory 510, processor 520, proximity sensor 530 and one or more programs, this or Multiple programs are stored in memory 510 and are configured as being executed by processor 520, which may include Instruction for operating as follows:
When the proximity values for determining that proximity sensor detects in mobile terminal become larger, the increase of the proximity values is obtained Value;
Determine the first preset value corresponding with the proximity values;
If judging, the value added is greater than first preset value, generates interrupt instruction;
According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
Wherein, memory 510, processor 520 and proximity sensor 530 are connected by bus 540.
For example, mobile terminal can first obtain the first proximity values and current proximity values that proximity sensor 530 detects, it should First proximity values and current proximity values are the numerical value of the adjacent proximity values detected twice of proximity sensor 530.Then, mobile whole End calculates current proximity values and subtracts the difference that the first proximity values obtain.If mobile terminal judges that the difference is positive number, show The proximity values that proximity sensor detects in mobile terminal become larger, and connect at this time by what the difference was determined as that proximity sensor detects The value added of close values.
After the value added for the proximity values that mobile terminal is determined to detect, mobile terminal can be triggered and determine and connect Corresponding first preset value of close values.First preset value is for judging whether connect between testee and proximity sensor The numerical value of nearly trend, i.e., when the value added of the proximity values detected when proximity sensor is greater than first preset value, it is believed that Have between testee and proximity sensor close to trend, and when the value added of proximity values is not more than first preset value, it can To think to be not close to trend between testee and proximity sensor.
After determining the first preset value, if mobile terminal judges the increase for the proximity values that proximity sensor detects Value is greater than first preset value, it may be considered that having close to trend between proximity sensor and testee.It is fast in order to reach The purpose of speed response can generate an interrupt instruction by mobile terminal at this moment.The interrupt instruction can be used for suspending movement The process that terminal is currently executing, and indicate that mobile terminal enters proximal to interruption of work state.Then, mobile terminal execution should Interrupt instruction, to enter proximal to interruption of work state.For example, control mobile terminal enters screen backlight and is closed and touch screen The disabled equal working condition of Trigger Function.
It is understood that when mobile terminal is judged to have between proximity sensor and testee close to trend, just Control mobile terminal enters proximal to interruption of work state, without it is equal until the proximity values that proximity sensor detects be greater than it is close Interruption of work state is just entered proximal to when threshold value, to realize the purpose for carrying out quick response to proximity test.
It can be seen from the above, mobile terminal provided in this embodiment, in the proximity values change for determining that proximity sensor detects When big, the value added of the proximity values is obtained.Then, mobile terminal determines that preset corresponding with the proximity values first is pre- If value, and judge whether the value added of the proximity values is greater than first preset value.If judging that the value added of proximity values is greater than to be somebody's turn to do First preset value, then mobile terminal generates interrupt instruction, and controls mobile terminal according to the interrupt instruction and enter proximal to interrupt work Make state.Therefore, as soon as the present invention can be directly raw when the value added for the proximity values that mobile terminal detects is greater than setting value At interrupt instruction, and mobile terminal is controlled according to the interrupt instruction and enters proximal to interruption of work state, to improve mobile whole Hold the response speed in proximity test.
The proximity test method, device and mobile terminal for being provided for the embodiments of the invention a kind of terminal above carry out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Illustrate to be merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to this The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered It is interpreted as limitation of the present invention.

Claims (8)

1. a kind of proximity test method of terminal, which is characterized in that the described method includes:
When the proximity values for determining that proximity sensor detects in terminal become larger, the value added of the proximity values is obtained, wherein wrapping It includes: obtaining proximity sensor the first proximity values and current proximity values that detect in terminal, first proximity values and currently connect Close values are the numerical value of the adjacent proximity values detected twice of proximity sensor;If calculating the current proximity values to approach with first The difference of value is positive number, it is determined that goes out the proximity values that proximity sensor detects and becomes larger;When determining that proximity sensor detects Proximity values when becoming larger, the difference is determined as to the value added of the proximity values;
Determine the first preset value corresponding with the proximity values;
If judging, the value added is greater than first preset value, generates interrupt instruction, including: if judging described Value added is greater than first preset value, then calculate first proximity values and first preset value and value;It will be close to biography Sensor is set as described and value close to threshold value;Based on, close to threshold value and current proximity values, generating interrupt instruction after setting;
According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
2. the proximity test method of terminal according to claim 1, which is characterized in that enter proximal to interrupt in controlling terminal After the step of working condition, further includes:
The instruction modified to first preset value for receiving user's input, according to described instruction to first preset value It modifies.
3. the proximity test method of terminal according to claim 1, which is characterized in that the proximity sensor in determining terminal Before the step of proximity values detected become larger, further includes:
It obtains terminal the second proximity values that proximity sensor detects when deformation occurs and proximity sensor detects when deformation disappears The third proximity values arrived;
Calculate the difference of the third proximity values and the second proximity values, and by the difference of the third proximity values and the second proximity values It is set as the second preset value;
If it is detected that the first preset value is less than or equal to the second preset value, first preset value is adjusted, so that institute The first preset value is stated greater than second preset value.
4. a kind of proximity test device of terminal, which is characterized in that described device includes:
Acquiring unit, for obtaining the proximity values when the proximity values for determining that proximity sensor detects in terminal become larger Value added, including: the first proximity values and current proximity values that proximity sensor detects in terminal are obtained, described first connects Close values and current proximity values are the numerical value of the adjacent proximity values detected twice of proximity sensor;If calculating described current close The difference of value and the first proximity values is positive number, it is determined that goes out the proximity values that proximity sensor detects and becomes larger;When determining to approach When the proximity values that sensor detects become larger, the difference is determined as to the value added of the proximity values;
Determination unit, for determining the first preset value corresponding with the proximity values;
Generation unit, if interrupt instruction is generated, wherein wrapping for judging that the value added is greater than first preset value Include: if judging, the value added is greater than first preset value, calculates first proximity values and first preset value And value;Described and value are set close to threshold value by proximity sensor;Based on after setting close to threshold value and current proximity values, Generate interrupt instruction;
Control unit, for according to the interrupt instruction, controlling terminal to enter proximal to interruption of work state.
5. the proximity test device of terminal according to claim 4, which is characterized in that described device further include:
Changing unit, for receiving the instruction of user's input modified to first preset value, according to described instruction pair First preset value is modified.
6. the proximity test device of terminal according to claim 4, which is characterized in that described device further include: adjustment is single Member is used for
It obtains terminal the second proximity values that proximity sensor detects when deformation occurs and proximity sensor detects when deformation disappears The third proximity values arrived;
Calculate the difference of the third proximity values and the second proximity values, and by the difference of the third proximity values and the second proximity values It is set as the second preset value;
If it is detected that the first preset value is less than or equal to the second preset value, first preset value is adjusted, so that institute The first preset value is stated greater than second preset value.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, processor, proximity sensor and one A or multiple programs, one or more of programs are stored in the memory and are configured as being held by the processor Row, one or more of programs include the instruction for operating as follows:
When the proximity values for determining that proximity sensor detects in mobile terminal become larger, the value added of the proximity values is obtained, In include: to obtain proximity sensor the first proximity values and current proximity values that detect in terminal, first proximity values and work as Preceding proximity values are the numerical value of the adjacent proximity values detected twice of proximity sensor;If calculating the current proximity values and first The difference of proximity values is positive number, it is determined that goes out the proximity values that proximity sensor detects and becomes larger;When determine proximity sensor examine When the proximity values measured become larger, the difference is determined as to the value added of the proximity values;
Determine the first preset value corresponding with the proximity values;
If judging, the value added is greater than first preset value, generates interrupt instruction, including: if judging described Value added is greater than first preset value, then calculate first proximity values and first preset value and value;It will be close to biography Sensor is set as described and value close to threshold value;Based on, close to threshold value and current proximity values, generating interrupt instruction after setting;
According to the interrupt instruction, controlling terminal enters proximal to interruption of work state.
8. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program on computers When execution, so that the computer executes method according to any one of claims 1 to 3.
CN201610665827.3A 2016-08-12 2016-08-12 A kind of proximity test method, device and mobile terminal of terminal Expired - Fee Related CN106339106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610665827.3A CN106339106B (en) 2016-08-12 2016-08-12 A kind of proximity test method, device and mobile terminal of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610665827.3A CN106339106B (en) 2016-08-12 2016-08-12 A kind of proximity test method, device and mobile terminal of terminal

Publications (2)

Publication Number Publication Date
CN106339106A CN106339106A (en) 2017-01-18
CN106339106B true CN106339106B (en) 2019-02-12

Family

ID=57825162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610665827.3A Expired - Fee Related CN106339106B (en) 2016-08-12 2016-08-12 A kind of proximity test method, device and mobile terminal of terminal

Country Status (1)

Country Link
CN (1) CN106339106B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851013A (en) 2017-03-07 2017-06-13 广东欧珀移动通信有限公司 SOT state of termination determination methods, device and terminal
CN107782280B (en) * 2017-10-20 2020-09-01 维沃移动通信有限公司 Film thickness detection method and mobile terminal
CN109088993A (en) * 2018-09-26 2018-12-25 Oppo广东移动通信有限公司 Proximity state judgment method, device and electronic equipment based on proximity sensor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006332726A (en) * 2005-05-23 2006-12-07 Mitsubishi Electric Corp Mobile terminal
US7957762B2 (en) * 2007-01-07 2011-06-07 Apple Inc. Using ambient light sensor to augment proximity sensor output
CN102833389A (en) * 2011-06-15 2012-12-19 比亚迪股份有限公司 Mobile terminal and energy conservation method therefor
CN102938820A (en) * 2012-12-03 2013-02-20 华为终端有限公司 Mobile phone proximity waking method and mobile phone proximity waking device
CN103941994A (en) * 2013-01-23 2014-07-23 中兴通讯股份有限公司 Sensing screen locking method and device of touch screen
CN105825099A (en) * 2016-03-23 2016-08-03 惠州Tcl移动通信有限公司 Inductive unlocking method and system and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006332726A (en) * 2005-05-23 2006-12-07 Mitsubishi Electric Corp Mobile terminal
US7957762B2 (en) * 2007-01-07 2011-06-07 Apple Inc. Using ambient light sensor to augment proximity sensor output
CN102833389A (en) * 2011-06-15 2012-12-19 比亚迪股份有限公司 Mobile terminal and energy conservation method therefor
CN102938820A (en) * 2012-12-03 2013-02-20 华为终端有限公司 Mobile phone proximity waking method and mobile phone proximity waking device
CN103941994A (en) * 2013-01-23 2014-07-23 中兴通讯股份有限公司 Sensing screen locking method and device of touch screen
CN105825099A (en) * 2016-03-23 2016-08-03 惠州Tcl移动通信有限公司 Inductive unlocking method and system and mobile terminal

Also Published As

Publication number Publication date
CN106339106A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
US10423322B2 (en) Method for viewing message and terminal
CN105025159B (en) proximity sensor adjusting method and device
CN104246675B (en) Proximity test device and proximity test method
KR101852276B1 (en) Touch control responding method and device
ZA202106911B (en) Electronic device for reducing occurrence of unintended user input and operation method for the same
CN106339106B (en) A kind of proximity test method, device and mobile terminal of terminal
TWI550479B (en) Electronic decive and protection method and protection system of touch screen thereof
US8970542B2 (en) Operation device and control method thereof
CN105635483B (en) A kind of processing method, device and storage medium operating mobile terminal
CN104571693A (en) Information processing method and electronic equipment
CN106919824B (en) Fingerprint unlocking control method and device and computer equipment
CN105068686B (en) The damage detection method and its device of a kind of touch-screen
CN105573372B (en) A kind of control method and device of intelligent terminal
CN105825153B (en) A kind of mobile terminal guard method and device
CN103294583B (en) A kind of method of control terminal screen and mobile terminal
TW201339935A (en) Capacitive touch control system and touch control device and touch control method using the same
CN103106040A (en) Mobile terminal operation method and device using the same
CN105824465A (en) Touch determination method and device, and display device
EP3522290A1 (en) Fast charging control method, fast charging control system, and terminal device
CN105677105A (en) Control method and device for terminal
CN108801321B (en) Sensor calibration method, electronic device and computer-readable storage medium
CN106249872A (en) The control method of a kind of proximity transducer, device and mobile terminal
CN109240541A (en) The screen false-touch prevention method, apparatus and electronic equipment of electronic equipment
CN105912158A (en) Touch-screen photographing method, device for mobile terminal and mobile terminal
CN106254661B (en) A kind of data processing method of proximity sensor, device and mobile terminal

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: 523860 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: 20190212

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