CN108243277A - Mobile terminal and its control method, storage device - Google Patents
Mobile terminal and its control method, storage device Download PDFInfo
- Publication number
- CN108243277A CN108243277A CN201711334356.9A CN201711334356A CN108243277A CN 108243277 A CN108243277 A CN 108243277A CN 201711334356 A CN201711334356 A CN 201711334356A CN 108243277 A CN108243277 A CN 108243277A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- state
- range sensor
- value
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of mobile terminal, which includes processor and at least two range sensors, and at least two range sensors are used to detecting the distance of at least two positions that mobile terminal is staggered in the plane and surrounding objects;Processor is connect at least two range sensors, when detecting that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value for each range sensor at least two range sensors, control mobile terminal enters first state, and for when any one range sensor detects that the distance of corresponding position and surrounding objects is more than pre-determined distance value at least two range sensors, control mobile terminal to enter the second state.The invention also discloses the control methods and storage device of a kind of mobile terminal.By the above-mentioned means, the present invention can avoid forgetting to switch the state of mobile terminal so as to cause unnecessary trouble due to user, the convenience that mobile terminal uses is promoted.
Description
Technical field
The present invention relates to electronic device field, more particularly to a kind of mobile terminal and its control method, storage device.
Background technology
The fast development of electronic technology makes various new functions, new technology constantly be applied to the mobile terminals such as smart mobile phone
In, and the increasingly diversification of the function of mobile terminal.
Mobile terminal usually requires to be switched between the two states according to the difference of environmental aspect different to adapt to
Environment needs.Current mobile terminal when switching between carry out state is switched over by manually mode.And it cuts manually
When changing, user would generally forget to switch and lead to unnecessary trouble.
For example, in order to reduce the energy consumption of mobile terminal, in mobile terminal when not in use, user needs turning-off mobile terminal
Screen is in the lock state its screen, and most of mobile terminals are to close screen by pressing the switch key of mobile terminal
It closes.However, many users usually forget the screen of turning-off mobile terminal after mobile terminal has been used, do not only result in mobile whole
End energy consumption increases, and is also easy to miss the problem of touch screen curtain causes mobile terminal maloperation due to user.
Invention content
The present invention is mainly to provide a kind of mobile terminal and its control method, storage device, can be existed according to ambient condition
Automatically switch between different states, user is avoided to forget switching state.
In order to solve the above technical problems, one aspect of the present invention is:A kind of mobile terminal is provided, the movement
Terminal includes processor and at least two range sensors, and at least two range sensors are used for plane where detecting mobile terminal
On the distance of at least two positions that are staggered and surrounding objects;Processor is connect at least two range sensors, for extremely
Each range sensor in few two range sensors detects that the distance of corresponding position and surrounding objects is less than or waits
When pre-determined distance value, control mobile terminal enters first state, and at least two range sensors any one
When range sensor detects that the distance of corresponding position and surrounding objects is more than pre-determined distance value, control mobile terminal enters second
State.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of control of mobile terminal is provided
Method processed, the control method include:At least two positions that are staggered in the plane of detection mobile terminal and surrounding objects away from
From, and generate corresponding at least two detecting distance values;Judge the magnitude relationship of at least two detecting distance values and pre-determined distance value;
It is respectively less than at least two detecting distance values or during equal to pre-determined distance value, control mobile terminal enters first state;Extremely
When any one in few two detecting distance values is more than pre-determined distance value, control mobile terminal enters the second state.
In order to solve the above technical problems, another technical solution that the present invention uses is:A kind of storage device is provided, is stored
Device is stored with computer program, which can be performed to realize the above method.
The beneficial effects of the invention are as follows:The situation of the prior art is different from, mobile terminal of the present invention is including processor and extremely
Few two range sensors, at least two range sensors are used to detect at least two that mobile terminal is staggered in the plane
Put the distance with surrounding objects;Processor is connect at least two range sensors, at least two range sensors
Each range sensor when detecting that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value, control
Mobile terminal enters first state, and is used for any one range sensor at least two range sensors and detects correspondence
When the distance of position and surrounding objects is more than pre-determined distance value, control mobile terminal enters the second state.By the above-mentioned means, it moves
Dynamic terminal can detect whether mobile terminal is lain on surrounding objects by range sensor, so as to according to whether lying in week
Enclosing makes mobile terminal automatically switch between different states on object, can avoid forgetting to switch mobile terminal due to user
State promotes the convenience that mobile terminal uses so as to cause unnecessary trouble.
Description of the drawings
Fig. 1 is the structure diagram of one embodiment of the invention mobile terminal;
Fig. 2 is that the processor of one embodiment of the invention mobile terminal is shown by the structure that detection circuit is connect with induction antenna
It is intended to;
Fig. 3 is the schematic diagram of one embodiment of the invention detection circuit output level;
Fig. 4 is the structure that the processor of another embodiment of the present invention mobile terminal is connect by detection circuit with induction antenna
Schematic diagram;
Fig. 5 is the structure diagram of second embodiment of the invention mobile terminal;
Fig. 6 is the structure diagram of third embodiment of the invention mobile terminal;
Fig. 7 is the structure diagram of fourth embodiment of the invention mobile terminal;
Fig. 8 is the flow diagram of the control method of mobile terminal of the present invention;
Fig. 9 is the schematic diagram of storage device of the embodiment of the present invention.
Specific embodiment
It is understandable for the above objects, features and advantages of the present invention is enable to become apparent, below in conjunction with the accompanying drawings, to the present invention
Specific embodiment be described in detail.It is understood that specific embodiment described herein is only used for explaining this hair
Bright rather than limitation of the invention.It also should be noted that it illustrates only for ease of description, in attached drawing and the present invention
Relevant part rather than entire infrastructure.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creation
Property labour under the premise of all other embodiments obtained, shall fall within the protection scope of the present invention.
Term " first ", " second " in the present invention etc. are specific suitable for distinguishing different objects rather than for describing
Sequence.In addition, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive include.Such as comprising
The step of process of series of steps or unit, method, system, product or equipment are not limited to list or unit, and
It is optionally to further include the step of not listing or unit or optionally further include for these processes, method, product or equipment
Intrinsic other steps or unit.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is the structure diagram of one embodiment of the invention mobile terminal.
In the present embodiment, mobile terminal 10 can include processor 11 and two range sensors 12.Processor 11 with
Two range sensors 12 are electrically connected.
In inventive embodiments, mobile terminal 10 can be smart mobile phone, palm PC, wearable smart machine or
Tablet computer etc., the present invention are not construed as limiting 10 type of mobile terminal.
Two range sensors 12 are respectively used to two positions and the surrounding that detection mobile terminal 10 is staggered in the plane
The distance of object.Optionally, two 12 detection parameters of range sensor or detection performance can be identical.
Plane where mobile terminal 10 can refer to the back housing surface of mobile terminal 10 or refer to mobile whole
The front surface of shell at end 10.Wherein, front refers to the one side where the screen of mobile terminal 10.
Optionally, two range sensors 12 can be respectively arranged at two diagonal corners of mobile terminal 10.Away from
Being set to that corner refers to a distance between the side of range sensor 12 and its nearest mobile terminal 10 from sensor 12 can be with
For 0mm to 10mm, for example, distance can be 0mm, 5mm between the side of range sensor 12 and its nearest mobile terminal 10
Or 10mm.It should be understood that when range sensor 12 includes practical detection part and corresponding detection circuit 122, such as examine
When surveying component as induction antenna 121, detection part and detection circuit 122 can be provided separately, and only by practical test section
Part is arranged on corresponding position and detected with the distance of the object of surrounding.
Optionally, the distance with surrounding objects surface can be referred to the distance of surrounding objects.Surrounding objects surface can be with
For even curface, in the present embodiment, the surfaces of surrounding objects can be the surface parallel with horizontal plane, such as desktop.
In other embodiment, surrounding objects can be inclined surface or vertical plane, for example, the surface of handset bracket.
Corresponding position can be two positions that above-mentioned mobile terminal 10 is staggered in the plane.For example, such as Fig. 1 institutes
Show, the corresponding position that the range sensor 12 in the upper left corner detects refers to left upper, such as 10 back housing surface of mobile terminal
Left upper;For another example the corresponding position that the range sensor 12 in the lower right corner detects refers at the lower right corner, such as mobile terminal
At the lower right corner on 10 back housing surfaces.
In the present embodiment, each range sensor 12 of the processor 11 in two range sensors 12 detects
When being less than or equal to pre-determined distance value to the distance of corresponding position and surrounding objects, control mobile terminal 10 enters the first shape
State.For example, as shown in Figure 1, the range sensor 12 positioned at 10 upper left corner of mobile terminal detects left upper and surrounding objects
Distance be less than or equal to pre-determined distance value, and bottom right is also detected that positioned at the range sensor 12 in 10 lower right corner of mobile terminal
At angle and when the distance of surrounding objects is less than or equal to pre-determined distance value, then show that mobile terminal 10 lies in surrounding objects
Surface, processor 11 control mobile terminal 10 to enter first state.
In the present embodiment, processor 11 is additionally operable to any one range sensor 12 in two range sensors 12 and examines
When measuring the distance of corresponding position and surrounding objects more than pre-determined distance value, control mobile terminal 10 enters the second state.For example,
As shown in Figure 1, as long as there are one detect in the range sensor 12 positioned at the upper left corner and the range sensor 12 positioned at the lower right corner
It is more than pre-determined distance value to the distance of corresponding position and surrounding objects, then it is not to lie in ambient body surface to show mobile terminal 10
Face, processor 11 control mobile terminal 10 to enter the second state.
Optionally, first state can be the lock state of screen of mobile terminal 10, and the second state can be mobile terminal
10 unlocking screen state.In other embodiments, first state can be the state that screen intensity is the first brightness value, corresponding
The second state can using screen intensity as the state of the second brightness value, wherein, the first brightness value be less than the second brightness value.At other
In embodiment, first state can be low performance low power consumpting state, and corresponding second state can be opposite high-performance Gao Gong
Consume shape.Under low performance low power consumpting state, screen intensity is relatively low, and mobile data function is closed, and WIFI function is closed, positioning
Function is closed;Under high-performance high power consumption state, screen intensity is relatively high, and mobile data can open, and WIFI function can be with
Unlatching, positioning function can open.
Optionally, which can be preset distance value, for example, mobile terminal 10 receives setting for user
Put instruction, according to the setting of user instruct obtain pre-determined distance value, and by the pre-determined distance value of acquisition store to the processor
In the memory of 11 connections.Processor 11 needs to judge that corresponding position and the distance of surrounding objects are closed with the size of pre-determined distance value
When being, read pre-determined distance value from memory and distinguish the distance of each range sensor 12 for getting and surrounding objects
Compared with pre-determined distance value.
Optionally, when pre-determined distance value can be lain according to mobile terminal 10 on surrounding objects repeated detection it is multiple away from
It is set from value, for example, when lying in same surrounding objects, repeatedly picks up and lie on surrounding objects, reciprocating operation,
Using the maximum value in multiple distance values of 12 repeated detection of range sensor when repeatedly lying on surrounding objects as it is default away from
From value.Alternatively, for different surrounding objects in a manner described, obtaining the corresponding maximum value of different surrounding objects, obtain different
The corresponding maximum value of surrounding objects average value as pre-determined distance value.
In another embodiment, each range sensor 12 of the processor 11 in two range sensors 12 is examined
The distance for measuring corresponding position and surrounding objects is less than or equal to pre-determined distance value, and processor 11 determines mobile terminal
When 10 application programs being currently running do not include default application program, control mobile terminal 10 enters first state.Optionally, in advance
If application program can be video reproduction program, games or documentor etc., this is not limited by the present invention, Yong Huke
To be preset as needed.
For example, user just watches video in hand-held mobile terminal 10, then video reproduction program is currently running, and sees video process
Mobile terminal 10 is put on the table in if, although each range sensor 12 can detect that the distance of corresponding position and desktop is small
In or equal to pre-determined distance value, but processor 11 does not control mobile terminal 10 to enter first state at this time;If processor 11
When the application program for detecting that mobile terminal 10 is currently running is not pre-set programs, processor 11 controls mobile terminal 10 to enter
First state.By the above-mentioned means, it can be influenced to avoid on user using default application program.
Optionally, in another embodiment, processor 11 is for each Distance-sensing in two range sensors 12
Device 12 detects that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value, then shows that mobile terminal 10 is flat
It is placed on surrounding objects, and the preset duration since being lain on surrounding objects mobile terminal 10 is detected in processor 11
When interior mobile terminal 10 does not receive user operation instruction, control mobile terminal 10 enters first state.
It chats for example, mobile terminal 10 is used in user, puts mobile terminal 10 on the table in chat process,
Although each range sensor 12 can detect that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value,
But if processor 11 detects that in preset duration mobile terminal 10 has received the operational order of user, processor at this moment
11 will not control mobile terminal 10 to enter first state;If processor 11 detects mobile terminal 10 in preset duration at this moment
The operational order of user is not received, then mobile terminal 10 is controlled to enter first state.
Optionally, above-mentioned each range sensor 12 can include detection circuit 122 and induction antenna 121, induction antenna
121 are connect by corresponding detection circuit 122 with processor 11.
It is understood that in the present embodiment, induction antenna 121 can be arranged on above-mentioned corresponding position, for example,
Induction antenna 121 can be arranged on the corner of the back side of shell of mobile terminal 10 and be fixed on the inner surface of back housing.Its
In, the inner surface for being fixed on back housing can be the inner surface for being covered in housing.Detection circuit 122 can be arranged on mobile whole
On the circuit board at end 10.
Induction antenna 121 can be used for being inducted the corresponding quantity of electric charge according to induction antenna 121 and the distance of surrounding objects.
Surrounding objects and induction antenna 121 can be considered as a capacitor.Surrounding objects and induction antenna 121 can be distinguished
It is considered as two pole plates of the capacitor, since the distance between the charge on the pole plate of capacitor and two pole plates are inversely proportional, with
The distance for induction antenna 121 and surrounding objects reduces, and the quantity of electric charge on induction antenna 121 becomes larger;With 121 He of induction antenna
The distance of surrounding objects increases, and the quantity of electric charge on induction antenna 121 is reduced, the quantity of electric charge size on induction antenna 121 and sensing
Antenna 121 is corresponded and is inversely proportional to one another with a distance from surrounding objects.Induction antenna 121 can according to induction antenna 121 with
The distance of surrounding objects is inducted the corresponding quantity of electric charge.
Detection circuit 122 be used for according to the quantity of electric charge inducted on induction antenna 121 generate corresponding voltage value, current value or
Level value, processor 11 are used to mobile terminal be controlled to enter first state or second according to voltage value, current value or level value
State.Wherein, level value, voltage value or current value can characterize distance between range sensor and surrounding objects.
It is to be appreciated that when detection circuit 122 is used to generate corresponding voltage value or electric current according to the above-mentioned quantity of electric charge
During value, the voltage value or current value can be used for characterizing the distance value of range sensor 12 and surrounding objects, and will be apart from biography
Sensor 12 with the distance of surrounding objects compared with pre-determined distance value, so as in two range sensors 12 it is each distance pass
When sensor 12 detects that the distance between corresponding position and surrounding objects are less than or equal to pre-determined distance value, control mobile whole
End 10 enter first state, in two range sensors 12 any one range sensor 12 detect corresponding position and around
When the distance of object is more than pre-determined distance value, control mobile terminal 10 enters the second state;When detection circuit 122 be used for according to
When the quantity of electric charge stated generates corresponding level value, which is for characterizing range sensor 12 and the distance value of surrounding objects
It is no to be more than pre-determined distance value, so as to which mobile terminal 10 be controlled to enter first state or the second state.
Certainly, detection circuit 122 can also generate corresponding performance number or impedance value according to the quantity of electric charge in the present invention, this
Invention is not restricted this.
Referring to Fig.2, the processor that Fig. 2 is one embodiment of the invention mobile terminal is connect by detection circuit with induction antenna
Structure diagram.
Detection circuit 21 includes detection chip 211, sensitivity adjusting circuit 212, the filtering of the first filter circuit 213, second
Circuit 214, third filter circuit 215, anti-static circuit 216, the first pull-up circuit 217, the second pull-up circuit 218 and drop-down
Circuit 219.Wherein, the input terminal connection induction antenna 121 of detection circuit 21, the output terminal connection processing device 11 of detection circuit 21
Input terminal.
It is to be appreciated that above-mentioned detection circuit 122 can be the detection circuit 21 of the present embodiment.
Sensitivity adjusting circuit 212 is connect with the THR0 pins and THR1 pins of detection chip 211
Sensitivity adjusting circuit 212 includes first resistor R1, second resistance R2,3rd resistor R3 and the 4th resistance R4.
The THR0 pins of the first end connecting detection chip 211 of first resistor R1, second end connection the first work electricity of first resistor R1
U1, the THR0 pins of the first end connecting detection chip 211 of second resistance R2 are pressed, the second end of second resistance R2 is grounded GND, the
The THR1 pins of the first end connecting detection chip 211 of three resistance R3, the second end of 3rd resistor R3 connect the second operating voltage
The THR1 pins of the first end connecting detection chip 211 of U2, the 4th resistance R4, the second end ground connection GND of the 4th resistance R4.
Detection chip 211 is used to generate corresponding voltage value according to the quantity of electric charge inducted on induction antenna 121.Sensitivity tune
Economize on electricity road 122 generates difference according to its own different circuit configuration on the THR0 pins of detection chip 211 and THR1 pins
Partial pressure.Detection chip 211 is used to generate electricity according to partial pressure of the sensitivity adjusting circuit 212 on THR0 pins and THR1 pins
Press threshold value.Detection chip 211 by the voltage value generated according to the quantity of electric charge compared with voltage threshold after export corresponding level value.
Processor 11 is used to mobile terminal 10 be controlled to enter first state or the second state according to level value.
For example, level value herein can represent that number 0 represents low level with number 0 or number 1, number 1 represents height
Level.In one embodiment, when voltage value is more than voltage threshold, low level 0 is exported, is less than or equal to voltage in voltage value
During threshold value, high level 1 is exported.In another example in other embodiments, when voltage value is more than voltage threshold, high level 1 is exported,
When voltage value is less than or equal to voltage threshold, low level 0 is exported.It is not limited in the embodiment of the present invention.
In the present embodiment, sensitivity adjusting circuit can be adjusted by changing the resistance value of first to fourth resistance R1~R4
212 partial pressure on THR0 pins and THR1 pins, so as to adjust the voltage threshold that detection chip 211 is generated according to the partial pressure
Value.
First filter circuit 213 is connect with the VDDHI pins of detection chip 211, the first filter circuit 213 for filter out to
The noise for the third operating voltage U3 that detection chip 211 is powered.
First filter circuit 213 includes the first capacitance C1 and the second capacitance C2, the first end connecting detection of the first capacitance C1
The VDDHI pins of chip 211, the second end ground connection GND of the first capacitance C1, the first end connecting detection chip of the second capacitance C2
211 VDDHI pins, the second end ground connection GND of the second capacitance C2, in addition, third operating voltage U3 connecting detections chip 211
VDDHI pins.
Second filter circuit 214 is connect with the VERG pins of detection chip 211, and the second filter circuit 214 is used to filter out inspection
Survey the noise that chip 211 generates at work.
Second filter circuit 214 includes third capacitance C3 and the 4th capacitance C4.The first end connecting detection of third capacitance C3
The VERG pins of chip 211, the second end ground connection GND of third capacitance C3, the first end connecting detection chip 211 of the 4th capacitance C4
VERG pins, the 4th capacitance C4 second end ground connection GND.
Third filter circuit 215 is connect with the CRXO pins of detection chip 211, and third filter circuit 215 is used to filter out sense
Answer the noise of charge caused by antenna 121.
Third filter circuit 215 includes the 5th capacitance C5 and the 5th resistance R5, the first end ground connection GND of the 5th capacitance C5,
The CRXO pins of the second end connecting detection chip 211 of 5th capacitance C5, the first end connection induction antenna of the 5th resistance R5
The CRXO pins of the second end connecting detection chip 211 of 121, the 5th resistance R5.
Anti-static circuit 216 is connect with induction antenna 121, and anti-static circuit 216 is used to prevent the electricity in detection circuit 21
Circuit component is damaged by the impact of transient state high-energy.
Anti-static circuit 216 includes transient voltage suppressor (TVS, TRANSIENT VOLTAGE
SUPPRESSOR), the first end connection induction antenna 121 of transient voltage suppressor, the of transient voltage suppressor
Two ends are grounded GND.
First pull-up circuit 217 is connect with the MOV_OUT pins of detection chip 211, and the first pull-up circuit 217 is used to make inspection
It surveys chip 211 and exports stable level.
First pull-up circuit 217 includes the 6th resistance R6, and the first end of the 6th resistance R6 connects the 4th operating voltage U4, the
The MOV_OUT pins of the second end connecting detection chip 211 of six resistance R6.In addition, the second end of the 6th resistance R6 also passes through
Seven resistance R7 connection processings devices 11, specifically, the second end of the 6th resistance R6 connects the first end of the 7th resistance R7;7th electricity
Hinder the second end connection processing device 11 of R7.
Second pull-up circuit 218 is connect with the TIMER pins of detection chip 211, the second pull-up circuit 218 and detection chip
211 combine, for being recalibrated when being not responding within 10 predetermined time of mobile terminal, for example, in the given time, mobile terminal
10 when not moving, and the second pull-up circuit 218 is combined control detection chip 211 with detection chip 211 again to mobile terminal 10
State is detected and calibrates.
Second pull-up circuit 218 includes the 8th resistance R8, and the first end of the 8th resistance R8 connects the 5th operating voltage U5, the
The TIMER pins of the second end connecting detection chip 211 of eight resistance R8.
Pull-down circuit 219 is connect with the OUT pins of detection chip 211, and pull-down circuit 219 is used to make detection chip 211 defeated
Go out stable level.
Pull-down circuit 219 include the 9th resistance R9, the 9th resistance R9 first end ground connection GND, the second of the 9th resistance R9
Hold the OUT pins of connecting detection chip 211.In addition, the second end of the 9th resistance R9 is also connected with processor 11.
Detection chip 211 can include TIMER pins, VSS pins, CRXO pins, VDDHI pins, VREG pins, THR1
Pin, MOV_THR pins, THR0 pins, OUT pins and MOV_OUT pins.TIMER pins are super for being configured without action
When the time, by change the 8th resistance R8, resistance value, different delays is set.VSS pins are ground connection GND pin.CRXO pins
For charge detection pin.VDDHI pins are operating voltage pin.VREG pins connect pin for filter capacitor.THR1 pins are
Pin is finely tuned in sensitivity.MOV_THR pins are dynamic sensitivity adjustment pin.THR0 pins are thick pin of sensitivity.OUT draws
Foot is low level output pin.MOV_OUT is high level output pin.
It is filtered it should be noted that detection circuit 21 can only include sensitivity adjusting circuit 212, first shown in figure
Circuit 213, the second filter circuit 214, third filter circuit 215, anti-static circuit 216, on the first pull-up circuit 217, second
A part of circuit in puller circuit 218 and pull-down circuit 219, can also be directly by 121 connecting detection chip 211 of induction antenna
CRXO pins and the MOV_OUT pins and OUT pins of detection chip 211 be all connected with processor 11.The present invention does not make this
It limits.
Referring to Fig. 3, Fig. 3 is the schematic diagram of one embodiment of the invention detection circuit output level, wherein, when horizontal axis represents
Between, the longitudinal axis represents level.
In the present embodiment, by taking surrounding objects are desktop as an example, when mobile terminal 10 is close to desktop, induction antenna 121
On the quantity of electric charge increase, the voltage value that detection chip 211 is generated according to the quantity of electric charge is with increase, and at the t0 moment, detection core
Piece 211 determines the voltage value more than the voltage threshold that detection chip 211 is generated according to the partial pressure on sensitivity adjusting circuit 212
When, detection circuit 21 exports low level, such as 0;When mobile terminal 10 is far from desktop, the quantity of electric charge drop on induction antenna 121
Low, the voltage value that detection chip 211 is generated according to the quantity of electric charge determines the voltage with reduction, and in detection chip 211
When value is less than or equal to the voltage threshold, detection circuit 21 exports high level, such as 1.
In other embodiments, when mobile terminal 10 is close to desktop, the quantity of electric charge on induction antenna 121 increases, detection
For the voltage value that chip 211 is generated according to the quantity of electric charge with increase, and at the t0 moment, which is more than detection chip 211
During the voltage threshold generated according to sensitivity adjusting circuit 212, detection circuit 21 exports high level, such as 1;It is remote in mobile terminal 10
During from desktop, the quantity of electric charge on induction antenna 121 reduces, the voltage value that detection chip 211 is generated according to the quantity of electric charge with
Reduce, and in the voltage value less than or equal to the voltage threshold that detection chip 211 is generated according to sensitivity adjusting circuit 212
When, detection circuit 21 exports low level, such as 0.The level change that processor 11 can be exported by detection circuit 21, to movement
Switching between 10 carry out state of terminal.For example, in the present embodiment, when the level that detection circuit 21 exports is become from high level
During low level, processor 11 control mobile terminal 10 enter first state and, when detection circuit 21 export level by low electricity
Flat when becoming high level, processor 11 controls mobile terminal 10 to enter the second state.Certainly, in other embodiments, can also
It is when the level that detection circuit 21 exports becomes high level from low level, processor 11 controls mobile terminal 10 to enter the first shape
State and, when detection circuit 21 export level low level is become from high level when, processor 11 control mobile terminal 10 enter
Second state.
Referring to Fig. 4, the processor that Fig. 4 is another embodiment of the present invention mobile terminal passes through detection circuit and induction antenna
The structure diagram of connection.
Detection circuit 31 includes charge amplifying circuit 311, charge conversion circuit 312 and analog to digital conversion circuit 313.It can be with
Understand ground, above-mentioned detection circuit 122 can be the detection circuit 31 of the present embodiment.Charge amplifying circuit 311 is used as detection circuit
31 input terminal is connect with induction antenna 121, and analog to digital conversion circuit 313 connects as the output terminal of detection circuit 31 with processor 11
It connects.Specifically, the output terminal of the input terminal connection induction antenna 121 of charge amplifying circuit 311, charge conversion circuit 312
Input terminal connects the output terminal of charge amplifying circuit 311, the input terminal connection charge conversion circuit 312 of analog to digital conversion circuit 313
Output terminal and processor 11 input terminal connection analog to digital conversion circuit 313 output terminal.
Charge amplifying circuit 311 is used to the quantity of electric charge on induction antenna 12 being amplified.For example, charge amplifying circuit
311 are used to the quantity of electric charge M on induction antenna 12 being amplified to N × M, and optionally, the numerical value of N can be 5,10 or 20, this hair
It is bright that amplification factor is not construed as limiting.
Charge conversion circuit 312 is used to the amplified quantity of electric charge being converted to voltage value.Charge conversion circuit 312 can have
A variety of realization methods, for example, in one embodiment, charge conversion circuit 312 can include operational amplifier, operational amplifier
Reverse input end connects charge amplifying circuit 311, and the in-phase input end of operational amplifier is grounded, and the output terminal of operational amplifier is defeated
Go out the voltage value.Certainly, charge conversion circuit 312 can also use other principles, as long as can realize that charge is converted to voltage i.e.
It can this is not limited by the present invention.
Analog to digital conversion circuit 313 is used to voltage value being converted to corresponding level value.For example, analog to digital conversion circuit 313, is used
In when voltage value is higher than voltage threshold, which is converted into high level, and be below or equal to voltage threshold in voltage value
During value, which is converted into low level.
Optionally, detection circuit 31 can include not circuit, the input terminal connection analog to digital conversion circuit 313 of not circuit
Output terminal, the output terminal connection processing device 11 of not circuit.
Processor 11 can be by the variation of 31 output level value of detection circuit, between 10 carry out state of mobile terminal
Switching.Specific handoff procedure please refers to described above, and details are not described herein again.
Referring to Fig. 5, Fig. 5 is the structure diagram of second embodiment of the invention mobile terminal.
In the present embodiment, mobile terminal 40 includes two range sensors 42 and processor 41.
Range sensor 42 includes optical transmitting set 421 and optical receiver 422, optical transmitting set 421 and optical receiver 422 with
Processor 41 is electrically connected, and optical transmitting set 421 is for emitting light, and optical receiver 422 is for reception after surrounding objects reflect
Light.
In one embodiment, optical transmitting set 421 can be used for emitting infrared light, and optical receiver 422 is for reception through surrounding
Infrared light after object reflection.
Optionally, optical transmitting set 421 can periodically emit infrared light, for example, optical transmitting set 421 can be every 0.1
Second to the random time in 5 seconds emits an infrared light.For example, transmitter can be primary every transmitting in 0.1 second, 1 second or 5 seconds
Infrared light.
The infrared light and optical receiver 422 that processor 41 is used to be emitted according to optical transmitting set 421 receive the time of infrared light
Difference obtains the distance of range sensor 42 and surrounding objects, and is moved according to the distance controlling of range sensor 42 and surrounding objects
Terminal 40 enters first state or the second state.
For example, the time of transmitter transmitting infrared light is F, the time that optical receiver 422 receives infrared light is G, light velocity v
When, then range sensor 42 and the distance of surrounding objects can be (G-F) × v ÷ 2.
Processor 41 is after the distance for obtaining range sensor 42 and surrounding objects, it can be determined that the distance whether be less than or
Person is equal to pre-determined distance value, and when the distance is less than or equal to pre-determined distance value, and control mobile terminal 40 enters the first shape
State;When the distance is more than pre-determined distance value, control mobile terminal 40 enters the second state.
In other embodiments, range sensor 42 can also include other kinds of transmitter and receiver, such as electricity
Magnetic ejector and electromagnetic receiver, principle with act on optical transmitting set 421 and 421 principle of optical transmitting set is identical with effect, this
Application is not restricted the type of transmitter and receiver.
In other embodiments, mobile terminal can also include more than two range sensor, processor and each distance
Sensor is electrically connected.
For example, referring to Fig. 6, Fig. 6 is the structure diagram of third embodiment of the invention mobile terminal.
In the present embodiment, mobile terminal 50 includes processor 51 and three range sensors 52, three range sensors
52 are respectively arranged at 50 3 corners of mobile terminal.Three range sensors 52 are respectively used to put down where detection mobile terminal 50
Three positions being staggered on face and the distance of surrounding objects.Being arranged on illustrating for corner about range sensor 52 can be with
The description seen above, details are not described herein again.
Processor 51 is electrically connected with three range sensors 52.Processor 51 is used in three range sensors 52
When each range sensor 52 detects that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value, control
Mobile terminal 50 enters first state, and in three range sensors 52 any one range sensor 52 detect pair
When answering the distance of position and surrounding objects more than pre-determined distance value, control mobile terminal 50 enters the second state.
For another example referring to Fig. 7, Fig. 7 is the structure diagram of fourth embodiment of the invention mobile terminal.
In the present embodiment, mobile terminal 60 includes processor 61 and four range sensors 62.Four range sensors
62 are respectively arranged at four corners of mobile terminal 60.Four range sensors 62 are used to detect 60 place plane of mobile terminal
On the distance of four positions being staggered and surrounding objects.
Processor 61 is electrically connected with four range sensors 62.Processor 61 is used in four range sensors 62
When each range sensor 62 detects that the distance of corresponding position and surrounding objects is less than or equal to pre-determined distance value, control
Mobile terminal 60 enters first state, and in four range sensors 62 any one range sensor 62 detect pair
When answering the distance of position and surrounding objects more than pre-determined distance value, control mobile terminal 60 enters the second state.
It is understood that the quantity of range sensor can also be other quantity, but quantity should be at least two, herein
It does not enumerate.Range sensor can also be located elsewhere, such as the quantity of range sensor is two, and one is used for
Detect the back side middle of mobile terminal and the distance of surrounding objects, another be used to detecting the back side corner of mobile terminal with
The distance of surrounding objects.
Referring to Fig. 8, Fig. 8 is the flow diagram of the control method of mobile terminal of the present invention.
The control method of the mobile terminal may comprise steps of:
Step S11:At least two positions and the distance of surrounding objects that detection mobile terminal is staggered in the plane, and produce
Raw corresponding at least two detecting distance values;
Step S12:Judge the magnitude relationship of at least two detecting distance values and pre-determined distance value;
Step S13:Be respectively less than at least two detecting distance values or during equal to pre-determined distance value, control mobile terminal into
Enter first state;
Optionally, in one embodiment, it is respectively less than or during equal to pre-determined distance value at least two detecting distance values, and
Mobile terminal detects when user instruction is not received by preset duration, and control mobile terminal enters first state.
In another embodiment, it is respectively less than or during equal to pre-determined distance value at least two detecting distance values, and mobile
Terminal detects that the application program that mobile terminal is currently running is not when presetting application program, and control mobile terminal enters the first shape
State.
In another embodiment, it is respectively less than or during equal to pre-determined distance value at least two detecting distance values, and mobile
When terminal detects that at least two distance values do not change in preset duration, control mobile terminal enters first state.
Step S14:In at least two detecting distance values any one be more than pre-determined distance value when, control mobile terminal into
Enter the second state.
Optionally, mobile terminal can receive the configuration-direct of user in advance, and according to the configuration-direct " unlatching " of user
Or " closing " automatically switches the function of state, for example, only when the function is opened, mobile terminal just performs above-mentioned mobile end
The control method at end, and do not perform when closed.
Referring to Fig. 9, Fig. 9 is the schematic diagram of storage device of the embodiment of the present invention.
Storage device 70 is stored with computer program, which can be performed to realize above-mentioned mobile terminal
Control method.
Optionally, storage device 70 can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc, CD or server etc. are various can to store journey
The medium of sequence code.
The situation of the prior art is different from, mobile terminal of the present invention includes at least two range sensors and processor, until
Few two range sensors are used to detecting the distance of at least two positions that mobile terminal is staggered in the plane and surrounding objects;
Processor is connect at least two range sensors, is examined for each range sensor at least two range sensors
When measuring the distance of corresponding position and surrounding objects less than or equal to pre-determined distance value, control mobile terminal enters the first shape
State, and at least two range sensors any one range sensor detect corresponding position and surrounding objects away from
During from more than pre-determined distance value, control mobile terminal enters the second state.By the above-mentioned means, mobile terminal can pass through distance
Whether sensor detection mobile terminal is lain on surrounding objects, so as to according to whether lying in makes mobile terminal on surrounding objects
Automatically switch between different states, can avoid forgetting that the state for switching mobile terminal is unnecessary so as to cause due to user
Trouble, promote the convenience that uses of mobile terminal.
The foregoing is merely embodiments of the present invention, are not intended to limit the scope of the invention, every to utilize this
It is relevant to be directly or indirectly used in other for the equivalent structure or equivalent flow shift that description of the invention and accompanying drawing content are made
Technical field is included within the scope of the present invention.
Claims (10)
1. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
At least two range sensors, for detecting at least two positions and the surrounding that the mobile terminal is staggered in the plane
The distance of object;
Processor is connect at least two range sensor, for each at least two range sensor
When range sensor detects that the distance of corresponding position and the surrounding objects is less than or equal to pre-determined distance value, institute is controlled
It states mobile terminal and enters first state, and for any one range sensor detection at least two range sensor
When being more than the pre-determined distance value to the distance of corresponding position and the surrounding objects, the mobile terminal is controlled to enter the second shape
State.
2. mobile terminal according to claim 1, which is characterized in that each range sensor include detection circuit and
Induction antenna, the induction antenna are connected to the processor by the detection circuit, at least two range sensor
At least two induction antennas be respectively arranged at two positions that the mobile terminal is staggered in the plane, the induction antenna
For being inducted the corresponding quantity of electric charge according to the induction antenna and the distance of the surrounding objects, the detection circuit is used for basis
The quantity of electric charge generates corresponding voltage value, current value or level value, and the processor is used for according to the voltage value, current value
Or level value controls the mobile terminal to enter the first state or second state.
3. mobile terminal according to claim 2, which is characterized in that the quantity of the range sensor is two, two
Two induction antennas of the range sensor are respectively arranged at two diagonal corners of the mobile terminal.
4. mobile terminal according to claim 2, which is characterized in that the quantity of the range sensor is four, four
Four induction antennas of the range sensor are respectively arranged at four corners of the mobile terminal.
5. mobile terminal according to claim 2, which is characterized in that the detection circuit includes detection chip and sensitivity
Circuit is adjusted, the induction antenna is connected to the processor by the detection chip, the sensitivity adjusting circuit and institute
Detection chip connection is stated, the detection chip is used to generate corresponding voltage value according to the quantity of electric charge, for according to the spirit
The partial pressure that sensitivity is adjusted on circuit generates voltage threshold and for producing after the voltage value is compared with the voltage threshold
Raw corresponding level value, the processor be used for according to the level value control the mobile terminal enter the first state or
Second state described in person.
6. mobile terminal according to claim 2, which is characterized in that the quantity of the range sensor is three, three
Three induction antennas of the range sensor are respectively arranged at described three corners of mobile terminal.
7. mobile terminal according to claim 1, which is characterized in that the range sensor includes optical transmitting set and light connects
Device is received, the optical transmitting set and the optical receiver are connected to the processor, and the optical transmitting set is for emitting light, institute
State optical receiver for receive the light after surrounding objects reflection, the processor is for according to the light emitting
Device emits light and optical receiver receives the time difference acquisition range sensor of light and the distance of the surrounding objects, and
Mobile terminal enters the first state or institute according to the distance controlling of the range sensor and the surrounding objects
State the second state.
8. according to claim 1-7 any one of them mobile terminals, which is characterized in that the first state is described mobile whole
The lock state of screen at end, second state are the unlocking screen state of the mobile terminal.
9. a kind of control method of mobile terminal, which is characterized in that the control method includes:
Detect at least two positions and the distance of the surrounding objects that the mobile terminal is staggered in the plane, and generation pair
Answer at least two detecting distance values;
Judge the magnitude relationship of at least two detecting distances value and the pre-determined distance value;
Be respectively less than in at least two detecting distances value or during equal to the pre-determined distance value, control the mobile terminal into
Enter the first state;
In at least two detecting distances value any one be more than the pre-determined distance value when, control the mobile terminal into
Enter second state.
10. a kind of storage device, which is characterized in that the storage device is stored with computer program, the computer program energy
It is enough performed to realize the method described in claim 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711334356.9A CN108243277A (en) | 2017-12-12 | 2017-12-12 | Mobile terminal and its control method, storage device |
PCT/CN2018/120604 WO2019114755A1 (en) | 2017-12-12 | 2018-12-12 | Mobile terminal and control method therefor, and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711334356.9A CN108243277A (en) | 2017-12-12 | 2017-12-12 | Mobile terminal and its control method, storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108243277A true CN108243277A (en) | 2018-07-03 |
Family
ID=62700128
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711334356.9A Pending CN108243277A (en) | 2017-12-12 | 2017-12-12 | Mobile terminal and its control method, storage device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108243277A (en) |
WO (1) | WO2019114755A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019114755A1 (en) * | 2017-12-12 | 2019-06-20 | 捷开通讯(深圳)有限公司 | Mobile terminal and control method therefor, and storage device |
CN110138974A (en) * | 2019-05-20 | 2019-08-16 | 西安易朴通讯技术有限公司 | Screen control method, device, equipment and computer readable storage medium |
CN113377237A (en) * | 2021-06-30 | 2021-09-10 | 歌尔科技有限公司 | False touch prevention method, wearable device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113746957A (en) * | 2020-05-28 | 2021-12-03 | 北京小米移动软件有限公司 | Screen-down structure and scene recognition method of mobile phone based on screen-down structure |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140187226A1 (en) * | 2011-08-05 | 2014-07-03 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Mobile terminal and method of displaying according to environmental data |
CN105278655A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Control method and device of fingerprint sensor |
CN106125920A (en) * | 2016-06-21 | 2016-11-16 | 深圳市金立通信设备有限公司 | A kind of terminal and control method thereof |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090079954A1 (en) * | 2007-09-24 | 2009-03-26 | Alton Smith | Method and Device for Measuring Distances |
CN102202133B (en) * | 2011-04-26 | 2013-11-27 | 深圳市嘉兰图设计有限公司 | Mobile terminal unlocking method and mobile terminal |
CN103491230B (en) * | 2013-09-04 | 2016-01-27 | 三星半导体(中国)研究开发有限公司 | Can the mobile terminal of automatic regulating volume and font and Automatic adjustment method thereof |
CN106953969A (en) * | 2017-03-13 | 2017-07-14 | 北京小米移动软件有限公司 | The screen control method and device of mobile terminal |
CN108243277A (en) * | 2017-12-12 | 2018-07-03 | 惠州Tcl移动通信有限公司 | Mobile terminal and its control method, storage device |
-
2017
- 2017-12-12 CN CN201711334356.9A patent/CN108243277A/en active Pending
-
2018
- 2018-12-12 WO PCT/CN2018/120604 patent/WO2019114755A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140187226A1 (en) * | 2011-08-05 | 2014-07-03 | Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. | Mobile terminal and method of displaying according to environmental data |
CN105278655A (en) * | 2015-11-03 | 2016-01-27 | 广东欧珀移动通信有限公司 | Control method and device of fingerprint sensor |
CN106125920A (en) * | 2016-06-21 | 2016-11-16 | 深圳市金立通信设备有限公司 | A kind of terminal and control method thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019114755A1 (en) * | 2017-12-12 | 2019-06-20 | 捷开通讯(深圳)有限公司 | Mobile terminal and control method therefor, and storage device |
CN110138974A (en) * | 2019-05-20 | 2019-08-16 | 西安易朴通讯技术有限公司 | Screen control method, device, equipment and computer readable storage medium |
CN113377237A (en) * | 2021-06-30 | 2021-09-10 | 歌尔科技有限公司 | False touch prevention method, wearable device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2019114755A1 (en) | 2019-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108243277A (en) | Mobile terminal and its control method, storage device | |
CN103227869B (en) | A kind of method of mobile terminal and unlatching mobile terminal camera | |
KR20180048445A (en) | Fingerprint collecting device and method, terminal device, and screen on-off control method | |
US9690348B2 (en) | Contactless turning on of IoT devices using mobile phone camera light source | |
CN109543570B (en) | Fingerprint identification method and related product | |
CN104951159A (en) | Touch key and fingerprint identification method | |
CN107835033A (en) | Control method, device, terminal device and the storage medium of antenna tuning switch | |
US8731208B2 (en) | Portable electronic device having universal earphone jack | |
CN107292237A (en) | The acquisition method and Related product of fingerprint | |
US11128298B2 (en) | Advanced capacitive proximity sensor | |
CN108572767A (en) | A kind of method in determining external object orientation, mobile terminal | |
WO2014151222A1 (en) | System and method for energy efficient measurement of sensor signal | |
CN104168529B (en) | The micromachined microphones of multi-mode | |
CN109075704A (en) | A kind of load supplying circuit and terminal | |
CN107147450A (en) | Radio frequency interference processing method, device, storage medium and terminal | |
CN103686464A (en) | Method and device for controlling equipment and electronic equipment | |
CN106791214A (en) | A kind of mobile terminal screen control method and device | |
CN105611446B (en) | Self-shooting bar recognition methods, device and mobile terminal | |
CN209462553U (en) | Bluetooth headset control circuit and bluetooth headset | |
CN113487768A (en) | Intelligent door lock touch key detection device and method | |
CN209199596U (en) | Earphone as interactive voice terminal | |
CN108810261A (en) | Antenna switching method and Related product in call | |
CN108375912A (en) | Intelligent home furnishing control method and Related product | |
CN210199843U (en) | NFC card reading device, intelligent door lock and access control system | |
CN105611445B (en) | Recognition methods, device and the mobile terminal of self-shooting bar and self-shooting bar |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180703 |