Summary of the invention
The invention provides a kind of method of lock-screen, device and mobile terminal, adopt light sensation to realize the cost that screen locking improves terminal in order to solve prior art, and in the process of screen locking, GPS sensitivity can be had influence on, thus extend the problem of positioning time.
For solving the problems of the technologies described above, on the one hand, the invention provides a kind of method of lock-screen, comprising: the situation of change of monitoring omnidirectional sensibility (Totallsotropic Sensi-ticity, referred to as TIS); When the value of described TIS is equal to or less than default TIS threshold value, the instruction sending lock-screen enters black state to make described screen.
Further, the situation of change of monitoring TIS comprises: the operating state that monitoring mobile terminal is current; When described operating state is in preset state, the situation of change of TIS described in Real-Time Monitoring, wherein, described preset state comprises: send call request or set up call connection.
Further, after the situation of change of TIS described in Real-Time Monitoring, also comprise: when the non-described preset state of the operating state that described mobile terminal is current, stop the situation of change of the described TIS of monitoring.
Further, determine the value of described TIS as follows: the value determining described TIS according to the radio-frequency front-end received signal strength indicator received (Received Signal Strength Indication, referred to as RSSI).
Further, when the value monitoring described TIS is again higher than described default TIS threshold value, the instruction sending the screen that unlocks enters illuminating state to make described screen.
On the other hand, present invention also offers a kind of device of lock-screen, comprising: monitoring modular, for monitoring the situation of change of TIS; Sending module, for when the value of described TIS is equal to or less than default TIS threshold value, the instruction sending lock-screen enters black state to make described screen.
Further, described monitoring modular comprises: the first monitoring means, for monitoring the current operating state of mobile terminal; Second monitoring means, for when described operating state is in preset state, the situation of change of TIS described in Real-Time Monitoring, wherein, described preset state comprises: send call request or set up call connection.
Further, described monitoring modular also comprises: performance element, when described preset state non-for the operating state current at described mobile terminal, stops the situation of change of the described TIS of monitoring.
Further, described sending module, also for when the value of described TIS is again higher than described default TIS threshold value, the instruction sending the screen that unlocks enters illuminating state to make described screen.
Again on the one hand, present invention also offers a kind of mobile terminal, comprising: the device of the lock-screen described in above-mentioned any one.
The present invention utilizes the situation of change of TIS to trigger screen locking operation, and when the value monitoring TIS is equal to or less than predetermined threshold value, the instruction sending lock-screen enters black state to make described screen.The method is not when increasing other device, achieve the operation of terminal screen locking accurately, solve prior art and adopt light sensation to realize the cost that screen locking improves terminal, and in the process of screen locking, GPS sensitivity can be had influence on, thus extend the problem of positioning time.
Embodiment
Adopt light sensation to realize the cost that screen locking improves terminal to solve prior art, and in the process of screen locking, GPS sensitivity can be had influence on, thus extend the problem of positioning time, the invention provides a kind of method of lock-screen, device and mobile terminal, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
The flow process of the method for the lock-screen that the embodiment of the present invention provides as shown in Figure 1, can comprise step S102 to step S104.
Step S102, the situation of change of monitoring TIS.
In implementation procedure, if user's hand is close to mobile terminal, the TIS of mobile terminal can change, user's head together with hand close to mobile terminal time, then the TIS of mobile terminal can continue change, this kind of change is a kind of degradating trend.Therefore, monitor the situation of change of TIS namely to monitor TIS and whether deteriorate into a certain degree.When hand is close to mobile terminal, the value of TIS can present a downward trend, and when head and hand are simultaneously close to mobile terminal, the value of this TIS can be more than what decline during hand independent contact mobile terminal.
Step S104, when the value of TIS is equal to or less than default TIS threshold value, the instruction sending lock-screen enters black state to make screen.Wherein, this default TIS threshold value can be the value be determined by experiment, and also can be to simulate by Mathematical Modeling the value obtained, and those skilled in the art can set as required.
When TIS deteriorate into be equal to or less than default TIS threshold value time, illustrate that user's hand and head are simultaneously close to mobile terminal, and to a nearer distance, now, the instruction that can send lock-screen carrys out lock-screen, avoid with screen comparatively close to time cause misoperation.By the method, screen locking is carried out to mobile terminal, can not additional devices be increased, and in the process of screen locking, GPS sensitivity can not be affected.
In implementation process, if be in the state of monitoring TIS at mobile terminal under, mobile terminal power consumption situation faster may be there is always.Based on above-mentioned consideration, can before the situation of change of monitoring TIS, the operating state that monitoring mobile terminal is current; If when the operating state of mobile terminal is in preset state, then the situation of change of Real-Time Monitoring TIS, wherein, preset state comprises: send call request or set up call connection.If mobile terminal departs from preset state, then stop the situation of change of monitoring TIS.Adopt this kind of mode to monitor mobile terminal, can solve mobile terminal because constantly performing monitoring power consumption problem faster, prolongs standby time.Certainly, additive method also can be taked to monitor the situation of change of the TIS of mobile terminal, such as, the TIS of mobile terminal is detected at interval to schedule.
When monitoring TIS, various ways can be adopted to determine the value of TIS, be the value determining TIS according to the radio-frequency front-end RSSI received in the present embodiment.
When the value monitoring TIS is again higher than default TIS threshold value, determine that head is away from mobile terminal, then the instruction that can send the screen that unlocks enters illuminating state to make screen.Now, the screen be lit normally can receive the operation of user.
The present embodiment additionally provides a kind of device of lock-screen, and the structural representation of this device as shown in Figure 2, comprising: monitoring modular 10, for monitoring the situation of change of TIS; Sending module 20, is coupled with monitoring modular 10, and for when the value of TIS is equal to or less than default TIS threshold value, the instruction sending lock-screen enters black state to make screen.
Fig. 3 shows the preferred structure block diagram of monitoring modular 10, and monitoring modular 10 comprises: the first monitoring means 102, for monitoring the current operating state of mobile terminal; Second monitoring means 104, is coupled with the first monitoring means 102, when being in preset state for the operating state current at mobile terminal, and the situation of change of Real-Time Monitoring TIS, wherein, preset state comprises: send call request or set up call connection; Performance element 106, is coupled with the first monitoring means 102, for when mobile terminal departs from preset state, stops the situation of change of monitoring TIS.
In the process of the device work of above-mentioned lock-screen, sending module 20, also for when the value of TIS is again higher than default TIS threshold value, sends the instruction of the screen that unlocks, enters illuminating state to make screen.
Preferred embodiment
Smart mobile phone screen consumes power is larger, and the mobile phone of touch screen can produce misoperation because face touches screen when people's ear receives calls simultaneously.If can lock-screen when people's ear is answered, then can address these problems.Screen locking method in correlation technique is all utilize proximity transducer to control screen locking, adds the cost of mobile phone.
This preferably implements to utilize the induction of antenna to control screen locking to replace proximity transducer, when answering call, if antenna is close to people's ear, TIS can be caused to worsen rapidly.Now the radio circuit front-end detection of mobile phone is to the change of RSSI, and processor just thinks that mobile phone starts to answer close to people's ear, sends screen locking signal simultaneously.
When incoming call access, mobile phone front end uninterruptedly detects RSSI, thus calculates the degree of corresponding TIS deterioration.Its computational process can see Fig. 4, and the RSSI received by radio-frequency front-end is sent to master chip and processes, and then oppositely releases real-time TIS.Judge whether mobile phone answers close to people's ear according to this numerical value, if so, then send screen locking signal, if not, then do not carry out screen locking.In implementation process, can judge see Fig. 5, the TIS testing this antenna staff TIS, the number of people+hand at laboratory stage that Fig. 5 shows, and draw difference tis_d according to above-mentioned two TIS.
Below in conjunction with Fig. 6, the preferred embodiment of the present invention is described, comprises step S602 to step S618.
Step S602, when cell phone incoming call, master chip starts TIS Real-Time Monitoring mechanism.
Step S604, judges that whether the current TIS of mobile phone is less than or equal to tis_d.If so, then perform step S608, otherwise perform step S606.
Step S606, keeps current not screen lock state.
Step S608, when hand TIS is less than or equal to during to tis_d, master chip sends screen locking signal, and mobile phone enters screen lock state, and screen extinguishes.
Step S610, in the process of whole call, the TIS of the uninterrupted monitoring aerial port of mobile phone.
Step S612, judges that whether TIS is more than tis_d level.If so, then determine that current head is away from mobile phone, perform step S614, otherwise perform step S616.
Step S614, screen is lighted and is in state of activation.
Step S616, keeps screen lock state.
Step S618, at the end of incoming call, TIS Real-Time Monitoring mechanism is closed.
This preferred embodiment answers the operation of screen locking in call by utilizing the change of antenna induction electromagnetic field to reach, convenient and swift, not only reduce the hardware cost of mobile phone, but also take into account the impact of light sensation FPC on GPS receiving sensitivity, reduce the difficulty of overall design.
Although be example object, disclose the preferred embodiments of the present invention, it is also possible for those skilled in the art will recognize various improvement, increase and replacement, and therefore, scope of the present invention should be not limited to above-described embodiment.