CN106254661B - A kind of data processing method of proximity sensor, device and mobile terminal - Google Patents
A kind of data processing method of proximity sensor, device and mobile terminal Download PDFInfo
- Publication number
- CN106254661B CN106254661B CN201610669135.6A CN201610669135A CN106254661B CN 106254661 B CN106254661 B CN 106254661B CN 201610669135 A CN201610669135 A CN 201610669135A CN 106254661 B CN106254661 B CN 106254661B
- Authority
- CN
- China
- Prior art keywords
- proximity
- proximity sensor
- close
- threshold value
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
Abstract
The invention discloses a kind of data processing method of proximity sensor, device and mobile terminals, wherein this method comprises: obtaining the current proximity values that proximity sensor detects in terminal;If judging, the current proximity values are less than default proximity values, and triggering terminal calls default treatment progress;According to default treatment progress, the data of proximity sensor are handled, so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger.Therefore, the present invention can proximity sensor detects in the terminal current proximity values when being less than preset value, the numerical value close to threshold value of control proximity sensor remains unchanged or becomes larger, so as to effectively avoid causing shell deformation the proximity sensor caused by the becoming smaller close to threshold value of proximity sensor from mistakenly reporting proximity state to terminal.
Description
Technical field
The invention belongs to proximity sensor technical field more particularly to a kind of data processing methods of proximity sensor, dress
It sets and mobile terminal.
Background technique
In order to enrich the function of terminal, proximity sensor is fitted in many terminals.Terminal can by proximity sensor
To detect whether have object close to or far from terminal.Proximity sensor by its detected value (proximity values detected) and
Judge testee whether close to terminal close to threshold value.When the proximity values that proximity sensor detects are greater than close to threshold value,
Proximity sensor can report proximity state to terminal, so that triggering terminal executes corresponding operation, such as close terminal screen
Backlight and the Trigger Function etc. for disabling touch screen.
However, in actual application, the shell of terminal is especially that the shell of non-hard material holds under the influence of external force
Easily deformation occurs.If the shell position that deformation occurs will lead near installation proximity sensor position close to sensing
Device is subjected to displacement and close to terminal screen.When proximity sensor is subjected to displacement and when close to screen, the proximity values meeting detected
There is exception, and then proximity sensor is caused mistakenly to report proximity state to terminal.
Summary of the invention
The purpose of the present invention is to provide a kind of data processing method of proximity sensor, device and mobile terminals, it is intended to
It solves the problems, such as to cause proximity sensor mistakenly to report proximity state to terminal because of terminal enclosure deformation.
In order to solve the above technical problems, the present invention the following technical schemes are provided:
A kind of data processing method of proximity sensor, comprising:
Obtain the current proximity values that proximity sensor detects in terminal;
If judging, the current proximity values are less than default proximity values, and triggering terminal calls default treatment progress;
According to default treatment progress, the data of proximity sensor are handled so that proximity sensor close to threshold value
Numerical value remain unchanged or become larger.
In order to solve the above technical problems, the present invention also provides following technical schemes:
A kind of data processing equipment of proximity sensor, comprising:
Acquiring unit, the current proximity values detected for obtaining proximity sensor in terminal;
Call unit, if triggering terminal is called default for judging that the current proximity values are less than default proximity values
Treatment progress;
Processing unit, for handling the data of proximity sensor according to treatment progress is preset, so that close to sensing
The numerical value close to threshold value of device remains unchanged or becomes larger.
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:
Obtain the current proximity values that proximity sensor detects in mobile terminal;
If judging, the current proximity values are less than default proximity values, trigger mobile terminal and call default treatment progress;
According to default treatment progress, the data of proximity sensor are handled so that proximity sensor close to threshold value
Numerical value remain unchanged or become larger.
Compared with the existing technology, the data processing method of proximity sensor provided by the invention, device and mobile terminal, it is first
The current proximity values that its proximity sensor detects first are obtained by terminal.Then, terminal judges whether the current proximity values are less than
Default proximity values.If judging, the current proximity values are less than default proximity values, and triggering terminal calls default treatment progress to come pair
The data of proximity sensor are handled, so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger, that is, are protected
Card at this time proximity sensor close to threshold value, detected relative to proximity sensor be less than default proximity values current proximity values it
The numerical value close to threshold value of preceding the last setting remains unchanged or becomes larger.Since in terminal enclosure, deformation occurs causes to approach biography
When sensor is subjected to displacement simultaneously close to terminal screen, the proximity values that proximity sensor detects are smaller, therefore proximity sensor is based on
The lesser proximity values are arranged also smaller close to threshold value.And after terminal enclosure deformation disappears, proximity sensor is restored to hair
Position before raw displacement, the proximity values detected can be larger.If being set when the front casing deformation that the biggish proximity values are greater than
That sets is lesser close to threshold value, then can trigger proximity sensor and mistakenly report proximity state to terminal.In the present invention, pass through
Judging that proximity values that proximity sensor detects are less than default proximity values, that is, when the proximity values detected are smaller, to close
The data of sensor carry out certain processing, make will not becoming smaller close to threshold value for proximity sensor, to effectively avoid proximity to pass
Sensor mistakenly reports proximity state to terminal because of terminal enclosure deformation.
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 data processing method for the proximity sensor that first embodiment of the invention provides;
Fig. 2 is the flow diagram of the data processing method for the proximity sensor that second embodiment of the invention provides;
Fig. 3 is the structural schematic diagram of the data processing equipment for the proximity sensor that third embodiment of the invention provides;
Fig. 4 is another structural schematic diagram of the data processing equipment for the proximity sensor that third embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the mobile terminal that fourth 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 data processing method of proximity sensor, comprising: what proximity sensor detected in acquisition terminal currently connects
Close values;If judging, the current proximity values are less than default proximity values, and triggering terminal calls default treatment progress;According to default place
Reason process handles the data of proximity sensor, so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes
Greatly.
Referring to Fig. 1, the process that Fig. 1 is the data processing method for the proximity sensor that first embodiment of the invention provides is shown
It is intended to, detailed process may include:
In step s101, the current proximity values that proximity sensor detects in terminal are obtained.
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.
Under certain scenes in actual use, the shell of terminal is especially that shape can occur for the shell of non-hard material
Become.For example when terminal is fallen, shell is easy to happen deformation.For another example, when user holds or the strength of grip terminal is larger,
Terminal enclosure is also easy to happen deformation.If caused deformation occurs attached at installation proximity sensor position under the influence of this external force
Closely, then it will lead to proximity sensor close to terminal screen.Due to the proximity values that closer to terminal screen, proximity sensor is detected
It is smaller.Therefore, when proximity sensor because of shell deformation close to screen when, the proximity values detected are smaller.So, close to sensing
Device is arranged also smaller close to threshold value based on the lesser proximity values.And after terminal enclosure deformation disappears, proximity sensor is extensive
Position before arriving again, the proximity values detected can be larger.If the lesser of setting connects before the biggish proximity values are greater than
Nearly threshold value can then trigger proximity sensor and mistakenly report proximity state to terminal.
To solve the above-mentioned problems, in embodiments of the present invention, it is possible, firstly, to obtain the detection of its proximity sensor by terminal
The current proximity values arrived.
Then, terminal judges whether the current proximity values are less than default proximity values.It should be noted that the default proximity values
For for judging the whether too small numerical value of the proximity values that proximity sensor detects.When the proximity values that proximity sensor detects are small
When this presets proximity values, the proximity values for showing that proximity sensor detects are smaller.When the proximity values that proximity sensor detects
When presetting proximity values not less than this, the proximity values for showing that proximity sensor detects are larger.
In a kind of possible embodiment, when above-mentioned default proximity values can dispatch from the factory for terminal, in terminal screen without patch
Film, without greasy dirt in the state of, proximity values that proximity sensor measures.Due to during user's using terminal, terminal screen
It is inevitably stained with greasy dirt or is labeled with protective film.Therefore, under normal service condition, proximity sensor is detected
Proximity values can be greater than the default proximity values, without being less than the default proximity values.And when proximity sensor because shell deformation is sent out
When raw displacement is close to screen, the numerical value of the proximity values detected can be less than the default proximity values.Based on this, when terminal is judged
When the current proximity values that proximity sensor detects are less than default proximity values, it is believed that proximity sensor is sent out under the influence of external force
Raw displacement and close terminal screen.
It therefore, can be with if terminal judges that current proximity values that proximity sensor detects are not less than default proximity values
Think that proximity sensor is not subjected to displacement, terminal and proximity sensor can continue to execute its current operation at this time.If terminal
Judge that the current proximity values that proximity sensor detects are less than default proximity values, then enters step S102 at this time.
In step s 102, if judging, the current proximity values are less than default proximity values, and triggering terminal calls default place
Reason process.
In step s 103, according to default treatment progress, the data of proximity sensor are handled, so that close to sensing
The numerical value close to threshold value of device remains unchanged or becomes larger.
For example, step S102 and S103 can be specifically included:
In the case where the current proximity values that terminal judges that proximity sensor detects are less than default proximity values, can recognize
It is subjected to displacement for proximity sensor and close to terminal screen.For example, because terminal enclosure deformation causes proximity sensor close to terminal
Screen.At this point it is possible to which triggering terminal calls preset treatment progress, and according to the preset treatment progress to proximity sensor
Data are handled, so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger.That is, control is close at this time
The numerical value of threshold value, relative to the number close to threshold value that proximity sensor is subjected to displacement and the last time is arranged before terminal screen
Value remains unchanged or becomes larger.
For example, terminal can call preset treatment progress to carry out centainly to the proximity values of proximity sensor or close to threshold value
Processing, so that making the numerical value close to threshold value of proximity sensor will not become smaller.It should be noted that in a kind of possible implementation
In mode, what can be close to threshold value of proximity sensor was calculated based on the proximity values detected.For example, proximity sensor
The proximity values detected can be obtained every preset duration, then obtain the numerical value of the proximity values plus a fixed numbers
To one and be worth, and by this and value be set as proximity sensor close to threshold value.Therefore, it is also able to achieve by the processing to proximity values
To the purpose handled close to threshold value.
It is understood that in embodiments of the present invention, by small in the proximity values for judging that proximity sensor detects
In default proximity values, i.e., proximity sensor due to terminal enclosure deformation close to screen when, control proximity sensor close to threshold value
Numerical value remain unchanged or become larger, that is, control this and do not become smaller close to threshold value, so as to effectively avoid causing due to shell deformation
Proximity sensor close to threshold value become smaller caused by proximity sensor mistakenly report proximity state to terminal.
In a kind of possible embodiment, in step s 103 according to treatment progress is preset, to the number of proximity sensor
After the step of being handled, it can also include the following steps:
If it is determined that the proximity values that proximity sensor detects are greater than default proximity values, then trigger proximity sensor and be based on inspection
The proximity values measured are adjusted the numerical value close to threshold value of proximity sensor.
For example, proximity sensor can be restored to the position before being subjected to displacement, and connect at this time after terminal enclosure deformation disappearance
The proximity values that nearly sensor detects can be greater than default proximity values, i.e., the numerical value of proximity values that proximity sensor detects is normal
Numerical value.So, the numerical value for being greater than default proximity values that proximity sensor can be got based on it come to its close to threshold value into
Row adjustment.
When by being greater than default proximity values in the proximity values for determining that proximity sensor detects, proximity sensor base is triggered
In the proximity values detected, the numerical value close to threshold value of proximity sensor is adjusted, proximity sensor setting can be improved
Close to the flexibility of threshold value.
It can be seen from the above, the data processing method of proximity sensor provided in this embodiment, obtains it by terminal first and connects
The current proximity values that nearly sensor detects.Then, terminal judges whether the current proximity values are less than default proximity values.If judgement
The current proximity values are less than default proximity values out, then triggering terminal call default treatment progress come to the data of proximity sensor into
Row processing guarantees proximity sensor at this time so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger
Close to threshold value, connecing for the current proximity values the last setting before for being less than default proximity values is detected relative to proximity sensor
The numerical value of nearly threshold value remains unchanged or becomes larger.Since in terminal enclosure, deformation occurs that proximity sensor is caused to be subjected to displacement and close
When terminal screen, the proximity values that proximity sensor detects are smaller, therefore proximity sensor is based on the lesser proximity values setting
It is also smaller close to threshold value.And after terminal enclosure deformation disappears, proximity sensor is restored to the position before being subjected to displacement,
The proximity values detected can be larger.If what is be arranged when the front casing deformation that the biggish proximity values are greater than is lesser close to threshold value,
Proximity sensor can then be triggered and mistakenly report proximity state to terminal.In embodiments of the present invention, by judging to approach
The proximity values that sensor detects are less than default proximity values, that is, when the proximity values detected are smaller, to the data of proximity sensor
Carry out certain processing, make will not becoming smaller close to threshold value for proximity sensor, thus effectively avoid proximity to sensor because of terminal outside
Hull shape becomes and mistakenly reports proximity state to terminal.
Second embodiment
Described method according to first embodiment is below made the data processing method of proximity sensor further detailed
Explanation.
Referring to Fig. 2, the process that Fig. 2 is the data processing method for the proximity sensor that second embodiment of the invention provides is shown
It is intended to, detailed process may include:
In step s 201, terminal obtains the current proximity values that proximity sensor detects.
In step S202, terminal judges whether the current proximity values are less than default proximity values.
For example, step S201 and S202 can be specifically included:
In a kind of possible embodiment, above-mentioned terminal can be mobile phone.Proximity sensor in mobile phone can be every
One preset duration, such as every 100 milliseconds, its primary currently detected proximity values are obtained, and in the numerical value of the proximity values
On the basis of increase a fixed numbers both obtain and value, and this is determined as with value proximity sensor close to threshold value.
For example, mobile phone can obtain the current proximity values that its proximity sensor detects in real time.It is got in mobile phone close
After the current proximity values that sensor detects, mobile phone may determine that whether the current proximity values are less than default proximity values.
It should be noted that when the default proximity values can be for mobile phone factory, mobile phone screen without pad pasting, without the shape of greasy dirt
Under state, proximity values that proximity sensor measures.During user uses mobile phone, mobile phone screen is inevitably stained with oil
Dirt is labeled with protective film.Correspond on the screen proximity sensor position be stained with greasy dirt or stick protective film after, approach
Sensor detects that proximity values can be bigger than default proximity values.For example, for infrared proximity transducer, when correspondence connects on screen
After the position of nearly sensor is stained with greasy dirt or sticks protective film, these greasy dirts or protective film can emit infrared proximity transducer
The infrared ray gone out more is reflected back proximity sensor.So the proximity values that detect of proximity sensor can than no greasy dirt,
The default proximity values measured under no pad pasting state are big.Therefore, under normal usage, the proximity values that proximity sensor detects
The default proximity values can be greater than, without being less than the default proximity values.And when proximity sensor occurs because of phone housing deformation
When being displaced simultaneously close to terminal screen, the numerical value of the proximity values detected can be less than the default proximity values.
It, can if mobile phone judges that the current proximity values that proximity sensor detects are not less than default proximity values based on this
To think that the proximity sensor in mobile phone is not subjected to displacement close to screen.Therefore, mobile phone can continue to execute its current operation,
That is step S206.If mobile phone judges that the current proximity values that proximity sensor detects are less than default proximity values, enter step
S203。
In step S203, if judging, the current proximity values are less than default proximity values, and terminal is called at default first
Reason process.
For example, in the case where the current proximity values that mobile phone judges that proximity sensor detects are less than default proximity values,
May be considered phone housing deformation occurs causes proximity sensor to be subjected to displacement and close to mobile phone screen.At this point it is possible to trigger
Mobile phone calls default first treatment progress.
In step S204, according to default first treatment progress, terminal, which generates, cancels instruction, and cancellation instruction is used to indicate
Proximity sensor cancels the operation modified close to threshold value based on the current proximity values to proximity sensor.
It in step S205, is instructed according to the cancellation, terminal control proximity sensor, which is cancelled, is based on the current proximity values pair
The operation of proximity sensor modified close to threshold value.
For example, step S204 and S205 can be specifically included:
It calls in mobile phone to after default first treatment progress, mobile phone can preset the first treatment progress according to this, generate
First cancel instruction, cancellation instruction is used to indicate proximity sensor and cancels based on above-mentioned current proximity values to proximity sensor
The operation modified close to threshold value.After generating above-mentioned cancellation instruction, mobile phone, which can control proximity sensor, to be cancelled based on upper
State the operation close to threshold value modified of the current proximity values to proximity sensor, i.e., control proximity sensor close to threshold value
Numerical value remains unchanged.
It is understood that being connect when causing proximity sensor to be subjected to displacement simultaneously close to mobile phone screen because of phone housing deformation
The proximity values and obtained based on the proximity values smaller close to the numerical value of threshold value that nearly sensor detects.And work as phone housing
When deformation disappears, proximity sensor is restored to the position before being subjected to displacement, then the proximity values meeting that proximity sensor detects
It is larger.If the biggish proximity values are arranged lesser close to threshold value when being greater than deformation, proximity sensor will lead to mistakenly
Proximity state is reported to mobile phone.In embodiments of the present invention, when judging that it is default that proximity values that proximity sensor detects are less than
When proximity values, remaining unchanged close to threshold value for proximity sensor is controlled.So, when phone housing deformation disappears, close to sensing
Device is restored to the position before being subjected to displacement, and in the case where no object is close, the proximity values that proximity sensor detects are not
It can be greater than close to threshold value.Therefore, proximity sensor also would not mistakenly report proximity state to mobile phone.
Further, mobile phone can also control other than it can control the remaining unchanged close to threshold value of proximity sensor
This becomes larger close to threshold value.For example, mobile phone is when judging that current proximity values that proximity sensor detects are less than default proximity values,
It can be after control proximity sensor be cancelled based on current proximity values to modifying close to threshold value, in original close to the numerical value of threshold value
On the basis of increase a preset numerical value, thus obtain one it is new close to threshold value, i.e., this is new more former close to threshold close to threshold value
Value is big.It is understood that this mode can equally avoid proximity to sensor because phone housing deformation cause its mistakenly to
Mobile phone reports proximity state.
In alternatively possible embodiment, in order to avoid proximity sensor due to terminal enclosure deformation mistakenly to end
End reports proximity state, and after terminal judges that the proximity values that proximity sensor detects are less than default proximity values, terminal is also
Following steps can be executed:
Terminal calls default second processing process;
If detecting that proximity sensor is based on the current proximity values to proximity sensor according to default second processing process
Be adjusted close to threshold value, then terminal obtains replacement close to threshold value, and the replacement is that terminal executes and obtains terminal close to threshold value
Be arranged in preset time range before the current proximity values step that middle proximity sensor detects close to threshold value;
Terminal by proximity sensor it is current close to adjusting thresholds be the replacement close to threshold value.
It, can be with for example, mobile phone is after judging that current proximity values that proximity sensor detects are less than default proximity values
It triggers mobile phone and calls default second processing process.If mobile phone presets second processing process according to this, detect proximity sensor
Through being adjusted based on the current proximity values to close to threshold value, then the available replacement of mobile phone is used in combination close to threshold value
The replacement replaces currently close to threshold value close to threshold value.The replacement can obtain for mobile phone in execution step S201 terminal close to threshold value
Be arranged in preset time range before the current proximity values step for taking proximity sensor to detect close to threshold value.
For example, above-mentioned preset time range can obtain the time interval of proximity values for proximity sensor in mobile phone.For example,
Proximity sensor is positioned proximate to threshold value based on the proximity values got every proximity values of 100 milliseconds of acquisitions.So,
Above-mentioned preset time range can be 100 milliseconds, or be slightly larger than 100 milliseconds.
For example, proximity sensor gets the first proximity values at the T1 moment, which is greater than default proximity values, then
Proximity sensor can be calculated first close to threshold value based on first proximity values at this time.If proximity sensor after tl 100
At the T2 moment of millisecond, the second proximity values are got, which is less than default proximity values, and proximity sensor is based on being somebody's turn to do
Second proximity values are calculated second close to threshold value, i.e., current to be arranged to second close to threshold value close to threshold value.So, mobile phone
Available proximity sensor obtain 100 milliseconds of T1 moment proximity sensor setting before the second proximity values close to threshold value,
I.e. first close to threshold value.Then, mobile phone is determined as first replacing and be replaced close to threshold value, and with the replacement close to threshold value close to threshold value
Second is changed close to threshold value, i.e., after replacement operation, proximity sensor it is current be adjusted to first close to threshold close to threshold value
Value.
It is understood that when proximity sensor is approached be calculated based on lesser second proximity values of numerical value second
It is currently also smaller close to the numerical value of threshold value when threshold value is set as currently close to threshold value.At this point, by the way that proximity sensor is obtained the
First be arranged in preset time range before two proximity values is determined as replacement close to threshold value close to threshold value, and close with the replacement
Threshold value replacement can make replaced currently to become larger close to the numerical value of threshold value currently close to threshold value.Therefore, work as terminal enclosure
When deformation disappears, proximity sensor is restored to the position before being subjected to displacement, and in the case where no object is close, close to sensing
The proximity values that device detects are not more than it close to threshold value.It is connect so proximity sensor also would not to end-error report
Nearly state.
In a kind of possible embodiment, terminal obtain proximity sensor detect current proximity values the step of it
Afterwards, can also include the following steps:
If judging, the current proximity values are greater than default proximity values, and proximity sensor is based on the current proximity values and calculates
To first close to threshold value, then this first is saved close to threshold value to default file, and is determined as replacement close to threshold value.
For example, mobile phone after getting the current proximity values that proximity sensor detects, judges the current proximity values
Greater than default proximity values, then it is considered that proximity sensor and being not affected by external force and influencing and be subjected to displacement and close to screen.This
When, the current proximity values that proximity sensor detects are within the scope of regime values, then mobile phone is detecting proximity sensor base
In the current proximity values be calculated proximity sensor it is current close to threshold value, i.e., first close to threshold value when, can by this first
It is saved in a preset file close to threshold value, and is determined as replacement close to threshold value.
That is, whenever mobile phone judges that the current proximity values that proximity sensor detects are greater than default proximity values, and
And proximity sensor based on the current proximity values be calculated one it is new close to threshold value when, mobile phone can be new close by this
Threshold value is saved into a default file, and is determined as replacement close to threshold value.
Based on this, in a kind of possible embodiment, when mobile phone needs to obtain replacement close to threshold value, mobile phone
Required replacement is directly read from default file close to threshold value.
In other possible embodiments, when terminal judges that the current proximity values that proximity sensor detects are less than in advance
If when proximity values, terminal can also control one that proximity sensor detects before and be greater than the numerical value of default proximity values to replace
Change current proximity values.For example, terminal detects third proximity values at the T3 moment, which is greater than default proximity values.?
T4 moment, terminal detect that the 4th proximity values, the 4th proximity values are less than default proximity values.Third proximity values and the 4th proximity values
For the adjacent proximity values numerical value detected twice of proximity sensor.It is calculated in order to avoid proximity sensor is based on the 4th proximity values
To close to threshold value, terminal can replace the numerical value of the 4th proximity values with the numerical value of third proximity values, to make proximity sensor base
It is calculated close to threshold value in the numerical value of third proximity values.
Due to proximity sensor be calculated based on the numerical value of third proximity values it is larger close to threshold value, when outside terminal
When hull shape becomes disappearance, proximity sensor is restored to the position before being subjected to displacement, and detects in the case where no object is close
Proximity values be not more than the numerical value close to threshold value.So proximity sensor also would not to end-error report it is close
State.
It can be seen from the above, the data processing method of proximity sensor provided in this embodiment, obtains it by terminal first and connects
The current proximity values that nearly sensor detects.Then, terminal judges whether the current proximity values are less than default proximity values.If judgement
The current proximity values are less than default proximity values out, then triggering terminal call default treatment progress come to the data of proximity sensor into
Row processing guarantees proximity sensor at this time so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger
Close to threshold value, connecing for the current proximity values the last setting before for being less than default proximity values is detected relative to proximity sensor
The numerical value of nearly threshold value remains unchanged or becomes larger.Since in terminal enclosure, deformation occurs that proximity sensor is caused to be subjected to displacement and close
When terminal screen, the proximity values that proximity sensor detects are smaller, therefore proximity sensor is based on the lesser proximity values setting
It is also smaller close to threshold value.And after terminal enclosure deformation disappears, proximity sensor is restored to the position before being subjected to displacement,
The proximity values detected can be larger.If what is be arranged when the front casing deformation that the biggish proximity values are greater than is lesser close to threshold value,
Proximity sensor can then be triggered and mistakenly report proximity state to terminal.In embodiments of the present invention, by judging to approach
The proximity values that sensor detects are less than default proximity values, that is, when the proximity values detected are smaller, to the data of proximity sensor
Carry out certain processing, make will not becoming smaller close to threshold value for proximity sensor, thus effectively avoid proximity to sensor because of terminal outside
Hull shape becomes and mistakenly reports proximity state to terminal.
3rd embodiment
For convenient for better implementing the data processing method of proximity sensor provided in an embodiment of the present invention, the present invention is implemented
Example also provides a kind of device of data processing method based on above-mentioned proximity sensor.The wherein meaning of noun and above-mentioned close biography
Identical in the data processing method of sensor, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 3, the structure that Fig. 3 is the data processing equipment for the proximity sensor that third embodiment of the invention provides is shown
It is intended to, the apparatus may include: acquiring unit 301, call unit 302 and processing unit 303.
Acquiring unit 301, the current proximity values detected for obtaining proximity sensor in terminal.
For example, terminal can obtain the current proximity values that proximity sensor detects in real time by acquiring unit 301, etc.
Deng.
Call unit 302, if triggering terminal is called pre- for judging that the current proximity values are less than default proximity values
If treatment progress.
Processing unit 303, for handling the data of proximity sensor according to treatment progress is preset, so that close
The numerical value close to threshold value of sensor remains unchanged or becomes larger.
For example, terminal may determine that after the current proximity values that acquiring unit 301 gets that proximity sensor detects
Whether the current proximity values are less than default proximity values.When the default proximity values can be for terminal factory, terminal screen without pad pasting,
In the state of greasy dirt, proximity values that proximity sensor measures.Under normal usage, what proximity sensor detected is close
Value can be greater than the default proximity values, without being less than the default proximity values.And when proximity sensor is sent out because of terminal enclosure deformation
When raw displacement and close terminal screen, the numerical value of the proximity values detected can be less than the default proximity values.
Based on this, if terminal judges that the current proximity values are not less than default proximity values, it may be considered that connecing in terminal
Nearly sensor is not subjected to displacement and close screen.Therefore, terminal can continue to execute its current operation.
If terminal judges that the current proximity values are less than default proximity values, it may be considered that deformation has occurred in terminal enclosure,
And proximity sensor is caused to be subjected to displacement and close to terminal screen.It is preset at this point it is possible to which the call unit 302 of triggering terminal calls
Treatment progress, and the data of proximity sensor are handled according to the preset treatment progress by processing unit 303, with
Make remaining unchanged or become larger close to the numerical value of threshold value for proximity sensor.
In a kind of possible embodiment, call unit 302 can call default first treatment progress, and single by processing
Member 302 is preset the first treatment progress and generated according to this cancels instruction, and cancellation instruction is used to indicate proximity sensor cancellation and is based on
The current operation close to threshold value modified of the proximity values to proximity sensor.After generating cancellation instruction, processing unit 302
It is instructed according to the cancellation, control proximity sensor cancels based on the current proximity values repairing close to threshold value to proximity sensor
The operation changed, i.e., control at this time proximity sensor close to threshold value, detected relative to proximity sensor and be less than default proximity values
Current proximity values before the numerical value close to threshold value of the last setting remain unchanged.
It is understood that being connect when causing proximity sensor to be subjected to displacement simultaneously close to terminal screen because of terminal enclosure deformation
The proximity values and obtained based on the proximity values smaller close to the numerical value of threshold value that nearly sensor detects.And work as terminal enclosure
When deformation disappears, proximity sensor is restored to the position before being subjected to displacement, then the proximity values meeting that proximity sensor detects
It is larger.If the biggish proximity values are arranged lesser close to threshold value when being greater than deformation, proximity sensor will lead to mistakenly
Proximity state is reported to terminal.In embodiments of the present invention, when the proximity values that terminal judges that proximity sensor detects are less than
When default proximity values, the data of proximity sensor are carried out by the call unit 302 and processing unit 303 of terminal certain
Reason, to control remaining unchanged close to threshold value for proximity sensor.So, when terminal enclosure deformation disappears, proximity sensor
It is restored to the position before being subjected to displacement, and in the case where no object is close, the proximity values that proximity sensor detects will not
Greater than it close to threshold value.Therefore, proximity sensor also would not to end-error report proximity state.
In another possible embodiment, call unit 302 may call upon default second processing process.If processing is single
Member 303 detects the current proximity values pair that proximity sensor is detected based on proximity sensor according to second processing process is preset
Proximity sensor is adjusted close to threshold value, then the available replacement of processing unit 303 is close to threshold value, and the replacement is close to threshold value
When can execute default before obtaining the current proximity values step that proximity sensor detects in terminal for the acquiring unit 301 of terminal
Between in range proximity sensor setting close to threshold value.Then, processing unit 303 by proximity sensor it is current close to threshold value tune
Whole is the replacement close to threshold value.
It is understood that when the numerical value being calculated based on the lesser proximity values of numerical value is set as working as by proximity sensor
It is preceding close to threshold value when, it is currently also smaller close to the numerical value of threshold value.At this point, being connect by will acquire in the execution acquisition terminal of unit 301
Be arranged in preset time range before the current proximity values step that nearly sensor detects to be determined as replacement close to threshold value close
Threshold value, and being replaced currently close to threshold value close to threshold value with the replacement can make replaced currently to become close to the numerical value of threshold value
It is larger.Therefore, when terminal enclosure deformation disappears, proximity sensor is restored to the position before being subjected to displacement, and in no object
In the case where, the proximity values that proximity sensor detects are not more than it close to threshold value.So proximity sensor is just not yet
It can to end-error report proximity state.
Referring to Figure 4 together, Fig. 4 is the another of the data processing equipment for the proximity sensor that third embodiment of the invention provides
One structural schematic diagram, the device can also include: adjustment unit 304 and determination unit 305.
Adjustment unit 304, for if it is determined that the proximity values that detect of proximity sensor are greater than default proximity values, then triggering
Proximity sensor is adjusted the numerical value close to threshold value of proximity sensor based on the proximity values detected.
For example, proximity sensor can be restored to the position before being subjected to displacement, and connect at this time after terminal enclosure deformation disappearance
The proximity values that nearly sensor detects can be greater than default proximity values, i.e., the numerical value of proximity values that proximity sensor detects is normal
Numerical value in range.So, proximity sensor can be triggered by adjustment unit 304 at this time and is greater than default connect based on what it got
The numerical value of close values is adjusted it close to threshold value.
When by being greater than default proximity values in the proximity values for determining that proximity sensor detects, touched by adjustment unit 304
Proximity sensor is sent out based on the proximity values detected, the numerical value close to threshold value of proximity sensor is adjusted, can be improved
Proximity sensor is positioned proximate to the flexibility of threshold value.
Determination unit 305, if for judging that the current proximity values are greater than default proximity values, and proximity sensor is based on
The current proximity values are calculated first close to threshold value, then save described first close to threshold value to default file, and determine
To replace close to threshold value.
For example, terminal judges this after the current proximity values that acquiring unit 301 gets that proximity sensor detects
Current proximity values are greater than default proximity values, and detect that proximity sensor is calculated first based on the current proximity values and approaches
This first is saved close to threshold value into default file then determination unit 305 can be triggered, and determines it as replacement by threshold value
Close to threshold value.
It can directly be read from default file based on this when processing unit 303 needs to obtain replacement close to threshold value
Required replacement is close to threshold value.
It can be seen from the above, the data processing equipment of proximity sensor provided in this embodiment, obtains it by terminal first and connects
The current proximity values that nearly sensor detects.Then, terminal judges whether the current proximity values are less than default proximity values.If judgement
The current proximity values are less than default proximity values out, then triggering terminal call default treatment progress come to the data of proximity sensor into
Row processing guarantees proximity sensor at this time so that the numerical value close to threshold value of proximity sensor remains unchanged or becomes larger
Close to threshold value, connecing for the current proximity values the last setting before for being less than default proximity values is detected relative to proximity sensor
The numerical value of nearly threshold value remains unchanged or becomes larger.Since in terminal enclosure, deformation occurs that proximity sensor is caused to be subjected to displacement and close
When terminal screen, the proximity values that proximity sensor detects are smaller, therefore proximity sensor is based on the lesser proximity values setting
It is also smaller close to threshold value.And after terminal enclosure deformation disappears, proximity sensor is restored to the position before being subjected to displacement,
The proximity values detected can be larger.If what is be arranged when the front casing deformation that the biggish proximity values are greater than is lesser close to threshold value,
Proximity sensor can then be triggered and mistakenly report proximity state to terminal.In embodiments of the present invention, by judging to approach
The proximity values that sensor detects are less than default proximity values, that is, when the proximity values detected are smaller, to the data of proximity sensor
Carry out certain processing, make will not becoming smaller close to threshold value for proximity sensor, thus effectively avoid proximity to sensor because of terminal outside
Hull shape becomes and mistakenly reports proximity state to terminal.
For the data processing equipment of the proximity sensor of the embodiment of the present invention, each functional module be can integrate
In a processing chip, it is also possible to modules and physically exists alone, it is integrated is also possible to two or more modules
In a module.Above-mentioned integrated module both can take the form of hardware realization, can also be real using software function module
It is existing.If the integrated module is realized and when sold or used as an independent product in the form of software function module,
It can store in a computer readable storage medium, the storage medium is for example read-only memory, disk or light
Disk etc..
Fourth embodiment
In order to better understand the present invention, the present invention also provides a kind of mobile terminals.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram for the mobile terminal that fourth embodiment of the invention provides.
Specifically, mobile terminal 400 includes memory 410, processor 420, proximity sensor 430 and one or more
Program.Above-mentioned memory 410, processor 420 and proximity sensor 430 are connected by bus 440.Said one or multiple journeys
Sequence is stored in memory 410 and is configured as being executed by processor 420, and said one or multiple programs include for as follows
The instruction of operation:
Obtain the current proximity values that proximity sensor detects in mobile terminal;
If judging, the current proximity values are less than default proximity values, trigger mobile terminal and call default treatment progress;
According to default treatment progress, the data of proximity sensor are handled so that proximity sensor close to threshold value
Numerical value remain unchanged or become larger.
For example, under the influence of external force, the shell of mobile terminal can occur in certain scenes in actual use
Deformation.If this deformation occurs in installation proximity sensor near sites, it will lead to proximity sensor and be subjected to displacement and close
Terminal screen.Since closer to terminal screen, the proximity values that proximity sensor detects are smaller.Therefore, when proximity sensor because
When terminal enclosure deformation is close to screen, the proximity values detected are smaller.So, proximity sensor is based on the lesser proximity values
What is be arranged is also smaller close to threshold value.And when terminal enclosure deformation disappear after, proximity sensor be restored to before position, detection
The proximity values arrived can be larger.If setting is lesser close to threshold value before the biggish proximity values are greater than, can trigger close to biography
Sensor is mistakenly to mobile terminal reporting proximity state.
To solve the above-mentioned problems, the current proximity values that can be first detected by acquisition for mobile terminal its proximity sensor.
Later, mobile terminal judges whether the current proximity values are less than default proximity values.It should be noted that the default proximity values can be with
When for mobile terminal factory, terminal screen without pad pasting, without greasy dirt in the state of, proximity values that proximity sensor measures.With
During family uses mobile terminal, terminal screen is inevitably stained with greasy dirt or is labeled with protective film.On the screen
After the position of corresponding proximity sensor is stained with greasy dirt or sticks protective film, the proximity values that proximity sensor detects can be than default
Proximity values are big.For example, for infrared proximity transducer, when greasy dirt or patch are stained in the position for corresponding to proximity sensor on screen
After upper protective film, the infrared ray that these greasy dirts or protective film can launch infrared proximity transducer more reflects tieback
Nearly sensor.So the proximity values that proximity sensor detects can be default more close than what is measured under no greasy dirt, without pad pasting state
Value is big.Therefore, under normal usage, the proximity values that proximity sensor detects can be greater than the default proximity values, without
Proximity values are preset less than this.And when proximity sensor is subjected to displacement simultaneously because of terminal enclosure deformation close to terminal screen, inspection
The numerical value of the proximity values measured can be less than the default proximity values.
Based on this, if mobile terminal judges that the current proximity values that proximity sensor detects are not less than default proximity values,
It may be considered that the proximity sensor in mobile terminal is not subjected to displacement and close screen.Therefore, mobile terminal can continue to hold
Its current operation of row.
If mobile terminal judges that the current proximity values that proximity sensor detects are less than default proximity values, it may be considered that
Deformation occurs causes proximity sensor to be subjected to displacement and close to terminal screen for terminal enclosure.At this point it is possible to trigger mobile terminal tune
With preset treatment progress, and the data of proximity sensor such as work as proximity sensor according to the preset treatment progress
Preceding proximity values carry out certain processing close to the numerical value of threshold value, so that the numerical value close to threshold value of proximity sensor remains unchanged
Or become larger.That is, controlling the numerical value close to threshold value at this time, it is subjected to displacement before simultaneously close terminal screen most relative to proximity sensor
The numerical value close to threshold value being closely once arranged remains unchanged or becomes larger.
For example, current proximity values of the acquisition for mobile terminal to proximity sensor at the T5 moment, and judge that this is current close
Value is less than default proximity values.And mobile terminal numerical value close to threshold value of the last setting before the T5 moment is P4.Due to
Current proximity values are less than default proximity values, thus at this time mobile terminal can the data to proximity sensor carry out certain place
Reason, to make remaining unchanged or become larger relative to P4 close to threshold value for proximity sensor.
It is understood that in embodiments of the present invention, by small in the proximity values for judging that proximity sensor detects
In default proximity values, i.e., proximity sensor due to terminal enclosure deformation close to screen when, control proximity sensor close to threshold value
Numerical value remain unchanged or become larger, that is, control this and do not become smaller close to threshold value, so as to effectively avoid causing due to shell deformation
Proximity sensor close to threshold value become smaller caused by proximity sensor mistakenly report proximity state to terminal.
It is provided for the embodiments of the invention data processing method, device and the mobile terminal of a kind of proximity sensor above
It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality
The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art,
According to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion in this specification
Appearance should not be construed as limiting the invention.
Claims (12)
1. a kind of data processing method of proximity sensor, which is characterized in that the described method includes:
Obtain the current proximity values that proximity sensor detects in terminal;
If judging, the current proximity values are less than default proximity values, and triggering terminal calls default treatment progress, wherein works as institute
When stating current proximity values less than the default proximity values, judge that terminal enclosure deformation causes the proximity sensor to be subjected to displacement
And close to screen;
According to default treatment progress, the data of proximity sensor are handled, so that the number close to threshold value of proximity sensor
Value remains unchanged or becomes larger, wherein described close to threshold value for detecting whether having object proximity or separate terminal, when described close
The proximity values that sensor detects be greater than it is described close to threshold value when judge there is object proximity terminal.
2. the data processing method of proximity sensor according to claim 1, which is characterized in that according to it is default handle into
Journey, after the step of handling the data of proximity sensor, further includes:
If it is determined that the new proximity values that proximity sensor detects are greater than default proximity values, then trigger proximity sensor and be based on inspection
The new proximity values measured, are adjusted the numerical value close to threshold value of proximity sensor.
3. the data processing method of proximity sensor according to claim 2, which is characterized in that the triggering terminal is called
Default treatment progress includes: that triggering terminal calls default first treatment progress;
The basis presets treatment progress, carries out processing to the data of proximity sensor and specifically includes:
It is generated according to default first treatment progress and cancels instruction, the cancellation instruction is used to indicate proximity sensor and cancels based on institute
State the operation close to threshold value modified of the current proximity values to proximity sensor;
It is instructed according to the cancellation, control proximity sensor is cancelled to be repaired to described close to threshold value based on the current proximity values
The operation changed.
4. the data processing method of proximity sensor according to claim 2, which is characterized in that the triggering terminal is called
Default treatment progress includes: that triggering terminal calls default second processing process;
The basis presets treatment progress, carries out processing to the data of proximity sensor and specifically includes:
If detecting that proximity sensor connects proximity sensor based on the current proximity values according to default second processing process
Nearly threshold value is adjusted, then obtains replacement close to threshold value, the replacement is to connect in the terminal execution acquisition terminal close to threshold value
Be arranged in preset time range before the current proximity values step that nearly sensor detects close to threshold value;
By proximity sensor being replaced close to adjusting thresholds to be described close to threshold value currently.
5. the data processing method of proximity sensor according to claim 4, which is characterized in that approached in obtaining terminal
After the step of current proximity values that sensor detects, further includes:
If judging, the current proximity values are greater than default proximity values, and proximity sensor is based on the current proximity values and calculates
To first close to threshold value, then described first is saved close to threshold value to default file, and is determined as replacement close to threshold value;
The acquisition replacement is specifically included close to threshold value: replacement is obtained in default file close to threshold value.
6. a kind of data processing equipment of proximity sensor, which is characterized in that described device includes:
Acquiring unit, the current proximity values detected for obtaining proximity sensor in terminal;
Call unit, if triggering terminal calls default processing for judging that the current proximity values are less than default proximity values
Process, wherein when the current proximity values are less than the default proximity values, it is described close to judge that terminal enclosure deformation causes
Sensor is subjected to displacement and close to screen;
Processing unit, for handling the data of proximity sensor according to treatment progress is preset, so that proximity sensor
Numerical value close to threshold value remains unchanged or becomes larger, wherein described close to threshold value for detecting whether there is object proximity or separate whole
End, when the proximity values that the proximity sensor detects be greater than it is described close to threshold value when judge there is object proximity terminal.
7. the data processing equipment of proximity sensor according to claim 6, which is characterized in that described device further include:
Adjustment unit, for if it is determined that the new proximity values that proximity sensor detects are greater than default proximity values, then triggering to connect
Nearly sensor is adjusted the numerical value close to threshold value of proximity sensor based on the new proximity values detected.
8. the data processing equipment of proximity sensor according to claim 7, which is characterized in that the call unit is used
In: triggering terminal calls default first treatment progress;
The processing unit is specifically used for: being generated according to default first treatment progress and cancels instruction, the cancellation instruction is for referring to
Show that proximity sensor cancels the operation modified close to threshold value based on the current proximity values to proximity sensor;According to institute
Cancellation instruction is stated, control proximity sensor is cancelled based on the current proximity values to the operation modified close to threshold value.
9. the data processing equipment of proximity sensor according to claim 7, which is characterized in that the call unit is used
In: triggering terminal calls default second processing process;
The processing unit is specifically used for: if it is described current to detect that proximity sensor is based on according to default second processing process
Proximity values are adjusted to proximity sensor close to threshold value, then obtain replacement close to threshold value, the replacement is whole close to threshold value
What is be arranged in preset time range before the current proximity values step that proximity sensor detects in the end execution acquisition terminal connects
Nearly threshold value;By proximity sensor being replaced close to adjusting thresholds to be described close to threshold value currently.
10. the data processing equipment of proximity sensor according to claim 9, which is characterized in that described device further include:
Determination unit, if for judging that the current proximity values are greater than default proximity values, and proximity sensor is based on described work as
Preceding proximity values are calculated first close to threshold value, then save described first close to threshold value to default file, and are determined as replacing
Close to threshold value;
The processing unit is specifically used for: replacement is obtained in default file close to threshold value.
11. 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:
Obtain the current proximity values that proximity sensor detects in mobile terminal;
If judging, the current proximity values are less than default proximity values, trigger mobile terminal and call default treatment progress, wherein
When the current proximity values are less than the default proximity values, judge that terminal enclosure deformation causes the proximity sensor to occur
It is displaced and close to screen;
According to default treatment progress, the data of proximity sensor are handled, so that the number close to threshold value of proximity sensor
Value remains unchanged or becomes larger, wherein described close to threshold value for detecting whether having object proximity or separate terminal, when described close
The proximity values that sensor detects be greater than it is described close to threshold value when judge there is object proximity terminal.
12. a kind of storage medium, is stored thereon with computer program, which is characterized in that when the computer program is in computer
When upper execution, so that the computer executes the method as described in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610669135.6A CN106254661B (en) | 2016-08-15 | 2016-08-15 | A kind of data processing method of proximity sensor, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610669135.6A CN106254661B (en) | 2016-08-15 | 2016-08-15 | A kind of data processing method of proximity sensor, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254661A CN106254661A (en) | 2016-12-21 |
CN106254661B true CN106254661B (en) | 2019-09-13 |
Family
ID=57591896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610669135.6A Active CN106254661B (en) | 2016-08-15 | 2016-08-15 | A kind of data processing method of proximity sensor, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254661B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107102864A (en) * | 2017-05-16 | 2017-08-29 | 广东欧珀移动通信有限公司 | One kind puts out screen control method, device, storage medium and terminal |
CN111654578B (en) * | 2020-06-02 | 2021-06-15 | Tcl通讯(宁波)有限公司 | Mobile terminal sensor restoration method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9689810B2 (en) * | 2013-10-08 | 2017-06-27 | Htc Corporation | Electronic apparatus with proximity sensor and automatic calibration method thereof |
CN104683598B (en) * | 2015-03-25 | 2017-06-09 | 广东欧珀移动通信有限公司 | Proximity transducer threshold value adjusting method, device and smart machine |
CN105025159B (en) * | 2015-06-05 | 2018-04-17 | 广东欧珀移动通信有限公司 | proximity sensor adjusting method and device |
CN105842680B (en) * | 2016-03-16 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of data processing method and device |
-
2016
- 2016-08-15 CN CN201610669135.6A patent/CN106254661B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106254661A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105339877B (en) | Finger detection on the touch screen of mobile device | |
CN104571693B (en) | Information processing method and electronic equipment | |
CN105025159B (en) | proximity sensor adjusting method and device | |
WO2017107086A1 (en) | Touch gesture detection assessment | |
KR100897849B1 (en) | Apparatus and Method for finding malicious process | |
CN108463792A (en) | A kind of false-touch prevention method and terminal | |
EP3139252B1 (en) | Wearable touch control device and wearable touch control method | |
US11231811B2 (en) | Touch recognition method, touch device | |
US20170285154A1 (en) | Detection distance calibration method, apparatus, and device | |
JP2019516161A5 (en) | ||
CN108363507B (en) | Touch screen dead zone compensation method and device, electronic equipment and storage medium | |
CN106101450B (en) | A kind of compensation method of ambient light intensity and mobile terminal | |
CN106254661B (en) | A kind of data processing method of proximity sensor, device and mobile terminal | |
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 | |
TW201344537A (en) | Electronic device and protection method and protection system of touch screen thereof | |
CN103106040A (en) | Mobile terminal operation method and device using the same | |
CN110703937A (en) | Abnormity detection method, abnormity detection device, storage medium and terminal equipment | |
CN105824465A (en) | Touch determination method and device, and display device | |
CN108759892A (en) | Sensor calibrating method, electronic device and computer readable storage medium | |
JP6677692B2 (en) | Display device, management device, management system, and control program | |
CN110049152B (en) | Method and system for identifying distance between mobile phone and shielding object | |
CN106339106B (en) | A kind of proximity test method, device and mobile terminal of terminal | |
CN108512542A (en) | Touch key-press signal processing method and device, computer readable storage medium | |
CN105739776B (en) | A kind of calibration method of pressure value, 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |