CN107479058A - A kind of distance detection method, mobile terminal and computer-readable recording medium - Google Patents
A kind of distance detection method, mobile terminal and computer-readable recording medium Download PDFInfo
- Publication number
- CN107479058A CN107479058A CN201710643758.0A CN201710643758A CN107479058A CN 107479058 A CN107479058 A CN 107479058A CN 201710643758 A CN201710643758 A CN 201710643758A CN 107479058 A CN107479058 A CN 107479058A
- Authority
- CN
- China
- Prior art keywords
- infrared signal
- infrared
- energy intensity
- testee
- mobile terminal
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/08—Systems determining position data of a target for measuring distance only
Abstract
The present invention provides a kind of distance detection method, mobile terminal and computer-readable recording medium, and this method includes:First infrared signal is launched according to the first transmission power by the first infrared projector;Second infrared signal is detected by infrared signal receiver;According to the energy intensity of the second infrared signal detected, judge testee whether in the check frequency between the first infrared projector and infrared projector;If testee is in check frequency, the 3rd infrared signal is launched according to the second transmission power by the second infrared projector;4th infrared signal is detected by infrared signal receiver;The far and near state between testee and mobile terminal is determined according to the energy intensity variation tendency of the 4th infrared signal.So, by the cooperation between the first infrared projector, the second infrared projector and infrared signal receiver, improve mobile terminal apart from Detection results.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of distance detection method, mobile terminal and computer-readable storage
Medium.
Background technology
The distance detection of mobile terminal is realized by launching infrared light and receiving the infrared light reflected at present.
When black infrared printing ink is not smeared in region corresponding with infrared projector on the screen of mobile terminal, infrared ray letter
The infrared ray that number transmitter is launched largely is returned by screen reflection, and the infrared signal energy intensity through screen is few, inspection
The useful signal measured is smaller than interference signal, and it is poor apart from Detection results to cause.
The content of the invention
The embodiment of the present invention provides a kind of distance detection method, mobile terminal and computer-readable recording medium, to solve
The problem of distance of mobile terminal Detection results difference.
In a first aspect, the embodiments of the invention provide a kind of distance detection method, it is described mobile whole applied to mobile terminal
End includes the first infrared projector, the second infrared projector and infrared signal receiver, and described first is red
The distance between outside line signal projector and the infrared signal receiver be more than second infrared projector with
The distance between described infrared projector, the distance detection method include:
First infrared signal is launched according to the first transmission power by first infrared projector;
Second infrared signal is detected by the infrared signal receiver, second infrared signal is described the
One infrared signal runs into the infrared signal of testee reflection;
According to the energy intensity of second infrared signal detected, judge the testee whether in described
Check frequency between first infrared projector and the infrared projector;
If the testee is in the check frequency, by second infrared projector according to second
Transmission power launches the 3rd infrared signal, wherein, second transmission power is less than first transmission power;
4th infrared signal is detected by the infrared signal receiver, the 4th infrared signal is described the
Three infrared signals run into the infrared signal of testee back reflection;
Determine the testee with the movement eventually according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between end.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, and the mobile terminal is believed including the first infrared ray
Number transmitter, the second infrared projector and infrared signal receiver, first infrared projector and institute
The distance between infrared signal receiver is stated more than second infrared projector and the infrared signal to launch
The distance between device, the mobile terminal also include:
First infrared projector, for launching the first infrared signal according to the first transmission power;
The infrared signal receiver, for detecting the second infrared signal, second infrared signal is described
First infrared signal runs into the infrared signal of testee reflection;
First judge module, for the energy intensity according to second infrared signal detected, judge the quilt
Object is surveyed whether in the check frequency between first infrared projector and the infrared projector;
Second infrared projector, if being in the check frequency for the testee, according to
Two transmission powers launch the 3rd infrared signal, wherein, second transmission power is less than first transmission power;
Detection module, for detecting the 4th infrared signal by the infrared signal receiver, the described 4th is infrared
Line signal is the infrared signal that the 3rd infrared signal runs into testee back reflection;
First processing module, it is described tested for being determined according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between object and the mobile terminal.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, and the mobile terminal includes memory, processor
And the computer program that can be run on the memory and on the processor is stored in, the computing device described program
Distance detection method foregoing Shi Shixian.
Fourth aspect, the embodiment of the present invention also provide a kind of computer-readable recording medium, are stored thereon with computer journey
Sequence, the program realize the step in foregoing distance detection method when being executed by processor.
So, in the embodiment of the present invention, distance detection method is applied to mobile terminal, and it is red that the mobile terminal includes first
Outside line signal projector, the second infrared projector and infrared signal receiver, the first infrared signal transmitting
The distance between device and the infrared signal receiver are more than second infrared projector to be believed with the infrared ray
The distance between number transmitter, the distance detection method includes:By first infrared projector according to first
Transmission power launches the first infrared signal;Second infrared signal is detected by the infrared signal receiver, described the
Two infrared signals are the infrared signal that first infrared signal runs into testee reflection;According to detecting
The energy intensity of second infrared signal, judges whether the testee is in first infrared projector and institute
State the check frequency between infrared projector;If the testee is in the check frequency, pass through described
Two infrared projectors launch the 3rd infrared signal according to the second transmission power, wherein, second transmission power is small
In first transmission power;4th infrared signal, the 4th infrared ray are detected by the infrared signal receiver
Signal is the infrared signal that the 3rd infrared signal runs into testee back reflection;According to the 4th infrared signal
Energy intensity variation tendency determine far and near state between the testee and the mobile terminal.So, first is passed through
Cooperation between infrared projector, the second infrared projector and infrared signal receiver, improve mobile whole
End apart from Detection results.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is that a kind of infrared projector of mobile terminal provided in an embodiment of the present invention and infrared signal receive
The layout of device;
Fig. 2 is a kind of flow chart of distance detection method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another distance detection method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, all in the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the infrared projector and infrared ray of a kind of mobile terminal provided in an embodiment of the present invention
The layout of signal receiver.As shown in figure 1, mobile terminal 100 includes glass cover-plate 101, mainboard 102, the first infrared ray letter
Number transmitter 103, the second infrared projector 104 and infrared signal receiver 105.First infrared projector
The distance between 103 and infrared signal receiver 105 are more than the second infrared projector 104 and received with infrared signal
The distance between device 105, for example, if between the first infrared projector 103 and infrared signal receiver 105
Distance is 13 centimetres, and the distance between the second infrared projector 104 and infrared signal receiver 105 can be 3 lis
Rice;If the distance between the first infrared projector 103 and infrared signal receiver 105 can be 10 centimetres, second
The distance between infrared projector 104 and infrared signal receiver 105 can be 2 centimetres.
Referring to Fig. 2, Fig. 2 is a kind of flow chart of distance detection method provided in an embodiment of the present invention, the distance detection
Method can apply to mobile terminal 100 as shown in Figure 2, and the mobile terminal 100 includes the first infrared projector
103rd, the second infrared projector 104 and infrared signal receiver 105, first infrared projector 103
The distance between described infrared signal receiver 105 be more than second infrared projector 104 with it is described infrared
The distance between line signal receiver 105.As shown in Fig. 2 the distance detection method comprises the following steps:
Step 201, by the first infrared projector 103 according to the first transmission power launch the first infrared ray believe
Number.
In the embodiment of the present invention, the first infrared projector 103 has maximum transmission power and minimum emissive power,
First transmission power is pre-set, and the first transmission power can be maximum transmission power, or emission maximum
Numerical value between power and minimum emissive power.When the first transmission power is bigger, pass through the infrared of the screen of mobile terminal
Line signal is more, and when the first transmission power is smaller, the infrared signal by the screen of mobile terminal is less.In order that
It is most by the infrared signal of mobile terminal, in the step, the first transmission power can be arranged to the first infrared signal hair
The maximum transmission power of emitter.
In the present embodiment, the distance between the first infrared projector 103 and infrared signal receiver 105 can
To be set to 13 centimetres.It is infrared according to bigger the first transmission power transmitting first by the first infrared projector 103
Line signal, can guarantee that enough infrared signals penetrate glass cover-plate, simultaneously because the first infrared projector 103 with
The distance between infrared receiver is 13 centimetres, interference signal very little, it is ensured that infrared signal receiver 105 is able to detect that
Effective infrared signal.
Step 202, pass through infrared signal receiver the second infrared signal of detection.
In the step, second infrared signal is that first infrared signal runs into the infrared of testee reflection
Line signal.
Specifically, after the first infrared projector 103 launches the first infrared signal, if the first infrared ray is believed
Number testee is run into, then testee can be reflected a part of infrared signal, and the infrared signal of the reflection is
Second infrared signal.
Supplementary notes, can basis when infrared signal receiver 105 detects second infrared signal
The energy intensity of second infrared signal judges the distance between testee and mobile terminal.The testee can be used
The facial skin at family.
Whether step 203, the energy intensity according to second infrared signal detected, judge the testee
Check frequency between first infrared projector and the infrared projector.
In the present embodiment, between first infrared projector 103 and the infrared signal receiver 105
Distance be more than the distance between second infrared projector 104 and the infrared signal receiver 105.Due to
First infrared projector 103 and the distance between the infrared signal receiver 105 are bigger, and first is infrared
There can be check frequency between line signal projector 103 and the infrared signal receiver 105.When testee is in described
During check frequency, the infrared ray letter of the first infrared projector 103 transmitting can not can not be reflected by the testee
Number, cause infrared signal receiver 105 can not receive the infrared signal of testee reflection.
In the step 203, if testee is in first infrared projector 103 and believed with the infrared ray
Check frequency between number receiver 105, then perform step 204.If testee is not at the first infrared signal hair
Check frequency between emitter 103 and the infrared signal receiver 105, then flow terminate.
Step 204, by the second infrared projector according to the second transmission power launch the 3rd infrared signal.
In the step, second transmission power is less than first transmission power.
Supplementary notes, the second infrared projector 104 have maximum transmission power and minimum emissive power, institute
State the second transmission power to pre-set, the second transmission power can be minimum emissive power.Generally, in order to ensure
The data that infrared signal receiver detects are not up to saturation, and the second transmission power can be arranged to second infrared ray
The minimum emissive power of signal projector.
In the present embodiment, can be by between the second infrared projector 104 and infrared signal receiver 105
Distance is set to 3 centimetres.It is infrared according to smaller the second transmission power transmitting first by the second infrared projector 104
Line signal, it can guarantee that the data that infrared signal receiver 105 detects are not up to saturation.
Step 205, pass through the outside line signal receiver the 4th infrared signal of detection.
In the step, the 4th infrared signal is that the 3rd infrared signal runs into the infrared of testee reflection
Line signal.
Specifically, after the second infrared projector launches the 3rd infrared signal, if the 3rd infrared signal
Testee is run into, then testee can be reflected a part of infrared signal, and the infrared signal of the reflection is institute
State the 4th infrared signal.
Supplementary notes, can be according to the when infrared signal receiver detects four infrared signal
The energy intensity of four infrared signals judges the distance between testee and mobile terminal.The testee can be user
Facial skin.
Step 206, testee and the shifting determined according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between dynamic terminal.
In the present embodiment, when the distance between testee and mobile terminal are different, infrared signal receiver receives
The 4th infrared signal energy intensity it is also different.Specifically, testee and distance of mobile terminal are nearer, infrared ray letter
The energy intensity for the 4th infrared signal that number receiver receives is bigger, and testee is more remote with distance of mobile terminal, infrared ray
The energy intensity for the 4th infrared signal that signal receiver receives is smaller.If the 4th infrared ray detected in a period of time
The energy intensity of signal changes, and illustrates testee close mobile terminal or remote mobile terminal within the period,
So as to the energy intensity variation tendency according to the 4th infrared signal in a period, it may be determined that testee and the shifting
Far and near state between dynamic terminal.
In the embodiment of the present invention, above-mentioned mobile terminal can be it is any including the first infrared projector, it is second red
The mobile terminal of outside line signal projector and infrared receiver, such as:Mobile phone, tablet personal computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
The distance detection method of the embodiment of the present invention, applied to mobile terminal, the mobile terminal includes the first infrared ray
Signal projector, the second infrared projector and infrared signal receiver, first infrared projector with
The distance between described infrared signal receiver is more than second infrared projector and sent out with the infrared signal
The distance between emitter, the distance detection method include:By first infrared projector according to the first transmitting
The infrared signal of power emission first;Second infrared signal is detected by the infrared signal receiver, described second is red
Outside line signal is the infrared signal that first infrared signal runs into testee reflection;According to described second detected
The energy intensity of infrared signal, judge the testee whether in first infrared projector with it is described red
Check frequency between outside line signal projector;If the testee is in the check frequency, red by described second
Outside line signal projector launches the 3rd infrared signal according to the second transmission power, wherein, second transmission power is less than institute
State the first transmission power;4th infrared signal, the 4th infrared signal are detected by the infrared signal receiver
The infrared signal of testee back reflection is run into for the 3rd infrared signal;According to the energy of the 4th infrared signal
Amount variation trends determine the far and near state between the testee and the mobile terminal.So, it is infrared by first
Cooperation between line signal projector, the second infrared projector and infrared signal receiver, can improve mobile terminal
Apart from Detection results.
Referring to Fig. 3, Fig. 3 is the flow chart of another distance detection method provided in an embodiment of the present invention, the distance inspection
Survey method can apply to mobile terminal 100 as shown in Figure 1, and the mobile terminal 100 is launched including the first infrared signal
Device 103, the second infrared projector 104 and infrared signal receiver 105, as shown in figure 3, comprising the following steps:
Step 301, by the first infrared projector according to the first transmission power launch the first infrared signal.
The step 301 is identical with the step 301 in the embodiment of the present invention, will not be repeated here.
Step 302, pass through infrared signal receiver the second infrared signal of detection.
The step 302 is identical with the step 302 in the embodiment of the present invention, will not be repeated here.
Step 303, the first energy intensity of second infrared signal for judging to detect at the first moment subtract
Whether the difference of the second energy intensity of second infrared signal that the second moment detected reaches the switching pre-set
Thresholding.
In the present embodiment, first moment is before second moment.
In embodiments of the present invention, when the energy of second infrared signal detected at the first moment and the second moment
When the difference of amount intensity reaches the handoff threshold pre-set, illustrate that testee enters the first infrared projector 103
Check frequency between infrared signal receiver 105, it is determined that testee enter check frequency after, perform step 304.
When the difference of the energy intensity of second infrared signal detected at the first moment and the second moment is not reaching in advance
During the handoff threshold of setting, illustrate that testee does not enter into the first infrared projector 103 and infrared signal receives
Check frequency between device 105, flow terminate, and can also be sentenced by the energy intensity variation tendency of second infrared signal
Disconnected distant relationships between testee and mobile terminal, the present embodiment are not limited thereto so that flow terminates as an example.
Step 304, determine to be in the check frequency in testee described in second moment.
In embodiments of the present invention, exist between the first infrared projector 103 and infrared signal receiver 105
Check frequency, the difference of the energy intensity of second infrared signal detected at the first moment and the second moment reach pre-
During the handoff threshold first set, illustrate that testee enters the first infrared projector 103 and infrared signal receiver
Check frequency between 105, after check frequency is entered, it is impossible to sentenced by the energy intensity changing value of the second infrared signal
Disconnected far and near state between testee and mobile terminal.
The difference of the energy intensity of second infrared signal detected at the first moment and the second moment does not reach
During to the handoff threshold pre-set, illustrate that testee does not enter into the first infrared projector 103 and infrared ray letter
Check frequency between number receiver 105, can judge quilt by the energy intensity variation tendency of second infrared signal
The distant relationships surveyed between object and mobile terminal.The handoff threshold pre-set can be the tool to obtain by many experiments
Body numerical value.
Step 305, by second infrared projector according to the second transmission power launch the 3rd infrared ray believe
Number.
Step 204 is identical in the step 305 and the embodiment of the present invention, will not be repeated here.
Step 306, pass through the infrared signal receiver the 4th infrared signal of detection.
Step 205 is identical in the step 306 and the embodiment of the present invention, will not be repeated here.
Step 307, testee and the mobile end are determined according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between end.
Optionally, step 307 comprises the following steps:
Whether the energy intensity variation tendency for judging the 4th infrared signal is that energy intensity becomes big;
If the energy intensity variation tendency of the 4th infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of the 4th infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Specifically, it can be determined that whether the energy intensity variation tendency of the 4th infrared signal is energy within 1 second
Intensity becomes big, if the energy intensity variation tendency of the 4th infrared signal becomes big for energy intensity within 1 second, really
The fixed testee is close to the mobile terminal;If the energy intensity change of the 4th infrared signal within 1 second
Trend diminishes for energy intensity, it is determined that the testee is away from the mobile terminal.
Optionally, the difference of the energy intensity of second infrared signal detected at the first moment and the second moment
When being not reaching to the handoff threshold pre-set, i.e., testee does not enter into the first infrared projector 103 and infrared
During check frequency between line signal receiver 105, methods described can also comprise the following steps:Judge second infrared ray
Whether the energy intensity variation tendency of signal is that energy intensity becomes big;
If the energy intensity variation tendency of second infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of second infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Specifically, it can be determined that within 1 second the energy intensity variation tendency of second infrared signal whether be
Energy intensity becomes big.If the energy intensity of second infrared signal is increasing within 1 second, illustrate that the second infrared ray is believed
Number energy intensity variation tendency become big for energy intensity, if the energy intensity of second infrared signal is got within 1 second
It is next smaller, illustrate that the energy intensity variation tendency of the second infrared signal diminishes for energy intensity.
If judging, the energy intensity variation tendency of second infrared signal becomes big for energy intensity, it is determined that measured object
Body is close to the mobile terminal.If judging, the energy intensity variation tendency of second infrared signal diminishes for energy intensity,
Then determine testee away from the mobile terminal.
Supplementary notes, it is determined that testee after the mobile terminal, can be by testee close to institute
Central processing unit of the information reporting to mobile terminal of mobile terminal is stated, the central processing unit can be close according to testee
The message of the mobile terminal performs subsequent treatment, such as control mobile terminal blank screen.It is determined that testee away from the shifting
, can be by central processing unit of information reporting of the testee away from the mobile terminal to mobile terminal, institute after dynamic terminal
Subsequent treatment can be performed according to message of the testee away from the mobile terminal by stating central processing unit, such as control movement is eventually
Hold bright screen.
Further remark additionally, the target area of the cover-plate glass of the mobile terminal in the embodiment of the present invention is smeared in vain
Color ink, the target area are that infrared printing ink corresponding with first infrared projector applies in the glass cover-plate
Smear region.It by smearing white ink, can cause mobile terminal that there is unified appearance color, improve the satisfaction of user.
The distance detection method of the embodiment of the present invention is applied to mobile terminal, and the mobile terminal is believed including the first infrared ray
Number transmitter, the second infrared projector and infrared signal receiver, first infrared projector and institute
The distance between infrared signal receiver is stated more than second infrared projector and the infrared signal to launch
The distance between device, the distance detection method include:By first infrared projector according to the first transmitting work(
Rate launches the first infrared signal;Second infrared signal is detected by the infrared signal receiver, described second is infrared
Line signal is the infrared signal that first infrared signal runs into testee reflection;Judge what is detected at the first moment
First energy intensity of second infrared signal subtracts the of second infrared signal detected at the second moment
Whether the difference of two energy intensities reaches the handoff threshold pre-set, and first moment is before second moment;If
The difference that first energy intensity subtracts second energy intensity reaches the handoff threshold, it is determined that at described second
Carve the testee and be in the check frequency;If the testee is in the check frequency, pass through described second
Infrared projector launches the 3rd infrared signal according to the second transmission power, wherein, second transmission power is less than
First transmission power;4th infrared signal, the 4th infrared ray letter are detected by the infrared signal receiver
Number run into the infrared signal of testee back reflection for the 3rd infrared signal;According to the 4th infrared signal
Energy intensity variation tendency determines the far and near state between the testee and the mobile terminal.So, it is red by first
Cooperation between outside line signal projector, the second infrared projector and infrared signal receiver, it can improve mobile whole
End apart from Detection results.
Referring to Fig. 4, Fig. 4 is a kind of structure chart for mobile terminal that the present invention implements offer, in the present embodiment, such as Fig. 4
Shown, the mobile terminal includes the first infrared projector 401, infrared signal receiver 402, the first judge module
403rd, the second infrared projector 404, detection module 405 and first processing module 406, the first infrared signal hair
The distance between emitter 401 and the infrared signal receiver 402 are more than second infrared projector 404 and institute
The distance between infrared signal receiver 402 is stated, wherein:
First infrared projector 401, for launching the first infrared signal according to the first transmission power;
The infrared signal receiver 402, for detecting the second infrared signal, second infrared signal is institute
State the infrared signal that the first infrared signal runs into testee reflection;
First judge module 403, for according to the energy intensity of second infrared signal detected, described in judgement
Whether testee is in the check frequency between first infrared projector and the infrared projector;
Second infrared projector 404, if being in the check frequency for the testee, according to
Second transmission power launches the 3rd infrared signal, wherein, second transmission power is less than first transmission power;
Detection module 405, for detecting the 4th infrared signal by the infrared signal receiver, the described 4th is red
Outside line signal is the infrared signal that the 3rd infrared signal runs into testee back reflection;
First processing module 406, described in being determined according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between testee and the mobile terminal.
Optionally, referring to Fig. 5, Fig. 5 is the structure chart for another mobile terminal that the present invention implements offer, as shown in figure 5,
First judge module 403 includes:
First judging submodule 4031, for judge to detect at the first moment the first of second infrared signal
Whether the difference that energy intensity subtracts the second energy intensity of second infrared signal detected at the second moment reaches
The handoff threshold pre-set, first moment is before second moment;
First determination sub-module 4032, if the difference that second energy intensity is subtracted for first energy intensity reaches
To the handoff threshold, it is determined that be in the check frequency in testee described in second moment.
Optionally, referring to Fig. 6, Fig. 6 is the structure chart for another mobile terminal that the present invention implements offer, as shown in fig. 6,
The first processing module 406 includes:
Second judging submodule 4061, for judge the 4th infrared signal energy intensity variation tendency whether be
Energy intensity becomes big;
Second determination sub-module 4062, if the energy intensity variation tendency for the 4th infrared signal is strong for energy
Degree becomes big, it is determined that the testee is close to the mobile terminal;Or
If the energy intensity variation tendency for the 4th infrared signal diminishes for energy intensity, it is determined that the quilt
Object is surveyed away from the mobile terminal.
Optionally, referring to Fig. 7, Fig. 7 is the structure chart for another mobile terminal that the present invention implements offer, as shown in fig. 7,
The mobile terminal 400 also includes:
Second judge module, the check frequency is not at for the testee, judges the second infrared ray letter
Number energy intensity variation tendency;
Second processing module, if the energy intensity variation tendency for second infrared signal becomes for energy intensity
Greatly, it is determined that the testee is close to the mobile terminal;Or
If the energy intensity variation tendency for second infrared signal diminishes for energy intensity, it is determined that the quilt
Object is surveyed away from the mobile terminal.
Mobile terminal 400 can realize each process that mobile terminal is realized in Fig. 2 to Fig. 3 embodiment of the method, to keep away
Exempt to repeat, repeat no more here.
The mobile terminal 400 of the embodiment of the present invention includes the first infrared projector, the second infrared signal is launched
Device and infrared signal receiver, the distance between first infrared projector and the infrared signal receiver
It is infrared by described first more than the distance between second infrared projector and the infrared projector
Line signal projector launches the first infrared signal according to the first transmission power;Pass through infrared signal receiver detection the
Two infrared signals, second infrared signal are the infrared ray letter that first infrared signal runs into testee reflection
Number;According to the energy intensity of second infrared signal detected, judge whether the testee is in described first
Check frequency between infrared projector and the infrared projector;If the testee is in the inspection
Blind area is surveyed, then the 3rd infrared signal is launched according to the second transmission power by second infrared projector, wherein,
Second transmission power is less than first transmission power;The 4th infrared ray is detected by the infrared signal receiver to believe
Number, the 4th infrared signal is the infrared signal that the 3rd infrared signal runs into testee back reflection;According to
The energy intensity variation tendency of 4th infrared signal determines the distance between the testee and the mobile terminal
State.So, by between the first infrared projector, the second infrared projector and infrared signal receiver
Cooperation, improve mobile terminal apart from Detection results.
Referring to Fig. 8, Fig. 8 is the structure chart for another mobile terminal that the present invention implements offer, as shown in figure 8, mobile whole
End 800 includes:At least one processor 801, memory 802, at least one user interface 803 and network interface 804.It is mobile whole
Each component in end 800 is coupled by bus system 805.It is understood that bus system 805 is used to realize these components
Between connection communication.Bus system 805 is in addition to including data/address bus, in addition to power bus, controlling bus and state letter
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 805 in fig. 8, mobile terminal 800 is also
Including the first infrared projector 806, the second infrared projector 807, infrared signal receiver 808.First
Infrared projector 806, the second infrared projector 807, infrared signal receiver 808 pass through bus system
805 are connected with each component of mobile terminal.First infrared projector 103 and the infrared signal receiver
The distance between 105 be more than between second infrared projector 104 and the infrared signal receiver 105 away from
From
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for:
First infrared signal is launched according to the first transmission power by first infrared projector;
Second infrared signal is detected by the infrared signal receiver, second infrared signal is described the
One infrared signal runs into the infrared signal of testee reflection;
According to the energy intensity of second infrared signal detected, judge the testee whether in described
Check frequency between first infrared projector and the infrared projector;
If the testee is in the check frequency, by second infrared projector according to second
Transmission power launches the 3rd infrared signal, wherein, second transmission power is less than first transmission power;
4th infrared signal is detected by the infrared signal receiver, the 4th infrared signal is described the
Three infrared signals run into the infrared signal of testee back reflection;
Determine the testee with the movement eventually according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between end.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Optionally, processor 801 performs the energy intensity for second infrared signal that the basis detects, judges
Whether the testee is in the detection between first infrared projector and the infrared projector
The step of blind area, including:
First energy intensity of second infrared signal for judging to detect at the first moment was subtracted at the second moment
Whether the difference of the second energy intensity of second infrared signal detected reaches the handoff threshold pre-set, described
First moment is before second moment;
If the difference that first energy intensity subtracts second energy intensity reaches the handoff threshold, it is determined that
Testee described in second moment is in the check frequency.
Optionally, processor 801 performs described according to the determination of the energy intensity variation tendency of the 4th infrared signal
The step of far and near state between the testee and the mobile terminal, including:
Whether the energy intensity variation tendency for judging the 4th infrared signal is that energy intensity becomes big;
If the energy intensity variation tendency of the 4th infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of the 4th infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Optionally, processor 801 performs the energy intensity for second infrared signal that the basis detects, judges
Whether the testee is in the detection between first infrared projector and the infrared projector
After the step of blind area, processor 801 is additionally operable to:
If the testee is not at the check frequency, the energy intensity change of second infrared signal is judged
Whether trend is that energy intensity becomes big;
If the energy intensity variation tendency of second infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of second infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The mobile terminal 800 of the embodiment of the present invention includes the first infrared projector, the second infrared signal is launched
Device and infrared signal receiver, the distance between first infrared projector and the infrared signal receiver
It is infrared by described first more than the distance between second infrared projector and the infrared projector
Line signal projector launches the first infrared signal according to the first transmission power;Pass through infrared signal receiver detection the
Two infrared signals, second infrared signal are the infrared ray letter that first infrared signal runs into testee reflection
Number;According to the energy intensity of second infrared signal detected, judge whether the testee is in described first
Check frequency between infrared projector and the infrared projector;If the testee is in the inspection
Blind area is surveyed, then the 3rd infrared signal is launched according to the second transmission power by second infrared projector, wherein,
Second transmission power is less than first transmission power;The 4th infrared ray is detected by the infrared signal receiver to believe
Number, the 4th infrared signal is the infrared signal that the 3rd infrared signal runs into testee back reflection;According to
The energy intensity variation tendency of 4th infrared signal determines the distance between the testee and the mobile terminal
State.So, by between the first infrared projector, the second infrared projector and infrared signal receiver
Cooperation, improve mobile terminal apart from Detection results.
The present invention also provides a kind of computer-readable recording medium, and computer is stored on the computer-readable recording medium
Program, the computer program realize following steps when being executed by processor:
First infrared signal is launched according to the first transmission power by first infrared projector;
Second infrared signal is detected by the infrared signal receiver, second infrared signal is described the
One infrared signal runs into the infrared signal of testee reflection;
According to the energy intensity of second infrared signal detected, judge the testee whether in described
Check frequency between first infrared projector and the infrared projector;
If the testee is in the check frequency, by second infrared projector according to second
Transmission power launches the 3rd infrared signal, wherein, second transmission power is less than first transmission power;
4th infrared signal is detected by the infrared signal receiver, the 4th infrared signal is described the
Three infrared signals run into the infrared signal of testee back reflection;
Determine the testee with the movement eventually according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between end.
Optionally, the energy intensity for second infrared signal that the basis detects, judges the testee
The step of whether being in the check frequency between first infrared projector and the infrared projector, bag
Include:
First energy intensity of second infrared signal for judging to detect at the first moment was subtracted at the second moment
Whether the difference of the second energy intensity of second infrared signal detected reaches the handoff threshold pre-set, described
First moment is before second moment;
If the difference that first energy intensity subtracts second energy intensity reaches the handoff threshold, it is determined that
Testee described in second moment is in the check frequency.
Optionally, the energy intensity variation tendency according to the 4th infrared signal determine the testee with
The step of far and near state between the mobile terminal, including:
Whether the energy intensity variation tendency for judging the 4th infrared signal is that energy intensity becomes big;
If the energy intensity variation tendency of the 4th infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of the 4th infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Optionally, the energy intensity for second infrared signal that the basis detects, judges the testee
The step of whether in check frequency between first infrared projector and the infrared projector it
Afterwards, methods described also includes:
If the testee is not at the check frequency, the energy intensity change of second infrared signal is judged
Whether trend is that energy intensity becomes big;
If the energy intensity variation tendency of second infrared signal, which is energy intensity, becomes big, it is determined that the measured object
Body is close to the mobile terminal;Or
If the energy intensity variation tendency of second infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
Described storage medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory
(Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of distance detection method, applied to mobile terminal, it is characterised in that the mobile terminal is believed including the first infrared ray
Number transmitter, the second infrared projector and infrared signal receiver, first infrared projector and institute
The distance between infrared signal receiver is stated more than second infrared projector and the infrared signal to launch
The distance between device, the distance detection method include:
First infrared signal is launched according to the first transmission power by first infrared projector;
Second infrared signal is detected by the infrared signal receiver, second infrared signal is described first red
Outside line signal runs into the infrared signal of testee reflection;
According to the energy intensity of second infrared signal detected, judge whether the testee is in described first
Check frequency between infrared projector and the infrared projector;
If the testee is in the check frequency, by second infrared projector according to the second transmitting
The infrared signal of power emission the 3rd, wherein, second transmission power is less than first transmission power;
4th infrared signal is detected by the infrared signal receiver, the 4th infrared signal is the described 3rd red
Outside line signal runs into the infrared signal of testee back reflection;
According to the energy intensity variation tendency of the 4th infrared signal determine the testee and the mobile terminal it
Between far and near state.
2. distance detection method as claimed in claim 1, it is characterised in that second infrared ray that the basis detects
The energy intensity of signal, judges whether the testee is believed in first infrared projector and the infrared ray
The step of check frequency between number transmitter, including:
First energy intensity of second infrared signal for judging to detect at the first moment subtracts to be detected at the second moment
To the difference of the second energy intensity of second infrared signal whether reach the handoff threshold that pre-sets, described first
Moment is before second moment;
If the difference that first energy intensity subtracts second energy intensity reaches the handoff threshold, it is determined that described
Testee described in second moment is in the check frequency.
3. distance detection method as claimed in claim 1, it is characterised in that the energy according to the 4th infrared signal
The step of amount variation trends determine the far and near state between the testee and the mobile terminal, including:
Whether the energy intensity variation tendency for judging the 4th infrared signal is that energy intensity becomes big;
If the energy intensity variation tendency of the 4th infrared signal, which is energy intensity, becomes big, it is determined that the testee leans on
The nearly mobile terminal;Or
If the energy intensity variation tendency of the 4th infrared signal diminishes for energy intensity, it is determined that the testee is remote
From the mobile terminal.
4. distance detection method as claimed in claim 1, it is characterised in that second infrared ray that the basis detects
The energy intensity of signal, judges whether the testee is believed in first infrared projector and the infrared ray
After the step of check frequency between number transmitter, methods described also includes:
If the testee is not at the check frequency, the energy intensity variation tendency of second infrared signal is judged
Whether it is that energy intensity becomes big;
If the energy intensity variation tendency of second infrared signal, which is energy intensity, becomes big, it is determined that the testee leans on
The nearly mobile terminal;Or
If the energy intensity variation tendency of second infrared signal diminishes for energy intensity, it is determined that the testee is remote
From the mobile terminal.
5. a kind of mobile terminal, it is characterised in that the mobile terminal includes the first infrared projector, the second infrared ray
Signal projector and infrared signal receiver, first infrared projector and the infrared signal receiver it
Between distance be more than the distance between second infrared projector and the infrared projector, the movement
Terminal also includes:
First infrared projector, for launching the first infrared signal according to the first transmission power;
The infrared signal receiver, for detecting the second infrared signal, second infrared signal is described first
Infrared signal runs into the infrared signal of testee reflection;
First judge module, for the energy intensity according to second infrared signal detected, judge the measured object
Whether body is in the check frequency between first infrared projector and the infrared projector;
Second infrared projector, if being in the check frequency for the testee, according to the second hair
The infrared signal of power emission the 3rd is penetrated, wherein, second transmission power is less than first transmission power;
Detection module, for detecting the 4th infrared signal, the 4th infrared ray letter by the infrared signal receiver
Number run into the infrared signal of testee back reflection for the 3rd infrared signal;
First processing module, for determining the testee according to the energy intensity variation tendency of the 4th infrared signal
Far and near state between the mobile terminal.
6. mobile terminal as claimed in claim 5, it is characterised in that first judge module includes:
First judging submodule, for the first energy intensity of second infrared signal for judging to detect at the first moment
Whether the difference for subtracting the second energy intensity of second infrared signal detected at the second moment reaches and pre-sets
Handoff threshold, first moment is before second moment;
First determination sub-module, if the difference that second energy intensity is subtracted for first energy intensity reaches described and cut
Change thresholding, it is determined that be in the check frequency in testee described in second moment.
7. mobile terminal as claimed in claim 5, it is characterised in that the first processing module includes:
Second judging submodule, for judging whether the energy intensity variation tendency of the 4th infrared signal is energy intensity
Become big;
Second determination sub-module, if the energy intensity variation tendency for the 4th infrared signal becomes big for energy intensity,
Then determine the testee close to the mobile terminal;Or
If the energy intensity variation tendency for the 4th infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
8. mobile terminal as claimed in claim 5, it is characterised in that also include:
Second judge module, the check frequency is not at for the testee, judges second infrared signal
Energy intensity variation tendency;
Second processing module, if the energy intensity variation tendency for second infrared signal becomes big for energy intensity,
Determine the testee close to the mobile terminal;Or
If the energy intensity variation tendency for second infrared signal diminishes for energy intensity, it is determined that the measured object
Body is away from the mobile terminal.
9. a kind of mobile terminal, including memory, processor and it is stored on the memory and can transports on the processor
Capable computer program, it is characterised in that realized during the computing device described program as described in claim any one of 1-4
Distance detection method.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The step in the distance detection method as described in claim any one of 1-4 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710643758.0A CN107479058B (en) | 2017-07-31 | 2017-07-31 | distance detection method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710643758.0A CN107479058B (en) | 2017-07-31 | 2017-07-31 | distance detection method, mobile terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107479058A true CN107479058A (en) | 2017-12-15 |
CN107479058B CN107479058B (en) | 2019-12-13 |
Family
ID=60598104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710643758.0A Active CN107479058B (en) | 2017-07-31 | 2017-07-31 | distance detection method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107479058B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108897062A (en) * | 2018-06-22 | 2018-11-27 | 江苏美的清洁电器股份有限公司 | A kind of infrared detection method, device, system, storage medium and sweeping robot |
CN108989566A (en) * | 2018-08-01 | 2018-12-11 | Oppo广东移动通信有限公司 | control method, electronic device and computer readable storage medium |
CN109558034A (en) * | 2018-11-08 | 2019-04-02 | 珠海格力电器股份有限公司 | A kind of method and device for preventing terminal from accidentally touching |
CN110345888A (en) * | 2019-08-09 | 2019-10-18 | 佛山市顺德区美的饮水机制造有限公司 | Measure method, apparatus, drinking equipment and the storage medium of the physical size of object |
CN111381238A (en) * | 2018-12-28 | 2020-07-07 | 北京小米移动软件有限公司 | Distance sensor, mobile terminal, and method and device for detecting distance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012099941A3 (en) * | 2011-01-19 | 2012-09-27 | Qualcomm Incorporated | Method and apparatus for classifying proximate materials and estimating range |
CN104811547A (en) * | 2015-04-02 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN104811546A (en) * | 2015-04-02 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal |
CN106557185A (en) * | 2016-11-23 | 2017-04-05 | 广州视源电子科技股份有限公司 | Touch display screen, interactive device, mode switching method and device |
-
2017
- 2017-07-31 CN CN201710643758.0A patent/CN107479058B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012099941A3 (en) * | 2011-01-19 | 2012-09-27 | Qualcomm Incorporated | Method and apparatus for classifying proximate materials and estimating range |
CN104811547A (en) * | 2015-04-02 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal control method |
CN104811546A (en) * | 2015-04-02 | 2015-07-29 | 深圳市金立通信设备有限公司 | Terminal |
CN106557185A (en) * | 2016-11-23 | 2017-04-05 | 广州视源电子科技股份有限公司 | Touch display screen, interactive device, mode switching method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108897062A (en) * | 2018-06-22 | 2018-11-27 | 江苏美的清洁电器股份有限公司 | A kind of infrared detection method, device, system, storage medium and sweeping robot |
CN108989566A (en) * | 2018-08-01 | 2018-12-11 | Oppo广东移动通信有限公司 | control method, electronic device and computer readable storage medium |
CN109558034A (en) * | 2018-11-08 | 2019-04-02 | 珠海格力电器股份有限公司 | A kind of method and device for preventing terminal from accidentally touching |
CN111381238A (en) * | 2018-12-28 | 2020-07-07 | 北京小米移动软件有限公司 | Distance sensor, mobile terminal, and method and device for detecting distance |
CN110345888A (en) * | 2019-08-09 | 2019-10-18 | 佛山市顺德区美的饮水机制造有限公司 | Measure method, apparatus, drinking equipment and the storage medium of the physical size of object |
Also Published As
Publication number | Publication date |
---|---|
CN107479058B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107479058A (en) | A kind of distance detection method, mobile terminal and computer-readable recording medium | |
US11269073B2 (en) | Electronic device, screen-off processing method, and screen-off processing device | |
CN107358111B (en) | A kind of method for secret protection and mobile terminal | |
CN107392148B (en) | A kind of fingerprint detection method and mobile terminal | |
CN106502605A (en) | A kind of brightness of mobile terminal and color temperature adjusting method and device | |
CN106843655B (en) | A kind of information display method and electronic equipment | |
CN105956431B (en) | A kind of application protection processing method and mobile terminal | |
CN106686247A (en) | Proximity transducer detecting method and mobile terminal | |
CN106506401A (en) | A kind of flow managing method and mobile terminal | |
CN107317608A (en) | Antenna operating mode system of selection, mobile terminal and computer-readable recording medium | |
CN106998367A (en) | A kind of document down loading method and mobile terminal | |
CN106157125A (en) | A kind of payment interface changing method and device | |
CN106656236B (en) | A kind of method and electronic device of the reduction SAR based on multiple antennas | |
CN107450773A (en) | A kind of false-touch prevention method, terminal and computer-readable recording medium | |
CN106776082A (en) | The method of attaching and device of text | |
CN107038367A (en) | A kind of fingerprint identification method and mobile terminal | |
CN106407950A (en) | Facial information identification method and mobile terminal | |
CN106528603A (en) | Application program searching method and mobile terminal | |
CN106502545B (en) | A kind of operating method and mobile terminal for sliding control | |
CN106372893A (en) | Code scanning interface switching method and apparatus | |
CN106993091A (en) | A kind of image weakening method and mobile terminal | |
CN105827816A (en) | Screen splitting method for terminal screen, and mobile terminal | |
CN106713715A (en) | Photographing method and mobile terminal | |
CN107025024B (en) | A kind of method preventing mobile terminal maloperation and mobile terminal | |
CN107612595A (en) | A kind of antenna switching method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |