Invention content
The present invention provides a kind of method, device and mobile terminal of lock-screen, and light is used to solve the prior art
Feel to realize that screen locking improves the cost of terminal, and during screen locking, influence whether GPS sensitivity, to extend positioning
The problem of time.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of methods of lock-screen, including:Monitoring is complete
To sensitivity(Totallsotropic Sensi-ticity, referred to as TIS)Situation of change;Be equal in the value of the TIS or
In the case of less than default TIS threshold values, the instruction of lock-screen is sent so that the screen enters black state.
Further, the situation of change for monitoring TIS includes:Monitor the current working condition of mobile terminal;In the work shape
In the case that state is in preset state, the situation of change of the TIS is monitored in real time, wherein the preset state includes:Transmission is exhaled
It cries request or establishes call connection.
Further, after the situation of change for monitoring the TIS in real time, further include:When the current work of the mobile terminal
When the non-preset state of state, stop the situation of change for monitoring the TIS.
Further, the value of the TIS is determined as follows:Referred to according to the radio-frequency front-end received signal strength received
Show(Received Signal Strength Indication, referred to as RSSI)Determine the value of the TIS.
Further, when monitoring that the value of the TIS is higher than the default TIS threshold values again, the screen that unlocks is sent
The instruction of curtain is so that the screen enters illuminating state.
On the other hand, the present invention also provides a kind of devices of lock-screen, including:Monitoring modular, for monitoring TIS's
Situation of change;Sending module, in the case where the value of the TIS is equal to or less than default TIS threshold values, sending locking screen
The instruction of curtain is so that the screen enters black state.
Further, the monitoring modular includes:First monitoring unit, the working condition current for monitoring mobile terminal;
Second monitoring unit, in the case where the working condition is in preset state, monitoring the variation feelings of the TIS in real time
Condition, wherein the preset state includes:It sends call request or establishes call connection.
Further, the monitoring modular further includes:Execution unit, for non-in the current working condition of the mobile terminal
In the case of the preset state, stop the situation of change for monitoring the TIS.
Further, the sending module is additionally operable to be higher than the feelings of the default TIS threshold values again in the value of the TIS
Under condition, the instruction for the screen that unlocks is sent so that the screen enters illuminating state.
In another aspect, the present invention also provides a kind of mobile terminals, including:The dress of lock-screen described in any one of the above embodiments
It sets.
The present invention is operated using the situation of change of TIS to trigger screen locking, is equal to or less than pre- gating in the value for monitoring TIS
In the case of limit value, the instruction of lock-screen is sent so that the screen enters black state.This method is not increasing other devices
In the case of part, the operation of terminal screen locking is accurately realized, the prior art is solved and realizes that screen locking improves end using light sensation
The cost at end, and during screen locking, influence whether GPS sensitivity, the problem of to extend positioning time.
Specific implementation mode
Realize that screen locking improves the cost of terminal to solve the prior art using light sensation, and during screen locking,
Influence whether GPS sensitivity, the problem of to extend positioning time, the present invention provides a kind of method, apparatus of lock-screen
And mobile terminal, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that this place
The specific embodiment of description is only used to explain the present invention, does not limit the present invention.
The flow of the method for lock-screen provided in an embodiment of the present invention can be with as shown in Figure 1, including step S102 to step
Rapid S104.
Step S102 monitors the situation of change of TIS.
During realization, if user's hand, close to mobile terminal, the TIS of mobile terminal can change, user's head
With hand together close to mobile terminal when, then the TIS of mobile terminal will continue to change, and such variation is a kind of degradating trend.Cause
This, the situation of change for monitoring TIS namely monitors whether TIS deteriorates to a certain extent.When hand is close to mobile terminal, TIS
Value will present a downward trend, when head and hand simultaneously close to mobile terminal when, the value of the TIS can be more independent than hand
Decline when contacting mobile terminal more.
Step S104 sends the instruction of lock-screen in the case where the value of TIS is equal to or less than default TIS threshold values
So that screen enters black state.Wherein, which can be a value being determined by experiment, and can also be
The value simulated by mathematical model, those skilled in the art can set as needed.
When TIS deteriorates into equal to or less than default TIS threshold values, illustrates user's hand and head while close movement is eventually
End, and to a closer distance, at this point it is possible to which the instruction for sending lock-screen carrys out lock-screen, avoid with screen more
Maloperation is caused when close.Screen locking is carried out to mobile terminal by this method, additional devices can not be increased, and in the mistake of screen locking
Cheng Zhong does not interfere with GPS sensitivity.
In implementation process, if in the state that mobile terminal is constantly in monitoring TIS, it is possible that mobile terminal consumes
The very fast situation of electricity., can be before the situation of change of monitoring TIS based on above-mentioned consideration, the current work of monitoring mobile terminal
State;In the case that if the working condition of mobile terminal is in preset state, then the situation of change of monitoring TIS in real time, wherein
Preset state includes:It sends call request or establishes call connection.If mobile terminal is detached from preset state, stop monitoring
The situation of change of TIS.Mobile terminal is monitored using such mode, mobile terminal can be solved because constantly executing monitoring work
Make and the very fast problem of power consumption, extends stand-by time.It is of course also possible to take the change of the TIS of other methods monitoring mobile terminal
Change situation, for example, the TIS of interval detection mobile terminal to schedule.
When monitoring TIS, the value that various ways determine TIS may be used, be according to the radio frequency received in the present embodiment
Front end RSSI determines the value of TIS.
When the value for monitoring TIS is higher than default TIS threshold values again, determine that head far from mobile terminal, then can be sent out
The instruction for the screen that unlocks is sent so that screen enters illuminating state.At this point, the screen being lit can normally receive user's
Operation.
The present embodiment additionally provides a kind of device of lock-screen, and the structural representation of the device is as shown in Fig. 2, include:Prison
Survey module 10, the situation of change for monitoring TIS;Sending module 20 is coupled with monitoring modular 10, is equal to for the value in TIS
Or in the case of being less than default TIS threshold values, the instruction of lock-screen is sent so that screen enters black state.
Fig. 3 shows that the preferred structure block diagram of monitoring modular 10, monitoring modular 10 include:First monitoring unit 102, is used for
Monitor the current working condition of mobile terminal;Second monitoring unit 104 is coupled with the first monitoring unit 102, for mobile whole
In the case of holding current working condition to be in preset state, the situation of change of TIS is monitored in real time, wherein preset state includes:
It sends call request or establishes call connection;Execution unit 106 is coupled with the first monitoring unit 102, for de- in mobile terminal
In the case of preset state, stop the situation of change of monitoring TIS.
During the work of the device of above-mentioned lock-screen, sending module 20 is additionally operable to again be higher than in the value of TIS pre-
If in the case of TIS threshold values, the instruction for the screen that unlocks is sent, so that screen enters illuminating state.
Preferred embodiment
Smart mobile phone screen consumption electricity ratio is larger, while the mobile phone of touch screen can be because of people when human ear receives calls
Face touches screen and generates maloperation.If can be solved these problems with lock-screen when human ear is answered.Phase
Screen locking method in the technology of pass is all to control screen locking using proximity sensor, increases the cost of mobile phone.
This preferred implementation replaces proximity sensor to control screen locking using the induction of antenna, when answering call, if day
Line can cause TIS to deteriorate rapidly close to human ear.The radio circuit front-end detection of mobile phone is to the variation of RSSI at this time, and processor is just
Think that mobile phone begins to human ear and answered, while sending screen locking signal.
When to be electrically accessed, mobile phone front end uninterruptedly detects RSSI, to calculate corresponding TIS deteriorations
Degree.Its calculating process may refer to Fig. 4, and the RSSI that radio-frequency front-end receives, which is sent to master chip, to be handled, and then anti-
To the real-time TIS of release.Judge whether mobile phone is answered close to human ear according to this numerical value, if it is, sending screen locking letter
Number, if it is not, then without screen locking.In implementation process, may refer to Fig. 5 and judged, Fig. 5 show in laboratory stage
The TIS of antenna human hand TIS, the number of people+hand is tested, and difference tis_d is obtained according to above-mentioned two TIS.
The preferred embodiment of the present invention is illustrated with reference to Fig. 6, including step S602 to step S618.
Step S602, when cell phone incoming call, master chip starts the real-time monitoring mechanisms of TIS.
Step S604, judges whether the current TIS of mobile phone is less than or equal to tis_d.If so, S608 is thened follow the steps, it is no
Then follow the steps S606.
Step S606 keeps current not screen lock state.
Step S608, when hand TIS is less than or equal to tis_d, master chip sends screen locking signal, and mobile phone enters screen locking shape
State, screen extinguish.
Step S610, in the process entirely conversed, the TIS of the uninterrupted monitoring aerial port of mobile phone.
Whether step S612 judges TIS more than tis_d levels.If it is, determine that current head has moved away from mobile phone,
Step S614 is executed, it is no to then follow the steps S616.
Step S614, screen are lighted and are active.
Step S616 keeps screen lock state.
Step S618, at the end of incoming call, the real-time monitoring mechanisms of TIS are closed.
This preferred embodiment has reached the operation for answering screen locking in call, side by using the variation of antenna induction electromagnetic field
Just quick, the hardware cost of mobile phone is not only reduced, but also consider influences of the light sensation FPC to GPS receiver sensitivity, dropped
The low difficulty of overall design.
Although being example purpose, the preferred embodiment of the present invention is had been disclosed for, those skilled in the art will recognize
Various improvement, increase and substitution are also possible, and therefore, the scope of the present invention should be not limited to the above embodiments.