CN106339106A - Terminal approach detection method and device and mobile terminal - Google Patents

Terminal approach detection method and device and mobile terminal Download PDF

Info

Publication number
CN106339106A
CN106339106A CN201610665827.3A CN201610665827A CN106339106A CN 106339106 A CN106339106 A CN 106339106A CN 201610665827 A CN201610665827 A CN 201610665827A CN 106339106 A CN106339106 A CN 106339106A
Authority
CN
China
Prior art keywords
proximity
terminal
values
value
preset value
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.)
Granted
Application number
CN201610665827.3A
Other languages
Chinese (zh)
Other versions
CN106339106B (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 terminal approach detection method, a terminal approach detection device and a mobile terminal. The terminal approach detection method comprises the following steps: when confirming that an approach value detected by an approach sensor in a terminal is increased, acquiring an increase value of the approach value; confirming a first preset value corresponding to the approach value; when judging that the approach value is greater than the first preset value, generating an interruption instruction; according to the interruption instruction, controlling the terminal to enter into an interruption working state. Therefore, when detecting that the approach value is greater than a set value, the interruption instruction is directly generated, the terminal is controlled to enter the interruption working state according to the interruption instruction, and the response speed of the terminal in approach detection is further improved.

Description

A kind of proximity test method of terminal, device and mobile terminal
Technical field
The invention belongs to sensor technical field, the proximity test method of more particularly, to a kind of terminal, device and movement are eventually End.
Background technology
At present, many terminals are fitted with proximity transducer.Terminal can detect whether thing by proximity transducer Body is closer or far from terminal, and is operated accordingly according to testing result execution.For example, when user by mobile phone near in one's ear when, handss Machine can detect the presence of user's face by proximity transducer, thus trigger mobile phone and closing screen backlight and disable touch work( Can, to save electricity and to prevent mistaken touch.
Proximity transducer passes through its detected value (proximity values detecting), and to judge close to threshold value with away from threshold value Object proximity or away from.The numerical value of the proximity values that proximity transducer detects is bigger, shows testee the closer to close to sensing Device.When the numerical value of the proximity values that proximity transducer detects is more than close to threshold value, show that object relativelys close to, now close to biography Sensor produces close to interrupting, and to terminal to report proximity state, so that terminal can execute corresponding operation, such as closes screen backlight And disable touch function etc..When the proximity values that proximity transducer detects numerical value be less than away from threshold value when, show object away from, Now proximity transducer to terminal to report away from state so that terminal can be lighted screen backlight and open touch function etc..
However, in actual use, due to due to various, the mobile terminal being provided with proximity transducer exists There is a problem of that proximity test response is slower in some cases.
Content of the invention
It is an object of the invention to provide a kind of proximity test method of terminal, device and mobile terminal move it is intended to improve The response speed in proximity test for the dynamic terminal.
For solving above-mentioned technical problem, present invention offer technical scheme below:
A kind of proximity test method of terminal, comprising:
When the proximity values determining that in terminal, proximity transducer detects become big, obtain the value added of described proximity values;
Determine first preset value corresponding with described proximity values;
If judging, described value added is more than described first preset value, generates interrupt instruction;
According to described interrupt instruction, control terminal enters proximal to interruption of work state.
For solving above-mentioned technical problem, the present invention also provides technical scheme below:
A kind of proximity test device of terminal, comprising:
Acquiring unit, during for becoming big when the proximity values determining that in terminal, proximity transducer detects, obtains described close The value added of value;
Determining unit, for determining first preset value corresponding with described proximity values;
Signal generating unit, if for judging described value added more than described first preset value, generation interrupt instruction;
Control unit, for according to described interrupt instruction, control terminal enters proximal to interruption of work state.
The present invention also provides a kind of mobile terminal, described mobile terminal include memorizer, processor, proximity transducer and One or more programs, one or more of programs are stored in described memorizer and are configured to be held by described processor OK, one or more of programs include for the following instruction operating:
When the proximity values determining that in mobile terminal, proximity transducer detects become big, obtain the increase of described proximity values Value;
Determine first preset value corresponding with described proximity values;
If judging, described value added is more than described first preset value, generates interrupt instruction;
According to described interrupt instruction, control terminal enters proximal to interruption of work state.
With respect to prior art, the proximity test method of terminal, device and mobile terminal that the present invention provides, determining When the proximity values that proximity transducer in terminal detects become big, terminal obtains the value added of this proximity values.Then, terminal determines Go out first preset value corresponding with this proximity values set in advance, and judge that the value added of this proximity values is whether first pre- more than this If value.If judging, the value added of proximity values is more than this first preset value, and terminal generates interrupt instruction, and according to severed finger in this Control terminal is made to enter proximal to interruption of work state.Therefore, the value added of the proximity values that the present invention can detect in terminal is big As soon as when setting value, directly generating interrupt instruction, and interruption of work state is entered proximal to according to this interrupt instruction control terminal, Thus improve the response speed in proximity test for the terminal.
Brief description
Below in conjunction with the accompanying drawings, by the specific embodiment detailed description to the present invention, technical scheme will be made And its advantage is apparent.
Fig. 1 is the schematic flow sheet of the proximity test method of terminal that first embodiment of the invention provides;
Fig. 2 is the schematic flow sheet of the proximity test method of terminal that second embodiment of the invention provides;
Fig. 3 is the schematic flow sheet of the proximity test method of terminal that third embodiment of the invention provides
The structural representation of the proximity test device of the terminal that Fig. 4 provides for fourth embodiment of the invention;
Another structural representation of the proximity test device of the terminal that Fig. 5 provides for fourth embodiment of the invention;
The structural representation of the mobile terminal that Fig. 6 provides for fifth embodiment of the invention.
Specific embodiment
Refer to schema, wherein identical element numbers represent identical assembly, and the principle of the present invention is to be implemented in one To illustrate in suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should be by It is considered as limiting the present invention other specific embodiments not detailed herein.
Will be detailed below.
First embodiment
A kind of proximity test method of terminal, comprising: when the proximity values that proximity transducer in determination terminal detects become big When, obtain the value added of this proximity values;Determine first preset value corresponding with this proximity values;If judging that this value added is more than to be somebody's turn to do First preset value, then generate interrupt instruction;According to this interrupt instruction, control terminal enters proximal to interruption of work state.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of the proximity test method of terminal that first embodiment of the invention provides, Idiographic flow may include that
In step s101, when the proximity values determining that in terminal, proximity transducer detects become big, obtain this proximity values Value added.
It is understood that the executive agent of the embodiment of the present invention can be the terminal units such as mobile phone, panel computer.
Proximity transducer passes through its detected value (proximity values detecting), and to determine whether object close to threshold value Close.The numerical value of the proximity values that proximity transducer detects is bigger, shows testee the closer to proximity transducer.When close to biography The numerical value of the proximity values that sensor detects be more than close to threshold value when, show that object relativelys close to, now proximity transducer produce connect Nearly interruption, to terminal to report proximity state, so that terminal can execute corresponding operation, such as closes screen backlight and disables touch Function etc..
However, current proximity transducer needs when it detects proximity values and is more than close to threshold value, just can be to terminal to report Proximity state.So, in some cases, the proximity test response speed of terminal is slower.
In order to solve the above problems, in 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 big, obtain the value added of this proximity values.
Such as, in a kind of possible embodiment, terminal can first obtain the proximity values that proximity transducer detects Currency p1And the numerical value p of proximity values that the proximity transducer last time detects0.Then, terminal calculates p1Deduct p0Obtain Difference.If this difference is positive number, judge that the proximity values that in terminal, proximity transducer detects become big, now terminal will be upper State the value added that difference is defined as the proximity values that proximity transducer detects.
In step s102, determine first preset value corresponding with this proximity values.
Such as, get the value added of the proximity values that proximity transducer detects in terminal after, can be determined with triggering terminal First preset value corresponding with the proximity values of proximity transducer.This first preset value is for judging testee and close sensing Whether there is the numerical value close to trend, the value added of the proximity values detecting when proximity transducer is more than this and first presets between device It is believed that having close to trend between testee and proximity transducer during value, and the value added working as proximity values be not more than this It is believed that being not close to trend between testee and proximity transducer during one preset value.
Based on this, after terminal determines first preset value corresponding with this proximity values, terminal may determine that step s101 In the value added of proximity values that gets whether be more than the first preset value.
If the value added that terminal judges go out the proximity values that proximity transducer detects is not more than the first preset value, can recognize For being not close to trend between testee and proximity transducer, then terminal can continue executing with its current process.
If the value added that terminal judges go out the proximity values that proximity transducer detects is more than the first preset value, it is considered that Have between testee and proximity transducer close to trend, now enter step s103.
In step s103, if judging, this value added is more than this first preset value, generates interrupt instruction.
In step s104, according to this interrupt instruction, control terminal enters proximal to interruption of work state.
Such as, step s103 and s104 can specifically include:
When the value added going out the proximity values that proximity transducer detects in terminal judges is more than the first preset value, show tested Have close to trend between object and proximity transducer.At this point it is possible to triggering terminal generates first interrupt instruction.This interrupt instruction can For suspending the process that terminal is currently executing, and instruction terminal enters proximal to interruption of work state.Then, terminal is permissible Execute this interrupt instruction, hence into close to interruption of work state, such as screen backlight can be closed with control terminal, 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 terminal judges, to go out the proximity values that proximity transducer detects big In the first preset value, have between proximity transducer and testee close to trend when, with regard to control terminal enter proximal to interrupt work Make state, such as control terminal enter screen backlight be closed and touch screen the working condition such as Trigger Function is disabled, and no Need to wait for the proximity values that proximity transducer detects be more than close to threshold value when just enter proximal to interruption of work state, thus realizing Proximity test carried out with the purpose of quick response.
From the foregoing, the present embodiment provide terminal proximity test method, in determining terminal close to sensing When the proximity values that device detects become big, terminal obtains the value added of this proximity values.Then, terminal is determined set in advance and is somebody's turn to do Corresponding first preset value of proximity values, and judge the value added of this proximity values whether more than this first preset value.If judging to connect The value added of close values is more than this first preset value, then terminal generates interrupt instruction, and is entered according to this interrupt instruction control terminal Close to interruption of work state.Therefore, as soon as the value added of proximity values that the present invention can detect in terminal is more than setting value, Directly generate interrupt instruction, and interruption of work state is entered proximal to according to this interrupt instruction control terminal, thus improve terminal Response speed in proximity test.
Second embodiment
Method according to described by first embodiment, makees further to the proximity test method of terminal below taking mobile phone as a example Describe in detail.
Refer to Fig. 2, the schematic flow sheet of the proximity test method of the terminal that Fig. 2 provides for second embodiment of the invention, Idiographic flow may include that
In step s201, mobile phone obtains the first proximity values and the current proximity values that proximity transducer detects, and this first Proximity values and current proximity values are the numerical value of the adjacent proximity values detecting twice of proximity transducer.
Such as, in order to carry out quick response to proximity test, mobile phone can first obtain proximity transducer, and this detects The numerical value of proximity values, i.e. current proximity values.Then, mobile phone obtains the number of the proximity values that the proximity transducer last time detects again Value, i.e. the first proximity values.That is, this current proximity values and the first proximity values to be proximity transducer adjacent detect twice close The numerical value of value.
For example, the first proximity values that mobile phone gets are 100, and current proximity values are 140.
In a kind of possible embodiment, the proximity values that proximity transducer detects every time can first be stored by mobile phone In one default file.So, when mobile phone needs to obtain the proximity values that proximity transducer detects it is possible to directly from default These proximity values are read in file.
In step s202, if the difference calculating this current proximity values with the first proximity values is positive number, mobile phone determines Go out the proximity values that proximity transducer detects and become big.
In step s203, when the proximity values determining that proximity transducer detects become big, this difference is determined by mobile phone Value added for proximity values.
Such as, step s202 and s203 can specifically include:
After mobile phone gets current proximity values and the first proximity values, mobile phone can calculate current proximity values and deducts first and connect The difference that close values obtain, and judge whether this difference is positive number.
If mobile phone judges that this difference is not positive number, that is, current proximity values are less than or equal to the first proximity values, then show The object of mobile phone and proximity transducer detection be located remotely from each other or proximity transducer detection object not near mobile phone.At this In the case of kind, mobile phone can continue executing with its current process.
If mobile phone judges that this difference is positive number, that is, current proximity values are more than the first proximity values, then mobile phone is determined and connect The proximity values that nearly sensor detects become big, and this shows object that proximity transducer detects near mobile phone.Now, mobile phone can The difference of calculated current proximity values and the first proximity values to be defined as the value added of proximity values.For example, mobile phone obtains The current proximity values 140 arriving and the difference of the first proximity values 100 are 40, then the value added of the proximity values that current phone detects is For 40.
In step s204, mobile phone determines first preset value corresponding with proximity values.
In step s205, if judging, this value added is more than the first preset value, calculates the first proximity values and first pre- If the value preset of value.
Such as, step s204 and s205 can specifically include:
After determining the value added of proximity values that proximity transducer detects, mobile phone can be triggered and determine and proximity values The first corresponding preset value.Whether this first preset value is for judging to have between testee and proximity transducer close to becoming The numerical value of gesture, the value added of the proximity values detecting when proximity transducer is more than during this first preset value it is believed that tested Have close to trend between object and proximity transducer, and when the value added of proximity values is not more than this first preset value, can recognize For being not close to trend between testee and proximity transducer.For example, this first preset value could be arranged to 35.
Based on this, after mobile phone has confirmed value added and first preset value of proximity values, mobile phone may determine that this Whether value added is more than the first preset value.
If mobile phone judges that this value added is not more than the first preset value, the such as value added of the proximity values that mobile phone detects It is less than the first preset value 35 for 25, then it is considered that being not close to trend between mobile phone and testee, then mobile phone can continue Continuous its current process of execution.
If mobile phone judges that this value added is more than the first preset value, the value added of the proximity values that such as mobile phone detects is 40 are more than the first preset value 35, then it is considered that having close to trend between mobile phone and testee.In order to carry out to proximity test Quick response, when mobile phone is judged to have between proximity transducer and testee close to trend, can trigger proximity transducer Report proximity state to mobile phone.
Report proximity state in order to trigger proximity transducer to mobile phone, in a kind of possible embodiment, when mobile phone is true When making the value added of the proximity values that proximity transducer detects and being more than the first preset value, can first calculate the first proximity values and the The value preset of one preset value.For example, the first proximity values are 100, and the first preset value is 35, then the value preset of the two is 135.
In step s206, proximity transducer is set to this value preset close to threshold value by mobile phone.
In step s207, based on after setting, close to threshold value and current proximity values, mobile phone generates interrupt instruction.
Such as, step s206 and s207 can specifically include:
In proximity transducer, when the proximity values that proximity transducer detects are more than close to threshold value, proximity transducer 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 transducer and testee in mobile phone During trend, proximity transducer can be triggered and report proximity state to mobile phone, can preset calculating the first proximity values and first After the value preset of value, proximity transducer is set to this value preset close to threshold value by mobile phone.For example, now mobile phone by proximity transducer Be set to 135 close to threshold value.
Mobile phone by proximity transducer after threshold value is set to the first proximity values and the value preset of the first preset value, can Based on the current proximity values detecting close to threshold value and proximity transducer after setting, to generate interrupt instruction.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, in a kind of possible embodiment, this interrupt instruction can indicate that mobile phone cuts out screen backlight, disabling is touched Touch screen Trigger Function and disable fingerprint activated function etc..
It is understood that proximity transducer is being set to the first proximity values and the sum of the first preset value close to threshold value After value, the current proximity values being detected due to proximity transducer are more than close to threshold value, therefore can trigger proximity transducer to Mobile phone reports proximity state.For example, it is 135 close to threshold value after setting, and current proximity values are 140, and that is, current proximity values are big In close to threshold value, proximity state can be reported to mobile phone therefore close to sensor.Mobile phone is in connecing of receiving that proximity transducer reports After nearly state, an interrupt instruction can be generated.
In step s208, according to described interrupt instruction, mobile phone enters proximal to interruption of work state.
Such as, mobile phone, after generating interrupt instruction, can execute this interrupt instruction, thus controlling mobile phone to enter proximal to interrupt Working condition.Such as, mobile phone is controlled to enter the working condition 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 transducer and testee Close to trend when, just control mobile phone to enter proximal to interruption of work state, such as control mobile phone to enter screen backlight and be closed and touch Touch the working condition of the disabled grade of Trigger Function of screen, and be more than without waiting for the proximity values detecting to proximity transducer close Interruption of work state is just entered proximal to, it is achieved thereby that proximity test is carried out with the purpose of quick response during threshold value.
In a kind of possible embodiment, after step s208 mobile phone enters proximal to interruption of work state, acceptable Comprise the steps:
The instruction that first preset value is modified of receiving user's input, repaiies to the first preset value according to this instruction Change.
Such as, when user is conversed using mobile phone, by mobile phone near ear, now mobile phone detects mobile phone and user's ear Piece have close to trend, then mobile phone can enter proximal to interruption of work state.After this, user terminate call and by mobile phone away from Ear, then mobile phone can exit close to interruption of work state, and returns to normal working condition.In this case, user According to the use demand of itself, the first preset value can be modified.Mobile phone receive user input to the first preset value After the instruction modified, according to this instruction, the first preset value can be modified.
It is understood that by allowing the first preset value is modified, mobile phone can be improved in terms of proximity test Motility.Such as, when the first preset value of setting is less, the value added of the proximity values that mobile phone detects in proximity transducer In the case of less, mobile phone will be controlled to access close to interruption of work state, that is, response in terms of proximity test for the mobile phone is too fast. So, the first preset value can be arranged to certain larger value according to the use demand of itself by user, so that mobile phone is connecing The response of nearly context of detection is moderate.
From the foregoing, the present embodiment provide terminal proximity test method, in determining terminal close to sensing When the proximity values that device detects become big, terminal obtains the value added of this proximity values.Then, terminal is determined set in advance and is somebody's turn to do Corresponding first preset value of proximity values, and judge the value added of this proximity values whether more than this first preset value.If judging to connect The value added of close values is more than this first preset value, then terminal generates interrupt instruction, and is entered according to this interrupt instruction control terminal Close to interruption of work state.Therefore, as soon as the value added of proximity values that the present invention can detect in terminal is more than setting value, Directly generate interrupt instruction, and interruption of work state is entered proximal to according to this interrupt instruction control terminal, thus improve terminal Response speed in proximity test.
3rd embodiment
Refer to Fig. 3, the schematic flow sheet of the proximity test method of the terminal that Fig. 3 provides for third embodiment of the invention, Idiographic flow may include that
In step s301, terminal obtains the second proximity values that when deforming upon, proximity transducer detects, and deformation disappears The 3rd proximity values that during mistake, proximity transducer detects.
In step s302, terminal calculates the difference of the 3rd proximity values and the second proximity values, and by the 3rd proximity values and the The difference of two proximity values is set to the second preset value.
Such as, step s301 and s302 can specifically include:
In actual use, the shell of terminal, is especially the shell of non-hard material, easily sends out under the influence of external force Raw deformation.This deformation may result in proximity transducer and mistakenly reports proximity state.For example, terminal is submitted to it by user Other people, if now the position of user's finger installs the near sites of proximity transducer in terminal, and user's finger uses Strength larger, then the shell of terminal is easy for deforming upon, and leads to proximity transducer near terminal screen.
Because proximity transducer is nearer apart from terminal screen, the proximity values that it detects can be less.For example, connect for infrared For nearly sensor, when infrared proximity sensor distance terminal screen is close, due to infrared proximity transducer receive by The infrared energy that testee reflects tails off, so the proximity values that infrared proximity transducer detects can diminish.Therefore, When terminal enclosure deform upon lead to proximity transducer near mobile phone screen when, the proximity values that proximity transducer detects can become Little.And become in outer hull shape and disappear, when such as user's finger is unclamped, proximity transducer can be returned to before position, then close to passing The proximity values that sensor detects can become big.During terminal enclosure is by being deflected into deformation disappearance, proximity transducer detects Proximity values change from small to big.In this case, proximity transducer mistakenly to terminal to report proximity state, and then may be led Terminal is caused to close touch function of screen backlight and disabling touch screen etc., the normal use of impact user.
In order to solve the above problems, in step s301 of the embodiment of the present invention, terminal can first obtain it and deform upon When, the size of the proximity values that proximity transducer detects, i.e. the second proximity values.Then, terminal obtain again deformation disappear when close The size of the proximity values that sensor detects, i.e. the 3rd proximity values.
After getting the second proximity values and the 3rd proximity values, in step s302, terminal can calculate the 3rd proximity values Deduct second close to the difference being worth to, and this difference is defined as the second preset value.It is understood that this second preset value It is when terminal deforms upon and when deformation disappears, the variable quantity that the proximity values that proximity transducer detects occur.
For example, when terminal is dispatched from the factory, external force can be applied to by corresponding proximity transducer in terminal enclosure by instrument Near sites, make terminal enclosure deform upon, then obtain terminal enclosure when deforming upon proximity transducer detect close The numerical value of value, and it is set to the second proximity values.Then, remove external force so that terminal enclosure deformation disappears, obtain now close to sensing The numerical value of the proximity values that device detects, and it is set to the 3rd proximity values.Finally, terminal calculates the 3rd proximity values and deducts the second proximity values The difference obtaining, and this difference is defined as the second preset value.For example, the size of the second preset value that terminal is determined is 30.
In a kind of possible embodiment, this second preset value, after determining the second preset value, can be protected by terminal It is stored in the nonvolatile memory (nonvolatile ram) of terminal, so that terminal can call this when needing Second preset value.Or, this second preset value can also be saved in certain default literary composition according to default store path by terminal In part, etc..
In step s303, if detecting, the first preset value is less than or equal to the second preset value, and terminal-pair first is preset Value is adjusted, so that the first preset value is more than the second preset value.
Such as, after determining the second preset value, terminal can detect whether the first preset value is pre- more than second to terminal If value, the wherein first preset value is for determining whether the numerical value close to trend.If terminal detects that the first preset value is more than the Two preset values, then terminal the first preset value can not be adjusted.
If terminal detects that the first preset value is not more than the second preset value, terminal can be adjusted to the first preset value Whole, so that the first preset value is more than the second preset value.For example, terminal can be in numerically increase by number of former first preset value Value, and the numerical value after increasing is defined as the first new preset value so that the first preset value can be more than the second preset value.
In step s304, when the proximity values determining that in terminal, proximity transducer detects become big, terminal obtains this and connects The value added of close values.
In step s305, terminal determines first preset value corresponding with this proximity values.
In step s306, if judging, this value added is more than this first preset value, and terminal generates interrupt instruction, and root According to this interrupt instruction, control terminal enters proximal to interruption of work state.
Such as, step s304, s305 and s306 can specifically include:
The current proximity values that terminal detects according to proximity transducer and on the proximity values that once detect, calculate two When the difference of person is positive number, determine that the proximity values that proximity transducer detects become big.Now, above-mentioned difference is defined as by terminal The value added of the proximity values that proximity transducer detects.
Then, terminal determines first preset value corresponding with the proximity values of proximity transducer.This first preset value is use In judging the numerical value that whether has close to trend between testee and proximity transducer, that is, when proximity transducer detect close The value added of value is more than during this first preset value it is believed that having close to trend between testee and proximity transducer, and works as The value added of proximity values is not more than during this first preset value it is believed that being not close between testee and proximity transducer Gesture.For example, in a kind of possible embodiment, the first preset value can be 35.
After determining the first preset value, whether the value added of the proximity values that terminal judges proximity transducer detects is big In the first preset value.
If the value added that terminal judges go out the proximity values that proximity transducer detects is more than the first preset value, for example, connect The value added of close values be 40 be more than the first preset value 35, then it is considered that have between proximity transducer and testee close to become Gesture, now terminal can generate an interrupt instruction, and interruption of work state is entered proximal to according to this interrupt instruction control terminal, As control terminal enter screen backlight be closed and touch screen the disabled working condition of Trigger Function etc..
If the value added that terminal judges go out the proximity values that proximity transducer 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 transducer and testee Nearly trend.Now although the proximity values that proximity transducer detects have increased, but not yet reach for judge possess close to become First preset value of gesture, then terminal will not enter proximal to interruption of work state.For example, the proximity values that proximity transducer detects Increase caused due to 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 greatly to the change of proximity values, will not enter proximal to interruption of work state.
It is understood that by being set greater than being used for determining whether second close to the first preset value of trend and presetting The numerical value of value.So, when the value added of the proximity values that terminal only detects in proximity transducer is more than the first preset value, just can control Terminal processed enters proximal to interruption of work state.If the value added of the proximity values that proximity transducer detects is not more than in terminal One preset value, the size of the value added of the proximity values for example detecting is equal to the second preset value, then proximity transducer still can Judge that it is not close to trend and testee between, also would not report proximity state therefore close to sensor, thus avoiding Proximity transducer mistakenly reports proximity state in the case of deforming upon, and leads to the terminal to enter proximal to interruption of work shape State.
From the foregoing, the proximity test method of the terminal of the present embodiment offer, one side terminal can be close to sensing When the value added of the proximity values that device detects is more than a setting value, judge to have between proximity transducer and testee close to becoming Gesture, and control terminal enters proximal to interruption of work state, thus reaching the purpose that proximity test is carried out with quick response.The opposing party Face, by being set greater than increasing the above-mentioned setting value for determining whether close to trend because of the proximity values that terminal deformation leads to Variable quantity, such that it is able to avoid proximity to sensor in the case of deforming upon mistakenly to terminal to report proximity state.
Fourth embodiment
For ease of preferably implementing the proximity test method of terminal provided in an embodiment of the present invention, the embodiment of the present invention also carries For a kind of device of the proximity test method based on above-mentioned terminal.The proximity test method of the wherein implication of noun and above-mentioned terminal In identical, implement details and may be referred to the explanation in embodiment of the method.
Refer to Fig. 4, the structural representation of the proximity test device of the terminal that Fig. 4 provides for fourth embodiment of the invention, This device may include that acquiring unit 401, determining unit 402, signal generating unit 403, and control unit 404.
Acquiring unit 401, during for becoming big when the proximity values determining that in terminal, proximity transducer detects, connects described in acquisition The value added of close values.
Such as, the proximity values being detected due to proximity transducer are bigger, show testee the closer to proximity transducer.Cause This, when terminal determines that the proximity values that proximity transducer detects become big, show that testee may be to proximity transducer Close.At this point it is possible to triggering terminal obtains the value added of the proximity values that proximity transducer detects.
In a kind of possible embodiment, acquiring unit 401 can obtain proximity transducer inspection in the following way The value added of the proximity values measuring:
Obtain the first proximity values of detecting of proximity transducer and current proximity values in terminal, described first proximity values and working as Front proximity values are the numerical value of the adjacent proximity values detecting twice of proximity transducer;
If the difference calculating described current proximity values with the first proximity values is positive number it is determined that going out proximity transducer detection The proximity values arriving become big;
When the proximity values determining that proximity transducer detects become big, described difference is defined as the increasing of described proximity values Value added.
For example, terminal can first obtain the currency p of the proximity values that proximity transducer detects1And on proximity transducer The numerical value p of the proximity values that one-time detection arrives0.Then, terminal calculates p1Deduct p0The difference obtaining.If this difference is positive number, Judge that the proximity values that in terminal, proximity transducer detects become big, now above-mentioned difference is defined as proximity transducer inspection by terminal The value added of the proximity values measuring.
Determining unit 402, for determining first preset value corresponding with described proximity values.
Such as, after acquiring unit 401 gets the value added of the proximity values that proximity transducer detects, can trigger Determining unit 402 determines first preset value corresponding with the proximity values of proximity transducer.This first preset value is for sentencing Whether there is the numerical value close to trend between disconnected testee and proximity transducer, the proximity values detecting when proximity transducer Value added is more than during this first preset value it is believed that having close to trend between testee and proximity transducer, and works as close The value added of value is not more than during this first preset value it is believed that being not close to trend between testee and proximity transducer.
Then, whether the value added of the proximity values that terminal judges proximity transducer detects is more than the first preset value.If sentencing Break the proximity values that proximity transducer detects value added be not more than the first preset value, then it is considered that testee with close It is not close to trend between sensor, then terminal can continue executing with its current process, do greatly without becoming to proximity values Go out response.
Signal generating unit 403, if for judging described value added more than described first preset value, generation interrupt instruction.
Such as, terminal judges go out the value added of the proximity values that proximity transducer detects more than the first preset value, then permissible Think and have close to trend between testee and proximity transducer.In this case, in order to reach, terminal proximity test is entered The purpose of row quick response, can generate an interrupt instruction by terminal at this moment.This 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, signal generating unit 403 can be specifically for:
If judging, described value added is more than described first preset value, calculates described first proximity values and described first pre- If the value preset of value;
Proximity transducer is set to described value preset close to threshold value;
Close to threshold value and current proximity values, generate interrupt instruction based on after setting.
Such as, when the value added going out, in terminal judges, the proximity values that proximity transducer detects is more than the first preset value, eventually End can first calculate the value preset of the first proximity values and the first preset value.Then, proximity transducer is arranged by terminal close to threshold value For this value preset.The current proximity values being detected due to proximity transducer be more than after setting close to threshold value, therefore close to sensor Can produce close to interruption, to terminal to report proximity state.Terminal, can when proximity transducer is detected and reporting proximity state to it To generate an interrupt instruction.This interrupt instruction can be used for suspending the process that terminal is currently executing, and instruction terminal is entered Enter close to interruption of work state.
Control unit 404, for according to described interrupt instruction, control terminal enters proximal to interruption of work state.
Such as, after signal generating unit 403 generates interrupt instruction, this interruption can be executed by control unit 404 control terminal Instruction, so that terminal enters proximal to working condition, such as can close the triggering work(of screen backlight, disabling touch screen with control terminal And fingerprint activated function etc. can be disabled.
It is understood that in embodiments of the present invention, have between proximity transducer and testee when terminal judges go out Close to trend when, interruption of work state is entered proximal to regard to control terminal, such as control terminal enters screen backlight and is closed and touches Touch the working condition such as Trigger Function is disabled of screen, and be more than close to threshold without waiting for the proximity values detecting to proximity transducer Interruption of work state is just entered proximal to, it is achieved thereby that proximity test is carried out with the purpose of quick response during value.
See also Fig. 5, another structure of the proximity test device of the terminal that Fig. 5 provides for fourth embodiment of the invention Schematic diagram, this device can also include: changing unit 405 and adjustment unit 406.
Changing unit 405, the instruction described first preset value modified for receiving user's input, according to described Instruction is modified to described first preset value.
Such as, when user's using terminal is conversed, by terminal near ear, now terminal detects terminal and user's ear Piece have close to trend, then terminal can enter proximal to interruption of work state.After this, user terminate call and by terminal away from Ear, then terminal can exit close to interruption of work state, and returns to normal working condition.In this case, user According to the use demand of itself, the first preset value can be modified.Terminal receive user input to the first preset value After the instruction modified, the first preset value can be modified by changing unit 405 according to this instruction.
It is understood that by allowing the first preset value is modified, terminal can be improved in terms of proximity test Motility.Such as, when the first preset value of setting is less, the value added of the proximity values that terminal detects in proximity transducer In the case of less, will control terminal access close to interruption of work state, that is, response in terms of proximity test for the terminal is too fast. So, the first preset value can be arranged to certain larger value according to the use demand of itself by user, so that terminal is connecing The response of nearly context of detection is moderate.
Adjustment unit 406, for obtaining the second proximity values that proximity transducer when terminal deforms upon detects, and deformation The 3rd proximity values that during disappearance, proximity transducer detects;Calculate the difference of described 3rd proximity values and the second proximity values, and will Described 3rd proximity values are set to the second preset value with the difference of the second proximity values;If detecting, the first preset value is less than or equal to Second preset value, then be adjusted to described first preset value, so that described first preset value is more than described second preset value.
Such as, in actual use, the shell of terminal, is especially the shell of non-hard material, under the influence of external force It is susceptible to deformation.In some cases, this deformation can make the proximity transducer in terminal near terminal screen, makes close to biography The proximity values that sensor detects can diminish.And outer hull shape become disappear when, proximity transducer can be returned to before position, then The proximity values that proximity transducer detects can become big.During terminal enclosure is by being deflected into deformation disappearance, proximity transducer The proximity values detecting are changed from small to big.In this case, proximity transducer may be mistakenly to terminal to report proximity state.
Therefore, in order to avoid the proximity transducer leading to because of terminal deformation is mistakenly to terminal to report proximity state, permissible The second proximity values that when terminal deforms upon, proximity transducer detects first are obtained by adjustment unit 406, and when deformation disappears The 3rd proximity values that proximity transducer detects.Then, terminal calculates the difference of the 3rd proximity values and the second proximity values, and will This difference is defined as the second preset value.It is understood that this second preset value is when terminal deforms upon and deformation disappears When, the variable quantity of the proximity values that proximity transducer detects.
Terminal, after determining the second preset value, can detect whether the first preset value is more than the second preset value.If eventually End detects that the first preset value is more than the second preset value, then terminal can not be adjusted to the first preset value.If terminal detects Go out the first preset value and be not more than the second preset value, then with triggering terminal, the first preset value can be adjusted, so that first is default Value is more than the second preset value.
It is understood that because the first preset value is for determining whether the numerical value close to trend, and the second proximity values The incrementss of the proximity values detecting because of the proximity transducer that deformation leads to for terminal.Therefore, it can by by the first preset value It is set greater than this mode of the second preset value so that the value added of proximity values that terminal only detects in proximity transducer is more than During the first preset value, just can enter proximal to interruption of work state by control terminal.If what in terminal, proximity transducer detected connects The value added of close values is not more than the first preset value, and the size of the value added of the proximity values for example detecting is equal to the second preset value, So proximity transducer still can judge that it is not close to trend and testee between, also would not go up therefore close to sensor Report proximity state, thus avoiding proximity transducer mistakenly report proximity state in the case of deforming upon, and leads to end End enters proximal to interruption of work state.
From the foregoing, the present embodiment provide terminal proximity test device, in determining terminal close to sensing When the proximity values that device detects become big, terminal obtains the value added of this proximity values.Then, terminal is determined set in advance and is somebody's turn to do Corresponding first preset value of proximity values, and judge the value added of this proximity values whether more than this first preset value.If judging to connect The value added of close values is more than this first preset value, then terminal generates interrupt instruction, and is entered according to this interrupt instruction control terminal Close to interruption of work state.Therefore, as soon as the value added of proximity values that the present invention can detect in terminal is more than setting value, Directly generate interrupt instruction, and interruption of work state is entered proximal to according to this interrupt instruction control terminal, thus improve terminal Response speed in proximity test.Meanwhile, the present embodiment is by being set greater than the second preset value by the first preset value, wherein First preset value is for determining whether the numerical value close to trend, and the second preset value is to become because of the proximity values that terminal deformation leads to Big value added, can be avoided proximity transducer in the case of deforming upon mistakenly to terminal to report proximity state.
For the proximity test device of the described terminal of the embodiment of the present invention, its each functional module can be integrated in one In process chip or modules are individually physically present or two or more modules are integrated in one In module.Above-mentioned integrated module both can be to be realized in the form of hardware, it would however also be possible to employ software function module is realized.Described If integrated module realized using in the form of software function module and as independent production marketing or use when it is also possible to storage In a computer read/write memory medium, described storage medium is such as read only memory, disk or CD etc..
5th embodiment
In order to be better understood from the present invention, the present invention also provides a kind of mobile terminal.
Refer to Fig. 6, the structural representation of the mobile terminal that Fig. 6 provides for fifth embodiment of the invention.Specifically, mobile Terminal 500 may include that memorizer 510, processor 520, proximity transducer 530 and one or more program, this or Multiple programs are stored in memorizer 510 and are configured to be executed by processor 520, and this one or more program can include Instruction for following operation:
When the proximity values determining that in mobile terminal, proximity transducer detects become big, obtain the increase of described proximity values Value;
Determine first preset value corresponding with described proximity values;
If judging, described value added is more than described first preset value, generates interrupt instruction;
According to described interrupt instruction, control terminal enters proximal to interruption of work state.
Wherein, memorizer 510, processor 520 and proximity transducer 530 are connected by bus 540.
Such as, mobile terminal can first obtain the first proximity values and the current proximity values that proximity transducer 530 detects, should First proximity values and current proximity values are the numerical value of the adjacent proximity values detecting twice of proximity transducer 530.Then, mobile whole End calculates current proximity values and deducts first close to the difference being worth to.If mobile terminal judges that this difference is positive number, show Proximity values that in mobile terminal, proximity transducer detects become big, now by connecing that this difference is defined as that proximity transducer detects The value added of close values.
After mobile terminal determines the value added of the proximity values detecting, mobile terminal can be triggered and determine and connect The first corresponding preset value of close values.This first preset value is for judging whether connect between testee and proximity transducer The numerical value of nearly trend, the value added of the proximity values detecting when proximity transducer be more than during this first preset value it is believed that Have close to trend between testee and proximity transducer, and when the value added of proximity values is not more than this first preset value, can To think the trend that is not close between testee and proximity transducer.
After determining the first preset value, if mobile terminal judges the increase of the proximity values that proximity transducer detects Value is more than this first preset value, then it is considered that having close to trend between proximity transducer and testee.Fast in order to reach The purpose of speed response, can generate an interrupt instruction by mobile terminal at this moment.This 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.Such as, control mobile terminal to enter screen backlight to be closed and touch screen The disabled grade of Trigger Function working condition.
It is understood that when mobile terminal is judged to have between proximity transducer and testee close to trend, just Control mobile terminal to enter proximal to interruption of work state, and be more than without waiting for the proximity values detecting to proximity transducer close Interruption of work state is just entered proximal to, it is achieved thereby that proximity test is carried out with the purpose of quick response during threshold value.
From the foregoing, the mobile terminal that the present embodiment provides, in the proximity values change determining that proximity transducer detects When big, obtain the value added of this proximity values.Then, mobile terminal determines that set in advance corresponding with this proximity values first is pre- If value, and judge the value added of this proximity values whether more than this first preset value.If judging that the value added of proximity values is more than to be somebody's turn to do First preset value, then mobile terminal generation interrupt instruction, and control mobile terminal to enter proximal to interrupt work according to this interrupt instruction Make state.Therefore, as soon as the value added of proximity values that the present invention can detect in mobile terminal is more than setting value, directly give birth to Become interrupt instruction, and control mobile terminal to enter proximal to interruption of work state according to this interrupt instruction, thus improve mobile whole The response speed in proximity test for the end.
A kind of proximity test method of the terminal above embodiment of the present invention being provided, device and mobile terminal are carried out It is discussed in detail, specific case used herein is set forth to the principle of the present invention and embodiment, above example Illustrate that being only intended to help understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this The thought of invention, all will change in specific embodiments and applications, and in sum, this specification content should not It is interpreted as limitation of the present invention.

Claims (11)

1. a kind of proximity test method of terminal is it is characterised in that methods described includes:
When the proximity values determining that in terminal, proximity transducer detects become big, obtain the value added of described proximity values;
Determine first preset value corresponding with described proximity values;
If judging, described value added is more than described first preset value, generates interrupt instruction;
According to described interrupt instruction, control terminal enters proximal to interruption of work state.
2. the proximity test method of terminal according to claim 1 is it is characterised in that close in the described terminal when determination pass When the proximity values that sensor detects become big, obtain the value added of described proximity values, comprising:
Obtain the first proximity values of detecting of proximity transducer and current proximity values in terminal, described first proximity values and currently connecing Close values are the numerical value of the adjacent proximity values detecting twice of proximity transducer;
If the difference calculating described current proximity values with the first proximity values is positive number it is determined that going out what proximity transducer detected Proximity values become big;
When the proximity values determining that proximity transducer detects become big, described difference is defined as the increase of described proximity values Value.
If 3. the proximity test method of terminal according to claim 2 is it is characterised in that described judge described value added More than described first preset value, then generate interrupt instruction, comprising:
If judging, described value added is more than described first preset value, calculates described first proximity values and described first preset value Value preset;
Proximity transducer is set to described value preset close to threshold value;
Close to threshold value and current proximity values, generate interrupt instruction based on after setting.
4. the proximity test method of terminal according to claim 3 is it is characterised in that enter proximal to interrupt in control terminal After the step of working condition, also include:
The instruction that described first preset value is modified of receiving user's input, according to described instruction to described first preset value Modify.
5. terminal according to claim 1 proximity test method it is characterised in that determine terminal in proximity transducer Before the proximity values detecting become big step, also include:
Obtain the second proximity values that when terminal deforms upon, proximity transducer detects, and proximity transducer detection when deformation disappears The 3rd proximity values arriving;
Calculate the difference of described 3rd proximity values and the second proximity values, and the difference by described 3rd proximity values and the second proximity values It is set to the second preset value;
If detecting, the first preset value is less than or equal to the second preset value, and described first preset value is adjusted, so that institute State the first preset value and be more than described second preset value.
6. a kind of proximity test device of terminal is it is characterised in that described device includes:
Acquiring unit, during for becoming big when the proximity values determining that in terminal, proximity transducer detects, obtains described proximity values Value added;
Determining unit, for determining first preset value corresponding with described proximity values;
Signal generating unit, if for judging described value added more than described first preset value, generation interrupt instruction;
Control unit, for according to described interrupt instruction, control terminal enters proximal to interruption of work state.
7. the proximity test device of terminal according to claim 6 is it is characterised in that described acquiring unit is used for:
Obtain the first proximity values of detecting of proximity transducer and current proximity values in terminal, described first proximity values and currently connecing Close values are the numerical value of the adjacent proximity values detecting twice of proximity transducer;
If the difference calculating described current proximity values with the first proximity values is positive number it is determined that going out what proximity transducer detected Proximity values become big;
When the proximity values determining that proximity transducer detects become big, described difference is defined as the increase of described proximity values Value.
8. the proximity test device of terminal according to claim 7 is it is characterised in that described signal generating unit is used for:
If judging, described value added is more than described first preset value, calculates described first proximity values and described first preset value Value preset;
Proximity transducer is set to described value preset close to threshold value;
Close to threshold value and current proximity values, generate interrupt instruction based on after setting.
9. the proximity test device of terminal according to claim 8 is it is characterised in that described device also includes:
Changing unit, the instruction described first preset value modified for receiving user's input, right according to described instruction Described first preset value is modified.
10. the proximity test device of terminal according to claim 6 is it is characterised in that described device also includes: adjustment is single Unit, is used for
Obtain the second proximity values that when terminal deforms upon, proximity transducer detects, and proximity transducer detection when deformation disappears The 3rd proximity values arriving;
Calculate the difference of described 3rd proximity values and the second proximity values, and the difference by described 3rd proximity values and the second proximity values It is set to the second preset value;
If detecting, the first preset value is less than or equal to the second preset value, and described first preset value is adjusted, so that institute State the first preset value and be more than described second preset value.
A kind of 11. mobile terminals are it is characterised in that described mobile terminal includes memorizer, processor, proximity transducer and one Individual or multiple programs, one or more of programs are stored in described memorizer and are configured to be held by described processor OK, one or more of programs include for the following instruction operating:
When the proximity values determining that in mobile terminal, proximity transducer detects become big, obtain the value added of described proximity values;
Determine first preset value corresponding with described proximity values;
If judging, described value added is more than described first preset value, generates interrupt instruction;
According to described interrupt instruction, control terminal enters proximal to interruption of work state.
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 true CN106339106A (en) 2017-01-18
CN106339106B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107782280A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of 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
US10244099B2 (en) 2017-03-07 2019-03-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for determining status of terminal, and terminal

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10244099B2 (en) 2017-03-07 2019-03-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and device for determining status of terminal, and terminal
CN107782280A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of detection method and mobile 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

Also Published As

Publication number Publication date
CN106339106B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
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
CN103258171A (en) Method and device for avoiding error touch of mobile terminal touch screen and mobile terminal
CN105183284A (en) Short message viewing method and user terminal
CN106339106A (en) Terminal approach detection method and device and mobile terminal
US9041673B2 (en) Method of controlling noise processing circuit of touch panel and related noise processing apparatus
JP7417629B2 (en) Touch key assembly, control circuit and electronic device
CN103558941A (en) Method, device and mobile terminal for adjusting power consumption of touch screen
CN103294583B (en) A kind of method of control terminal screen and mobile terminal
CN105573372B (en) A kind of control method and device of intelligent terminal
CN105117162A (en) Application program page switching method and user terminal
TW201339935A (en) Capacitive touch control system and touch control device and touch control method using the same
US11126442B2 (en) False-touch-wakeup prevention apparatus and method, intelligent terminal and computer storage medium
CN105159566A (en) Terminal, method and device for processing key signals of terminal
US20130221999A1 (en) Testing system and method
CN108801321B (en) Sensor calibration method, electronic device and computer-readable storage medium
EP3522290A1 (en) Fast charging control method, fast charging control system, and terminal device
CN106249872A (en) The control method of a kind of proximity transducer, device and mobile terminal
CN104079284A (en) Key module based on piezoresistive sensor and control method of key module
WO2017171960A1 (en) Intelligent pressure sensitive display
WO2021036718A1 (en) Touch point determining method and device
CN105389116A (en) Terminal application processing method and system for terminal device, and terminal device
US9541966B2 (en) Systems and methods for utilizing acceleration event signatures
CN106254661B (en) A kind of data processing method of proximity sensor, device and mobile terminal
CN107844211B (en) Touch electronic device, touch processing device and touch processing method thereof

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
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.

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

Granted publication date: 20190212