Light method, the apparatus and system of mobile terminal screen
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of method for lighting mobile terminal screen, device and
System.
Background technology
At present, the bright screen of leather sheath and mobile terminal is put out screen with reference to control by some intelligent mobile terminals, when leather sheath lid
On mobile terminals when face, the screen of mobile terminal puts out screen, and when leather sheath is taken away, the screen of mobile terminal is lighted
Come.This mode is realized by hall device, in the mainboard of a mobile terminal hall device installed above, in leather sheath
A small magnet installed above, when leather sheath closes, small magnet, which causes, occurs potential change inside hall device, in triggering
It is disconnected, so that the screen of mobile terminal extinguishes and (is similar to and presses power buttons), when leather sheath is away from mobile terminal surface
Wait, triggering again is interrupted, so that the screen of mobile terminal is light (be similar to and press power buttons again).
However, in process of the present invention is realized, inventor has found the side for lighting mobile terminal screen that prior art is provided
At least there are the following problems for method:
The design of leather sheath will often have certain spatial margin, then, when leather sheath closes the lid face on mobile terminals
When, leather sheath more can be moved easily, such as be moved up and down relative to the touch-screen of mobile terminal, and by
Limitation in Hall sensor induced magnet region, it is easy to cause system bright screen.Such as, the mobile terminal for having leather sheath is put into
Trouser pocket or bag the inside, when on foot, the screen of mobile terminal is easy to automatic bright screen occur, go out screen, and can be always
Situation about so circulating.So, often cause system wake-up, can undoubtedly greatly increase the power consumption of mobile terminal, to user with
Carry out very not good usage experience.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method, device and mobile terminal for lighting mobile terminal screen, with
Solve the method for lighting mobile terminal screen that prior art is provided, it may appear that miss bright screen, so that the power consumption of increase mobile terminal,
The problem of very good usage experience being brought to user.
First aspect there is provided a kind of method for lighting mobile terminal screen, including:
When monitoring that potential change occurs for hall device inside and mobile terminal screen is in when going out screen state, leather sheath is judged
It is to be in proximity state away from state between mobile terminal screen;
When being between leather sheath and mobile terminal screen away from state, judge mobile terminal user whether in walking shape
State;
If mobile terminal user is in walking states, mobile terminal screen is not lighted;
If mobile terminal user is not at walking states, mobile terminal screen is lighted.
With reference in a first aspect, in the first possible implementation of first aspect, leather sheath and movement are judged described
It is to be in proximity state after remote state between terminal screen, in addition to:
When being in proximity state between leather sheath and mobile terminal screen, mobile terminal screen is not lighted.
With reference to first aspect or the first possible implementation of combination first aspect, at second of first aspect
It is described to judge whether mobile terminal user is in walking states in possible implementation, including:
Set up and communicate with intelligent watch;
The walking states information of mobile terminal user is obtained from the intelligent watch.
Second aspect there is provided a kind of device for lighting mobile terminal screen, including:
First judging unit, monitors that potential change occurs for hall device inside and mobile terminal screen is in and gone out for working as
During screen state, judge it is to be in proximity state away from state between leather sheath and mobile terminal screen;
Second judging unit, for judging in first judging unit between leather sheath and mobile terminal screen in remote
During state, judge whether mobile terminal user is in walking states;
First bright screen control unit, for judging that mobile terminal user is in walking states in second judging unit
When, mobile terminal screen is not lighted, when second judging unit judges that mobile terminal user is not at walking states, is lighted
Mobile terminal screen.
With reference to second aspect, in the first possible implementation of second aspect, described device, in addition to:
Second bright screen control unit, during for being in proximity state between leather sheath and mobile terminal screen, shifting is not lighted
Dynamic terminal screen.
With reference to second aspect or the first possible implementation of combination second aspect, at second of second aspect
In possible implementation, second judging unit, including:
Communication building block, communicates for being set up with intelligent watch;
State acquisition module, the walking states information for obtaining mobile terminal user from the intelligent watch.
The third aspect is there is provided a kind of mobile terminal, and the mobile terminal includes lighting movement eventually as described in second aspect
Hold the device of screen.
With reference to the third aspect, in the first possible implementation of the third aspect, the mobile terminal is intelligent hand
Machine or tablet personal computer.
Fourth aspect there is provided a kind of intelligent watch, including:
Walking states judging unit, for judging whether mobile terminal user is in walking states;
Communication unit, communicates for being set up with mobile terminal, and sends the walking states information of mobile terminal user to institute
State mobile terminal.
With reference to fourth aspect, in the first possible implementation of fourth aspect, the walking states judging unit
Including:
Acceleration transducer;
Walking states judge module, the change for the Y-axis data when the acceleration transducer is one and meets sine
When the sine wave of changing rule and the absolute value of the Y-axis data are no more than setting value, judge that mobile terminal user is in walking
State.5th aspect is there is provided a kind of system for lighting mobile terminal screen, including the mobile terminal described in the third aspect and the 4th
Intelligent watch described in aspect.
In the embodiment of the present invention, when monitoring that potential change occurs inside hall device and mobile terminal screen is in the screen that goes out
During state, judge it is to be in proximity state away from state between leather sheath and mobile terminal screen, it is mobile whole when judging
When end subscriber is in walking states, mobile terminal screen is not lighted, when judging that mobile terminal user is not at walking states,
Mobile terminal screen is lighted, is subjected to displacement or moves slightly away close to mobile terminal screen so as to make up leather sheath well
Dynamic terminal screen distance a bit causes hall device misoperation occur, so that the problem of bright screen by mistake occurs in mobile terminal screen.
The method for lighting mobile terminal screen of prior art offer can be solved, it may appear that miss bright screen, so that increase mobile terminal
Power consumption, the problem of bringing very good usage experience to user, provides the user good leather sheath usage experience.
Brief description of the drawings
Fig. 1 is the implementation process figure for the embodiment of the method that the present invention lights mobile terminal screen;
Fig. 2 is the structured flowchart for the device embodiment that the present invention lights mobile terminal screen;
Fig. 3 is the structured flowchart of mobile terminal embodiment of the present invention;
Fig. 4 is the structured flowchart for the system embodiment that the present invention lights mobile terminal screen.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In embodiments of the present invention, when monitoring that potential change occurs inside hall device and mobile terminal screen is in and gone out
During screen state, judge it is to be in proximity state away from state between leather sheath and mobile terminal screen, when judgement movement
When terminal user is in walking states, mobile terminal screen is not lighted, when judging that mobile terminal user is not at walking states,
Mobile terminal screen is just lighted, is subjected to displacement so as to make up leather sheath well close to mobile terminal screen or slightly away
Mobile terminal screen distance a bit causes hall device misoperation occur, so that mobile terminal screen occurs missing asking for bright screen
Topic, provides the user good leather sheath usage experience.
The realization of the present invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process for the method for lighting mobile terminal screen that the embodiment of the present invention one is provided, and is described in detail such as
Under:
In step S101, when monitoring that potential change occurs inside hall device and mobile terminal screen is in the screen shape that goes out
During state, judge it is to be in proximity state away from state, if located between the two between leather sheath and mobile terminal screen
In away from state, then step S102 is performed, otherwise perform step S103.
In embodiments of the present invention, when monitoring to occur potential change inside hall device, if now moved
Terminal screen is in bright screen state, then just directly control mobile terminal screen enters death of monks or nuns screen state.If now mobile terminal
Screen is in screen state of going out, then needs to judge to be to be in proximity state away from shape between leather sheath and mobile terminal screen
State, if be between the two away from state, performs step S102, otherwise performs step S103.
Specifically, can be judged by the proximity transducer installed on mobile terminals between leather sheath and mobile terminal screen
It is to be in proximity state away from state, if it is decided that proximity state is between leather sheath and mobile terminal screen, then
Represent that the potential change occurred inside current hall device must be misoperation, it is impossible to light mobile terminal screen.If it is determined that
It is between leather sheath and mobile terminal screen away from state, then be likely due to the reason that leather sheath is black object, black material
Matter can absorb infrared ray, so, and inaccurate reason also occurs in the judgement of proximity transducer, at this moment need to perform step
S102。
In step s 102, judge whether mobile terminal user is in walking states, if mobile terminal user is in row
State is walked, then performs step S103, step S104 is otherwise performed.
In embodiments of the present invention, the intelligent watch that mobile terminal can be worn with user is set up and communicated, from the intelligence
Wrist-watch obtains the walking states information of mobile terminal user.
Specifically, there is acceleration transducer in intelligent watch, during mobile terminal user walks, center can be presented
Regular change, then the change of the Y-axis data of the acceleration transducer on intelligent watch is exactly one, and more rule is being just
Not over one setting value of string ripple and the absolute value of Y-axis data, intelligent watch may determine that mobile terminal according to the Y-axis data
Whether user is currently in walking states, so meeting sine when the change of the Y-axis data of the acceleration transducer is one
When the sine wave of changing rule and the absolute value of the Y-axis data are no more than setting value, intelligent watch can be determined that mobile terminal
User is in walking states, and the walking states information that intelligent watch can send the mobile terminal user for judging to obtain is whole to movement
Whether end, mobile terminal determines mobile terminal user in row according to the walking states information of the mobile terminal user received
Walk state.
Wherein, bluetooth connection can be set up between intelligent watch and mobile terminal, at both by way of Bluetooth communication
Between transmit information.
In step s 103, mobile terminal screen is not lighted.
In step S104, mobile terminal screen is lighted.
The present embodiment, when monitoring that potential change occurs inside hall device and mobile terminal screen is in screen state of going out
When, judge it is to be in proximity state away from state between leather sheath and mobile terminal screen, when judgement mobile terminal is used
When family is in walking states, mobile terminal screen is not lighted, when judging that mobile terminal user is not at walking states, is just lighted
Mobile terminal screen, is subjected to displacement or mobile whole slightly away so as to make up leather sheath well close to mobile terminal screen
End screen distance a bit causes hall device misoperation occur, so that the problem of bright screen by mistake occurs in mobile terminal screen.Can be with
Solve the method for lighting mobile terminal screen that prior art is provided, it may appear that miss bright screen, so that the power consumption of increase mobile terminal,
The problem of bringing very good usage experience to user, provides the user good leather sheath usage experience.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Limited into any.
Can one of ordinary skill in the art will appreciate that realizing that all or part of step in the various embodiments described above method is
To instruct the hardware of correlation to complete by program, corresponding program can be stored in a computer read/write memory medium
In, described storage medium, such as ROM/RAM, disk or CD.
Embodiment two
Fig. 2 shows the concrete structure block diagram for the device for lighting mobile terminal screen that the embodiment of the present invention two is provided, and is
It is easy to explanation, illustrate only the part related to the embodiment of the present invention.The device 2 for lighting mobile terminal screen can be interior
The unit of the software unit, hardware cell or the software and hardware combining that are placed in mobile terminal, this lights the dress of mobile terminal screen
Putting 2 includes:First judging unit 21, the second judging unit 22 and the first bright screen control unit 23.
Wherein, the first judging unit 21, monitors that potential change and mobile terminal screen occur inside hall device for working as
Curtain in go out screen state when, judge it is to be in remote state in proximity state between leather sheath and mobile terminal screen;
Second judging unit 22, for judging in first judging unit between leather sheath and mobile terminal screen in remote
During from state, judge whether mobile terminal user is in walking states;
First bright screen control unit 23, for judging that mobile terminal user is in walking states in second judging unit
When, mobile terminal screen is not lighted, when second judging unit judges that mobile terminal user is not at walking states, is lighted
Mobile terminal screen.
Further, described device 2, in addition to:
Second bright screen control unit, during for being in proximity state between leather sheath and mobile terminal screen, shifting is not lighted
Dynamic terminal screen.
Specifically, second judging unit 22, including:
Communication building block, communicates for being set up with intelligent watch;
State acquisition module, the walking states information for obtaining mobile terminal user from the intelligent watch.
The device provided in an embodiment of the present invention for lighting mobile terminal screen can be applied to be implemented in foregoing corresponding method
In example one, details will not be repeated here referring to the description of above-described embodiment one.
Embodiment three
Fig. 3 shows the concrete structure block diagram for the mobile terminal that the embodiment of the present invention three is provided, and for convenience of description, only shows
The part related to the embodiment of the present invention is gone out.The mobile terminal 3 can be smart mobile phone or tablet personal computer, including embodiment two
Described in the device 2 for lighting mobile terminal screen, the device 2 for lighting mobile terminal screen includes:First judging unit 21,
Second judging unit 22 and the first bright screen control unit 23.
Wherein, the first judging unit 21, monitors that potential change and mobile terminal screen occur inside hall device for working as
Curtain in go out screen state when, judge it is to be in remote state in proximity state between leather sheath and mobile terminal screen;
Second judging unit 22, for judging in first judging unit between leather sheath and mobile terminal screen in remote
During from state, judge whether mobile terminal user is in walking states;
First bright screen control unit 23, for judging that mobile terminal user is in walking states in second judging unit
When, mobile terminal screen is not lighted, when second judging unit judges that mobile terminal user is not at walking states, is lighted
Mobile terminal screen.
Further, described device 2, in addition to:
Second bright screen control unit, during for being in proximity state between leather sheath and mobile terminal screen, shifting is not lighted
Dynamic terminal screen.
Specifically, second judging unit 22, including:
Communication building block, communicates for being set up with intelligent watch;
State acquisition module, the walking states information for obtaining mobile terminal user from the intelligent watch.
Mobile terminal provided in an embodiment of the present invention can be applied in foregoing corresponding embodiment of the method one, details referring to
The description of above-described embodiment one, will not be repeated here.
Example IV
Fig. 4 shows the concrete structure block diagram for the system for lighting mobile terminal screen that the embodiment of the present invention four is provided, and is
It is easy to explanation, illustrate only the part related to the embodiment of the present invention.The system 4 for lighting mobile terminal screen includes:Intelligence
Mobile terminal 3 described in energy wrist-watch 41 and embodiment three.
Specifically, intelligent watch 41 includes:Walking states judging unit 411 and communication unit 412.
Wherein, walking states judging unit 411, for judging whether mobile terminal user is in walking states;
Communication unit 412, communicates, and send the walking states information of mobile terminal user extremely for being set up with mobile terminal
The mobile terminal.
Specifically, the walking states judging unit 411 includes:
Acceleration transducer;
Walking states judge module, the change for the Y-axis data when the acceleration transducer is one and meets sine
When the sine wave of changing rule and the absolute value of the Y-axis data are no more than setting value, judge that mobile terminal user is in walking
State.
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, 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, depending on the application-specific and design constraint of 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, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious 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 the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the 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 using 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.Understood based on such, technical scheme is substantially in other words
The part 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 to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
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 described should be defined by scope of the claims.