CN102917124A - 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
CN102917124A
CN102917124A CN2012103705895A CN201210370589A CN102917124A CN 102917124 A CN102917124 A CN 102917124A CN 2012103705895 A CN2012103705895 A CN 2012103705895A CN 201210370589 A CN201210370589 A CN 201210370589A CN 102917124 A CN102917124 A CN 102917124A
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.)
Granted
Application number
CN2012103705895A
Other languages
Chinese (zh)
Other versions
CN102917124B (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

Images

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 portable 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 portable terminal of dynamic adjustments range sensor threshold value.
Background technology
The portable terminals such as existing smart mobile phone acquiescence is opened range sensor, when the user converses with portable terminal near head, if this moment range sensor detect with the distance of head less than predetermined close state-detection apart from the time screen that can automatically go out; After user's communication is complete with portable terminal away from head, if if this moment range sensor detect with the distance of head greater than predetermined away from state-detection apart from the 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 when the close head of portable terminal, and range sensor may be missed the detection near state, and undetected main cause comprises: the upper limit threshold of range sensor arranges excessive; Range sensor is not calibrated, calibration information is lost or failure; The user uses the custom of portable terminal, namely the user when conversation range sensor from head away from; Due to the individual configurations difference of portable terminal, mainly be that the light leak value of each portable terminal is had nothing in common with each other.
If missing near the detection of state, range sensor do not have the screen so that portable terminal goes out, so after a period of time is carried out in conversation, system can according to default system go out the screen time (for example 15 seconds) remove the screen that automatically goes out, but mobile terminal call complete after automatic bright screen.Because principle is interrupted in the unidirectional triggering according to range sensor, do not generate near interrupting if detect near state before, so range sensor can not detect yet generate away from state corresponding to interruption, even therefore user's communication complete with portable terminal away from head, portable terminal is automatic bright screen not also, this moment, the user must wake screen up by power key, thereby had brought unnecessary operation burden to the user.
In summary, existing portable terminal when conversation apart from detection technique, obviously have in actual use inconvenience and defective, so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide a kind of method and portable terminal of dynamic adjustments range sensor threshold value, it can avoid portable terminal undetected problem near state of range sensor when conversation, in order to automatically go out screen; And portable terminal automatic bright screen still behind 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 the unlatching range sensor is conversed, judges whether described range sensor detects near state;
The threshold value regulating step, if do not detect described near state, then in the screen time T is gone out in predetermined system, with close the state-detection of described range sensor apart from increasing at least predetermined value or predetermined ratio;
The second determining step, according to the described close state-detection distance after each adjusting, it is described near state to judge whether described range sensor detects;
The first screen step of going out if describedly detect after near the state-detection distance describedly near state regulating, then switches to the screen state that goes out with screen from the bright screen state;
The second screen step of going out does not detect describedly near state yet after the screen time T arrives if described system goes out, then screen is switched to the screen state that goes out from the bright screen state.
According to method of the present invention, also comprise after described the first determining step:
The 3rd screen step of going out if detect describedly near state, then switches to the screen state that goes out with screen from the bright screen state.
According to method of the present invention, described first screen that goes out also comprises after the step:
The 3rd determining step behind described talk-through, judges whether described range sensor detects away from state;
The bright screen step if detect describedly away from state, then switches to described bright screen state with 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 are 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 reduce predetermined value or predetermined ratio near state-detection apart from the upper limit light threshold value of correspondence with described;
Described the second determining step further comprises:
C, judge i<=N and regulate after the predetermined large M of lower limit light threshold value of described upper limit light threshold ratio more than whether can set up simultaneously, if set up simultaneously then execution in step D, otherwise carry out the described second screen step of going out;
D, according to the described upper limit light threshold value after regulating, it is described near state to judge whether described range sensor detects, and describedly then carries out the described first screen step of going out near state if detect, otherwise turns back to described step B.
According to method of the present invention, described first screen that goes out also comprises after the step:
Recalibrate step, cancel described timer, and call the upper limit light threshold value that the described upper limit light threshold value of range calibration interface after with current adjusting is made as acquiescence.
The present invention also provides a kind of portable terminal, includes:
The first judge module is used for when the unlatching range sensor is conversed, and judges whether described range sensor detects near state;
The threshold value adjustment module, be used for not detecting described during near state, in the screen time T is gone out in predetermined system, with close the state-detection of described range sensor apart from increasing at least predetermined value or predetermined ratio;
The second judge module is used for according to the described close state-detection distance after each the adjusting, and it is described near state to judge whether described range sensor detects;
First panel module that goes out if be used for describedly detecting after near the state-detection distance describedly during near state regulating, switches to the screen state that goes out with screen from the bright screen state;
Second panel module that goes out goes out and does not detect yet describedly during near state after the screen time T arrives if be used for described system, and screen is switched to the screen state that goes out from the bright screen state.
According to portable terminal of the present invention, also comprise:
The 3rd panel module that goes out detects describedly during near state if be used for described the first judge module, and screen is switched to the screen state that goes out from the bright screen state.
According to portable terminal of the present invention, also comprise:
The 3rd judge module is used for going out panel module switches to described go out screen state and described talk-through with described screen from described bright screen state after when described first, judges whether described range sensor detects away from state;
The bright screen module if be used for detecting described during away from state, switches to described bright screen state with described screen from the described screen state that goes out.
According to portable terminal of the present invention, described threshold value adjustment module further comprises:
Submodule is set, is divided into N grade for screen time T that predetermined system is gone out, and timer, interval threshold M and variable i are set, the initial value of described variable i is 0;
Regulate submodule, be used for when i T/N arrives constantly, triggering described timer, i=i+1 is set, and with upper limit light threshold value minimizing predetermined value or the predetermined ratio of described close state-detection apart from correspondence;
Described the second judge module further comprises:
First judges submodule, be used for judging i<=N and regulate after the large M of lower limit light threshold value that is scheduled to of described upper limit light threshold ratio more than whether can set up simultaneously, if set up simultaneously and then transfer to second and judge that submodule processes, process otherwise transfer to described second panel module that goes out;
Second judges submodule, be used for according to the described upper limit light threshold value after regulating, it is described near state to judge whether described range sensor detects, and describedly then transfers to described first panel module that goes out near state and processes if detect, and processes otherwise transfer to described adjusting submodule.
According to portable terminal of the present invention, also comprise:
Recalibrate module, be used for going out after panel module switches to the described screen state that goes out with described screen from described bright screen state when described first, cancel described timer, and call the upper limit light threshold value that the described upper limit light threshold value of range calibration interface after with current adjusting is made as acquiescence.
The present invention is by dynamic adjustments range sensor threshold value, namely in the screen time T is gone out in system, the close state-detection distance of range sensor is increased predetermined value or predetermined ratio at least, in order to be more prone to detect near state, thereby avoid portable terminal when conversation range sensor undetected near state, the automatic problem of bright screen of portable terminal behind the talk-through that causes.Whereby, portable terminal of the present invention can increase because detecting near automatically the go out possibility of screen of state in when conversation, and therefore when talk-through and portable terminal left head, portable terminal still can be realized automatic bright screen, thereby greatly facilitates user's use.
Description of drawings
Fig. 1 is the structural representation of portable 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 purpose 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 portable terminal of the present invention, described portable terminal 100 can be mobile phone, PDA (Personal Digital Assistant, personal digital assistant), panel computer etc., and described portable 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 is used for when opening range sensor and converse, and whether the judging distance transducer detects near state, whether namely detects distance between portable terminal 100 and the user's head less than the close state-detection distance of giving tacit consent to.If the first judge module 10 detects near state, then can directly screen be switched to the screen state that goes out from the bright screen state.
Described threshold value adjustment module 20, when being used for not detecting near state, in screen time T (for example 15 seconds) is gone out in predetermined system, close the state-detection distance of range sensor is increased predetermined value or predetermined ratio at least, in order to be more prone to detect close state.
Described the second judge module 30 is used for according to the close state-detection distance after each the adjusting, and whether the judging distance transducer detects near state.
Described first panel module 40 that goes out is if when being used for detecting near state, switch to the screen state that goes out with screen from the bright screen state after regulating near the state-detection distance.Like this, when talk-through and portable terminal left head, portable terminal 100 still can be realized automatic bright screen.
Described second panel module 50 that goes out goes out when not detecting yet near state after the screen time T arrives if be used for system, and screen is switched to the screen state that goes out from the bright screen state.At this moment, when conversation range sensor is described not near head, the screen time T is gone out to causing portable terminal 100 screen that automatically goes out in the system of system's setting this moment.
Fig. 2 is the structural representation of preferable mobile terminal end of the present invention, described portable 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 is used for when the unlatching range sensor is conversed, and whether the 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 that range sensor is checked through (this values of light is that the infrared light of range sensor chip internal emission is because the values of light that object reflects after blocking) produces during greater than distance upper limit light threshold value 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 is if when being used for the first judge module 10 and detecting near state, directly switch to the screen state that goes out with screen from the bright screen state.
Described threshold value adjustment module 20 further comprises:
Submodule 21 is set, does not detect describedly during near state if be used 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 the setting of submodule 21 at first acquisition systems the is set screen time T (for example 15 seconds) of going out is divided into N grade (for example N=3) with system's 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 the 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 between upper limit light threshold value and the lower limit light threshold value certain intervals threshold value M need be arranged, otherwise can near state and away from the critical point of state on stable not, to meet the purpose of range sensor operation principle.The upper limit light threshold value of adjusting is set during beginning is the upper limit threshold of acquiescence: current_hi_threshold=hi_threshold.
Regulate submodule 22, be used for (when i rank arrives) triggering timer when i T/N arrives constantly, i=i+1 is set, and will be near upper limit light threshold value minimizing predetermined value or the predetermined ratio of state-detection apart from correspondence.Current_hi_threshold=(1-X%) current_hi_threshold for example namely regulates upper limit light threshold value and makes it to reduce X% (for example 5%).
Described the second judge module 30 further comprises:
First judges submodule 31, be used for judging i<=N and regulate after the large M of lower limit light threshold value that is scheduled to of upper limit light threshold ratio more than whether can set up simultaneously i.e. (i<=n ﹠amp; ﹠amp; Whether current_hi_threshold>low_thresldhold+M) sets up simultaneously, then transfers to second and judges that submodule 32 processes if set up simultaneously, processes otherwise transfer to second panel module 50 that goes out.
Second judges submodule 32, be used for according to the upper limit light threshold value after regulating, whether the judging distance transducer detects near state, then produce near interrupting and transferring to first panel module 40 that goes out and process if detect near state, otherwise transferring to adjusting submodule 22 processes, to carry out i+1 time dynamic adjustments threshold value, until (i<=n﹠amp; ﹠amp; Current_hi_threshold>low_thresldhold+M) is the false flow process that just withdraws from.
Described second panel module 50 that goes out goes out when not detecting yet near state after the screen time T arrives if be used for system, screen is switched to the screen state that goes out saving power consumption from the bright screen state, and finish whole flow process.
Described first panel module 40 that goes out is if when being used for detecting near state, switch to the screen state that goes out with screen from the bright screen state after regulating near the state-detection distance.
Described the 3rd judge module 70 is used for going out after panel module 40 switches to go out screen state and talk-through with screen from the bright screen state when first, and whether the judging distance transducer detects away from state, can produce away from interruption if detect away from state.
Described bright screen module 80 is if when being used for detecting away from state, switch to the bright screen state with screen from the screen state that goes out, so that the user normally uses portable terminal 100.
Described recalibration module 90, be used for going out after panel module 40 switches to the screen state that goes out with screen from the bright screen state when first, the cancellation timer, and call the upper limit light threshold value that the upper limit light threshold value of range calibration interface after with current adjusting is made as acquiescence, to guarantee the reliability of range sensor.
The present invention by dynamic adjustments apart from upper limit threshold, with avoid when portable terminal 100 during near head range sensor miss near interrupting (and away from interrupt generally can not miss), the portable terminal 100 that causes talk-through still can not bright screen problem.The present invention is before portable terminal goes out screen automatically, if N level dynamic adjustments is apart from upper limit threshold, upper limit light threshold value and the close state-detection distance relation of being inversely proportional to namely reduce apart from upper limit light threshold value so that make near state-detection apart from elongated, so that be more prone to produce near interruption.
Fig. 3 is the flow chart of the method for dynamic adjustments range sensor threshold value of the present invention, and it can pass through to realize such as Fig. 1 or portable terminal 100 shown in Figure 2, comprise that step has:
Step S301, the first determining step, when the unlatching range sensor was conversed, whether the judging distance transducer detected near state.Namely detect distance between portable terminal 100 and the user's head whether less than the close state-detection distance of acquiescence.If the first judge module 10 detects near state, then can directly screen be switched to the screen state that goes out from the bright screen state.
Step S302, the threshold value regulating step if do not detect near state, then in the screen time T is gone out in predetermined system, increases predetermined value or predetermined ratio with close the state-detection distance of range sensor, in order to be more prone to detect close state at least.
Step S303, the second determining step, according to the close state-detection distance after each adjusting, whether the judging distance transducer detects near state.
Step S304, the first screen step of going out if detect near state, then switches to the screen state that goes out with screen from the bright screen state after regulating near the state-detection distance.Like this, when talk-through and portable terminal left head, portable terminal 100 still can be realized automatic bright screen.
Step S305, the second screen step of going out does not detect yet near state after the screen time T arrives if system goes out, and then screen is switched to the screen state that goes out from the bright screen state.When conversation this moment explanation, range sensor was all the time near head, when the screen time T is gone out to causing portable terminal 100 screen that automatically goes out in system.
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 portable terminal 100 as shown in Figure 2, comprise that step has:
Step S401 opens range sensor and converses.
Whether step S402, judging distance transducer detect near state, if execution in step S403 then, otherwise execution in step S404.In the present embodiment, described range sensor is that light value detects range sensor.
Step S403 if detect near state, then directly switches to screen and goes out the screen state and withdraw from flow process from the bright screen state.
Step S404, if do not detect near state, the system of at 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) with system's 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 the 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 between upper limit light threshold value and the lower limit light threshold value certain intervals threshold value M need be arranged, otherwise can near state and away from the critical point of state on stable not, to meet the purpose of range sensor operation principle.The upper limit light threshold value of adjusting is set during beginning is the upper limit threshold of acquiescence: current_hi_threshold=hi_threshold.
Step S405, (when i rank arrives) triggers timer when i T/N arrives constantly, carry out timing function, i=i+1 is set in timing function, and will be near upper limit light threshold value minimizing predetermined value or the predetermined ratio of state-detection apart from correspondence, current_hi_threshold=(1-X%) current_hi_threshold for example namely regulates upper limit light threshold value and makes it to reduce X% (for example 5%).
Step S406 judges (i<=n﹠amp; ﹠amp; Current_hi_threshold>low_thresldhold+M) whether set up simultaneously, namely judge i<=N and regulate after the predetermined large M of lower limit light threshold value of upper limit light threshold ratio more than whether can set up simultaneously, if set up simultaneously then execution in step S407, otherwise execution in step S408.
Step S407, according to the upper limit light threshold value after regulating, whether the judging distance transducer detects near state, if detect then execution in step S409 of close state, otherwise turn back to step S405, carry out i+1 time dynamic adjustments threshold value, until (i<=n﹠amp; ﹠amp; Current_hi_threshold>low_thresldhold+M) is the false flow process that just withdraws from.
Step S408 does not detect yet near state after the screen time T arrives if system goes out, and then screen is switched to the screen state that goes out with the saving power consumption from the bright screen state, and finishes whole flow process.Represent the i time (i is the last number of times of regulating threshold value) regulate threshold value after range sensor still detect away from state the not close head of range sensor when conversation be described.Automatically time is up can cause the portable terminal screen that automatically goes out for the screen that goes out of system setting this moment.
Step S409 if detect near state, then switches to the screen state that goes out with screen from the bright screen state after regulating near the state-detection distance.At this moment, the expression range sensor is the screen so that portable terminal goes out, can produce this moment near interrupting.
Step S410, the cancellation timer, thereby and call the flow process that upper limit light threshold value that the upper limit light threshold value of range calibration interface after with current adjusting be made as acquiescence is finished whole dynamic adjustments threshold value, to guarantee the reliability of range sensor, be the calibration that range sensor re-starts upper limit threshold, detect with amended upper limit light threshold value in the future.
Step S411, behind talk-through, whether the judging distance transducer detects away from state, if execution in step S412 then, otherwise continue to carry out this step S411.
Step S412 if detect away from state, then switches to the bright screen state with screen from the screen state that goes out, and the user can normally use portable terminal 100 again like this.
In sum, the present invention is by dynamic adjustments range sensor threshold value, namely in the screen time T is gone out in system, the close state-detection distance of range sensor is increased predetermined value or predetermined ratio at least, in order to be more prone to detect near state, thereby avoid portable terminal when conversation range sensor undetected near state, the automatic problem of bright screen of portable terminal behind the talk-through that causes.Whereby, portable terminal of the present invention can increase because detecting near automatically the go out possibility of screen of state in when conversation, and therefore when talk-through and portable terminal left head, portable 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 does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make 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. the method for a dynamic adjustments range sensor threshold value is characterized in that, comprises that step has:
The first determining step when the unlatching range sensor is conversed, judges whether described range sensor detects near state;
The threshold value regulating step, if do not detect described near state, then in the screen time T is gone out in predetermined system, with close the state-detection of described range sensor apart from increasing at least predetermined value or predetermined ratio;
The second determining step, according to the described close state-detection distance after each adjusting, it is described near state to judge whether described range sensor detects;
The first screen step of going out if describedly detect after near the state-detection distance describedly near state regulating, then switches to the screen state that goes out with screen from the bright screen state;
The second screen step of going out does not detect describedly near state yet after the screen time T arrives if described system goes out, then screen is switched to the screen state that goes out from the bright screen state.
2. method according to claim 1 is characterized in that, also comprises after described the first determining step:
The 3rd screen step of going out if detect describedly near state, then switches to the screen state that goes out with screen from the bright screen state.
3. method according to claim 1 is characterized in that, described first screen that goes out also comprises after the step:
The 3rd determining step behind described talk-through, judges whether described range sensor detects away from state;
The bright screen step if detect describedly away from state, then switches to described bright screen state with described screen from the described screen state that goes out.
4. each described method is characterized in that according to claim 1~3, and 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 are 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 reduce predetermined value or predetermined ratio near state-detection apart from the upper limit light threshold value of correspondence with described;
Described the second determining step further comprises:
C, judge i<=N and regulate after the predetermined large M of lower limit light threshold value of described upper limit light threshold ratio more than whether can set up simultaneously, if set up simultaneously then execution in step D, otherwise carry out the described second screen step of going out;
D, according to the described upper limit light threshold value after regulating, it is described near state to judge whether described range sensor detects, and describedly then carries out the described first screen step of going out near state if detect, otherwise turns back to described step B.
5. method according to claim 4 is characterized in that, described first screen that goes out also comprises after the step:
Recalibrate step, cancel described timer, and call the upper limit light threshold value that the described upper limit light threshold value of range calibration interface after with current adjusting is made as acquiescence.
6. a portable terminal is characterized in that, includes:
The first judge module is used for when the unlatching range sensor is conversed, and judges whether described range sensor detects near state;
The threshold value adjustment module, be used for not detecting described during near state, in the screen time T is gone out in predetermined system, with close the state-detection of described range sensor apart from increasing at least predetermined value or predetermined ratio;
The second judge module is used for according to the described close state-detection distance after each the adjusting, and it is described near state to judge whether described range sensor detects;
First panel module that goes out if be used for describedly detecting after near the state-detection distance describedly during near state regulating, switches to the screen state that goes out with screen from the bright screen state;
Second panel module that goes out goes out and does not detect yet describedly during near state after the screen time T arrives if be used for described system, and screen is switched to the screen state that goes out from the bright screen state.
7. portable terminal according to claim 6 is characterized in that, also comprises:
The 3rd panel module that goes out detects describedly during near state if be used for described the first judge module, and screen is switched to the screen state that goes out from the bright screen state.
8. portable terminal according to claim 6 is characterized in that, also comprises:
The 3rd judge module is used for going out panel module switches to described go out screen state and described talk-through with described screen from described bright screen state after when described first, judges whether described range sensor detects away from state;
The bright screen module if be used for detecting described during away from state, switches to described bright screen state with described screen from the described screen state that goes out.
9. each described portable terminal is characterized in that according to claim 6~8, and described threshold value adjustment module further comprises:
Submodule is set, does not detect describedly during near state if be used 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, be used for when i T/N arrives constantly, triggering described timer, i=i+1 is set, and with upper limit light threshold value minimizing predetermined value or the predetermined ratio of described close state-detection apart from correspondence;
Described the second judge module further comprises:
First judges submodule, be used for judging i<=N and regulate after the large M of lower limit light threshold value that is scheduled to of described upper limit light threshold ratio more than whether can set up simultaneously, if set up simultaneously and then transfer to second and judge that submodule processes, process otherwise transfer to described second panel module that goes out;
Second judges submodule, be used for according to the described upper limit light threshold value after regulating, it is described near state to judge whether described range sensor detects, and describedly then transfers to described first panel module that goes out near state and processes if detect, and processes otherwise transfer to described adjusting submodule.
10. portable terminal according to claim 9 is characterized in that, also comprises:
Recalibrate module, be used for going out after panel module switches to the described screen state that goes out with described screen from described bright screen state when described first, cancel described timer, and call the upper limit light threshold value that the described upper limit light threshold value of range calibration interface after with current adjusting is made as 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 true CN102917124A (en) 2013-02-06
CN102917124B 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)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal
CN103442136A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Method and system for dual calibration of proximity sensor
CN103837910A (en) * 2014-03-20 2014-06-04 深圳市金立通信设备有限公司 Method for determining threshold value of proximity sensor and terminal
CN104199644A (en) * 2014-08-13 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable terminal
CN104410750A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Screen brightness control method, device and terminal
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
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
CN105653033A (en) * 2015-12-29 2016-06-08 广东欧珀移动通信有限公司 Method and device for controlling screen bright and black of terminal
WO2016131285A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Method and apparatus for automatic adjustment of screen backlight
CN105975090A (en) * 2016-06-21 2016-09-28 广东欧珀移动通信有限公司 Event-reporting control method and device for proximity sensor and mobile terminal
CN106201019A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 The threshold value control method of a kind of proximity transducer and mobile terminal
CN106249872A (en) * 2016-07-12 2016-12-21 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN106453960A (en) * 2016-11-30 2017-02-22 惠州Tcl移动通信有限公司 Method and system for increasing responding speed of proximity sensor of mobile terminal
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and terminal
CN106775536A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of double screen changing method and device
CN106791053A (en) * 2016-12-07 2017-05-31 北京小米移动软件有限公司 The sensing threshold calibration method and device of range sensor
CN106850989A (en) * 2017-02-08 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control method and device
CN107087079A (en) * 2017-06-29 2017-08-22 深圳市泰衡诺科技有限公司上海分公司 Brightness control system and method under handsfree talk mode
CN107526522A (en) * 2017-08-15 2017-12-29 广东欧珀移动通信有限公司 Blank screen gesture identification method and device, and mobile terminal, storage medium
CN107943345A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
WO2019061536A1 (en) * 2017-09-30 2019-04-04 深圳市云中飞网络科技有限公司 Call processing method and related product
WO2019061102A1 (en) * 2017-09-27 2019-04-04 深圳市云中飞网络科技有限公司 Call processing method and related product
CN110286420A (en) * 2019-06-24 2019-09-27 Oppo广东移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN112511693A (en) * 2019-08-26 2021-03-16 北京小米移动软件有限公司 Screen turning method and device
CN112911035A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Signal transceiving component, electronic device and position adjusting method

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

Cited By (47)

* 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
CN103353621A (en) * 2013-06-14 2013-10-16 广东欧珀移动通信有限公司 Method for calibrating proximity sensor of mobile terminal, and mobile terminal
CN103442136A (en) * 2013-08-19 2013-12-11 惠州Tcl移动通信有限公司 Method and system for dual calibration of proximity sensor
CN103837910A (en) * 2014-03-20 2014-06-04 深圳市金立通信设备有限公司 Method for determining threshold value of proximity sensor and terminal
CN104199644A (en) * 2014-08-13 2014-12-10 联想(北京)有限公司 Information processing method and electronic equipment
CN106464754A (en) * 2014-09-26 2017-02-22 华为技术有限公司 Method, apparatus and device for correcting detection distance
CN106464754B (en) * 2014-09-26 2019-08-09 华为技术有限公司 A kind of method, device and equipment for calibrating detecting distance
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
CN105519086A (en) * 2014-09-30 2016-04-20 华为技术有限公司 Method and device for controlling proximity optical sensor, and mobile terminal
CN105519086B (en) * 2014-09-30 2019-04-16 华为技术有限公司 Close to the control method of optical sensor, device and mobile terminal
CN104410750A (en) * 2014-10-30 2015-03-11 广东欧珀移动通信有限公司 Screen brightness control method, device and terminal
CN104410750B (en) * 2014-10-30 2017-05-17 广东欧珀移动通信有限公司 Screen brightness control method, device and terminal
CN104407399A (en) * 2014-12-02 2015-03-11 三星半导体(中国)研究开发有限公司 Method for calibrating proximity sensor in portable 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
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
WO2016131285A1 (en) * 2015-07-21 2016-08-25 中兴通讯股份有限公司 Method and apparatus for automatic adjustment of screen backlight
CN105653033A (en) * 2015-12-29 2016-06-08 广东欧珀移动通信有限公司 Method and device for controlling screen bright and black of 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
CN106201019A (en) * 2016-06-28 2016-12-07 广东欧珀移动通信有限公司 The threshold value control method of a kind of proximity transducer 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
CN106249872A (en) * 2016-07-12 2016-12-21 广东欧珀移动通信有限公司 The control method of a kind of proximity transducer, device and mobile terminal
CN106443639A (en) * 2016-09-26 2017-02-22 深圳市金立通信设备有限公司 Distance calibration method and 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
CN106453960A (en) * 2016-11-30 2017-02-22 惠州Tcl移动通信有限公司 Method and system for increasing responding speed of proximity sensor of mobile terminal
CN106791053A (en) * 2016-12-07 2017-05-31 北京小米移动软件有限公司 The sensing threshold calibration method and device of range sensor
CN106775536A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of double screen changing method and device
CN106775536B (en) * 2016-12-26 2020-07-03 宇龙计算机通信科技(深圳)有限公司 Double-screen switching method and device
US10861376B2 (en) 2017-02-08 2020-12-08 Guangdong Oppo Mobile Telecommunications Corp., Ltd. State control method and device for display screen, storage medium and electronic device
CN106850989A (en) * 2017-02-08 2017-06-13 广东欧珀移动通信有限公司 Display screen condition control 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
CN107087079A (en) * 2017-06-29 2017-08-22 深圳市泰衡诺科技有限公司上海分公司 Brightness control system and method under handsfree talk mode
CN107526522A (en) * 2017-08-15 2017-12-29 广东欧珀移动通信有限公司 Blank screen gesture identification method and device, and mobile terminal, storage medium
WO2019061102A1 (en) * 2017-09-27 2019-04-04 深圳市云中飞网络科技有限公司 Call processing method and related product
WO2019061536A1 (en) * 2017-09-30 2019-04-04 深圳市云中飞网络科技有限公司 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
CN107943345A (en) * 2017-11-22 2018-04-20 广东欧珀移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN110286420A (en) * 2019-06-24 2019-09-27 Oppo广东移动通信有限公司 Calibration method, device, storage medium and the electronic equipment of proximity sensor
CN110286420B (en) * 2019-06-24 2022-03-18 Oppo广东移动通信有限公司 Method and device for calibrating proximity sensor, storage medium and electronic equipment
CN112511693A (en) * 2019-08-26 2021-03-16 北京小米移动软件有限公司 Screen turning method and device
CN112511693B (en) * 2019-08-26 2022-04-08 北京小米移动软件有限公司 Screen turning method and device
CN112911035A (en) * 2021-01-21 2021-06-04 维沃移动通信有限公司 Signal transceiving component, electronic device and position adjusting method

Also Published As

Publication number Publication date
CN102917124B (en) 2014-11-26

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
CN102957799B (en) A kind of mobile terminal and control method thereof
CN101951444A (en) Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN104866212A (en) Method for fast calling program or function and system thereof
CN103369142A (en) Method and system for avoiding call-up malfunction
CN101854430A (en) Mobile phone and incoming call processing method thereof
CN104601195A (en) Antenna control method and device
CN105204632B (en) Method for controlling intelligent mobile terminal to enter silent mode and wearable device
CN102446396B (en) Method and system for controlling electronic equipment by mobile terminal and mobile terminal
CN101938559A (en) Terminal control method, terminal control device and terminal
CN102946630A (en) Mobile terminal and power management method thereof
CN103167128A (en) System and method for achieving automatic sleep of mobile phone based on proximity sensor
CN103516861A (en) Handheld device and its control method for automatically answering phone and locking touch screen
CN105847535A (en) Display screen brightness adjusting method and mobile terminal
CN105323837A (en) Intermittent networking method and system
CN104994240A (en) Proximity detector power saving control method and system based on mobile terminal
CN104506987A (en) Smart earphone control method and smart earphone
CN103105922A (en) Method and device for mobile terminal backlight control
CN104699388A (en) Terminal theme adjusting method and system
CN104135799A (en) Breathing lamp control method and intelligent terminal
CN105825833A (en) Brightness adjustment method and terminal
CN104767867A (en) Automatic mobile phone sleep method and device

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