CN106210336B - Control the method and device of mobile terminal state switching - Google Patents

Control the method and device of mobile terminal state switching Download PDF

Info

Publication number
CN106210336B
CN106210336B CN201610587293.7A CN201610587293A CN106210336B CN 106210336 B CN106210336 B CN 106210336B CN 201610587293 A CN201610587293 A CN 201610587293A CN 106210336 B CN106210336 B CN 106210336B
Authority
CN
China
Prior art keywords
trigger condition
mobile terminal
screen
induction information
information
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.)
Active
Application number
CN201610587293.7A
Other languages
Chinese (zh)
Other versions
CN106210336A (en
Inventor
刘欢欢
陈宇
王中帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610587293.7A priority Critical patent/CN106210336B/en
Publication of CN106210336A publication Critical patent/CN106210336A/en
Application granted granted Critical
Publication of CN106210336B publication Critical patent/CN106210336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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

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 disclosure is directed to a kind of method and devices of control mobile terminal state switching, are switched to bright screen state or pass screen state for more accurately controlling mobile terminal.The described method includes: obtaining Magnetic Induction information;When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to the first trigger condition of satisfaction and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen state or closing screen state.Using method provided by the disclosure, screen state or closing can be lighted by Magnetic Induction and the switching of auxiliary induction co- controlling mobile terminal state, terminal is avoided to cause accidentally to switch close to except for controlling other ferromagnetism objects in addition to being switched to bright screen state or closing screen state, thus the more accurately switching suspend mode of control mobile terminal state or wake-up.

Description

Control the method and device of mobile terminal state switching
Technical field
This disclosure relates to communicate and computer disposal field, more particularly to the method and dress of control mobile terminal state switching It sets.
Background technique
With the development of electronic technology, mobile terminal is commonly used.Many mobile terminals all use all touch screen Structure.In order to protect touch screen and prevent mistaken touch, user would generally add one layer of protective case in the outside of mobile terminal.It opens State is automatically turned on the screen when the lid of protective case, screen state is automatically closed when covering the lid of protective case.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provide it is a kind of control mobile terminal state switching method and Device.
According to the first aspect of the embodiments of the present disclosure, a kind of method of control mobile terminal state switching is provided, comprising:
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to full The first trigger condition and corresponding second trigger condition of foot, control mobile terminal, which is switched to, lights screen state or closing screen State.
The technical scheme provided by this disclosed embodiment can include the following benefits: in Magnetic Induction information and auxiliary When induction information is all satisfied corresponding first trigger condition and corresponding second trigger condition, control mobile terminal, which is switched to, to be lighted Screen state closes screen state, to be switched to by Magnetic Induction and auxiliary induction co- controlling mobile terminal and light screen Tentiform state or close screen state, avoid terminal close in addition to for controlling the device that screen is lighted and closed other by force Magnetic bodies and lead to the overdue bright of screen or accidentally close, to more accurately control mobile terminal sleep or wake-up.
In one embodiment, the first trigger condition includes: that Magnetic Induction intensity becomes from predetermined inductive intensity threshold is greater than Change to the first bright screen trigger condition for being not more than predetermined inductive intensity threshold, Magnetic Induction intensity is never more than predetermined inductive intensity Changes of threshold closes screen trigger condition to be greater than predetermined inductive intensity first.
The technical scheme provided by this disclosed embodiment can include the following benefits: by the variation of Magnetic Induction information As trigger condition, it can contribute to more accurately to control mobile terminal and be switched to and light screen state or close screen state.
In one embodiment, auxiliary induction information includes at least one in following: apart from induction information and light sense Answer information.
The technical scheme provided by this disclosed embodiment can include the following benefits: a variety of auxiliary induction sides are arranged Formula keeps auxiliary induction type more diversified.
In one embodiment, the second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
The technical scheme provided by this disclosed embodiment can include the following benefits: pass through judgement distance and/or light Whether the size of the value of line intensity, which is greater than preset value as subsidiary conditions, judges whether it is the device for controlling screen and closing and lighting In separate or close terminal.To whether light screen shape by magnetic induction size, distance value and light intensity value comprehensive descision State closes screen state, reduces other ferromagnetism objects in addition to the device that control screen is closed and lighted and causes to shield The overdue bright or accidentally closing of curtain, keeps the control of mobile terminal sleep or wake-up more accurate.
In one embodiment, the first trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;The Two trigger conditions include: that the second bright screen trigger condition and second close screen trigger condition;
First trigger condition and corresponding second trigger condition according to satisfaction, control mobile terminal, which is switched to, to be lighted Screen state closes screen state, comprising:
When meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control mobile terminal, which is switched to, lights screen shape State;
When satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control mobile terminal, which is switched to, closes screen shape State.
The technical scheme provided by this disclosed embodiment can include the following benefits: be used to light and close screen Device when far from terminal, control mobile terminal, which is switched to, lights screen state, is leaning in the device for being used to light and close When nearly terminal, control mobile terminal is switched to closing screen state, then can control mobile terminal without clicking the corresponding button just and cut It changes to and lights screen state or close screen state, keep the control of mobile terminal screen suspend mode or wake-up easier.Secondly, energy Enough judge whether Magnetic Induction is to issue for controlling the device that screen is lighted and closed by auxiliary induction, makes mobile terminal The control of suspend mode or wake-up is more accurate.
According to the second aspect of an embodiment of the present disclosure, a kind of device controlling mobile terminal is provided, comprising:
First obtains module, for obtaining Magnetic Induction information;
Second obtains module, for obtaining auxiliary induction when Magnetic Induction information meets preset first trigger condition Information;
Control module, for meeting preset the second triggering corresponding with first trigger condition in auxiliary induction information When condition, according to the first trigger condition of satisfaction and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen State closes screen state.
In one embodiment, the first trigger condition includes: that Magnetic Induction intensity becomes from predetermined inductive intensity threshold is greater than Change to the first bright screen trigger condition for being not more than predetermined inductive intensity threshold, Magnetic Induction intensity is never more than predetermined inductive intensity Changes of threshold closes screen trigger condition to be greater than predetermined inductive intensity first.
In one embodiment, auxiliary induction information includes at least one in following: apart from induction information and light sense Answer information.
In one embodiment, the second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
In one embodiment, the first trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;The Two trigger conditions include: that the second bright screen trigger condition and second close screen trigger condition;
The control module, comprising:
First control submodule, it is mobile whole for controlling when meeting the first bright screen trigger condition and the second bright set of hanging scrolls part End, which is switched to, lights screen state;
Second control submodule, for when satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control to be mobile eventually End is switched to closing screen state.
According to the third aspect of an embodiment of the present disclosure, a kind of device controlling mobile terminal is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to full The first trigger condition and corresponding second trigger condition of foot, control mobile terminal, which is switched to, lights screen state or closing screen State.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of the method for control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the method for control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 4 is a kind of device block diagram of control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 5 is a kind of device block diagram of control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 6 is a kind of device block diagram of control mobile terminal state switching shown according to an exemplary embodiment;
Fig. 7 is shown according to an exemplary embodiment a kind of for controlling the frame of the device of mobile terminal state switching Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
With the development of electronic technology, the appearance of touch screen provides the simplest and naturally man-machine for mobile terminal Interactive mode, thus be commonly utilized in all kinds of mobile terminals, along with the commonly used of touch screen, the mistaken touch of touch screen is asked Topic also becomes people and has to face and solve the problems, such as.
In the related technology, the mistaken touch of touch screen in order to prevent develops a kind of intelligence and wakes up leather sheath, has magnetic in the leather sheath Iron, the Hall sensor in mobile terminal can judge the close and separate of magnet by magnetic force change.For example, being used in user When mobile terminal, leather sheath is opened, the Hall sensor in mobile terminal detects the separate of magnet, then judges that the leather sheath is beaten It opens, control mobile terminal is switched to bright screen state;And when user is finished mobile terminal, leather sheath is closed, at this point, in mobile terminal Hall sensor detect the close of magnet, then judge that the leather sheath is closed, control mobile terminal be switched to close screen state.
When being closed due to leather sheath, user can not operate mobile terminal, thus, leather sheath is switched on before use, And leather sheath is in the open state, is not easy to store, thus, after use, user will not forget to close leather sheath, because And leather sheath is waken up by adding an intelligence on mobile terminals, can be avoided user forgets to close touch screen, and mistaken touch is played Good preventive effect.
However, using the above method, it is mobile whole when mobile terminal magnetic article strong close to such as loudspeaker, magnetic induction furnace Hall sensor meeting erroneous judgement in end is that the intelligence wake-up leather sheath of mobile phone is closed, and is switched to pass so as to cause mobile phone mistake and shields State and enter suspend mode, bring great inconvenience to the use of user, thus, how to avoid terminal close to except intelligence wake up Other ferromagnetism objects except leather sheath and lead to accidentally to be switched to screen state or the bright screen state of closing, thus more accurately control movement The suspend mode or wake-up of terminal, the technical issues of becoming a urgent need to resolve.
In the disclosure, mobile terminal obtains Magnetic Induction information by the Hall sensor of itself;It is strong according to Magnetic Induction The variation of degree is meeting under the trigger condition of Magnetic Induction setting, is obtaining auxiliary induction information;Meeting for auxiliary sense When the trigger condition that should be arranged, according to the trigger condition at least two parties face, it is determined whether control mobile terminal, which is switched to, lights screen Tentiform state closes screen state.To be switched to by Magnetic Induction and auxiliary induction co- controlling mobile terminal and light screen State closes screen state, avoids terminal close to except being switched to closing screen state/light screen state for controlling Intelligence wakes up other ferromagnetism objects except leather sheath and the mistake of the SOT state of termination is caused to switch, so that more accurately control is mobile eventually Hold suspend mode or wake-up.
Fig. 1 is a kind of flow chart of the method for control mobile terminal state switching shown according to an exemplary embodiment, As shown in Figure 1, this method can be realized by mobile terminal, this method can be implemented as following steps S101-S103:
In step s101, Magnetic Induction information is obtained;
In step s 102, when Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
In step s 103, meet preset the second triggering corresponding with first trigger condition in auxiliary induction information When condition, according to the first trigger condition of satisfaction and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen State closes screen state.
Being switched in step S103 and lighting the processing of screen state includes: to light screen and wake-up device etc..Close screen State includes: to close screen and make device sleeps etc..
In the present embodiment, when Magnetic Induction information meets preset first trigger condition, it is equivalent to and receives Magnetic Induction Triggering.It herein can be there are many implementation:
For example, mode one judges this when the Magnetic Induction information currently once obtained is no more than preset magnetic threshold value Whether the Magnetic Induction information of acquisition is greater than preset magnetic threshold value.If this Magnetic Induction information obtained is greater than preset Magnetic threshold value, it is determined that Magnetic Induction information meets preset first trigger condition.
Mode two, Magnetic Induction information include with and without.Before obtaining Magnetic Induction information, current nonmagnetic induction letter Breath, that is to say, that Hall sensor does not send Magnetic Induction signal to the processor of mobile terminal.If obtaining magnetic sense at this time Information is answered, i.e. Hall sensor sends Magnetic Induction signal to the processor of mobile terminal, is equivalent to the touching for receiving Magnetic Induction Hair, it is determined that Magnetic Induction information meets preset first trigger condition.
The processing mode of auxiliary induction information can refer to mode one or mode two, and details are not described herein again.
Therefore, embodiment shown in FIG. 1 can also be implemented are as follows:
Receive the triggering of Magnetic Induction;
Under the triggering of Magnetic Induction, the touching for receiving auxiliary induction corresponding to the triggering with Magnetic Induction is monitored whether Hair;
In the triggering for receiving auxiliary induction, according to the triggering of the triggering of Magnetic Induction and auxiliary induction, control movement Terminal, which is switched to, lights screen state or closing screen state.
In the present embodiment, when the Hall sensor in mobile terminal receives the triggering of Magnetic Induction, detect whether to receive To the triggering of auxiliary induction corresponding to the triggering with the Magnetic Induction, when receiving the triggering of auxiliary induction, mobile terminal It is switched to according to the triggering of Magnetic Induction and the triggering of auxiliary induction control mobile terminal and lights screen state or closing screen shape State.
For example, the Hall sensor real-time detection intelligence when mobile terminal wakes up leather sheath with intelligence, in mobile phone The separate and close of magnet in leather sheath can be waken up, when magnet far from or close to when, whether detection auxiliary induction meets intelligent wake-up Preset condition when magnet is separate and close in leather sheath, when magnet is separate or close in auxiliary induction satisfaction intelligence wake-up leather sheath Preset condition when, control mobile terminal be switched to lights screen state or close screen state.
The technical scheme provided by this disclosed embodiment can include the following benefits: in Magnetic Induction information and auxiliary When induction information is all satisfied corresponding first trigger condition and corresponding second trigger condition, control mobile terminal, which is switched to, to be lighted Screen state closes screen state, to be switched to by Magnetic Induction and auxiliary induction co- controlling mobile terminal and light screen Tentiform state or close screen state, avoid terminal close in addition to for controlling the device that screen is lighted and closed other by force Magnetic bodies and lead to the overdue bright of screen or accidentally close, to more accurately control mobile terminal sleep or wake-up.
In one embodiment, the first trigger condition includes: that Magnetic Induction intensity becomes from predetermined inductive intensity threshold is greater than Change to the first bright screen trigger condition for being not more than predetermined inductive intensity threshold, Magnetic Induction intensity is never more than predetermined inductive intensity Changes of threshold closes screen trigger condition to be greater than predetermined inductive intensity first.
Magnetic Induction information is by weak variation, being equivalent to by force Magnetic Induction information from magnetic changes of threshold is greater than to being not more than Magnetic threshold value.Vice versa.Magnetic threshold value can be 0 or non-zero.Magnetic threshold value 0, is equivalent to using foregoing manner two.
The technical scheme provided by this disclosed embodiment can include the following benefits: by the variation of Magnetic Induction information As trigger condition, it can contribute to more accurately to control mobile terminal and be switched to and light screen state or close screen state.
In one embodiment, auxiliary induction includes at least one in following: auxiliary induction information includes at least following In one: apart from induction information and light sensing information.
The technical scheme provided by this disclosed embodiment can include the following benefits: a variety of auxiliary induction sides are arranged Formula keeps auxiliary induction type more diversified.
In one embodiment, the second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
The technical scheme provided by this disclosed embodiment can include the following benefits: pass through judgement distance and/or light Whether the size of the value of line intensity, which is greater than preset value as subsidiary conditions, judges whether it is the device for controlling screen and closing and lighting In separate or close terminal.To whether light screen shape by magnetic induction size, distance value and light intensity value comprehensive descision State closes screen state, reduces other ferromagnetism objects in addition to the device that control screen is closed and lighted and causes to shield The overdue bright or accidentally closing of curtain, keeps the control of mobile terminal sleep or wake-up more accurate.
In conjunction with preceding several embodiments, the triggering of Magnetic Induction includes magnetic the first triggering from having nothing, or magnetic from nothing To the second triggering having;
Corresponding, the triggering that distance perception is answered includes that the distance monitored is greater than the triggering of preset distance threshold, Huo Zhejian The distance measured is not more than the triggering of preset distance threshold;
Corresponding, the triggering of light sensing includes that the light intensity monitored is greater than the touching of preset light intensity threshold value It sends out, or the light intensity monitored is not more than the triggering of preset light intensity threshold value.
Intelligence in the related technology, which wakes up inside leather sheath, a magnet, when user uses mobile phone, opens intelligence and wakes up Leather sheath, built-in Hall sensor detects that intelligence wakes up the separate of magnet in leather sheath in mobile terminal, then mobile terminal controls It itself is switched to and lights screen state, when user has used mobile phone, close and intelligently wake up leather sheath, built in mobile terminal suddenly Your sensor detects that intelligence wakes up the close of magnet in leather sheath, then mobile terminal, which controls, itself is switched to closing screen state.
But screen state or closing screen state are lighted being switched to using intelligence wake-up leather sheath control mobile terminal When, have following defects that the Hall when mobile terminal magnetic article strong close to such as loudspeaker, magnetic induction furnace, in mobile terminal Sensor meeting erroneous judgement is that the intelligence wake-up leather sheath of mobile phone is closed, and enters dormant state so as to cause mobile phone mistake, gives user Use bring great inconvenience.
To solve the above problems, in the present embodiment, detected in mobile terminal magnetic from having to when the triggering of nothing, it is contemplated that Separate other the strong magnetic objects in addition to intelligently waking up leather sheath of mobile terminal are likely to be far from caused by.Thus, this programme In, not directly determining magnetic from there is the triggering to nothing is to be waken up due to intelligence caused by leather sheath is opened, but passes through one A little auxiliary inductions trigger to judge whether the magnetic triggering from having nothing is caused by being opened due to intelligence wake-up leather sheath.
For example, magnet can become far at a distance from mobile terminal when intelligently waking up leather sheath opening to a certain extent, thus, Can be detected by range sensor magnet whether be greater than preset distance threshold at a distance from mobile terminal judge it is magnetic from Whether the triggering to nothing is caused by being opened due to intelligence wake-up leather sheath.In another example being opened to intelligently waking up leather sheath When to a certain degree, the light intensity that mobile terminal receives just be will increase, therefore, it is possible to which it is strong to detect light by light sensor Whether degree is greater than preset light intensity threshold value.
Be below when magnetism from have to it is no when, determine whether the magnetic triggering from having nothing is since intelligence wakes up leather sheath quilt Specific method caused by opening:
When range sensor detection magnet is greater than preset distance threshold at a distance from mobile terminal, determine magnetic from having Triggering to nothing is caused by being opened due to intelligence wake-up leather sheath.
Or
When light sensor detects that light intensity is greater than preset light intensity threshold value, determine magnetism from having nothing Triggering is caused by being opened due to intelligence wake-up leather sheath.
Or
When range sensor detection magnet is greater than preset distance threshold, and light sensor inspection at a distance from mobile terminal When measuring light intensity greater than preset light intensity threshold value, determining magnetism is since intelligence wakes up leather sheath from there is the triggering to nothing Caused by being opened.
When determining that magnetism is from having waking up caused by leather sheath is being opened when the triggering of nothing due to intelligence, mobile terminal control It makes itself and is switched to and light screen state.
Similarly, mobile terminal detects magnetic when triggering from scratch, at this point, still through magnet and mobile terminal Distance whether be greater than pre-determined distance threshold value and/or light intensity whether be greater than default light intensity threshold value determine it is magnetic from without to Triggering whether waken up due to intelligence caused by leather sheath is closed.
Be below when it is magnetic from scratch when, whether determine that magnetism triggers from scratch is since intelligence wakes up leather sheath quilt Specific method caused by closing:
When range sensor detection magnet is not more than preset distance threshold at a distance from mobile terminal, determine it is magnetic from Without to the triggering having be due to intelligence wake-up leather sheath be closed caused by.
Or
When light sensor detects light intensity no more than preset light intensity threshold value, magnetism is determined from scratch Triggering be to be waken up due to intelligence caused by leather sheath is closed.
Or
When range sensor detection magnet is not more than preset distance threshold, and light sensor at a distance from mobile terminal When detecting light intensity no more than preset light intensity threshold value, determine that magnetic triggering from scratch is due to intelligent wake-up Caused by leather sheath is closed.
When being waken up caused by leather sheath is closed when determining magnetic triggering from scratch due to intelligence, mobile terminal control It makes and itself is switched to closing screen state.
The technical scheme provided by this disclosed embodiment can include the following benefits: in detection magnetic sensitive from having To without or from scratch during, by judge apart from and/or the size of value of light intensity whether be greater than preset value conduct Subsidiary conditions judge whether it is to control screen closing and the device lighted in separate or close terminal.To big by magnetic induction Whether small, distance value and light intensity value comprehensive descision, which are switched to, is lighted screen state or closes screen state, is avoided except control Other ferromagnetism objects except the device that screen processed is closed and lighted and lead to the overdue bright of screen or accidentally close, make it is mobile eventually Hold the control of suspend mode or wake-up more accurate.
In one embodiment, before above-mentioned steps S101, method can also be implemented as following steps:
The setting instruction of input is received, distance threshold and/or light intensity threshold value is arranged.
Since different types of mobile terminal size may be different, and the intelligence for being used to match different type mobile terminal is called out The size of awake leather sheath may also be different, thus, when the intelligence of different mobile terminal wakes up leather sheath opening or closes, magnet and movement The distance of terminal is also not quite similar.Secondly as the variation of external environment, light intensity is it can also happen that variation, usual situation Under, the light intensity of fine day is greater than the light intensity at cloudy day, and the light intensity on daytime is greater than the light intensity in evening.
For these reasons, in the present embodiment, the threshold value that can adjust the distance according to actual needs and/or light intensity threshold value into Row setting and adjustment.When intelligently wake-up leather sheath fully opens, magnet is farthest at a distance from mobile terminal, thus, it can measure and work as When intelligence wake-up leather sheath fully opens, magnet is at a distance from mobile terminal.
For example, magnet is 4cm at a distance from mobile terminal, then settable distance when intelligently wake-up leather sheath fully opens Threshold value is 2cm, magnetic from having to when the triggering of nothing when receiving, if detecting that magnet is greater than 2cm at a distance from mobile terminal, Then think that intelligence wakes up leather sheath and is opened;If detecting magnet at a distance from mobile terminal no more than 2cm, then it is assumed that intelligence is called out Awake leather sheath is not opened.Secondly, when receive it is magnetic trigger from scratch when, if detecting magnet and mobile terminal Distance is not more than 2cm, then it is assumed that and intelligence wakes up leather sheath and is closed, if detecting that magnet is greater than 2cm at a distance from mobile terminal, Then think that intelligence wakes up leather sheath and is not closed.
Furthermore it is also possible to which two different distance thresholds are arranged, one is used to judge that intelligence to wake up whether leather sheath is opened, Another wakes up whether leather sheath is closed for judging intelligence, for example, setting wakes up whether leather sheath is opened for judging intelligence Distance threshold be 3cm, be arranged for judging the distance threshold whether intelligent leather sheath is closed for 1cm.Then when receiving magnetism From having to when the triggering of nothing, if detecting that magnet is greater than 3cm at a distance from mobile terminal, then it is assumed that intelligence wakes up leather sheath and beaten It opens;If detecting magnet at a distance from mobile terminal no more than 3cm, then it is assumed that intelligence wakes up leather sheath and is not opened.Secondly, When receive it is magnetic trigger from scratch when, if detecting magnet at a distance from mobile terminal no more than 1cm, then it is assumed that intelligence Leather sheath can be waken up to be closed, if detecting that magnet is greater than 1cm at a distance from mobile terminal, then it is assumed that intelligence, which wakes up leather sheath, not to be had It is closed.
And the setting about light intensity, it is daytime or black for can comprehensively considering current season, weather condition, current time Night, user are in the factors such as interior or outdoor and are configured.For example, current season is summer, it is currently at fine Daytime, the outdoor of sun direct irradiation, at this point, light intensity highest can achieve 60000lux-100000lux, thus, it can set Setting light intensity threshold value is 30000lux.It is then magnetic from having to when the triggering of nothing when receiving, it is received if detecting mobile terminal The light intensity arrived is greater than 30000lux, then it is assumed that intelligence wakes up leather sheath and is opened;If detecting what mobile terminal received Light intensity is not more than 30000lux, then it is assumed that intelligence wakes up leather sheath and is not opened.Secondly, when receiving magnetism from scratch Triggering when, if the light intensity that receives of detection mobile terminal is no more than 30000lux, then it is assumed that intelligence wakes up leather sheath quilt Closure, if detecting that magnet is greater than 30000lux at a distance from mobile terminal, then it is assumed that intelligence wakes up leather sheath and is not closed.
Description based on the above-mentioned setting method to light intensity threshold value is as can be seen that also can be set two different light Line intensity threshold one for judge intelligence wake up leather sheath whether be opened, another for judge intelligence wake up leather sheath whether by Closure.For example, setting is for judging that intelligence wakes up the light intensity threshold value that whether is opened of leather sheath as 50000lux, setting is used for Judge light intensity threshold value that whether intelligent leather sheath is closed for 10000lux.It is then magnetic from the triggering having to nothing when receiving When, if detecting that the light intensity that mobile terminal receives is greater than 50000lux, then it is assumed that intelligence wakes up leather sheath and is opened;Such as Fruit detects that the light intensity that mobile terminal receives is not more than 50000lux, then it is assumed that intelligence wakes up leather sheath and is not opened. Secondly, when receive it is magnetic trigger from scratch when, if the light intensity for detecting that mobile terminal receives is not more than 10000lux, then it is assumed that intelligence wakes up leather sheath and is closed, if the light intensity for detecting that mobile terminal receives is greater than 10000lux, then it is assumed that intelligence wakes up leather sheath and is not closed.
The technical scheme provided by this disclosed embodiment can include the following benefits: can receive adjust the distance threshold value and The setting of light intensity threshold value instructs, to keep the adjustment of distance threshold and light intensity threshold value more flexible and free.
In one embodiment, as shown in Fig. 2, above-mentioned steps S103 can be implemented as following steps S201-S202:
First trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;Second trigger condition includes: Second bright screen trigger condition and second closes screen trigger condition;
In step s 201, when meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control mobile terminal switching To lighting screen state;
In step S202, when satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control mobile terminal switching To closing screen state.
In the device for being used to light and close screen when far from terminal, control mobile terminal, which is switched to, lights screen shape State, in the device for being used to light and close when close to terminal, control mobile terminal is switched to closing screen state, then is not necessarily to point It hits the corresponding button just and can control mobile terminal and be switched to and light screen state or close screen state, make mobile terminal screen suspend mode Or the control waken up is easier.Secondly, can judge whether Magnetic Induction is to light for controlling screen by auxiliary induction It is issued with the device of closing, keeps the control of mobile terminal sleep or wake-up more accurate.
Embodiment shown in Fig. 2 is equivalent to:
The triggering of Magnetic Induction be first triggering when, according to Magnetic Induction triggering and corresponding auxiliary induction triggering, Control mobile terminal, which is switched to, lights screen state;
The triggering of Magnetic Induction be second triggering when, according to Magnetic Induction triggering and corresponding auxiliary induction triggering, Control mobile terminal is switched to closing screen state.
In the present embodiment, when the triggering of Magnetic Induction is magnetic the first triggering from having nothing, then illustrate mobile terminal In separate magnetic bodies, at this point, according to the triggering of Magnetic Induction and the triggering of corresponding auxiliary induction, control mobile terminal switching To lighting screen state.And when the triggering of Magnetic Induction is magnetic second triggering from scratch, illustrate that mobile terminal is leaning on Nearly magnetic bodies, at this point, control mobile terminal is switched to pass according to the triggering of Magnetic Induction and the triggering of corresponding auxiliary induction Close screen state.
The technical scheme provided by this disclosed embodiment can include the following benefits: be used to the bright screen of control switching point (CSP) Tentiform state and the device for closing screen state are switched to mobile terminal and light screen state when far from terminal, are being used to point Bright and closing device makes mobile terminal be switched to closing screen state, then without clicking the corresponding button just when close to terminal It can control mobile terminal screen to light and close, keep the control of mobile terminal screen suspend mode or wake-up easier.Secondly, can Judge whether Magnetic Induction is to issue for controlling the device that screen is lighted and closed by auxiliary induction, stops mobile terminal The control slept or waken up is more accurate.
Fig. 3 is a kind of flow chart of the method for control mobile terminal state switching shown according to an exemplary embodiment, As shown in figure 3, this method can be realized by mobile terminal, this method can be implemented as following steps S301-S304:
In step S301, Magnetic Induction information is obtained;
In step s 302, when Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
In step S303, whether auxiliary induction information meets preset the second touching corresponding with first trigger condition Clockwork spring part;
First trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;Second trigger condition includes: Second bright screen trigger condition and second closes screen trigger condition;
In step s 304, when meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control mobile terminal switching To lighting screen state.
In step S305, when satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control mobile terminal switching To closing screen state.
By the realization process described above for having understood control mobile terminal, the process is real by mobile terminal and computer It is existing, it is directed to the internal structure of two equipment separately below and function is introduced.
Fig. 4 is a kind of device block diagram of control mobile terminal state switching shown according to an exemplary embodiment.Reference Fig. 4, the device include:
First obtains module 401, for obtaining Magnetic Induction information;
Second obtains module 402, for when Magnetic Induction information meets preset first trigger condition, obtaining auxiliary sense Answer information;
Control module 403, it is preset with first trigger condition corresponding second for meeting in auxiliary induction information When trigger condition, according to the first trigger condition of satisfaction and corresponding second trigger condition, control mobile terminal, which is switched to, to be lighted Screen state closes screen state.
In one embodiment, the first trigger condition includes: that Magnetic Induction intensity becomes from predetermined inductive intensity threshold is greater than Change to the first bright screen trigger condition for being not more than predetermined inductive intensity threshold, Magnetic Induction intensity is never more than predetermined inductive intensity Changes of threshold closes screen trigger condition to be greater than predetermined inductive intensity first.
In one embodiment, auxiliary induction information includes at least one in following: apart from induction information and light sense Answer information.
In one embodiment, the second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
In one embodiment, the first trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;The Two trigger conditions include: that the second bright screen trigger condition and second close screen trigger condition;
As shown in figure 5, the control module 403, comprising:
First control submodule 501, for when meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control to be moved Terminal, which is switched to, lights screen state;
Second control submodule 502, for controlling movement when satisfaction first closes screen trigger condition and second closes set of hanging scrolls part Terminal is switched to closing screen state.
In one embodiment, as shown in fig. 6, device further include:
Receiving module 601, setting instruction for receiving input, distance threshold and/or light intensity threshold value is arranged.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 7 is shown according to an exemplary embodiment a kind of for controlling the device 700 of mobile terminal state switching Block diagram.For example, device 700 can be mobile phone, and computer, digital broadcasting terminal, messaging device, game console, Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 7, device 700 may include following one or more components: processing component 702, memory 704, power supply Component 706, multimedia component 708, audio component 710, the interface 712 of input/output (I/O), sensor module 714, and Communication component 716.
The integrated operation of the usual control device 700 of processing component 702, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 702 may include that one or more processors 720 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 702 may include one or more modules, just Interaction between processing component 702 and other assemblies.For example, processing component 702 may include multi-media module, it is more to facilitate Interaction between media component 708 and processing component 702.
Memory 704 is configured as storing various types of data to support the operation in device 700.These data are shown Example includes the instruction of any application or method for operating on device 700, contact data, and telephone book data disappears Breath, picture, video etc..Memory 704 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 706 provides power supply for the various assemblies of device 700.Power supply module 706 may include power management system System, one or more power supplys and other with for device 700 generate, manage, and distribute the associated component of power supply.
Multimedia component 708 includes the screen state of one output interface of offer between described device 700 and user. In some embodiments, screen state may include liquid crystal display (LCD) and touch panel (TP).If screen state includes Touch panel, screen state may be implemented as touch screen, to receive input signal from the user.Touch panel includes one Or multiple touch sensors are to sense the gesture on touch, slide, and touch panel.The touch sensor can be sensed not only The boundary of a touch or slide action, but also detect duration and pressure associated with the touch or slide operation.One In a little embodiments, multimedia component 708 includes a front camera and/or rear camera.When device 700 is in operation mould Formula, such as in a shooting mode or a video mode, front camera and/or rear camera can receive external multi-medium data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom energy Power.
Audio component 710 is configured as output and/or input audio signal.For example, audio component 710 includes a Mike Wind (MIC), when device 700 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 704 or via communication set Part 716 is sent.In some embodiments, audio component 710 further includes a loudspeaker, is used for output audio signal.
I/O interface 712 provides interface between processing component 702 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 714 includes one or more sensors, and the state for providing various aspects for device 700 is commented Estimate.For example, sensor module 714 can detecte the state that opens/closes of device 700, and the relative positioning of component, for example, it is described Component is the display and keypad of device 700, and sensor module 714 can be with detection device 700 or a group of device 700 The position change of part, the existence or non-existence that user contacts with device 700,700 orientation of device or acceleration/deceleration and device 700 Temperature change.Sensor module 714 may include proximity sensor, be configured to examine without any physical contact Survey presence of nearby objects.Sensor module 714 can also include that optical sensor is used for such as CMOS or ccd image sensor It is used in imaging applications.In some embodiments, which can also include acceleration transducer, and gyroscope passes Sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 716 is configured to facilitate the communication of wired or wireless way between device 700 and other equipment.Device 700 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 716 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 716 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 700 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 704 of instruction, above-metioned instruction can be executed by the processor 720 of device 700 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of device of control mobile terminal state switching, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to full The first trigger condition and corresponding second trigger condition of foot, control mobile terminal, which is switched to, lights screen state or closing screen State.
The processor can be additionally configured to:
First trigger condition includes: that Magnetic Induction intensity is changed to from predetermined inductive intensity threshold is greater than no more than default sense The first bright screen trigger condition of intensity threshold is answered, Magnetic Induction intensity is changed to never more than predetermined inductive intensity threshold to be greater than in advance If the first of induction closes screen trigger condition.
The processor can be additionally configured to:
Auxiliary induction information includes at least one in following: apart from induction information and light sensing information.
The processor can be additionally configured to:
Second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
The processor can be additionally configured to:
First trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;Second trigger condition includes: Second bright screen trigger condition and second closes screen trigger condition;
First trigger condition and corresponding second trigger condition according to satisfaction, control mobile terminal, which is switched to, to be lighted Screen state closes screen state, comprising:
When meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control mobile terminal, which is switched to, lights screen shape State;
When satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control mobile terminal, which is switched to, closes screen shape State.
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that a kind of method that mobile terminal is able to carry out control mobile terminal state switching, which comprises
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to full The first trigger condition and corresponding second trigger condition of foot, control mobile terminal, which is switched to, lights screen state or closing screen State.
Instruction in the storage medium can also include:
First trigger condition includes: that Magnetic Induction intensity is changed to from predetermined inductive intensity threshold is greater than no more than default sense The first bright screen trigger condition of intensity threshold is answered, Magnetic Induction intensity is changed to never more than predetermined inductive intensity threshold to be greater than in advance If the first of induction closes screen trigger condition.
Instruction in the storage medium can also include:
Auxiliary induction information includes at least one in following: apart from induction information and light sensing information.
Instruction in the storage medium can also include:
Second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
Second bright set of hanging scrolls part, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
Instruction in the storage medium can also include:
First trigger condition includes: that the first bright screen trigger condition and first close screen trigger condition;Second trigger condition includes: Second bright screen trigger condition and second closes screen trigger condition;
First trigger condition and corresponding second trigger condition according to satisfaction, control mobile terminal, which is switched to, to be lighted Screen state closes screen state, comprising:
When meeting the first bright screen trigger condition and the second bright set of hanging scrolls part, control mobile terminal, which is switched to, lights screen shape State;
When satisfaction first closes screen trigger condition and second closes set of hanging scrolls part, control mobile terminal, which is switched to, closes screen shape State.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of method of control mobile terminal state switching, which is characterized in that be applied to the mobile terminal close to except leather sheath Except other ferromagnetism objects scene in, comprising:
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to satisfaction First trigger condition and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen state or closing screen shape State;
Wherein, the auxiliary induction information includes that distance perception answers information, and/or, light sensing information is described apart from induction information For detecting leather sheath internal magnet at a distance from the mobile terminal, the light sensing information connects for detecting the mobile terminal The light intensity received.
2. the method according to claim 1, wherein the first trigger condition includes: Magnetic Induction intensity from being greater than Predetermined inductive intensity threshold changes to the first bright screen trigger condition no more than predetermined inductive intensity threshold, Magnetic Induction intensity from It is changed to no more than predetermined inductive intensity threshold and closes screen trigger condition greater than the first of predetermined inductive intensity.
3. the method according to claim 1, wherein the second trigger condition include: the second bright screen trigger condition and Second closes screen trigger condition;
Second bright screen trigger condition, comprising: it is greater than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determine that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes screen trigger condition, comprising: preset apart from threshold according to determining that the distance sensed is not more than apart from induction information Value, and/or, determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
4. the method according to claim 1, wherein the first trigger condition include: the first bright screen trigger condition and First closes screen trigger condition;Second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
First trigger condition and corresponding second trigger condition according to satisfaction, control mobile terminal, which is switched to, lights screen State closes screen state, comprising:
When meeting the first bright screen trigger condition and the second bright screen trigger condition, control mobile terminal, which is switched to, lights screen shape State;
When satisfaction first closes screen trigger condition and second closes screen trigger condition, control mobile terminal, which is switched to, closes screen shape State.
5. a kind of device of control mobile terminal state switching, which is characterized in that be applied to the mobile terminal close to except leather sheath Except other ferromagnetism objects scene in, comprising:
First obtains module, for obtaining Magnetic Induction information;
Second obtains module, for obtaining auxiliary induction information when Magnetic Induction information meets preset first trigger condition;
Control module, for meeting preset the second trigger condition corresponding with first trigger condition in auxiliary induction information When, according to the first trigger condition of satisfaction and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen state Or close screen state;
Wherein, the auxiliary induction information includes that distance perception answers information, and/or, light sensing information is described apart from induction information For detecting leather sheath internal magnet at a distance from the mobile terminal, the light sensing information connects for detecting the mobile terminal The light intensity received.
6. device according to claim 5, which is characterized in that the first trigger condition includes: Magnetic Induction intensity from being greater than Predetermined inductive intensity threshold changes to the first bright screen trigger condition no more than predetermined inductive intensity threshold, Magnetic Induction intensity from It is changed to no more than predetermined inductive intensity threshold and closes screen trigger condition greater than the first of predetermined inductive intensity.
7. device according to claim 5, which is characterized in that the second trigger condition include: the second bright screen trigger condition and Second closes screen trigger condition;
Second bright set of hanging scrolls part, comprising: according to the distance sensed apart from induction information determination greater than preset distance threshold, and/ Or, determining that the light intensity sensed is greater than preset light intensity threshold value according to light sensing information;
Second closes set of hanging scrolls part, comprising: it is not more than preset distance threshold according to apart from the determining distance sensed of induction information, And/or determined the light intensity sensed no more than preset light intensity threshold value according to light sensing information.
8. device according to claim 5, which is characterized in that the first trigger condition include: the first bright screen trigger condition and First closes screen trigger condition;Second trigger condition includes: that the second bright screen trigger condition and second close screen trigger condition;
The control module, comprising:
First control submodule, it is mobile whole for controlling when meeting the first bright screen trigger condition and the second bright screen trigger condition End, which is switched to, lights screen state;
Second control submodule, for controlling mobile whole when satisfaction first closes and shields trigger condition and the second pass screen trigger condition End is switched to closing screen state.
9. a kind of device of control mobile terminal state switching, which is characterized in that be applied to the mobile terminal close to except leather sheath Except other ferromagnetism objects scene in, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain Magnetic Induction information;
When Magnetic Induction information meets preset first trigger condition, auxiliary induction information is obtained;
When auxiliary induction information meets preset the second trigger condition corresponding with first trigger condition, according to satisfaction First trigger condition and corresponding second trigger condition, control mobile terminal, which is switched to, lights screen state or closing screen shape State;
Wherein, the auxiliary induction information includes that distance perception answers information, and/or, light sensing information is described apart from induction information For detecting leather sheath internal magnet at a distance from the mobile terminal, the light sensing information connects for detecting the mobile terminal The light intensity received.
10. a kind of computer readable storage medium, is stored thereon with computer instruction, which is characterized in that the instruction is by processor The step of Claims 1-4 any one claim the method is realized when execution.
CN201610587293.7A 2016-07-22 2016-07-22 Control the method and device of mobile terminal state switching Active CN106210336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610587293.7A CN106210336B (en) 2016-07-22 2016-07-22 Control the method and device of mobile terminal state switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610587293.7A CN106210336B (en) 2016-07-22 2016-07-22 Control the method and device of mobile terminal state switching

Publications (2)

Publication Number Publication Date
CN106210336A CN106210336A (en) 2016-12-07
CN106210336B true CN106210336B (en) 2019-11-29

Family

ID=57491729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610587293.7A Active CN106210336B (en) 2016-07-22 2016-07-22 Control the method and device of mobile terminal state switching

Country Status (1)

Country Link
CN (1) CN106210336B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295190A (en) * 2017-07-10 2017-10-24 北京小米移动软件有限公司 Working mode switching method, device and protective case
CN108205360B (en) * 2017-12-18 2023-08-15 中兴通讯股份有限公司 Method, device, terminal and storage medium for controlling terminal screen
CN109739339B (en) * 2018-12-30 2021-10-22 联想(北京)有限公司 Control method and device
CN112650406A (en) * 2019-10-10 2021-04-13 北京小米移动软件有限公司 Electronic device and electronic device protection system
CN111147667A (en) * 2019-12-25 2020-05-12 华为技术有限公司 Screen-off control method and electronic equipment
CN111432068B (en) * 2020-03-10 2022-04-08 北京小米移动软件有限公司 Display state control method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN204069064U (en) * 2014-08-04 2014-12-31 深圳市仁清科技有限公司 A kind of mobile phone and Leather cover for handset combine
CN104640184A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 Screen wake-up method and device
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
CN104750421A (en) * 2015-04-20 2015-07-01 深圳市欧珀通信软件有限公司 Touch screen operation method and device for mobile terminal
CN104965667A (en) * 2015-06-17 2015-10-07 广东欧珀移动通信有限公司 Method and mobile terminal for controlling screen-on of mobile terminal
CN105183188A (en) * 2015-09-14 2015-12-23 小米科技有限责任公司 Screen control method and device of electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951444A (en) * 2010-09-29 2011-01-19 中兴通讯股份有限公司 Method for realizing screen locking and unlocking of mobile terminal and mobile terminal
CN204069064U (en) * 2014-08-04 2014-12-31 深圳市仁清科技有限公司 A kind of mobile phone and Leather cover for handset combine
CN104640184A (en) * 2015-02-15 2015-05-20 广东欧珀移动通信有限公司 Screen wake-up method and device
CN104683598A (en) * 2015-03-25 2015-06-03 深圳市欧珀通信软件有限公司 Proximity sensor threshold adjusting method and device and intelligent device
CN104750421A (en) * 2015-04-20 2015-07-01 深圳市欧珀通信软件有限公司 Touch screen operation method and device for mobile terminal
CN104965667A (en) * 2015-06-17 2015-10-07 广东欧珀移动通信有限公司 Method and mobile terminal for controlling screen-on of mobile terminal
CN105183188A (en) * 2015-09-14 2015-12-23 小米科技有限责任公司 Screen control method and device of electronic equipment

Also Published As

Publication number Publication date
CN106210336A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106210336B (en) Control the method and device of mobile terminal state switching
CN105162945B (en) Method for information display and device
RU2628558C2 (en) Method and smart terminal handling device
CN105517277B (en) Lighting apparatus control method and device
CN106325479B (en) Touch-control response method and mobile terminal
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN109361593A (en) A kind of method, apparatus of prompting message, mobile terminal and storage medium
CN108040360A (en) The method and apparatus of screen display control
CN106292320B (en) Control the method and device of controlled device operation
CN105390120B (en) bright screen control method and device
CN107708187A (en) The control method and device of sleep pattern
CN107872576A (en) Alarm clock prompting method, device and computer-readable recording medium
CN108227933A (en) The control method and device of glasses
CN108769416A (en) It puts out screen and shows method and device
CN106325575B (en) Touch-control response method and device
CN105208510B (en) The method and device of intelligent alarm
CN106537887B (en) Terminal control method and terminal
CN108901108A (en) The control method and device of lighting apparatus, lighting apparatus
CN107566750A (en) Control method, device and the storage medium of flash lamp
CN109862169A (en) Control method of electronic device and device
CN105094915B (en) reset processing method and device
CN107203264A (en) The control method of display pattern, device, electronic equipment
CN106128415B (en) Screen luminance adjustment method and device
CN105242775A (en) State adjustment method and apparatus
CN106126158B (en) A kind of method and apparatus of playing audio-fequency data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant