CN104202480A - Adaptively-calibrated distance measurement method and handheld calling type communication equipment - Google Patents
Adaptively-calibrated distance measurement method and handheld calling type communication equipment Download PDFInfo
- Publication number
- CN104202480A CN104202480A CN201410466845.XA CN201410466845A CN104202480A CN 104202480 A CN104202480 A CN 104202480A CN 201410466845 A CN201410466845 A CN 201410466845A CN 104202480 A CN104202480 A CN 104202480A
- Authority
- CN
- China
- Prior art keywords
- threshold values
- distance
- away
- influence value
- current
- 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
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses an adaptively-calibrated distance measurement method and handheld calling type communication equipment. The adaptively-calibrated distance measurement method includes the steps of starting, namely, opening a distance sensing function by means of making a call; calibrating, namely, executing adaptive distance sensing calibration; enabling a distance sensor; applying to a central processor and enabling distance sensing to interrupt access; when the distance sensor is in data change, requesting the central processor to read a current sensing value of the distance sensor; utilizing the central processor for comparing the current read distance sensing value with a set current near threshold and a set current far threshold; utilizing the central processor for controlling screen display and touch screen functions according to a far state or near state; terminating the call. The adaptively-calibrated distance measurement method has the advantages that after an adaptive calibrating process is utilized, the thresholds of the distance sensor are adjusted adaptively, and a judging process for the near state and the far state is more accurate; the need for depot repair resulting from using exception for a user is avoided, and cost is saved for the user and a manufacturer.
Description
Technical field
The present invention relates to a kind of distance-finding method of communication apparatus, more particularly refer to a kind of distance-finding method and hand-held call type communication apparatus of self-adaptation type calibration.
Background technology
Along with New Times social development, capacitance touch screen is widely applied on mobile phone, thereby people's face very occurs misoperation near touch screen when receiving calls.General by a range sensor, numerical value while measuring other object to mobile phone close according to range sensor, with fixed range threshold values to perception mobile phone recently whether near other objects, when close, just close background light and touch screen, away from time just open background light and touch screen, thereby avoid misoperation.Variation along with the difference of mobile phone material, the growth of service time and environment for use, capital makes the data that range sensor reads occur inaccurate situation, thereby make mobile phone according to reading out data judgement away from occurring deviation when near object, just there will be obviously mobile phone away from object, and mobile phone according to data be judged as near or away from time occur abnormal.When there is this kind of problem, usual practice is that after going wrong, the distance threshold values in update software is raised, then the software that upgrades cellphone subscriber solves this problem.And such solution, user go wrong and complain after just achieve a solution, periodically long, problem scope is wide, and producer bears possibly and reprocess or software upgrading expense, cost is high.
Summary of the invention
The object of the invention is to overcome the defect of prior art, a kind of distance-finding method of self-adaptation type calibration is provided.
The present invention further provides a kind of hand-held communication type communication apparatus.
For achieving the above object, the present invention is by the following technical solutions:
The distance-finding method of self-adaptation type calibration, when the receiver that this distance-finding method is located at body for hand-held call type communication apparatus use is conversed, the range finding between body and human body, comprises the following steps:
Step 100, initial work, by calling, handset starting voice call function, and open apart from inducing function;
Step 101, calibration operation, carries out self adaptation distance perspective and answers calibration steps, and self adaptation distance perspective should be calibrated and be comprised following process:
Step 200, enables distance perspective and should calibrate the register startup work needing;
Step 201, reads the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Step 202, arranges the abnormal threshold values of calibration, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Step 203, judges whether average distance influence value is greater than the abnormal threshold values of calibration, if so, enters step 204, if not, enter step 205;
Step 204, carries out abnormal conditions processing, and it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then enters step 206;
Step 205, it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and self-adaptation type away from threshold values that self-adaptation type is set; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Step 206, adaptive calibration completes;
Step 102, enables distance-sensor;
Step 103, to central processing unit application and enable distance perspective and should interrupt entering;
Step 104, when distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request central processing unit reads current distance inductor;
Step 105, central processing unit is according to the close current threshold values of the current distance influence value reading and setting and compare away from current threshold values, by relatively entering relevant state, when being greater than near current threshold values apart from influence value, enters near state; When being less than away from current threshold values apart from influence value, enter away from state;
Step 106, central processing unit judges whether current state variation has occurred, if state is by being when the state away from state-transition, central processing unit cuts out screen display and touch screen function; If state is by be during away from state near state-transition, central processing unit unlatching screen display and touch screen function;
Step 107, end of conversation, hangs up the telephone and nullifies that the distance perspective of having applied for should be interrupted, monitor, discharges the resource of application.
Preferably, described initialization is the influence value while being provided with barrier at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier at distance-sensor front end 3-3.5cm place away from threshold values.
Preferably, described distance-sensor is infrared ray distance-sensor or ultrasonic distance inductor; Described hand-held call type communication apparatus is mobile phone, or with panel computer, the PDA of speech communication function.
Preferably, the induction maximum limit that the abnormal threshold values of described calibration is distance-sensor 50% to 100% between arbitrary numerical value.
Self adaptation distance perspective of the present invention is answered calibration steps, by be provided with control button on hand-held communication type communication apparatus, by this control button, carry out triggering signal, or by touching handset touch panel input instruction, so that hand-held communication type communication apparatus is carried out self adaptation distance perspective, answer calibration process, concrete calibration process comprises the following steps:
Step 200, enables distance perspective and should calibrate the register startup work needing;
Step 201, reads the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Step 202, arranges the abnormal threshold values of calibration, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Step 203, judges whether average distance influence value is greater than the abnormal threshold values of calibration, if so, enters step 204, if not, enter step 205;
Step 204, carries out abnormal conditions processing, and it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then enters step 206;
Step 205, it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and self-adaptation type away from threshold values that self-adaptation type is set; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Step 206, adaptive calibration completes.
A kind of hand-held communication type of the present invention communication apparatus, this hand-held call type communication apparatus is included in while using the receiver be located at body to converse, and to the range cells of finding range between body and human body, described range cells comprises with lower module:
Starting module, for initial work, by calling, handset starting voice call function, and open apart from inducing function;
Calibration module, for calibration operation, carries out self adaptation distance perspective and answers calibration steps, and calibration module comprises following submodule:
Calibration promoter module, should calibrate for enabling distance perspective the register startup work needing;
Be averaging influence value submodule, for reading the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Abnormal threshold values submodule, for the abnormal threshold values of calibration is set, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Judgement submodule, for judging whether average distance influence value is greater than the abnormal threshold values of calibration, and if so, execute exception arranges submodule, if not, carry out self adaptation submodule is set;
Submodule is set extremely, and for carrying out abnormal conditions processing, it is close the current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then submodule has been calibrated in execution;
Self adaptation arranges submodule, for self-adaptation type is set, near threshold values and self-adaptation type, away from threshold values, is the close current threshold values that uses of current environment and away from current threshold values; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Calibrated submodule, for adaptive calibration, completed;
Enable module, for enabling distance-sensor;
Interrupt module, for to central processing unit application and enable distance perspective and should interrupt entering;
Read module, for when distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request central processing unit reads current distance inductor;
Comparison module,, by relatively entering relevant state, when being greater than near current threshold values apart from influence value, enters near state according to the close current threshold values of the current distance influence value reading and setting with compare away from current threshold values for central processing unit; When being less than away from current threshold values apart from influence value, enter away from state;
Handover module, judges for central processing unit whether current state variation has occurred, if state is by being when the state away from state-transition, central processing unit cuts out screen display and touch screen function; If state is by be during away from state near state-transition, central processing unit unlatching screen display and touch screen function;
Finish module, for end of conversation, hang up the telephone and nullify that the distance perspective of having applied for should be interrupted, monitor, discharge the resource of application.
Preferably, described initialization is the influence value while being provided with barrier at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier at distance-sensor front end 3-3.5cm place away from threshold values.
Preferably, described distance-sensor is infrared ray distance-sensor.
Preferably, described hand-held call type communication apparatus is mobile phone, or with panel computer, the PDA of speech communication function.
Preferably, the induction maximum limit that the abnormal threshold values of described calibration is distance-sensor 50% to 100% between arbitrary numerical value.
The present invention's beneficial effect is compared with prior art: after distance-finding method of the present invention has been used adaptive calibration process, the threshold values of the inductor of adjusting the distance has carried out self adaptation adjustment, near state and the deterministic process away from state, more accurate.In mobile phone use procedure, while conversing, distance perspective should all can be calibrated according to current environment at every turn, can adapt to the environment of multiple variation, has promoted user's experience.Avoid user to use and extremely caused needing depot repair, saved the cost of user and manufacturer.
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
Accompanying drawing explanation
Fig. 1 is the influence value of the distance-sensor specific embodiment that adopts of the present invention and the curve chart between shelter distance;
Fig. 2 is the ranging process schematic diagram of the distance-finding method specific embodiment of self-adaptation type calibration of the present invention;
Fig. 3 is the calibration process schematic diagram in Fig. 2 embodiment;
Fig. 4 is the structural representation of hand-held communication type communication apparatus specific embodiment range cells of the present invention.
Embodiment
In order to more fully understand technology contents of the present invention, below in conjunction with specific embodiment, technical scheme of the present invention is further introduced and explanation, but be not limited to this.
In conjunction with Fig. 2 to Fig. 3, understand the particular content of distance-finding method of the present invention.
Core concept of the present invention is: when mobile phone dialing phone or while receiving calls, Distance-sensing module in mobile phone main body (being distance-sensor) arranges near (D is close) with away from the threshold values of (D away from) according to current environment, therefore according to environment, dynamically arranges threshold values and can reach and below various adverse circumstances, guarantee can both normally work apart from induction module.During due to the call of use earphone or bluetooth equipment call, distance-sensor can't be worked, so we only consider the situation under user's normal talking.
Concrete operating procedure is as follows:
1) first call and open apart from inducing function (entering step 100); After talk application program (APP) starts, the monitor that will change in distance-sensor of power management services thread application of system (operating system of mobile phone).The corresponding processing method of monitor will be called when the value of distance-sensor changes, and is used for processing to processing method that should event.After distance-sensor is reported to central processing unit (CPU) to be answered monitor to listen to by distance perspective away from state (S is away from state) or near state (S is near state), central processing unit (CPU) end will be carried out monitor method and close screen and touch function.
2) carry out self adaptation distance perspective and answer calibration steps (entering step 101); The idiographic flow that self adaptation distance perspective is answered calibration steps is as shown in Figure 3:
A, enable distance perspective and should calibrate the relevant register (entering step 200) needing; After only enabling the relevant register of range calibration needs, could normally read the influence value that distance perspective should be front.
B, read the average distance influence value (D average detected) (entering step 201) of current environment; Detect current distance influence value (D detections) blocking without any object to call, and read the average distance influence value (D average detected=(D detects 1+D and detects 2+D detection 3)/3) that 3 influence values calculate current environment.
C, arrange calibration abnormal threshold values (entering step 202); When calibration lived by clothes or stick shift, the average distance influence value that adaptive calibration reads (D average detected) will approach induction pole limit value (Dmax).And then according to average distance influence value (D average detected), arrange near (D is close) with away from the threshold values of (D away from), this will cause that this speech range Quorum Sensing is blunt and cannot normally use (how can to introduce in detail below by average distance influence value (D average detected) close (D is close) is set and away from the threshold values of (D away from)).Such as, when adaptive calibration, work as and have shelter to be set to calibrate abnormal threshold values near distance-sensor to 0.5 centimetre (L calibration is abnormal), it is 800 (D calibration is abnormal) near required 0.5 centimetre of distance perspective (L calibration is abnormal) respective distances influence value that object is blocked in detection, then each call arranges near before (D is close) and the threshold values away from (D away from), must judge whether average distance influence value (D average detected) is greater than the abnormal threshold values 800 of calibration (D calibrates extremely) and enters step 203.Be greater than for abnormal conditions are processed, be set to system default near (D is close) and the close current threshold values using for current environment away from the threshold values (entering step 204) of (D away from) with away from current threshold values, be less than and carry out GN Normal Alignment processing (below D how partly can introduce in detail GN Normal Alignment processing).Now, distance-sensor can also can normally be worked below a lot of abnormal environment.
D, current environment is set near (D is close) with away from the threshold values (entering step 205) of (D away from); The use habit of answering according to user, near the general corresponding people's face of threshold values (D is close) and distance-sensor physics actual range, being 2.5 centimetres (L is close), is 3 centimetres (L away from) away from the general corresponding people's face of threshold values (D away from) and distance-sensor physics actual range.The average distance influence value of normal unobstructed environment (D average detected) is 0, while then having object to block, detect the height of answering with distance perspective and be the distance influence value of 2.5 centimetres (L is close) and 3 centimetres (L away from), be respectively 120 (D initialization is close) and 60 (D initialization away from).From then on can draw near (D is close) with away from the relation of threshold values with the average influence value (D average detected) of (D away from), as follows: D is near (near current threshold values)=D average detected+120, and D is away from (away from current threshold values)=D average detected+60.Have after such corresponding relation, before each call, can this call be set near (D is close) with away from the threshold values of (D away from) according to the average distance influence value (D average detected) that detects current environment, in the time of can guaranteeing to converse like this, distance-sensor can both be worked normally at every turn.The light transmittance of supposing touch-screen is extremely bigger than normal, causing without any average distance influence value (D average detected) that blocks environment is 220, through above algorithm D close=close threshold values (D is close) that D average detected+120 and D can calculate this call away from=D average detected+60 is 340, away from threshold values (D away from), be 280.When user calls people's face near distance-sensor 2.5 centimetres (L is close) like this, detect apart from influence value and be greater than near threshold values 340 (D is close) and will close screen and touch screen function, again when people's face is greater than 3 centimetres (L away from) away from the height with distance-sensor, detect apart from influence value and be less than away from threshold values 280 (D away from) and will open screen and touch function, the phenomenon that the distance perspective in the time of just can having avoided this touch-screen light transmittance abnormal completely by this mechanism should be used.So far adaptive calibration completes (entering step 206).
3) enable distance-sensor (entering step 102); Distance-sensor can be worked after only having the register that initialization enable register, emission current register and pulse number register etc. are relevant normally.
4) to central processing unit (CPU), apply for and enable distance perspective and should interrupt (entering step 103); When distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request (entering step 104) central processing unit (CPU) reads current distance inductor.Central processing unit (CPU) compares near (D is close) with away from the threshold values of (D away from) according to the current distance influence value reading and setting, by relatively obtaining current state (entering step 105), as: away from state (S is away from state) or near state (S is near state).Central processing unit (CPU) judges whether current state variation has occurred, if state is by changing into away from state (S is away from state) when the state (S is near state), central processing unit (CPU) will cut out screen display and touch screen function.In like manner, if when state changes into away from state (S is away from state) by close state (S is near state), central processing unit (CPU) will be opened screen display and touch screen function (entering step 106).
5) end of conversation, hang up the telephone and nullify the distance perspective of having applied for should interruption, the resource (entering step 107) of monitor and some related applications of release.
Finally, after adaptive calibration, not only reduce the abnormal probability of appearance of distance-sensor, more can promote user's experience.
Wherein, initialization can be the influence value while being provided with barrier (being shelter) at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier (being shelter) at distance-sensor front end 3-3.5cm place away from threshold values.Distance-sensor can be infrared ray distance-sensor or ultrasonic distance inductor.The inventive method can for hand-held call type communication apparatus be mobile phone, or with panel computer, the PDA of speech communication function.Calibrate abnormal threshold values and be distance-sensor induction maximum limit 50% to 100% between arbitrary numerical value.
In other embodiment, can be provided with control button at mobile phone, or by touching handset touch panel input instruction, the process (performing step 200 to step 206) that should calibrate to carry out separately self adaptation distance perspective, after self adaptation distance perspective should be calibrated, close the current threshold values that current environment is used and storing away from current threshold values, is used when playing phone; While adopting such technical scheme, while playing phone, needn't to it, carry out adaptive calibration in real time again.
As shown in Figure 4, a kind of hand-held communication type of the present invention communication apparatus, this hand-held call type communication apparatus is included in while using the receiver be located at body to converse, and to the range cells of finding range between body and human body, range cells comprises with lower module:
Starting module, for initial work, by calling, handset starting voice call function, and open apart from inducing function;
Calibration module, for calibration operation, carries out self adaptation distance perspective and answers calibration steps;
Enable module, for enabling distance-sensor;
Interrupt module, for to central processing unit application and enable distance perspective and should interrupt entering;
Read module, for when distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request central processing unit reads current distance inductor;
Comparison module,, by relatively entering relevant state, when being greater than near current threshold values apart from influence value, enters near state according to the close current threshold values of the current distance influence value reading and setting with compare away from current threshold values for central processing unit; When being less than away from current threshold values apart from influence value, enter away from state;
Handover module, judges for central processing unit whether current state variation has occurred, if state is by being when the state away from state-transition, central processing unit cuts out screen display and touch screen function; If state is by be during away from state near state-transition, central processing unit unlatching screen display and touch screen function;
Finish module, for end of conversation, hang up the telephone and nullify that the distance perspective of having applied for should be interrupted, monitor, discharge the resource of application.
Calibration module wherein comprises following submodule:
Calibration promoter module, should calibrate for enabling distance perspective the register startup work needing;
Be averaging influence value submodule, for reading the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Abnormal threshold values submodule, for the abnormal threshold values of calibration is set, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Judgement submodule, for judging whether average distance influence value is greater than the abnormal threshold values of calibration, and if so, execute exception arranges submodule, if not, carry out self adaptation submodule is set;
Submodule is set extremely, and for carrying out abnormal conditions processing, it is close the current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then submodule has been calibrated in execution;
Self adaptation arranges submodule, for self-adaptation type is set, near threshold values and self-adaptation type, away from threshold values, is the close current threshold values that uses of current environment and away from current threshold values; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Calibrated submodule, for adaptive calibration, completed.
Preferably, described initialization is the influence value while being provided with barrier at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier at distance-sensor front end 3-3.5cm place away from threshold values.
Preferably, described distance-sensor is infrared ray distance-sensor.
Preferably, described hand-held call type communication apparatus is mobile phone, or with panel computer, the PDA of speech communication function.
Preferably, the induction maximum limit that the abnormal threshold values of described calibration is distance-sensor 50% to 100% between arbitrary numerical value.
In sum; when the individual light transmittance of touch-screen is abnormal or light-conductive hole is difficult for printing opacity pad pasting, grease is dirty while blocking; capital causes distance-sensor to be operated in abnormal state; but after distance-finding method adaptive calibration process of the present invention; the threshold values of inductor of adjusting the distance has carried out self adaptation adjustment; in near state and the deterministic process away from state, more accurate.In mobile phone use procedure, while conversing, distance perspective should all can be calibrated according to current environment at every turn, can adapt to the environment of multiple variation, has promoted user's experience.Not only improve the compatibility that distance perspective is answered, but also avoided user to use, extremely caused needing depot repair, saved the cost of user and manufacturer.
Above-mentionedly only with embodiment, further illustrate technology contents of the present invention, so that reader is easier to understand, but do not represent that embodiments of the present invention only limit to this, any technology of doing according to the present invention is extended or recreation, is all subject to protection of the present invention.Protection scope of the present invention is as the criterion with claims.
Claims (10)
1. the distance-finding method that self-adaptation type is calibrated, when the receiver that this distance-finding method is located at body for hand-held call type communication apparatus use is conversed, the range finding between body and human body, comprises the following steps:
Step 100, initial work, by calling, handset starting voice call function, and open apart from inducing function;
Step 101, calibration operation, carries out self adaptation distance perspective and answers calibration steps, and self adaptation distance perspective should be calibrated and be comprised following process:
Step 200, enables distance perspective and should calibrate the register startup work needing;
Step 201, reads the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Step 202, arranges the abnormal threshold values of calibration, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Step 203, judges whether average distance influence value is greater than the abnormal threshold values of calibration, if so, enters step 204, if not, enter step 205;
Step 204, carries out abnormal conditions processing, and it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then enters step 206;
Step 205, it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and self-adaptation type away from threshold values that self-adaptation type is set; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Step 206, adaptive calibration completes;
Step 102, enables distance-sensor;
Step 103, to central processing unit application and enable distance perspective and should interrupt entering;
Step 104, when distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request central processing unit reads current distance inductor;
Step 105, central processing unit is according to the close current threshold values of the current distance influence value reading and setting and compare away from current threshold values, by relatively entering relevant state, when being greater than near current threshold values apart from influence value, enters near state; When being less than away from current threshold values apart from influence value, enter away from state;
Step 106, central processing unit judges whether current state variation has occurred, if state is by being when the state away from state-transition, central processing unit cuts out screen display and touch screen function; If state is by be during away from state near state-transition, central processing unit unlatching screen display and touch screen function;
Step 107, end of conversation, hangs up the telephone and nullifies that the distance perspective of having applied for should be interrupted, monitor, discharges the resource of application.
2. distance-finding method according to claim 1, is characterized in that described initialization is the influence value while being provided with barrier at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier at distance-sensor front end 3-3.5cm place away from threshold values.
3. distance-finding method according to claim 1, is characterized in that described distance-sensor is infrared ray distance-sensor or ultrasonic distance inductor; Described hand-held call type communication apparatus is mobile phone, or with panel computer, the PDA of speech communication function.
4. distance-finding method according to claim 1, it is characterized in that induction maximum limit that the described abnormal threshold values of calibration is distance-sensor 50% to 100% between arbitrary numerical value.
5. self adaptation distance perspective is answered calibration steps, by be provided with control button on hand-held communication type communication apparatus, by this control button, carry out triggering signal, or by touching handset touch panel input instruction, so that hand-held communication type communication apparatus is carried out self adaptation distance perspective, answer calibration process, concrete calibration process comprises the following steps:
Step 200, enables distance perspective and should calibrate the register startup work needing;
Step 201, reads the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Step 202, arranges the abnormal threshold values of calibration, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Step 203, judges whether average distance influence value is greater than the abnormal threshold values of calibration, if so, enters step 204, if not, enter step 205;
Step 204, carries out abnormal conditions processing, and it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then enters step 206;
Step 205, it is the close current threshold values that uses of current environment and away from current threshold values near threshold values and self-adaptation type away from threshold values that self-adaptation type is set; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Step 206, adaptive calibration completes.
6. hand-held communication type communication apparatus, this hand-held call type communication apparatus is included in while using the receiver of being located at body to converse, and to the range cells of finding range between body and human body, described range cells comprises with lower module:
Starting module, for initial work, by calling, handset starting voice call function, and open apart from inducing function;
Calibration module, for calibration operation, carries out self adaptation distance perspective and answers calibration steps, and calibration module comprises following submodule:
Calibration promoter module, should calibrate for enabling distance perspective the register startup work needing;
Be averaging influence value submodule, for reading the average distance influence value of current environment: detect current distance influence value blocking without any object to call, and at least read the average distance influence value that 3 influence values calculate current environment;
Abnormal threshold values submodule, for the abnormal threshold values of calibration is set, for judging whether average distance influence value arranges an abnormal threshold values of calibration extremely;
Judgement submodule, for judging whether average distance influence value is greater than the abnormal threshold values of calibration, and if so, execute exception arranges submodule, if not, carry out self adaptation submodule is set;
Submodule is set extremely, and for carrying out abnormal conditions processing, it is close the current threshold values that uses of current environment and away from current threshold values near threshold values and initialization away from threshold values that initialization is set, then submodule has been calibrated in execution;
Self adaptation arranges submodule, for self-adaptation type is set, near threshold values and self-adaptation type, away from threshold values, is the close current threshold values that uses of current environment and away from current threshold values; Self-adaptation type near the influence value+initialization of threshold values=average distance near threshold values; Self-adaptation type away from the influence value+initialization of threshold values=average distance away from threshold values;
Calibrated submodule, for adaptive calibration, completed;
Enable module, for enabling distance-sensor;
Interrupt module, for to central processing unit application and enable distance perspective and should interrupt entering;
Read module, for when distance-sensor has data variation, distance perspective should produce the influence value that an interrupt event request central processing unit reads current distance inductor;
Comparison module,, by relatively entering relevant state, when being greater than near current threshold values apart from influence value, enters near state according to the close current threshold values of the current distance influence value reading and setting with compare away from current threshold values for central processing unit; When being less than away from current threshold values apart from influence value, enter away from state;
Handover module, judges for central processing unit whether current state variation has occurred, if state is by being when the state away from state-transition, central processing unit cuts out screen display and touch screen function; If state is by be during away from state near state-transition, central processing unit unlatching screen display and touch screen function;
Finish module, for end of conversation, hang up the telephone and nullify that the distance perspective of having applied for should be interrupted, monitor, discharge the resource of application.
7. hand-held communication type communication apparatus according to claim 6, is characterized in that described initialization is the influence value while being provided with barrier at distance-sensor front end 2-2.5cm place near threshold values; Initialization is the influence value while being provided with barrier at distance-sensor front end 3-3.5cm place away from threshold values.
8. hand-held communication type communication apparatus according to claim 6, is characterized in that described distance-sensor is infrared ray distance-sensor or ultrasonic distance inductor.
9. hand-held communication type communication apparatus according to claim 6, is characterized in that described hand-held call type communication apparatus is mobile phone, or with panel computer, the PDA of speech communication function.
10. hand-held communication type communication apparatus according to claim 6, it is characterized in that induction maximum limit that the described abnormal threshold values of calibration is distance-sensor 50% to 100% between arbitrary numerical value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410466845.XA CN104202480B (en) | 2014-09-12 | 2014-09-12 | The distance-finding method of self-adaptation type calibration and hand-held call type communication apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410466845.XA CN104202480B (en) | 2014-09-12 | 2014-09-12 | The distance-finding method of self-adaptation type calibration and hand-held call type communication apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104202480A true CN104202480A (en) | 2014-12-10 |
CN104202480B CN104202480B (en) | 2016-08-24 |
Family
ID=52087705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410466845.XA Active CN104202480B (en) | 2014-09-12 | 2014-09-12 | The distance-finding method of self-adaptation type calibration and hand-held call type communication apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104202480B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105628079A (en) * | 2015-12-30 | 2016-06-01 | 上海闻泰电子科技有限公司 | Dynamic calibration method of distance sensor |
CN105791515A (en) * | 2014-12-22 | 2016-07-20 | 青岛海信移动通信技术股份有限公司 | Screen state control method for terminal equipment and terminal equipment |
CN106546970A (en) * | 2016-10-19 | 2017-03-29 | 北京小米移动软件有限公司 | The ultrasound wave calibration steps of mobile device and device |
CN107102864A (en) * | 2017-05-16 | 2017-08-29 | 广东欧珀移动通信有限公司 | One kind puts out screen control method, device, storage medium and terminal |
CN110501035A (en) * | 2018-05-18 | 2019-11-26 | 好庆科技企业股份有限公司 | The auto-correction method of sensor and sensor |
CN110610563A (en) * | 2019-08-06 | 2019-12-24 | 珠海格力电器股份有限公司 | Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932527A (en) * | 2012-09-24 | 2013-02-13 | 惠州Tcl移动通信有限公司 | Mobile terminal and calibration method of distance sensor thereof |
CN103442136A (en) * | 2013-08-19 | 2013-12-11 | 惠州Tcl移动通信有限公司 | Method and system for dual calibration of proximity sensor |
-
2014
- 2014-09-12 CN CN201410466845.XA patent/CN104202480B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932527A (en) * | 2012-09-24 | 2013-02-13 | 惠州Tcl移动通信有限公司 | Mobile terminal and calibration method of distance sensor thereof |
CN103442136A (en) * | 2013-08-19 | 2013-12-11 | 惠州Tcl移动通信有限公司 | Method and system for dual calibration of proximity sensor |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105791515A (en) * | 2014-12-22 | 2016-07-20 | 青岛海信移动通信技术股份有限公司 | Screen state control method for terminal equipment and terminal equipment |
CN105791515B (en) * | 2014-12-22 | 2019-06-28 | 青岛海信移动通信技术股份有限公司 | A kind of terminal device screen state control method and terminal device |
CN105628079A (en) * | 2015-12-30 | 2016-06-01 | 上海闻泰电子科技有限公司 | Dynamic calibration method of distance sensor |
CN105628079B (en) * | 2015-12-30 | 2021-07-30 | 上海闻泰电子科技有限公司 | Dynamic calibration method for distance sensor |
CN106546970A (en) * | 2016-10-19 | 2017-03-29 | 北京小米移动软件有限公司 | The ultrasound wave calibration steps of mobile device and device |
CN106546970B (en) * | 2016-10-19 | 2019-02-12 | 北京小米移动软件有限公司 | The ultrasonic wave calibration method and device of mobile device |
CN107102864A (en) * | 2017-05-16 | 2017-08-29 | 广东欧珀移动通信有限公司 | One kind puts out screen control method, device, storage medium and terminal |
US11011131B2 (en) | 2017-05-16 | 2021-05-18 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Off-screen control method determining signal intensity calibration value for filmed display screen |
CN110501035A (en) * | 2018-05-18 | 2019-11-26 | 好庆科技企业股份有限公司 | The auto-correction method of sensor and sensor |
CN110610563A (en) * | 2019-08-06 | 2019-12-24 | 珠海格力电器股份有限公司 | Method, device, equipment and storage medium for adjusting wake-up distance of electronic lock |
Also Published As
Publication number | Publication date |
---|---|
CN104202480B (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104202480A (en) | Adaptively-calibrated distance measurement method and handheld calling type communication equipment | |
EP2713586B1 (en) | Method and device for adjusting detecting threshold of infrared proximity sensor | |
CN107219515A (en) | The parameter calibrating method and terminal of a kind of range sensor | |
US8416203B2 (en) | Method and apparatus for preventing on-screen keys from being accidentally touched and recording medium using the same | |
EP3220251B1 (en) | Method and system based on mobile terminal for turning off screen during call to prevent inadvertent touch | |
CN103516861B (en) | Handheld device and its control method for automatically answering phone and locking touch screen | |
CN106101450B (en) | A kind of compensation method of ambient light intensity and mobile terminal | |
CN108391008B (en) | Message reminding method and mobile terminal | |
CN105827812A (en) | Communication mode switching method and mobile communication terminal | |
CN112415367B (en) | Drive chip abnormality detection method, drive chip abnormality detection device, electronic device and readable storage medium | |
US9503556B2 (en) | Handling voice calls | |
CN105022530B (en) | The calibration method and system of proximity transducer | |
CN105573747A (en) | User interface test method and apparatus | |
US11653184B2 (en) | Call prompt method | |
CN108307075B (en) | Incoming call processing method and mobile terminal | |
CN107402677B (en) | Method and device for recognizing finger lifting in touch operation and terminal | |
CN105867793A (en) | No touch screen response based use method and device | |
CN107742518B (en) | Information processing method and electronic equipment | |
CN106648205A (en) | Dormancy control method, device and terminal | |
CN105407221A (en) | Method and system for palm rejection when using self timer | |
CN107896286A (en) | Control the method and device of screen light on and off | |
CN107315517A (en) | For the method for false-touch prevention, device and intelligent terminal | |
CN106060274A (en) | Method and device for reporting ambient light sensor data and mobile terminal | |
CN110858857A (en) | Electronic device and call screen locking method | |
CN108989576A (en) | Variable-value method of adjustment, device, storage medium and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |