CN102917124B - Method for dynamically adjusting threshold of distance sensor, and mobile terminal - Google Patents

Method for dynamically adjusting threshold of distance sensor, and mobile terminal Download PDF

Info

Publication number
CN102917124B
CN102917124B CN201210370589.5A CN201210370589A CN102917124B CN 102917124 B CN102917124 B CN 102917124B CN 201210370589 A CN201210370589 A CN 201210370589A CN 102917124 B CN102917124 B CN 102917124B
Authority
CN
China
Prior art keywords
state
screen
threshold value
goes out
range sensor
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
Application number
CN201210370589.5A
Other languages
Chinese (zh)
Other versions
CN102917124A (en
Inventor
陶俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Transsion Holdings Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210370589.5A priority Critical patent/CN102917124B/en
Publication of CN102917124A publication Critical patent/CN102917124A/en
Application granted granted Critical
Publication of CN102917124B publication Critical patent/CN102917124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method for dynamically adjusting a threshold of a distance sensor. The method comprises the following stepsf: when starting the distance sensor to converse, judging whether the distance sensor detects an approach state, if not, at least increasing a preset value or preset ratio to the approach state detection distance of the distance sensor one time within a preset system off-screen time T; judging whether the distance sensor detects the approach state according to the approach state detection distance after being adjusted each time, if the approach state is detected after the approach state detection distance is adjusted, switching a screen into an off-screen state from a bright screen state, and if the approach state is still not detected after the system off-screen time T is achieved, switching the screen into the off-screen state from the bright screen state. The invention also provides a mobile terminal, therefore, the problem that the distance sensor leaves out detection of the approach state when the mobile terminal converses can be avoided, so as to automatically turn off the screen, and the mobile terminal can automatically turn on the screen after the conversation is finished, so as to be convenient to use by the user.

Description

Method and the mobile terminal of dynamic adjustments range sensor threshold value
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method and mobile terminal of dynamic adjustments range sensor threshold value.
Background technology
The mobile terminal such as existing smart mobile phone acquiescence is opened range sensor, when user converses by mobile terminal near head, if now range sensor detect distance with head be less than predetermined close state-detection apart from time the screen that can automatically go out; After user's communication by mobile terminal away from head, if if now range sensor detect distance with head be greater than predetermined away from state-detection apart from time can automatic bright screen, electric weight is also more saved in more convenient like this user's operation.
But prior art also reckons without at mobile terminal during near head, and range sensor may be missed the detection near state, and undetected main cause comprises: the upper limit threshold of range sensor arranges excessive; Not calibration of range sensor, calibration information loss or failure; User uses the custom of mobile terminal, user when call range sensor from head away from; Due to the individual configurations difference of mobile terminal, be mainly that the light leak value of each mobile terminal is had nothing in common with each other.
If range sensor is missed and is not made the mobile terminal screen that goes out near the detection of state, so when call was carried out after a period of time, system can go out the screen time according to default system (for example 15 seconds) remove the screen that automatically goes out, but bright screen automatically after mobile terminal call.Because interrupt principle according to the unidirectional triggering of range sensor, if detect before, near state, do not generate near interrupting, so range sensor can not detect yet away from state, generate corresponding to interruption, even therefore user's communication complete by mobile terminal away from head, mobile terminal is bright screen automatically not also, now user must wake screen up by power key, thereby has brought unnecessary operation burden to user.
In summary,, obviously there is in actual use inconvenience and defect, so be necessary to be improved in the distance detection technique of existing mobile terminal when call.
Summary of the invention
For above-mentioned defect, the object of the present invention is to provide a kind of method and mobile terminal of dynamic adjustments range sensor threshold value, it can avoid mobile terminal undetected problem near state of range sensor when call, to automatically go out screen; And mobile terminal bright screen automatically still after talk-through, thereby convenient for users.
To achieve these goals, the invention provides a kind of method of dynamic adjustments range sensor threshold value, comprise that step has:
The first determining step, when unlatching range sensor is conversed, judges whether described range sensor detects near state;
Threshold value regulating step, if do not detect described near state, in predetermined system is gone out screen time T, by close the state-detection of described range sensor apart from least increasing predetermined value or predetermined ratio;
The second determining step, according to the described close state-detection distance after each adjusting, judges whether described range sensor detects described near state;
The first screen step of going out, if describedly detect after near state-detection distance describedly near state regulating, switches to from bright screen state the screen state that goes out by screen;
The second screen step of going out, if described system is gone out, screen time T does not detect describedly near state yet after arriving, and screen is switched to the screen state that goes out from bright screen state.
According to method of the present invention, after described the first determining step, also comprise:
The 3rd screen step of going out, if detect describedly near state, switches to from bright screen state the screen state that goes out by screen.
According to method of the present invention, described first screen that goes out also comprises after step:
The 3rd determining step, after described talk-through, judges whether described range sensor detects away from state;
Bright screen step, if detect describedly away from state, switches to described bright screen state by described screen from the described screen state that goes out.
According to method of the present invention, described threshold value regulating step further comprises:
A, the predetermined system screen time T of going out is divided into N grade, and timer, interval threshold M and variable i is set, the initial value of described variable i is 0;
B, when i T/N arrives constantly, trigger described timer, i=i+1 is set, and near state-detection, apart from corresponding upper limit light threshold value, reduce predetermined value or predetermined ratio by described;
Described the second determining step further comprises:
C, judge i <=N and regulate after described upper limit light threshold value than the predetermined large M of lower limit light threshold value, whether can set up above simultaneously, if set up and perform step D simultaneously, otherwise carry out the described second screen step of going out;
D, according to the described upper limit light threshold value after regulating, judge whether described range sensor detects described near state, if detect, describedly near state, carry out the described first screen step of going out, otherwise turn back to described step B.
According to method of the present invention, described first screen that goes out also comprises after step:
Recalibrate step, cancel described timer, and call range calibration interface and the described upper limit light threshold value after current adjusting is made as to the upper limit light threshold value of acquiescence.
The present invention also provides a kind of mobile terminal, includes:
The first judge module, for when unlatching range sensor is conversed, judges whether described range sensor detects near state;
Threshold value adjustment module, described when the state for not detecting, in predetermined system is gone out screen time T, by close the state-detection of described range sensor apart from least increasing predetermined value or predetermined ratio;
The second judge module, for according to the described close state-detection distance after each adjusting, judges whether described range sensor detects described near state;
First panel module that goes out, if for describedly detecting after near state-detection distance describedly during near state regulating, switch to from bright screen state the screen state that goes out by screen;
Second panel module that goes out, if go out and do not detect yet describedly during near state after screen time T arrives for described system, switches to from bright screen state the screen state that goes out by screen.
According to mobile terminal of the present invention, also comprise:
The 3rd panel module that goes out, if detect describedly during near state for described the first judge module, switches to from bright screen state the screen state that goes out by screen.
According to mobile terminal of the present invention, also comprise:
The 3rd judge module, for when described first panel module that goes out, described screen being gone out screen state and described talk-through described in described bright screen state switches to, judges whether described range sensor detects away from state;
Bright screen module, if described during away from state for detecting, switches to described bright screen state by described screen from the described screen state that goes out.
According to mobile terminal of the present invention, described threshold value adjustment module further comprises:
Submodule is set, is divided into N grade, and timer, interval threshold M and variable i are set for screen time T that predetermined system is gone out, the initial value of described variable i is 0;
Regulate submodule, for trigger described timer when i T/N arrives constantly, i=i+1 is set, and near state-detection, apart from corresponding upper limit light threshold value, reduce predetermined value or predetermined ratio by described;
Described the second judge module further comprises:
The first judgement submodule, for judging the described upper limit light threshold value after i <=N and adjusting, than the predetermined large M of lower limit light threshold value, whether can set up above simultaneously, if set up simultaneously, transfer to the second judgement submodule to process, otherwise to transfer to described second panel module that goes out to process;
The second judgement submodule, be used for according to the described upper limit light threshold value after regulating, judge whether described range sensor detects described near state, if detect, describedly near state, transfer to described first panel module that goes out to process, otherwise transfer to described adjusting submodule to process.
According to mobile terminal of the present invention, also comprise:
Recalibrate module, for described screen being gone out screen state described in described bright screen state switches to when described first panel module that goes out, cancel described timer, and call range calibration interface and the described upper limit light threshold value after current adjusting is made as to the upper limit light threshold value of acquiescence.
The present invention is by dynamic adjustments range sensor threshold value, in system is gone out screen time T, the close state-detection distance of range sensor is at least increased to predetermined value or predetermined ratio, to be more prone to detect near state, thereby avoid mobile terminal when call range sensor undetected near state, the mobile terminal problem of bright screen automatically after the talk-through causing.Whereby, mobile terminal of the present invention can increase because detecting near automatically the go out possibility of screen of state in when call, and therefore, when talk-through and mobile terminal leave head, mobile terminal still can be realized automatic bright screen, thereby greatly facilitates user's use.
Accompanying drawing explanation
Fig. 1 is the structural representation of mobile terminal of the present invention;
Fig. 2 is the structural representation of preferable mobile terminal end of the present invention;
Fig. 3 is the method flow diagram of dynamic adjustments range sensor threshold value of the present invention; And
Fig. 4 is the method flow diagram of the preferred dynamic adjustments range sensor of the present invention threshold value.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the structural representation of mobile terminal of the present invention, described mobile terminal 100 can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant), panel computer etc., and described mobile terminal 100 comprises the first judge module 10, threshold value adjustment module 20, the second judge module 30, first panel module 40 and second panel module 50 that goes out that goes out, wherein:
Described the first judge module 10, for when opening range sensor and converse, whether judging distance transducer detects near state, detects the close state-detection distance whether distance between mobile terminal 100 and user's head is less than acquiescence.If the first judge module 10 detects near state, can directly screen be switched to the screen state that goes out from bright screen state.
Described threshold value adjustment module 20, while being used for not detecting near state, for example, in predetermined system is gone out screen time T (15 seconds), close the state-detection distance of range sensor is at least increased to predetermined value or predetermined ratio, to be more prone to detect close state.
Described the second judge module 30, the close state-detection distance after regulating for basis is each, whether judging distance transducer detects near state.
Described first panel module 40 that goes out, if when detecting near state after regulating near state-detection distance, switches to from bright screen state the screen state that goes out by screen.Like this, when talk-through and mobile terminal leave head, mobile terminal 100 still can be realized automatic bright screen.
Described second panel module 50 that goes out, if go out while not detecting yet near state after screen time T arrives for system, switches to from bright screen state the screen state that goes out by screen.Now, illustrate that when call range sensor is not near head, the system of now system setting is gone out screen time T to causing mobile terminal 100 screen that automatically goes out.
Fig. 2 is the structural representation of preferable mobile terminal end of the present invention, described mobile terminal 100 comprises the first judge module 10, threshold value adjustment module 20, the second judge module 30, first go out panel module 40, second go out panel module 50, the 3rd go out panel module 60, the 3rd judge module 70, bright screen module 80 and/or recalibrate module 90, wherein:
Described the first judge module 10, for when unlatching range sensor is conversed, whether judging distance transducer detects near state.In the present embodiment, described range sensor is that light value detects range sensor, the principle that light value detects range sensor is: when values of light (this values of light is the values of light reflecting after the infrared light of range sensor chip internal transmitting blocks due to object) that range sensor is checked through is greater than apart from upper limit light threshold value, produce near interrupting, its middle distance upper limit light threshold value determines the length of the distance that detects.
The described the 3rd panel module 60 that goes out, if while detecting near state for the first judge module 10, directly switch to from bright screen state the screen state that goes out by screen.
Described threshold value adjustment module 20 further comprises:
Submodule 21 is set, if do not detect describedly when the state for the first judge module 10, the predetermined system screen time T of going out is divided into N grade, and timer, interval threshold M and variable i are set, the initial value of variable i is.Preferably, the system that submodule 21 first acquisition system settings the are set screen time T (for example 15 seconds) of going out, is divided into N grade (for example N=3) by the system screen time T of going out, and increase timer, and setting timer when T/N is triggered; Variable i is set to judge whether to reach automatic adjusting threshold number, the initial value of variable i is 0; Interval threshold M (for example M=50) is set, to guarantee that the upper limit light threshold value after adjusting must be greater than M values of light of lower limit light threshold value, described upper limit light threshold value is corresponding to state, described lower limit light threshold value correspondence is away from state, but need there is certain intervals threshold value M between upper limit light threshold value and lower limit light threshold value, otherwise can near state and away from the critical point of state on stable not, to meet the object of range sensor operation principle.The upper limit threshold that the upper limit light threshold value of adjusting is acquiescence: current_hi_threshold=hi_threshold is set during beginning.
Regulate submodule 22, for (when i rank arrives) triggering timer when i T/N arrives constantly, i=i+1 is set, and will apart from corresponding upper limit light threshold value, reduces predetermined value or predetermined ratio near state-detection.Current_hi_threshold=(1-X%) current_hi_threshold for example, regulates upper limit light threshold value to make it to reduce X% (for example 5%).
Described the second judge module 30 further comprises:
The first judgement submodule 31, for judging the upper limit light threshold value after i <=N and adjusting, than the predetermined large M of lower limit light threshold value, whether can set up above simultaneously, whether (i <=n & & current_hi_threshold > low_thresldhold+M) sets up simultaneously, if set up simultaneously, transfer to the second judgement submodule 32 to process, otherwise to transfer to second panel module 50 that goes out to process.
The second judgement submodule 32, be used for according to the upper limit light threshold value after regulating, whether judging distance transducer detects near state, if detect near state, produce near interrupting and transferring to first panel module 40 that goes out to process, otherwise transfer to regulate submodule 22 to process, to carry out the dynamic adjustments threshold value of i+1 time, until (i <=n & & current_hi_threshold > low_thresldhold+M) is the false flow process that just exits.
Described second panel module 50 that goes out, if go out while not detecting yet near state after screen time T arrives for system, switches to the screen state that goes out to save power consumption by screen from bright screen state, and finishes whole flow process.
Described first panel module 40 that goes out, if when detecting near state after regulating near state-detection distance, switches to from bright screen state the screen state that goes out by screen.
Described the 3rd judge module 70, for screen being switched to and gone out screen state and talk-through from bright screen state when first panel module 40 that goes out, whether judging distance transducer detects away from state, if detect away from state, can produce away from interruption.
Described bright screen module 80, if when detecting away from state, switches to bright screen state by screen from the screen state that goes out, so that user normally uses mobile terminal 100.
Described recalibration module 90, for screen being switched to and is gone out screen state from bright screen state when first panel module 40 that goes out, cancel timer, and call range calibration interface and the upper limit light threshold value after current adjusting is made as to the upper limit light threshold value of acquiescence, to guarantee the reliability of range sensor.
The present invention by dynamic adjustments apart from upper limit threshold, with avoid when mobile terminal 100 during near head range sensor miss near interrupting (and away from interrupt generally can not miss), the problem that the mobile terminal 100 causing still can not bright screen at talk-through.The present invention is before mobile terminal goes out screen automatically, if N level dynamic adjustments is apart from upper limit threshold, upper limit light threshold value and the relation that is inversely proportional near state-detection distance, reduce to make close state-detection distance elongated apart from upper limit light threshold value, makes to be more prone to produce near interrupting.
Fig. 3 is the flow chart of the method for dynamic adjustments range sensor threshold value of the present invention, and it can be realized by mobile terminal 100 as shown in Figure 1 or 2, comprises that step has:
Step S301, the first determining step, when unlatching range sensor is conversed, whether judging distance transducer detects near state.Detect the close state-detection distance whether distance between mobile terminal 100 and user's head is less than acquiescence.If the first judge module 10 detects near state, can directly screen be switched to the screen state that goes out from bright screen state.
Step S302, threshold value regulating step, if do not detect near state, in predetermined system is gone out screen time T, at least increases predetermined value or predetermined ratio by close the state-detection distance of range sensor, to be more prone to detect close state.
Step S303, the second determining step, according to the close state-detection distance after each adjusting, whether judging distance transducer detects near state.
Step S304, the first screen step of going out, if detect near state after regulating near state-detection distance, switches to from bright screen state the screen state that goes out by screen.Like this, when talk-through and mobile terminal leave head, mobile terminal 100 still can be realized automatic bright screen.
Step S305, the second screen step of going out, if system is gone out, screen time T does not detect yet near state after arriving, and screen is switched to the screen state that goes out from bright screen state.Now range sensor is not all the time near head when call explanation, when system is gone out screen time T to causing mobile terminal 100 screen that automatically goes out.
Fig. 4 is the preferred flow charts of the method for dynamic adjustments range sensor threshold value of the present invention, and it can be realized by mobile terminal 100 as shown in Figure 2, comprises that step has:
Step S401, opens range sensor and converses.
Step S402, whether judging distance transducer detects near state, if perform step S403, otherwise execution step S404.In the present embodiment, described range sensor is that light value detects range sensor.
Step S403, if detect near state, directly switches to screen to go out screen state and exit flow process from bright screen state.
Step S404, if do not detect near state, the system of first acquisition system of the system setting screen time T (for example 15 seconds) of going out, is divided into N grade (for example N=3) by the system screen time T of going out, increase timer, and setting timer when T/N is triggered; Variable i is set to judge whether to reach automatic adjusting threshold number, the initial value of variable i is 0; Interval threshold M (for example M=50) is set, to guarantee that the upper limit light threshold value after adjusting must be greater than M values of light of lower limit light threshold value, described upper limit light threshold value is corresponding to state, described lower limit light threshold value correspondence is away from state, but need there is certain intervals threshold value M between upper limit light threshold value and lower limit light threshold value, otherwise can near state and away from the critical point of state on stable not, to meet the object of range sensor operation principle.The upper limit threshold that the upper limit light threshold value of adjusting is acquiescence: current_hi_threshold=hi_threshold is set during beginning.
Step S405, when i T/N arrives constantly, (when i rank arrives) triggers timer, carry out timing function, i=i+1 is set in timing function, and will apart from corresponding upper limit light threshold value, reduce predetermined value or predetermined ratio near state-detection, current_hi_threshold=(1-X%) current_hi_threshold for example, regulates upper limit light threshold value to make it to reduce X% (for example 5%).
Step S406, whether judgement (i <=n & & current_hi_threshold > low_thresldhold+M) sets up simultaneously, judge whether the upper limit light threshold value after i <=N and adjusting can be set up above than the predetermined large M of lower limit light threshold value simultaneously, if set up and perform step S407 simultaneously, otherwise execution step S408.
Step S407, according to the upper limit light threshold value after regulating, whether judging distance transducer detects near state, if detect near state and perform step S409, otherwise turn back to step S405, carry out the dynamic adjustments threshold value of i+1 time, until (i <=n & & current_hi_threshold > low_thresldhold+M) is the false flow process that just exits.
Step S408, if system is gone out, screen time T does not detect yet near state after arriving, and screen is switched to the screen state that goes out to save power consumption from bright screen state, and finishes whole flow process.After representing the i time (i is the last number of times that regulates threshold value) adjusting threshold value, range sensor still detects away from state, and when call is described, range sensor is not near head.Automatically time is up can cause the mobile terminal screen that automatically goes out for the screen that goes out of now system setting.
Step S409, if detect near state after regulating near state-detection distance, switches to from bright screen state the screen state that goes out by screen.Now, represent that range sensor has made the mobile terminal screen that goes out, and now can produce near interruption.
Step S410, cancel timer, thereby and call the flow process that upper limit light threshold value that range calibration interface is made as acquiescence by the upper limit light threshold value after current adjusting completes whole dynamic adjustments threshold value, to guarantee the reliability of range sensor, be the calibration that range sensor re-starts upper limit threshold, with amended upper limit light threshold value, detect in the future.
Step S411, after talk-through, whether judging distance transducer detects away from state, if perform step S412, otherwise continues to carry out this step S411.
Step S412, if detect away from state, switches to bright screen state by screen from the screen state that goes out, and user can normally use mobile terminal 100 again like this.
In sum, the present invention is by dynamic adjustments range sensor threshold value, in system is gone out screen time T, the close state-detection distance of range sensor is at least increased to predetermined value or predetermined ratio, to be more prone to detect near state, thereby avoid mobile terminal when call range sensor undetected near state, the mobile terminal problem of bright screen automatically after the talk-through causing.Whereby, mobile terminal of the present invention can increase because detecting near automatically the go out possibility of screen of state in when call, and therefore, when talk-through and mobile terminal leave head, mobile terminal still can be realized automatic bright screen, thereby greatly facilitates user's use.
Certainly; the present invention also can have other various embodiments; in the situation that not deviating from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. a method for dynamic adjustments range sensor threshold value, is characterized in that, comprises that step has:
The first determining step, when unlatching range sensor is conversed, judges whether described range sensor detects near state;
Threshold value regulating step, if do not detect described near state, in predetermined system is gone out screen time T, by close the state-detection of described range sensor apart from least increasing predetermined value or predetermined ratio;
The second determining step, according to the described close state-detection distance after each adjusting, judges whether described range sensor detects described near state;
The first screen step of going out, if describedly detect after near state-detection distance describedly near state regulating, switches to from bright screen state the screen state that goes out by screen;
The second screen step of going out, if described system is gone out, screen time T does not detect describedly near state yet after arriving, and screen is switched to the screen state that goes out from bright screen state.
2. method according to claim 1, is characterized in that, after described the first determining step, also comprises:
The 3rd screen step of going out, if detect describedly near state, switches to from bright screen state the screen state that goes out by screen.
3. method according to claim 1, is characterized in that, described first screen that goes out also comprises after step:
The 3rd determining step, after described talk-through, judges that the distance whether described range sensor detects between mobile terminal and user's head is greater than away from state-detection distance, if be judged to be away from state;
Bright screen step, if detect describedly away from state, switches to described bright screen state by described screen from the described screen state that goes out.
4. according to the method described in claim 1~3 any one, it is characterized in that, described threshold value regulating step further comprises:
A, the predetermined system screen time T of going out is divided into N grade, and timer, interval threshold M and variable i is set, the initial value of described variable i is 0;
B, when i T/N arrives constantly, trigger described timer, i=i+1 is set, and near state-detection, apart from corresponding upper limit light threshold value, reduce predetermined value or predetermined ratio by described;
Described the second determining step further comprises:
C, judge i<=N and regulate after described upper limit light threshold value than the predetermined large M of lower limit light threshold value, whether can set up above simultaneously, if set up and perform step D simultaneously, otherwise carry out the described second screen step of going out;
D, according to the described upper limit light threshold value after regulating, judge whether described range sensor detects described near state, if detect, describedly near state, carry out the described first screen step of going out, otherwise turn back to described step B.
5. method according to claim 4, is characterized in that, described first screen that goes out also comprises after step:
Recalibrate step, cancel described timer, and call range calibration interface and the described upper limit light threshold value after current adjusting is made as to the upper limit light threshold value of acquiescence.
6. a mobile terminal, is characterized in that, includes:
The first judge module, for when unlatching range sensor is conversed, judges whether described range sensor detects near state;
Threshold value adjustment module, described when the state for not detecting, in predetermined system is gone out screen time T, by close the state-detection of described range sensor apart from least increasing predetermined value or predetermined ratio;
The second judge module, for according to the described close state-detection distance after each adjusting, judges whether described range sensor detects described near state;
First panel module that goes out, if for describedly detecting after near state-detection distance describedly during near state regulating, switch to from bright screen state the screen state that goes out by screen;
Second panel module that goes out, if go out and do not detect yet describedly during near state after screen time T arrives for described system, switches to from bright screen state the screen state that goes out by screen.
7. mobile terminal according to claim 6, is characterized in that, also comprises:
The 3rd panel module that goes out, if detect describedly during near state for described the first judge module, switches to from bright screen state the screen state that goes out by screen.
8. mobile terminal according to claim 6, is characterized in that, also comprises:
The 3rd judge module, for described screen being gone out screen state and described talk-through described in described bright screen state switches to when described first panel module that goes out, judge that the distance whether described range sensor detects between described mobile terminal and user's head is greater than away from state-detection distance, if be judged to be away from state;
Bright screen module, if described during away from state for detecting, switches to described bright screen state by described screen from the described screen state that goes out.
9. according to the mobile terminal described in claim 6~8 any one, it is characterized in that, described threshold value adjustment module further comprises:
Submodule is set, if do not detect describedly when the state for described the first judge module, the predetermined system screen time T of going out is divided into N grade, and timer, interval threshold M and variable i are set, the initial value of described variable i is 0;
Regulate submodule, for trigger described timer when i T/N arrives constantly, i=i+1 is set, and near state-detection, apart from corresponding upper limit light threshold value, reduce predetermined value or predetermined ratio by described;
Described the second judge module further comprises:
The first judgement submodule, for judging the described upper limit light threshold value after i<=N and adjusting, than the predetermined large M of lower limit light threshold value, whether can set up above simultaneously, if set up simultaneously, transfer to the second judgement submodule to process, otherwise to transfer to described second panel module that goes out to process;
The second judgement submodule, be used for according to the described upper limit light threshold value after regulating, judge whether described range sensor detects described near state, if detect, describedly near state, transfer to described first panel module that goes out to process, otherwise transfer to described adjusting submodule to process.
10. mobile terminal according to claim 9, is characterized in that, also comprises:
Recalibrate module, for described screen being gone out screen state described in described bright screen state switches to when described first panel module that goes out, cancel described timer, and call range calibration interface and the described upper limit light threshold value after current adjusting is made as to the upper limit light threshold value of acquiescence.
CN201210370589.5A 2012-09-27 2012-09-27 Method for dynamically adjusting threshold of distance sensor, and mobile terminal Active CN102917124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210370589.5A CN102917124B (en) 2012-09-27 2012-09-27 Method for dynamically adjusting threshold of distance sensor, and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210370589.5A CN102917124B (en) 2012-09-27 2012-09-27 Method for dynamically adjusting threshold of distance sensor, and mobile terminal

Publications (2)

Publication Number Publication Date
CN102917124A CN102917124A (en) 2013-02-06
CN102917124B true CN102917124B (en) 2014-11-26

Family

ID=47615349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210370589.5A Active CN102917124B (en) 2012-09-27 2012-09-27 Method for dynamically adjusting threshold of distance sensor, and mobile terminal

Country Status (1)

Country Link
CN (1) CN102917124B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353621B (en) * 2013-06-14 2015-08-26 广东欧珀移动通信有限公司 A kind of method that mobile terminal proximity transducer is calibrated and this mobile terminal
CN103442136B (en) * 2013-08-19 2015-07-15 惠州Tcl移动通信有限公司 Method and system for dual calibration of proximity sensor
CN103837910B (en) * 2014-03-20 2017-09-26 深圳市金立通信设备有限公司 Method and terminal that a kind of proximity transducer threshold value is determined
CN104199644A (en) * 2014-08-13 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
WO2016045095A1 (en) * 2014-09-26 2016-03-31 华为技术有限公司 Method, apparatus and device for correcting detection distance
WO2016049861A1 (en) * 2014-09-30 2016-04-07 华为技术有限公司 Method and device for controlling proximity optical sensor, and mobile terminal
CN104410750B (en) * 2014-10-30 2017-05-17 广东欧珀移动通信有限公司 Screen brightness control method, device and terminal
CN104407399B (en) * 2014-12-02 2017-01-04 三星半导体(中国)研究开发有限公司 For the method at portable terminal alignment proximity transducer
CN104683598B (en) * 2015-03-25 2017-06-09 广东欧珀移动通信有限公司 Proximity transducer threshold value adjusting method, device and smart machine
CN106375539A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Missed incoming call reminding method and apparatus and called terminal
CN105653033B (en) * 2015-12-29 2018-09-04 广东欧珀移动通信有限公司 A kind of control method and device of the bright screen of terminal and the screen that goes out
CN105975090A (en) * 2016-06-21 2016-09-28 广东欧珀移动通信有限公司 Event-reporting control method and device for proximity sensor and mobile terminal
CN106201019B (en) * 2016-06-28 2019-04-09 Oppo广东移动通信有限公司 A kind of the threshold value adjusting method and mobile terminal of proximity sensor
CN106249872B (en) * 2016-07-12 2019-04-05 Oppo广东移动通信有限公司 A kind of control method of proximity sensor, device and mobile terminal
CN106443639B (en) * 2016-09-26 2019-05-17 深圳市金立通信设备有限公司 A kind of range calibration method and terminal
CN106453960B (en) * 2016-11-30 2020-05-08 惠州Tcl移动通信有限公司 Method and system for accelerating response speed of proximity sensor of mobile terminal
CN106791053B (en) * 2016-12-07 2020-08-11 北京小米移动软件有限公司 Method and device for calibrating induction threshold of distance sensor
CN106775536B (en) * 2016-12-26 2020-07-03 宇龙计算机通信科技(深圳)有限公司 Double-screen switching method and device
CN106850989B (en) * 2017-02-08 2019-08-06 Oppo广东移动通信有限公司 Display screen condition control method and device
CN107087079B (en) * 2017-06-29 2023-05-26 深圳市泰衡诺科技有限公司上海分公司 Brightness adjusting system and method in hands-free call mode
CN107526522B (en) * 2017-08-15 2021-07-13 Oppo广东移动通信有限公司 Black screen gesture recognition method and device, mobile terminal and storage medium
WO2019061102A1 (en) * 2017-09-27 2019-04-04 深圳市云中飞网络科技有限公司 Call processing method and related product
CN110800277B (en) * 2017-09-30 2021-05-18 深圳市欢太科技有限公司 Call processing method and related product
CN107943345B (en) * 2017-11-22 2020-10-02 Oppo广东移动通信有限公司 Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN110286420B (en) * 2019-06-24 2022-03-18 Oppo广东移动通信有限公司 Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN112511693B (en) * 2019-08-26 2022-04-08 北京小米移动软件有限公司 Screen turning method and device
CN112911035B (en) * 2021-01-21 2023-05-12 维沃移动通信有限公司 Signal receiving and transmitting assembly, electronic equipment and position adjusting method
CN113552562B (en) * 2021-07-22 2024-08-30 东风悦享科技有限公司 Automatic calibration system and method for ultrasonic radar

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1650938A1 (en) * 2004-10-22 2006-04-26 Samsung Electronics Co., Ltd. Apparatus and method for automatically changing communication mode in mobile video communication terminal
CN1805568A (en) * 2005-01-13 2006-07-19 乐金电子(中国)研究开发中心有限公司 Method of controlling mobile telephone power consumption and its mobile telephone
CN101515195A (en) * 2009-03-09 2009-08-26 深圳华为通信技术有限公司 Method for controlling shutting of display device backlight and device thereof
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1650938A1 (en) * 2004-10-22 2006-04-26 Samsung Electronics Co., Ltd. Apparatus and method for automatically changing communication mode in mobile video communication terminal
CN1805568A (en) * 2005-01-13 2006-07-19 乐金电子(中国)研究开发中心有限公司 Method of controlling mobile telephone power consumption and its mobile telephone
CN101515195A (en) * 2009-03-09 2009-08-26 深圳华为通信技术有限公司 Method for controlling shutting of display device backlight and device thereof
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN102917124A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN102917124B (en) Method for dynamically adjusting threshold of distance sensor, and mobile terminal
CN102833389B (en) Mobile terminal and energy conservation method therefor
CN202267942U (en) Mobile terminal
CN102984352B (en) Method and device of adjusting of screen luminance of terminal and terminal
CN103384288A (en) Method for automatically controlling terminal voice channel and terminal
CN106303023B (en) Screen state adjusting method and device
CN106507445A (en) A kind of Wireless Fidelity Wi Fi scan methods and mobile terminal
CN103685762A (en) Mobile terminal and control method thereof
CN102999162A (en) Mobile terminal as well as automatic bright screen state keeping method and system thereof
CN101854430A (en) Mobile phone and incoming call processing method thereof
CN203457216U (en) Mobile terminal capable of opening Bluetooth device intelligently
CN101938559A (en) Terminal control method, terminal control device and terminal
CN105204632B (en) Method for controlling intelligent mobile terminal to enter silent mode and wearable device
US20170180533A1 (en) Microphone switching system and method for mobile terminal
CN105847535A (en) Display screen brightness adjusting method and mobile terminal
CN103237137A (en) Method and system for adjusting volume of mobile terminal
CN101826290A (en) Backlight control method and mobile terminal
CN102984374A (en) Communication terminal and communication manner switching method thereof
CN104994240A (en) Proximity detector power saving control method and system based on mobile terminal
CN104506987A (en) Smart earphone control method and smart earphone
CN103561210A (en) Method and mobile terminal for photographing according to background light
CN103167128A (en) System and method for achieving automatic sleep of mobile phone based on proximity sensor
CN104699388A (en) Terminal theme adjusting method and system
CN105282867B (en) Method for connecting network and device
CN105825833A (en) Brightness adjustment method and 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190121

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen acoustic Cmi Holdings Ltd

Address before: 523500 Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province

Co-patentee before: Yulong Computer and Communication Sci. & Tech. (Shenzhen) Co., Ltd.

Patentee before: Dongguan Yulong Communication Technology Co., Ltd.

TR01 Transfer of patent right