CN106019260A - Distance sensor anti-fouling method and system on mobile terminal - Google Patents

Distance sensor anti-fouling method and system on mobile terminal Download PDF

Info

Publication number
CN106019260A
CN106019260A CN201610282742.7A CN201610282742A CN106019260A CN 106019260 A CN106019260 A CN 106019260A CN 201610282742 A CN201610282742 A CN 201610282742A CN 106019260 A CN106019260 A CN 106019260A
Authority
CN
China
Prior art keywords
value
hot
tempered
range sensor
actual
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.)
Pending
Application number
CN201610282742.7A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610282742.7A priority Critical patent/CN106019260A/en
Publication of CN106019260A publication Critical patent/CN106019260A/en
Priority to PCT/CN2016/103851 priority patent/WO2017185701A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • G01S2007/4975Means for monitoring or calibrating of sensor obstruction by, e.g. dirt- or ice-coating, e.g. by reflection measurement on front-screen
    • G01S2007/4977Means for monitoring or calibrating of sensor obstruction by, e.g. dirt- or ice-coating, e.g. by reflection measurement on front-screen including means to prevent or remove the obstruction

Abstract

The invention discloses a distance sensor anti-fouling method on a mobile terminal. The mobile terminal comprises the steps that a distance sample value signal transmitted by a distance sensor on the mobile terminal is received; the actual bottom noise value and the actual distance sample value of the distance sensor is analyzed from the distance sample value signal; the actual bottom noise value is compared with the distance threshold value and the proximity threshold value of the distance sensor; if the actual bottom noise value is greater than the distance threshold value and is less than the proximity threshold value, distance sample value signals of a predetermined number is collected, and corresponding bottom noise values are analyzed therefrom; when the analyzed bottom noise values are stable, the average bottom noise value of the bottom noise values is calculated; the actual distance sample value is compared with the average bottom noise value; if the distance between the actual distance sample value and the average bottom noise value is judged to be lower than a predetermined threshold value, a control system does not turn on a mis-touch prevention operation mode. According to the invention, the mobile terminal is prevented from the mis-touch prevention mode.

Description

Carry out the method and system that range sensor is antifouling on mobile terminals
Technical field
The present invention relates to the technical field of mobile terminal communication, in particular it relates to one is at mobile terminal The method and system that enterprising row distance sensor is antifouling.
Background technology
Having stepped into intelligent society, many electronic product equipments can provide intelligentized for people Operating function.Along with the development of the network information technology, mobile terminal is the work of people, living brings pole Big facility, thus, mobile terminal the most just becomes popular research topic now.But, how to extend The energy continuation of the journey of mobile terminal is a big research direction of mobile terminal all the time.Intelligence especially for giant-screen Energy terminal, during user uses, such as, in communication process, if remaining bright screen, not only can Waste substantial amounts of energy, be also easy to the maloperation causing user on screen.
The solution of prior art is to arrange range sensor in mobile terminal, by this Distance-sensing Device is launched and is received infrared light and carrys out the distance between perception user and mobile terminal, thus judges that user is to connect This terminal nearly, is also remote from this terminal, and controls terminal and enter go out screen energy saver mode or normal use pattern. Specifically, sent the infrared light of this range sensor characteristic frequency by range sensor, and use and this spy Determine frequency corresponding frequency reception diode receive through external object (such as user) reflect infrared Light, and after being converted into corresponding electric intensity signal, turn through internal analog-digital converter (ADC) Being changed to digital signal, principle of reflection based on infrared light, when object distance mobile phone is more and more remote, through being somebody's turn to do The infrared light that object reflects will tail off;And when object proximity mobile phone, reflect through this object Infrared light will be the most.In turn, the reflection infrared signal collected by mobile terminal at mobile terminal Intensity compares close to or away from threshold value with pre-set, can analyze object and be proximate to this and move Terminal is also remote from this mobile terminal, when object reaches to a certain degree can judge to be to utilize eventually near terminal End is being conversed, and then control terminal screen goes out screen to save energy;When object reaches certain away from terminal During degree, illustrate it is not to use terminal to converse, and then control terminal carries out normal operating.
As it is shown in figure 1, be that the infrared light that in prior art, range sensor is reflected by reception is carried out Object proximity or the schematic diagram judged away from mobile terminal.Terminal is launched infrared light by range sensor and connects Receive the infrared light reflected and gather the sampled value of the infrared signal between object and mobile terminal, determine it The hot-tempered value in the end 101, the Distance-sensing that the hot-tempered value in the end obtains in the case of referring to not have any blocking on mobile terminals The sampled value of device, as the far and near and close benchmark of judgment object and this mobile terminal, and can adopt described Sample value compares away from threshold value 102 and close to threshold value 103 with set in advance, when sampled value is not less than connecing Nearly threshold value, it is judged that for occurring close to event;When sampled value is not more than away from threshold value, it is judged that for sending out away from event Raw.
But, in actual use, always there will be some spots (such as greasy dirt etc.) and stick to terminal The situation of upper range sensor position, now, terminal system may be judged as YES object proximity eventually mistakenly The operation of end, and then control terminal and enter the energy-conservation pattern of screen of going out, and will control on screen always in terminal It is in false-touch prevention state so that terminal cannot be introduced into operating normally interface, have impact on user to terminal Operating experience.As in figure 2 it is shown, be reflected back by reception for prior art adheres to the range sensor of spot The infrared light come carries out object proximity or the schematic diagram judged away from mobile terminal.Wherein, the hot-tempered value of original bottom 101 is the hot-tempered value in the normal end of nonadherent spot, when make an uproar value 201 of the new end is more than during away from threshold value 102, passes through The infrared light sampled value that range sensor collects can more than close to threshold value 103, and should be actual away from Sampled value 202, thus reports by mistake close to event, causes terminal to cannot be introduced into normally and operates interface.
Therefore it provides a kind of to the processing method that range sensor on mobile terminal is antifouling be this area urgently The problem solved.
Summary of the invention
In view of this, the invention provides and a kind of carry out the side that range sensor is antifouling on mobile terminals Method and system, solve in the prior art that range sensor can not be accurate when adhering to spot on mobile terminal The problem really carrying out object distance judgement.
In order to solve above-mentioned technical problem, the present invention proposes one and carries out Distance-sensing on mobile terminals The method that device is antifouling, including:
Receive the distance samples value signal that on mobile terminal, range sensor sends;
The hot-tempered value in the actual end and the reality of described range sensor is parsed from described distance samples value signal Border distance sample;
Comparing the hot-tempered value in the described actual end and described range sensor away from threshold value and close to threshold value Relatively;
When the hot-tempered value in the described actual end more than described away from threshold value and less than described close to threshold value time, then gather The distance samples value signal of predetermined quantity, and therefrom parse the hot-tempered value in the corresponding end;
When determining the hot-tempered value stabilization in the parsed end, calculate the hot-tempered value in the average end of the hot-tempered value in the described end;
Described actual range sampled value is compared with the hot-tempered value in the described average end, when determining described reality When distance between the hot-tempered value of border distance sample and the described average end is less than predetermined threshold, control system is not Enter false-touch prevention operator scheme.
Further, wherein, described when determining the hot-tempered value stabilization in the parsed end, calculate described The hot-tempered value in the average end of the hot-tempered value in the end, including:
Calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, calculate the described end The hot-tempered value in the average end of hot-tempered value;
Wherein, described variance yields of stablizing is that user is the most set in advance.
Further, wherein, the method farther includes:
When described variance is more than when stablizing variance yields, then abandon the Distance-sensing carried out on mobile terminals The antifouling operation of device.
Further, wherein, the method farther includes:
If the hot-tempered value in the described actual end less than described away from threshold value or more than described close to threshold value, when reality away from From sampled value not less than described close to threshold value, then control to enter false-touch prevention operator scheme;Work as actual range Sampled value is not more than described away from threshold value, then control not enter false-touch prevention operator scheme.
Further, wherein, the method farther includes:
Detect when having sampled value signal on described range sensor, wake up described range sensor collection up Distance samples value signal;
When detecting on described range sensor without sampled value signal, control described range sensor and enter Resting state.
On the other hand, the present invention also provide for a kind of carry out on mobile terminals range sensor antifouling be System, including: receiver module, parsing module, comparison module, the first processing module, the second process mould Block and the 3rd processing module;Wherein,
Described receiver module, for receiving the distance sample letter that on mobile terminal, range sensor sends Number;
Described parsing module, for parsing described range sensor from described distance samples value signal The hot-tempered value in the actual end and actual range sampled value;
Described comparison module, for by the hot-tempered value in the described actual end and described range sensor away from threshold value And compare close to threshold value;
Described first processing module, for being more than described away from threshold value and be less than when the hot-tempered value in the described actual end Described close to threshold value time, then gather the distance samples value signal of predetermined quantity, and therefrom parse corresponding The hot-tempered value in the end;
Described second processing module, for when determining the hot-tempered value stabilization in the parsed end, calculates institute State the hot-tempered value in the average end of the hot-tempered value in the end;
Described 3rd processing module, for by hot-tempered with the described average end for described actual range sampled value be worth into Row compares, when the distance determined between the hot-tempered value of described actual range sampled value and the described average end is less than During predetermined threshold, control system does not enter false-touch prevention operator scheme.
Further, wherein, described second processing module, it is further used for:
Calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, calculate the described end The hot-tempered value in the average end of hot-tempered value;
Wherein, described variance yields of stablizing is that user is the most set in advance.
Further, wherein, the second processing module, it is further used for:
Described variance is more than when stablizing variance yields, when actual range sampled value is not less than described close to threshold value, Then enter false-touch prevention operator scheme;When actual range sampled value is not more than described away from threshold value, do not enter Enter false-touch prevention operator scheme.
Further, wherein, described first processing module, it is further used for:
If the hot-tempered value in the described actual end less than described away from threshold value or more than described close to threshold value, when reality away from From sampled value not less than described close to threshold value, then control to enter false-touch prevention operator scheme;Work as actual range Sampled value is not more than described away from threshold value, then control not enter false-touch prevention operator scheme.
Further, wherein, this system also includes: wake module, and described wake module is used for:
Detect when having sampled value signal on described range sensor, wake up described range sensor collection up Distance samples value signal;
When detecting on described range sensor without sampled value signal, control described range sensor and enter Resting state.
Compared with prior art, the present invention carry out the method that range sensor is antifouling on mobile terminals And system, it is achieved that following beneficial effect:
(1) of the present invention the method and system that range sensor is antifouling are carried out on mobile terminals, When the range sensor of mobile terminal adheres to spot, by the hot-tempered value in the actual end and actual range sampled value Between the testing result of absolute distance multilevel iudge range sensor, it is possible to accurately judgment object is to shifting The distance change of dynamic terminal, can also be normal in the case of range sensor is stained with a small amount of spot Judge the generation away from event, prevent from being mistaken for close to event, it is to avoid mobile terminal enters by mistake through anti- False touch pattern and cause can not normal operating situation.
(2) of the present invention the method and system that range sensor is antifouling are carried out on mobile terminals, By the judgement of the hot-tempered value stabilization in the end, get rid of other specific condition and adjust the distance the occasional effects of sensor, Guarantee just to carry out antifouling process in the case of range sensor is stained with spot, improve and moving The accuracy of the terminal enterprising row distance antifouling process of sensor.
Certainly, the arbitrary product implementing the present invention must be not necessarily required to reach all the above simultaneously Technique effect.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the one of the present invention Part, the schematic description and description of the present invention is used for explaining the present invention, is not intended that this Bright improper restriction.In the accompanying drawings:
Fig. 1 is that the infrared light that on prior art mobile terminal, range sensor is reflected by reception enters Row object proximity or the schematic diagram judged away from mobile terminal;
Fig. 2 is that the range sensor adhering to spot on prior art mobile terminal is reflected by reception Infrared light carry out object proximity or away from mobile terminal judge schematic diagram;
Fig. 3 be the present invention to carry out of the antifouling method of range sensor on mobile terminals optional The step schematic diagram of embodiment;
Fig. 4 is to carry out, described in the embodiment of the present invention 2, the side that range sensor is antifouling on mobile terminals Method step schematic diagram;
Fig. 5 is to carry out, described in the embodiment of the present invention 2, the side that range sensor is antifouling on mobile terminals Method schematic flow sheet;
Fig. 6 is that the range sensor adhering to spot on mobile terminals of the embodiment of the present invention 2 is by connecing Receive the infrared light reflected and carry out object proximity or the schematic diagram judged away from mobile terminal;
Fig. 7 be the present invention carry out the system structure schematic diagram that range sensor is antifouling on mobile terminals.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that Unless specifically stated otherwise, the parts that illustrate the most in these embodiments and step positioned opposite, Numerical expression and numerical value do not limit the scope of the invention.
Description only actually at least one exemplary embodiment is illustrative below, never makees For to the present invention and application thereof or any restriction of use.
May not beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant Opinion, but in the appropriate case, described technology, method and apparatus should be considered a part for description.
Shown here with in all examples discussed, any occurrence should be construed as merely example Property rather than as limit.Therefore, other example of exemplary embodiment can have different Value.
It should also be noted that similar label and letter represent similar terms, therefore, one in following accompanying drawing A certain Xiang Yi the accompanying drawing of denier is defined, then need not it is carried out further in accompanying drawing subsequently Discuss.
< embodiment 1 >
As it is shown on figure 3, carry out range sensor antifouling method on mobile terminals for the present invention The step schematic diagram of one alternative embodiment.The present invention utilizes the hot-tempered value in the actual end and actual range sampled value Between the testing result of absolute distance multilevel iudge range sensor, judgment object is to mobile exactly The distance change of terminal, and then reach to avoid because on mobile terminal, range sensor adhesion spot causes by mistake Being judged to mobile terminal that object proximity mobile terminal causes can not normal operating event.Institute in the present embodiment State the method carrying out range sensor antifouling on mobile terminals to comprise the following steps:
The distance samples value signal that on step 301, reception mobile terminal, range sensor sends.
Range sensor is by launching the infrared light of characteristic frequency, and utilizes corresponding with this characteristic frequency The reflection infrared light that reflects through object of the infrared light launched of frequency reception, through internal Analog-digital converter (ADC) is converted to digital signal, i.e. distance samples value signal.Mobile terminal Operating system receive the distance samples value signal that collected and obtain to carry out follow-up signal-data processing Obtain mobile terminal and the accurate distance of object detected.
Step 302, from described distance samples value signal, parse the actual end of described range sensor Hot-tempered value and actual range sampled value.
Owing to range sensor may be stained with spot on mobile terminals, range sensor can be caused real The hot-tempered value in the end on border and the hot-tempered value in the original end have deviation, and the actual range sampled value collected also is phase The absolute distance value that the actual hot-tempered value in the end is produced.Will be from range sensor collection by this step To distance sample signal resolution be mobile terminal system can for carrying out the data form processed, Facilitate subsequent calculations and judgement.
Step 303, by the hot-tempered value in the described actual end and described range sensor away from threshold value and close to threshold Value compares.
Range sensor may be stained with spot on mobile terminals, and range sensor can be caused actual The hot-tempered value in the end and the hot-tempered value in the original end have deviation, and if the hot-tempered value in the actual end falls just at range sensor Away from threshold value and close to time between threshold value, it is possible to can occur to be mistaken for close to event by non-close to event, Cause mobile terminal automatically into false-touch prevention pattern, cause mobile terminal to use.By the actual end Hot-tempered value, with away from threshold value and close to the comparison of threshold value, first determines whether to be in erroneous judgement region, after being conducive to Continuous operation.
Step 304, when the hot-tempered value in the described actual end more than described away from threshold value and less than described close to threshold value Time, then gather the distance samples value signal of predetermined quantity, and therefrom parse the hot-tempered value in the corresponding end.Step In rapid 304, predetermined quantity is preferably 5-10, when the hot-tempered value in the described actual end is more than described away from threshold value And less than described close to threshold value time, then gather the distance samples value signal of 5-10, and therefrom parse The corresponding hot-tempered value in the end.
By the hot-tempered value in the actual end with away from threshold value and close to the comparison of threshold value, find object and mobile terminal Distance detection when being in erroneous judgement region, then gather the hot-tempered value in several end, to get rid of because accidentalia is made The error impact become, improves the accuracy of this range sensor anti-fouling treatment method.
Step 305, when determining the hot-tempered value stabilization in the parsed end, calculate the flat of the hot-tempered value in the described end All hot-tempered values in the end.
When the hot-tempered value in multiple ends collected is in steady statue, illustrate that being strictly existence hinders distance to pass The stabilizing influence factor of sensor detection, gets rid of certain accidentally detection error with this and causes the hot-tempered value in the end to detect not Accurate situation.
Step 306, described actual range sampled value is compared with the hot-tempered value in the described average end, when sentencing When the distance broken between the hot-tempered value of described actual range sampled value and the described average end is less than predetermined threshold, Control system does not enter false-touch prevention operator scheme.
In this step, described predetermined threshold is set according to actually used experience by user, works as reality Distance between the hot-tempered value of border distance sample and the described average end is less than predetermined threshold, illustrates mobile whole It is close to event that the range sensor of end will be far from event detection owing to adhering to spot by mistake, if do not entered Row stops, and mobile terminal system according to presetting entrance false-touch prevention operator scheme, and then will cause The operation of mobile terminal can not be normally carried out.
In the present embodiment, when the range sensor of mobile terminal adheres to spot, hot-tempered by the actual end The testing result of the absolute distance multilevel iudge range sensor between value and actual range sampled value, energy Enough accurate judgment objects change to the distance of mobile terminal, it is possible to avoid the movement caused because of detection error Terminal can not the problem of normal operating.
< embodiment 2 >
As shown in Figure 4, the range sensor that carries out on mobile terminals described in the embodiment of the present invention 2 is prevented Dirty method step schematic diagram.In the present embodiment, it is provided with the hot-tempered value stabilization in the end to judge and according to reality At the bottom of border, hot-tempered value judged result carries out the concrete grammar of system operation process.At mobile terminal in the present embodiment The antifouling method of enterprising row distance sensor comprises the following steps:
Step 401, detect when having sampled value signal on described range sensor, wake up described distance up Sensor acquisition distance samples value signal.
The distance samples value signal that on step 402, reception mobile terminal, range sensor sends.
Step 403, from described distance samples value signal, parse the actual end of described range sensor Hot-tempered value and actual range sampled value.
Step 404, by the hot-tempered value in the described actual end and described range sensor away from threshold value and close to threshold Value compares.
If the hot-tempered value in the step 405 described actual end is less than described away from threshold value or more than described close to threshold value, When actual range sampled value not less than described close to threshold value time, then control enter false-touch prevention operator scheme; When described in actual range sampled value is not more than away from threshold value, then control not enter false-touch prevention operator scheme.
Step 406, when the hot-tempered value in the described actual end more than described away from threshold value and less than described close to threshold value Time, then gather the distance samples value signal of predetermined quantity, and therefrom parse the hot-tempered value in the corresponding end.Step In rapid 406, predetermined quantity is preferably 5-10, when the hot-tempered value in the described actual end is more than described away from threshold value And less than described close to threshold value time, then gather the distance samples value signal of 5-10, and therefrom parse The corresponding hot-tempered value in the end.
Step 407, when determining the hot-tempered value stabilization in the parsed end, calculate the flat of the hot-tempered value in the described end All hot-tempered values in the end.
Preferably, calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, count Calculate the hot-tempered value in the average end of the hot-tempered value in the described end;
Wherein, described variance yields of stablizing is that user is the most set in advance.
Step 408, when described variance more than stablize variance yields time, when actual range sampled value is not less than Described close to threshold value, then enter false-touch prevention operator scheme;When actual range sampled value be not more than described far From threshold value, the most do not enter false-touch prevention operator scheme.
Step 409, described actual range sampled value is compared with the hot-tempered value in the described average end, when sentencing When the distance broken between the hot-tempered value of described actual range sampled value and the described average end is less than predetermined threshold, Control system does not enter false-touch prevention operator scheme.Described predetermined threshold by user according to actually used experience It is set.
Step 410, when detecting on described range sensor without sampled value signal, control described distance Sensor enters resting state.
Shown in Fig. 5, for described in the present embodiment to carry out range sensor on mobile terminals antifouling Method flow schematic diagram, embodied the flow process principle of the present embodiment scheme, comprised the steps:
Make an uproar value in step 501, the actual end obtaining distance of mobile terminal sensor.
Step 502, the relatively described actual end make an uproar value and described range sensor away from threshold value and close Threshold size.
Step 503, when the described actual end make an uproar value more than described range sensor away from threshold value and be less than During close to threshold value, mobile terminal system enters stain resistant pattern.
Step 504, obtain a number of end based on described range sensor again and make an uproar value determine that it is steady Qualitative.
Step 505, value of being made an uproar with the stable end by the distance sample on described range sensor compare, When distance between the two exceedes particular range, it is judged that occurring away from the time, control system does not enter anti- False touch operator scheme.
Fig. 6 is that the range sensor adhering to spot on mobile terminals of the embodiment of the present invention 2 is by connecing Receive the infrared light reflected and carry out object proximity or the schematic diagram judged away from mobile terminal.Wherein, The hot-tempered value of original bottom 101 is the hot-tempered value in the normal end of nonadherent spot, makes an uproar value 201 more than away from threshold when the new end When being worth 102, the infrared light sampled value collected by range sensor can be more than close to threshold value 103, And should be actual away from sampled value 202, when described reality away from sampled value 202 with described newly The end make an uproar distance between value 201 601 less than predetermined threshold time, control system does not enter false-touch prevention operation Pattern.
The present embodiment carry out the method that range sensor is antifouling on mobile terminals, use and can wake up up Range sensor detects the distance change of object and mobile terminal, carries out by the most just waking up up Related resolution processes, it is not necessary to time form in a dormant state, it is also possible to economize on resources, extend away from Service life from sensor.
< embodiment 3 >
As it is shown in fig. 7, for disclosed in the present embodiment to carry out range sensor on mobile terminals antifouling The structural representation of an alternative embodiment of system.Described in the present embodiment on mobile terminals The system carrying out range sensor antifouling includes: receiver module 701, parsing module 702, comparison module 703, the first processing module the 704, second processing module 705 and the 3rd processing module 706, wherein,
Described receiver module 701, connects with described parsing module 702 phase Rhizoma Nelumbinis, is used for receiving mobile terminal The distance samples value signal that upper range sensor sends;
Described parsing module 702, connects with described receiver module 701 and parsing module 702 phase Rhizoma Nelumbinis, uses In parse from described distance samples value signal the hot-tempered value in the actual end of described range sensor and reality away from From sampled value;
Described comparison module 703, connects with described parsing module 702 and the first processing module 704 phase Rhizoma Nelumbinis, For comparing the hot-tempered value in the described actual end and described range sensor away from threshold value and close to threshold value;
Described first processing module 704, with described comparison module 703 and the second processing module 705 phase Rhizoma Nelumbinis connects, for when the hot-tempered value in the described actual end more than described away from threshold value and be less than described close to threshold value time, Gather the distance samples value signal of predetermined quantity again, and therefrom parse the hot-tempered value in the corresponding end;Wherein, Predetermined quantity is preferably 5-10;
Described second processing module 705, with described first processing module 704 and the 3rd processing module 706 Rhizoma Nelumbinis connects phase, for when determining the hot-tempered value stabilization in the parsed end, calculates the average of the hot-tempered value in the described end The hot-tempered value in the end;
Described 3rd processing module 706, connects with described second processing module 705 phase Rhizoma Nelumbinis, for by institute State actual range sampled value to compare with the hot-tempered value in the described average end, adopt when determining described actual range When distance between the hot-tempered value of sample value and the described average end is less than predetermined threshold, control system does not enter anti-error Touch operator scheme.Described predetermined threshold is set according to actually used experience by user.
In the present embodiment, described second processing module 705 is further used for:
Calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, calculate the described end The hot-tempered value in the average end of hot-tempered value;
Wherein, described variance yields of stablizing is that user is the most set in advance.
Second processing module 705 is additionally operable to further:
When described variance is more than when stablizing variance yields, when actual range sampled value is not less than described close to threshold Value, then enter false-touch prevention operator scheme;When actual range sampled value is not more than described away from threshold value, then Do not enter false-touch prevention operator scheme.
Described first processing module 704 is further used for:
If the hot-tempered value in the described actual end less than described away from threshold value or more than described close to threshold value, when reality away from From sampled value not less than described close to threshold value, then control to enter false-touch prevention operator scheme;Work as actual range Sampled value is not more than described away from threshold value, then control not enter false-touch prevention operator scheme.
Preferably, the system carrying out range sensor antifouling on mobile terminals of the present embodiment also includes: Wake module 707, described wake module 707, connect with described receiver module 701 phase Rhizoma Nelumbinis, be used for: inspection Measure when having sampled value signal on described range sensor, wake up described range sensor up and gather distance and adopt Sample value signal;
When detecting on described range sensor without sampled value signal, control described range sensor and enter Resting state.
By each embodiment above, the range sensor that carries out on mobile terminals of the present invention is prevented Dirty method and system exist and provide the benefit that:
(1) of the present invention the method and system that range sensor is antifouling are carried out on mobile terminals, When the range sensor of mobile terminal adheres to spot, by the hot-tempered value in the actual end and actual range sampled value Between the testing result of absolute distance multilevel iudge range sensor, it is possible to accurately judgment object is to shifting The distance change of dynamic terminal, can also be normal in the case of range sensor is stained with a small amount of spot Judge the generation away from event, prevent from being mistaken for close to event, it is to avoid mobile terminal enters by mistake through anti- False touch pattern and cause can not normal operating situation.
(2) of the present invention the method and system that range sensor is antifouling are carried out on mobile terminals, By the judgement of the hot-tempered value stabilization in the end, get rid of other specific condition and adjust the distance the occasional effects of sensor, Guarantee just to carry out antifouling process in the case of range sensor is stained with spot, improve and moving The accuracy of the terminal enterprising row distance antifouling process of sensor.
Those skilled in the art it should be appreciated that embodiments of the invention can be provided as method, device, Or computer program.Therefore, the present invention can use complete hardware embodiment, complete software to implement Example or the form of the embodiment in terms of combining software and hardware.And, the present invention can use at one Or multiple wherein include computer usable program code computer-usable storage medium (include but not It is limited to disk memory, CD-ROM, optical memory etc.) the upper computer program implemented Form.
Described above illustrate and describes some alternative embodiments of the present invention, but as previously mentioned, it should Understand that the present invention is not limited to form disclosed herein, be not to be taken as the row to other embodiments Remove, and can be used for other combinations various, amendment and environment, and model can be conceived in invention described herein In enclosing, it is modified by above-mentioned teaching or the technology of association area or knowledge.And those skilled in the art institute The change carried out and change, the most all should be in rights appended by the present invention without departing from the spirit and scope of the present invention In the protection domain required.

Claims (10)

1. one kind carries out the method that range sensor is antifouling on mobile terminals, it is characterised in that including:
Receive the distance samples value signal that on mobile terminal, range sensor sends;
Parse from described distance samples value signal the hot-tempered value in the actual end of described range sensor and reality away from From sampled value;
Comparing the hot-tempered value in the described actual end and described range sensor away from threshold value and close to threshold value;
When the hot-tempered value in the described actual end more than described away from threshold value and less than described close to threshold value time, then gather pre- The distance samples value signal of determined number, and therefrom parse the hot-tempered value in the corresponding end;
When determining the hot-tempered value stabilization in the parsed end, calculate the hot-tempered value in the average end of the hot-tempered value in the described end;
Described actual range sampled value is compared with the hot-tempered value in the described average end, when determining described reality When distance between the hot-tempered value of distance sample and the described average end is less than predetermined threshold, control system does not enter anti- False touch operator scheme.
The most according to claim 1 carry out the method that range sensor is antifouling on mobile terminals, its It is characterised by, described when determining the hot-tempered value stabilization in the parsed end, calculate the average end of the hot-tempered value in the described end Hot-tempered value, including:
Calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, calculate the described end hot-tempered The hot-tempered value in the average end of value;
Wherein, described variance yields of stablizing is that user is the most set in advance.
The most according to claim 2 carry out the method that range sensor is antifouling on mobile terminals, its It is characterised by, farther includes:
When described variance is more than when stablizing variance yields, then abandon the range sensor carried out on mobile terminals Antifouling operation.
The most according to claim 1 carry out the method that range sensor is antifouling on mobile terminals, its It is characterised by, farther includes:
If the hot-tempered value in the described actual end away from threshold value or more than described close to threshold value, works as actual range less than described Sampled value not less than described close to threshold value, then controls to enter false-touch prevention operator scheme;When actual range sampled value It is not more than described away from threshold value, then controls not enter false-touch prevention operator scheme.
5. according to according to any one of claim 1-4 to carry out range sensor on mobile terminals antifouling Method, it is characterised in that farther include:
Detect when having sampled value signal on described range sensor, wake up up described range sensor collection away from From sampled value signal;
When detecting on described range sensor without sampled value signal, control described range sensor and enter and stop Dormancy state.
6. one kind carries out the system that range sensor is antifouling on mobile terminals, it is characterised in that including: Receiver module, parsing module, comparison module, the first processing module, the second processing module and the 3rd process mould Block;Wherein,
Described receiver module, for receiving the distance samples value signal that on mobile terminal, range sensor sends;
Described parsing module, for parsing described range sensor from described distance samples value signal The hot-tempered value in the actual end and actual range sampled value;
Described comparison module, for by the hot-tempered value in the described actual end and described range sensor away from threshold value and Compare close to threshold value;
Described first processing module, for being more than described away from threshold value and less than institute when the hot-tempered value in the described actual end When stating close to threshold value, then gather the distance samples value signal of predetermined quantity, and it is hot-tempered therefrom to parse the corresponding end Value;
Described second processing module, for when determining the hot-tempered value stabilization in the parsed end, calculates described The hot-tempered value in the average end of the hot-tempered value in the end;
Described 3rd processing module, for carrying out described actual range sampled value with the hot-tempered value in the described average end Relatively, when the distance determined between the hot-tempered value of described actual range sampled value and the described average end is less than predetermined threshold During value, control system does not enter false-touch prevention operator scheme.
The most according to claim 6 carry out the system that range sensor is antifouling on mobile terminals, its It is characterised by that described second processing module is further used for:
Calculate the variance of the hot-tempered value in the described end, when described variance is less than when stablizing variance yields, calculate the described end hot-tempered The hot-tempered value in the average end of value;
Wherein, described variance yields of stablizing is that user is the most set in advance.
The most according to claim 7 carry out the system that range sensor is antifouling on mobile terminals, its It is characterised by that the second processing module is further used for:
Described variance is more than when stablizing variance yields, when actual range sampled value is not less than described close to threshold value, Then enter false-touch prevention operator scheme;When actual range sampled value is not more than described away from threshold value, the most do not enter anti- False touch operator scheme.
The most according to claim 6 carry out the system that range sensor is antifouling on mobile terminals, its It is characterised by that described first processing module is further used for:
If the hot-tempered value in the described actual end away from threshold value or more than described close to threshold value, works as actual range less than described Sampled value not less than described close to threshold value, then controls to enter false-touch prevention operator scheme;When actual range sampled value It is not more than described away from threshold value, then controls not enter false-touch prevention operator scheme.
10. prevent according to the range sensor that carries out on mobile terminals according to any one of claim 6-9 Dirty system, it is characterised in that also including: wake module, described wake module is used for:
Detect when having sampled value signal on described range sensor, wake up up described range sensor collection away from From sampled value signal;
When detecting on described range sensor without sampled value signal, control described range sensor and enter and stop Dormancy state.
CN201610282742.7A 2016-04-29 2016-04-29 Distance sensor anti-fouling method and system on mobile terminal Pending CN106019260A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610282742.7A CN106019260A (en) 2016-04-29 2016-04-29 Distance sensor anti-fouling method and system on mobile terminal
PCT/CN2016/103851 WO2017185701A1 (en) 2016-04-29 2016-10-28 Distance sensor antifouling method and system on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610282742.7A CN106019260A (en) 2016-04-29 2016-04-29 Distance sensor anti-fouling method and system on mobile terminal

Publications (1)

Publication Number Publication Date
CN106019260A true CN106019260A (en) 2016-10-12

Family

ID=57082058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610282742.7A Pending CN106019260A (en) 2016-04-29 2016-04-29 Distance sensor anti-fouling method and system on mobile terminal

Country Status (2)

Country Link
CN (1) CN106019260A (en)
WO (1) WO2017185701A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor
WO2017185701A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Distance sensor antifouling method and system on mobile terminal
CN108267728A (en) * 2018-01-23 2018-07-10 北京小米移动软件有限公司 Calibration method, device, equipment and the storage medium of range sensor
CN109001712A (en) * 2018-07-05 2018-12-14 合肥联宝信息技术有限公司 A kind of infrared ray range sensor calibration method and intelligent appliance
CN109428961A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 A kind of processing method and mobile terminal close to light sensation
CN112101340A (en) * 2020-11-16 2020-12-18 展讯通信(上海)有限公司 Screen stain recognition method and device
CN113671512A (en) * 2020-05-14 2021-11-19 北京小米移动软件有限公司 Proximity sensor angle adjusting method and device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111337994A (en) * 2018-12-19 2020-06-26 合肥欣奕华智能机器有限公司 Method and equipment for calibrating reference value
CN111398970B (en) * 2018-12-28 2022-04-22 北京小米移动软件有限公司 Event detection method, distance sensor and terminal
CN112462928B (en) * 2019-09-06 2024-03-26 北京小米移动软件有限公司 Operation execution method, device and storage medium
CN111289956B (en) * 2020-01-21 2022-04-29 维沃移动通信有限公司 Electronic device and bottom noise calibration method
CN115834762B (en) * 2022-11-01 2024-04-05 深圳市穗晶半导体有限公司 Control method, system and device of distance sensor and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557430A (en) * 2008-04-10 2009-10-14 Lg电子株式会社 Mobile terminal and screen control method thereof
US8030914B2 (en) * 2008-12-29 2011-10-04 Motorola Mobility, Inc. Portable electronic device having self-calibrating proximity sensors
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102411425A (en) * 2011-07-22 2012-04-11 华为终端有限公司 Method and device for controlling function of touch screen
CN103561165A (en) * 2013-10-18 2014-02-05 广东欧珀移动通信有限公司 Method and device for preventing sticking film from affecting normal working of proximity transducer
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106019260A (en) * 2016-04-29 2016-10-12 乐视控股(北京)有限公司 Distance sensor anti-fouling method and system on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557430A (en) * 2008-04-10 2009-10-14 Lg电子株式会社 Mobile terminal and screen control method thereof
US8030914B2 (en) * 2008-12-29 2011-10-04 Motorola Mobility, Inc. Portable electronic device having self-calibrating proximity sensors
CN102265252A (en) * 2011-06-24 2011-11-30 华为终端有限公司 A method and a device for adjusting a sensing threshold value of an infrared proximity sensor
CN102411425A (en) * 2011-07-22 2012-04-11 华为终端有限公司 Method and device for controlling function of touch screen
CN103561165A (en) * 2013-10-18 2014-02-05 广东欧珀移动通信有限公司 Method and device for preventing sticking film from affecting normal working of proximity transducer
CN105025159A (en) * 2015-06-05 2015-11-04 广东欧珀移动通信有限公司 A proximity sensor adjusting method and apparatus

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185701A1 (en) * 2016-04-29 2017-11-02 乐视控股(北京)有限公司 Distance sensor antifouling method and system on mobile terminal
CN107219515A (en) * 2017-05-25 2017-09-29 深圳市金立通信设备有限公司 The parameter calibrating method and terminal of a kind of range sensor
CN109428961A (en) * 2017-08-29 2019-03-05 中兴通讯股份有限公司 A kind of processing method and mobile terminal close to light sensation
CN108267728A (en) * 2018-01-23 2018-07-10 北京小米移动软件有限公司 Calibration method, device, equipment and the storage medium of range sensor
CN109001712A (en) * 2018-07-05 2018-12-14 合肥联宝信息技术有限公司 A kind of infrared ray range sensor calibration method and intelligent appliance
CN109001712B (en) * 2018-07-05 2023-03-17 合肥联宝信息技术有限公司 Infrared distance sensor calibration method and intelligent household appliance
CN113671512A (en) * 2020-05-14 2021-11-19 北京小米移动软件有限公司 Proximity sensor angle adjusting method and device and storage medium
CN113671512B (en) * 2020-05-14 2024-01-30 北京小米移动软件有限公司 Proximity sensor angle adjustment method, device and storage medium
CN112101340A (en) * 2020-11-16 2020-12-18 展讯通信(上海)有限公司 Screen stain recognition method and device
WO2022099823A1 (en) * 2020-11-16 2022-05-19 展讯通信(上海)有限公司 Screen stain identification method and apparatus

Also Published As

Publication number Publication date
WO2017185701A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN106019260A (en) Distance sensor anti-fouling method and system on mobile terminal
CN104182145A (en) Method and device for preventing faulty operation of touch screen and mobile equipment
CN101799734B (en) Key detection method of capacitive touch screen
CN102778950A (en) Screen unlocking method, screen unlocking system and mobile terminal
US11094267B2 (en) Proximity detection method, storage medium, and electronic device
CA2392834A1 (en) Radio based proximity token with multiple antennas
CN103530562A (en) Method and device for identifying malicious websites
CN105204649B (en) A kind of method and device of mobile terminal unblock
CN106791120A (en) Mobile terminal puts out the control method and device of screen
CN105939427A (en) Control method of infrared proximity sensor, device and mobile terminal
CN105550628B (en) Fingerprint input method and device
CN104065628A (en) Session processing method and device thereof
CN102427355A (en) Touch button state determination method
CN106681595A (en) Management method and management system for announcement messages and terminal
CN107421210B (en) Method for detecting human body approaching by refrigerator and refrigerator adopting same
CN103793287B (en) Method and system for capturing analog signal cycles
CN105825099A (en) Inductive unlocking method and system and mobile terminal
CN111858140A (en) Method, device, server and medium for checking pollutant monitoring data
CN108734944A (en) A kind of wireless remote control coding/decoding method and its device
US10795517B2 (en) Method and apparatus for positioning finger on touch panel in wet state, and touch detection apparatus
CN113870563B (en) Infrared laser traffic information acquisition device based on artificial intelligence
CN114356140B (en) Key action recognition method of infrared induction suspension key
CN112462985A (en) Capacitive touch key parallel anti-interference method and device
CN114858675A (en) Smoke detection method, model training method and device and smoke detection equipment
CN211742090U (en) Infrared touch screen and coverage detection device 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161012

WD01 Invention patent application deemed withdrawn after publication