CN105549721B - Intelligent terminal dormancy method and device - Google Patents
Intelligent terminal dormancy method and device Download PDFInfo
- Publication number
- CN105549721B CN105549721B CN201510966543.3A CN201510966543A CN105549721B CN 105549721 B CN105549721 B CN 105549721B CN 201510966543 A CN201510966543 A CN 201510966543A CN 105549721 B CN105549721 B CN 105549721B
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- screen
- state
- use state
- judging
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3231—Monitoring the presence, absence or movement of users
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention is suitable for the field of intelligent terminals and provides an intelligent terminal dormancy method and an intelligent terminal dormancy device. The method comprises the following steps: judging whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy duration or not; when the screen-on time of the intelligent terminal reaches the automatic dormancy time of the screen, judging whether the intelligent terminal is in a non-use state; when the intelligent terminal is in a non-use state, automatically closing a screen and entering a sleep mode, wherein the judging whether the intelligent terminal is in the non-use state specifically comprises: judging whether the intelligent terminal is in an unlocking state or not; when the intelligent terminal is in an unlocking state, detecting whether a frame of the intelligent terminal bears pressure or not; when the frame of the intelligent terminal does not bear pressure, judging that the intelligent terminal is in a non-use state; when the frame of the intelligent terminal bears pressure, the intelligent terminal is judged to be in a use state, and a bright screen state is kept. The embodiment of the invention improves the usability of the intelligent terminal.
Description
Technical Field
The embodiment of the invention belongs to the field of intelligent terminals, and particularly relates to an intelligent terminal dormancy method and an intelligent terminal dormancy device.
Background
At present, intelligent terminals (such as mobile phones, ipads and the like) are more and more popular, and the roles of the intelligent terminals in the lives of people are more and more important. However, since the battery power is limited, in order to prolong the endurance time of the smart terminal, the smart terminal system may adopt various methods to save the battery power. For example, the screen is automatically dormant, and the power consumption of the screen, which is the largest power consumption part in the intelligent terminal, can be effectively reduced.
In the existing intelligent terminal dormancy method, an intelligent terminal detects whether operation exists in the intelligent terminal within a certain time, and if not, the intelligent terminal automatically closes a screen. The method can achieve the purpose of saving electricity under most conditions, but brings inconvenience to users under certain scenes. For example, when a user is operating some applications which are not required to be frequently operated, such as viewing a web page with a browser, since the screen does not need to be always touched during the process of viewing the web page, the screen is automatically dormant during the process of viewing the web page by adopting the existing method, and the user needs to touch the screen again to brighten the screen again, thereby bringing great inconvenience to the user.
Disclosure of Invention
The embodiment of the invention provides a sleep method and a sleep device for an intelligent terminal, and aims to solve the problem that inconvenience is brought to a user because a screen automatically sleeps and a time duration reaches and the intelligent terminal directly enters a sleep mode in the conventional method.
The embodiment of the invention is realized in such a way that an intelligent terminal dormancy method comprises the following steps:
judging whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy duration or not;
when the screen-on time of the intelligent terminal reaches the automatic dormancy time of the screen, judging whether the intelligent terminal is in a non-use state;
when the intelligent terminal is in a non-use state, automatically closing a screen and entering a sleep mode;
wherein, the judging whether the intelligent terminal is in a non-use state specifically comprises:
judging whether the intelligent terminal is in an unlocking state or not;
when the intelligent terminal is in an unlocking state, detecting whether a frame of the intelligent terminal bears pressure or not;
when the frame of the intelligent terminal does not bear pressure, judging that the intelligent terminal is in a non-use state;
when the frame of the intelligent terminal bears pressure, the intelligent terminal is judged to be in a use state, and a bright screen state is kept.
Another object of an embodiment of the present invention is to provide an intelligent terminal hibernation apparatus, including:
the first screen automatic sleeping time comparison unit is used for judging whether the screen-on time of the intelligent terminal reaches the screen automatic sleeping time or not;
the first intelligent terminal state judging unit is used for judging whether the intelligent terminal is in a non-use state or not when the screen-on time of the intelligent terminal reaches the automatic dormancy time of a screen;
the sleep mode starting unit is used for automatically closing the screen and entering a sleep mode when the intelligent terminal is in a non-use state;
wherein, the first intelligent terminal state judgment unit includes:
the unlocking state judging module is used for judging whether the intelligent terminal is in an unlocking state or not;
the frame stress detection module is used for detecting whether the frame of the intelligent terminal bears pressure or not when the intelligent terminal is in an unlocking state;
the non-use state judging module is used for judging that the intelligent terminal is in a non-use state when the frame of the intelligent terminal does not bear pressure;
and the using state judging module is used for judging that the intelligent terminal is in the using state and keeping the bright screen state when the frame of the intelligent terminal bears pressure.
In the embodiment of the invention, when the intelligent terminal reaches the time length of automatic dormancy of the screen, whether the intelligent terminal is in the non-use state is continuously judged, and the screen is automatically closed only when the intelligent terminal is judged to be in the non-use state, so that the dormant mode is entered, therefore, the battery power of the intelligent terminal can be effectively saved when a user uses the intelligent terminal, and the condition that the screen is accidentally dormant when the user uses individual application which does not need frequent operation can be avoided, so that the usability of the intelligent terminal is improved, and great convenience is brought to the user.
Drawings
Fig. 1 is a flowchart of a sleep method of an intelligent terminal according to a first embodiment of the present invention;
fig. 2 is a structural diagram of an intelligent terminal sleep apparatus according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the embodiment of the invention, whether the intelligent terminal reaches the automatic screen dormancy time or not is judged, whether the intelligent terminal is in a non-use state or not is judged when the intelligent terminal reaches the automatic screen dormancy time, and the screen is automatically closed and a dormancy mode is entered when the intelligent terminal is in the non-use state.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The first embodiment is as follows:
fig. 1 shows a flowchart of a sleep method of an intelligent terminal according to a first embodiment of the present invention, which is detailed as follows:
and step S11, judging whether the screen-on time of the intelligent terminal reaches the automatic sleep time of the screen.
Specifically, whether the sleep mode of the intelligent terminal is started or not is judged, if yes, whether the duration that the user does not continuously operate the intelligent terminal reaches the preset automatic screen sleep duration or not is judged, and of course, if the sleep mode of the intelligent terminal is not started, the screen does not sleep and the screen is kept in a bright state.
And step S12, when the screen-on time of the intelligent terminal reaches the automatic screen dormancy time, judging whether the intelligent terminal is in a non-use state.
Here, the non-use state includes an inoperative state of the lock screen state and the unlock state.
Specifically, the determining whether the intelligent terminal is in a non-use state specifically includes:
and A1, judging whether the intelligent terminal is in an unlocked state.
A2, when the intelligent terminal is in an unlocked state, detecting whether the frame of the intelligent terminal bears pressure. Specifically, whether the single-side or double-side frame of the intelligent terminal bears pressure is detected through a pressure sensor, and the pressure sensor can be arranged on a touch screen covering the frame of the intelligent terminal or arranged on the frame of the intelligent terminal.
Whether the frame of the intelligent terminal bears the pressure or not can be detected by presetting a pressure threshold value in the intelligent terminal, and when the pressure exceeds the preset threshold value, the frame of the intelligent terminal is considered to have the pressure.
Optionally, before the a2, comprising: checking whether the running program exists in the foreground of the intelligent terminal or not so as to detect whether the frame of the intelligent terminal bears pressure or not when the running program exists in the foreground of the intelligent terminal, judging that the intelligent terminal is in a non-use state when the running program does not exist in the foreground of the intelligent terminal, automatically closing a screen, and entering a sleep mode. Specifically, whether the program is running or not can be judged by looking at the information of the program in background management; or, whether the program is running is judged by looking at the application program which is 'running' in the intelligent terminal. Whether the intelligent terminal is in the non-use state or not is judged by checking whether the running program exists in the foreground of the intelligent terminal or not, so that the judgment speed and the judgment accuracy can be effectively improved.
It should be noted that when the intelligent terminal is in the screen locking state, it is determined that the intelligent terminal is in the non-use state, and the screen is automatically closed to enter the sleep mode. Because the user can not carry out any operation to the intelligent terminal when the intelligent terminal is in the screen locking state, when the intelligent terminal is judged to be in the screen locking state, the screen is automatically closed, and the intelligent terminal enters the sleep mode, so that the electric quantity of the battery is saved.
A3, when the frame of the intelligent terminal is not stressed, judging that the intelligent terminal is in a non-use state. When a user uses an intelligent terminal (such as a mobile phone and a tablet personal computer), the user usually holds the intelligent terminal by hand to enable a frame of the intelligent terminal to bear certain pressure, so that when the situation that the frame of the intelligent terminal does not bear the pressure is detected, the intelligent terminal is judged to be in a non-use state.
A4, when the frame of the intelligent terminal bears pressure, judging that the intelligent terminal is in a use state, and keeping a bright screen state. In this step, when the frame of the intelligent terminal bears the pressure, the user usually holds the intelligent terminal, and at this moment, the user is most likely to still use the intelligent terminal, the bright screen state is kept, the user can continue to operate the intelligent terminal conveniently, and the convenience of the user is improved. Further, when the frame of the intelligent terminal bears the pressure, the user may hold the intelligent terminal, or the user may squeeze the intelligent terminal by other objects, and the possibility that the user continues to use the intelligent terminal when holding the intelligent terminal is higher, therefore, in order to eliminate the situation that the other objects squeeze the intelligent terminal, when the frame of the intelligent terminal bears the pressure, the temperature of the frame of the intelligent terminal continues to be detected by the temperature sensor, and when the temperature of the frame of the intelligent terminal is within the preset temperature threshold range, it is determined that the intelligent terminal is in the use state. Of course, the preset temperature threshold range is a limit range corresponding to the body temperature of the human body.
In order to further improve the accuracy of determining whether the user is still using the smart terminal, optionally, after the a4, the method includes:
and A41, judging whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy duration again. Specifically, the duration that the intelligent terminal continuously does not receive the operation instruction is counted, the duration is compared with the preset automatic screen dormancy duration, and if the duration is greater than or equal to the preset automatic screen dormancy duration, the screen automatic dormancy duration is judged to be reached.
A42, when the screen-on time of the intelligent terminal reaches the automatic sleep time of the screen, judging whether the intelligent terminal is in a non-use state.
A43, when the intelligent terminal is in a non-use state, starting a camera to detect whether a human face exists in front of the intelligent terminal.
A44, when a human face exists in front of the intelligent terminal, judging that the intelligent terminal is in a use state, and keeping the screen normally bright.
A45, when no human face exists in front of the intelligent terminal, prompting a user to execute operation on the intelligent terminal within a limited time, and automatically closing a screen to enter a sleep mode when the user does not execute operation on the intelligent terminal within the limited time.
It should be noted that the above-mentioned a 41-a 45 may be executed after executing the a4 step 1 time, or may be executed after executing the a4 step 2 times (or other times such as 3 times), that is, after determining that the smart terminal is in the use state and keeps the bright screen state by 1 time through three factors of whether the smart terminal is in the unlock state, whether the program is running, and whether the frame of the smart terminal has pressure, or may be executed after determining that the smart terminal is in the use state and keeps the bright screen state 2 times (or other times such as 3 times) through the above-mentioned factors. After the above-mentioned a 41-a 45 is executed 1 time, the above-mentioned a 41-a 45 may be executed after the a4 step is executed 1 time again, or may be executed after the a4 step is executed 2 times (or 3 times or other times) again, so as to avoid the situation that the number of times of starting the camera is too large and the power consumption of the intelligent terminal is consumed.
In the above-mentioned a 41-a 45, after the intelligent terminal reaches the automatic sleep duration of the screen, it is determined that the intelligent terminal is in a use state at least 2 times, that is, the intelligent terminal does not receive any operation instruction in the period, so that, in order to prevent erroneous determination, the pre-camera is started to capture, image recognition is performed on the captured image, and if a human face is found in the image, the intelligent terminal is determined to be in a use state, and the screen is kept normally on; if the face is not found in the image, prompting a user to execute operation on the intelligent terminal within a limited time, such as clicking a specified area or drawing a specified pattern, and if the user executes operation on the intelligent terminal within the limited time, judging that the intelligent terminal is in a use state and keeping a screen normally bright. If the user does not operate the intelligent terminal within the limited time, the intelligent terminal is judged to be in a non-use state, the screen is automatically closed, and the intelligent terminal enters a sleep mode.
And step S13, when the intelligent terminal is in a non-use state, automatically closing the screen and entering a sleep mode.
In the first embodiment of the invention, whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy time or not is judged, whether the intelligent terminal is in a non-use state or not is judged when the screen-on time of the intelligent terminal reaches the automatic screen dormancy time, and the screen is automatically closed and a dormancy mode is entered when the intelligent terminal is in the non-use state. When the intelligent terminal reaches the time length of automatic dormancy of the screen, whether the intelligent terminal is in the non-use state or not is continuously judged, the screen is automatically closed only when the intelligent terminal is judged to be in the non-use state, and the intelligent terminal enters the dormant mode, so that the battery power of the intelligent terminal can be effectively saved when a user uses the intelligent terminal, and the condition that the screen is accidentally dormant when individual application which does not need frequent operation is used can be avoided, thereby improving the usability of the intelligent terminal and bringing great convenience to the user.
In the embodiment, after it is determined that the intelligent terminal reaches the automatic screen dormancy duration each time, whether touch operation on the screen of the intelligent terminal or pressing operation on a key of the intelligent terminal exists is detected, if the touch operation or the pressing operation is detected, the screen-on state of the screen is maintained, the screen-on time is re-timed until the preset automatic screen dormancy duration is reached, and whether the intelligent terminal is in a non-use state is further determined.
It should be understood that, in the embodiment of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
Example two:
fig. 2 is a block diagram of a smart terminal sleep apparatus provided in a second embodiment of the present invention, which may be used in a smart terminal that may include a user equipment communicating with one or more core networks via a radio access network RAN, the user equipment may be a mobile phone (or referred to as a "cellular" phone), a computer with mobile equipment, etc., and the user equipment may also be a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile apparatus that exchanges voice and/or data with the radio access network, for example. Also for example, the mobile device may include a smartphone, a tablet computer, a Personal Digital Assistant (PDA), a point-of-sale (POS) or a vehicle-mounted computer, etc. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
This intelligent terminal dormancy device includes: the system comprises a first screen automatic sleep duration comparison unit 21, a first intelligent terminal state judgment unit 22 and a sleep mode starting unit 23. Wherein:
and the first screen automatic sleep duration comparison unit 21 is configured to determine whether the screen-on time of the intelligent terminal reaches the screen automatic sleep duration.
Specifically, whether the sleep mode of the intelligent terminal is started or not is judged, if yes, whether the duration that the user does not continuously operate the intelligent terminal reaches the preset automatic screen sleep duration or not is judged, and of course, if the sleep mode of the intelligent terminal is not started, the screen does not sleep and the screen is kept in a bright state.
The first intelligent terminal state judging unit 22 is configured to judge whether the intelligent terminal is in a non-use state when the screen-on time of the intelligent terminal reaches the screen auto-sleep time.
Here, the non-use state includes an inoperative state of the lock screen state and the unlock state.
Optionally, the first intelligent terminal state judging unit 22 includes:
and the unlocking state judging module is used for judging whether the intelligent terminal is in an unlocking state.
And the frame stress detection module is used for detecting whether the frame of the intelligent terminal bears pressure or not when the intelligent terminal is in an unlocking state. Specifically, whether the single-side or double-side frame of the intelligent terminal bears pressure is detected through a pressure sensor, and the pressure sensor can be arranged on a touch screen covering the frame of the intelligent terminal or arranged on the frame of the intelligent terminal. Optionally, the intelligent terminal sleep device includes: and the foreground running program checking unit is used for checking whether a running program exists in the foreground of the intelligent terminal so as to detect whether the frame of the intelligent terminal bears pressure when the running program exists in the foreground of the intelligent terminal, and judging that the intelligent terminal is in a non-use state when the running program does not exist in the foreground of the intelligent terminal, automatically closing a screen and entering a sleep mode. Specifically, whether the program is running or not can be judged by looking at the information of the program in background management; or, whether the program is running is judged by looking at the application program which is 'running' in the intelligent terminal. Whether the intelligent terminal is in the non-use state or not is judged by checking whether the running program exists in the foreground of the intelligent terminal or not, so that the judgment speed and the judgment accuracy can be effectively improved.
And the non-use state judging module is used for judging that the intelligent terminal is in a non-use state when the frame of the intelligent terminal does not bear pressure.
And the using state judging module is used for judging that the intelligent terminal is in the using state and keeping the bright screen state when the frame of the intelligent terminal bears pressure. When the frame of the intelligent terminal bears the pressure, the user usually holds the intelligent terminal, at the moment, the user is most likely to still use the intelligent terminal, the bright screen state is kept, the user can continue to operate conveniently, and the convenience of the user is improved. Further, when the frame of the intelligent terminal bears the pressure, the user may hold the intelligent terminal, or the user may squeeze the intelligent terminal by other objects, and the possibility that the user continues to use the intelligent terminal when holding the intelligent terminal is higher, therefore, in order to eliminate the situation that the other objects squeeze the intelligent terminal, when the frame of the intelligent terminal bears the pressure, the temperature of the frame of the intelligent terminal continues to be detected by the temperature sensor, and when the temperature of the frame of the intelligent terminal is within the preset temperature threshold range, it is determined that the intelligent terminal is in the use state. Of course, the preset temperature threshold range is a limit range corresponding to the body temperature of the human body.
Optionally, the first intelligent terminal state judging unit 22 includes:
and the screen locking state processing module is used for judging that the intelligent terminal is in a non-use state when the intelligent terminal is in a screen locking state, automatically closing a screen and entering a sleep mode. Because the user can not carry out any operation to the intelligent terminal when the intelligent terminal is in the screen locking state, when the intelligent terminal is judged to be in the screen locking state, the screen is automatically closed, and the intelligent terminal enters the sleep mode, so that the electric quantity of the battery is saved.
Optionally, the intelligent terminal sleep device includes:
and the second screen automatic sleeping time comparison unit is used for judging whether the screen-on time of the intelligent terminal reaches the screen automatic sleeping time again after the intelligent terminal is judged to be in the use state.
And the second intelligent terminal state judging unit is used for judging whether the intelligent terminal is in a non-use state or not when the second screen automatic sleeping time comparison unit judges that the screen-on time of the intelligent terminal reaches the screen automatic sleeping time.
And the camera starting unit is used for starting the camera to detect whether a human face exists in front of the intelligent terminal when the intelligent terminal is in a non-use state.
And the using state judging unit is used for judging that the intelligent terminal is in the using state and keeping the screen to be normally bright when a human face exists in front of the intelligent terminal.
And the operation prompting unit is used for prompting a user to execute operation on the intelligent terminal within a limited time when no human face exists in front of the intelligent terminal, and automatically closing a screen to enter a sleep mode when the user does not execute operation on the intelligent terminal within the limited time.
It should be noted that, the second screen auto-sleep duration comparing unit, the second intelligent terminal state determining unit, the camera starting unit, the use state determining unit, and the operation prompting unit may be executed after the use state determining module determines that the intelligent terminal is in the use state for 1 time, or may be executed after the use state determining module determines that the intelligent terminal is in the use state for 2 times (or 3 times or other times). In addition, after the second screen automatic sleep duration comparison unit, the second intelligent terminal state judgment unit, the camera starting unit, the use state judgment unit and the operation prompting unit are executed for 1 time, the execution may be performed after the use state judgment module is executed for 1 time again, or the execution may be performed after the use state judgment module is executed for 2 times (or 3 times and other times) again, so as to avoid that the number of times of starting the camera is excessive and the electric quantity of the intelligent terminal is consumed.
And the sleep mode starting unit 23 is configured to automatically close the screen and enter a sleep mode when the intelligent terminal is in a non-use state.
In this embodiment, the mobile terminal further includes a touch pressing detection unit, configured to detect whether there is a touch operation on the screen of the intelligent terminal or a pressing operation on a key of the intelligent terminal after the intelligent terminal reaches the automatic screen dormancy duration each time, and when the touch operation or the pressing operation is detected, maintain a screen-on state of the screen, and count the screen-on time again until the preset automatic screen dormancy duration is reached.
In the second embodiment of the invention, when the intelligent terminal reaches the time length of automatic dormancy of the screen, whether the intelligent terminal is in the non-use state is continuously judged, and the screen is automatically closed and enters the dormancy mode only when the intelligent terminal is judged to be in the non-use state, so that the battery power of the intelligent terminal can be effectively saved when a user uses the intelligent terminal, and the condition that the screen is accidentally dormant when individual application which does not need frequent operation is used can be avoided, thereby improving the usability of the intelligent terminal and bringing great convenience to the user.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (8)
1. A sleep method of an intelligent terminal is characterized by comprising the following steps:
judging whether the screen-on time of the intelligent terminal reaches the automatic dormancy duration of the screen, specifically: counting the duration that the intelligent terminal does not receive the operation instruction continuously, comparing the duration with the preset automatic screen dormancy duration, and judging that the automatic screen dormancy duration is reached if the duration is greater than or equal to the preset automatic screen dormancy duration;
when the screen-on time of the intelligent terminal reaches the automatic dormancy time of the screen, judging whether the intelligent terminal is in a non-use state;
when the intelligent terminal is in a non-use state, automatically closing a screen and entering a sleep mode;
wherein, the judging whether the intelligent terminal is in a non-use state specifically comprises:
judging whether the intelligent terminal is in an unlocking state or not;
when the intelligent terminal is in an unlocking state, detecting whether a frame of the intelligent terminal bears pressure or not;
when the frame of the intelligent terminal does not bear pressure, judging that the intelligent terminal is in a non-use state;
when the frame of the intelligent terminal bears pressure, continuously detecting the temperature of the frame of the intelligent terminal through a temperature sensor, and when the temperature of the frame of the intelligent terminal is within a preset temperature threshold range, judging that the intelligent terminal is in a use state and keeping a bright screen state, wherein the temperature threshold is a limit range corresponding to the body temperature of a human body;
after the intelligent terminal is judged to be in the use state and to be kept in the bright screen state, the method comprises the following steps:
judging whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy duration or not;
when the screen-on time of the intelligent terminal reaches the automatic screen dormancy time, judging whether the intelligent terminal is in a non-use state again;
when the intelligent terminal is in a non-use state, a camera is started to detect whether a human face exists in front of the intelligent terminal;
when a face exists in front of the intelligent terminal, judging that the intelligent terminal is in a use state, and keeping a screen to be normally bright;
when no human face exists in front of the intelligent terminal, prompting a user to execute operation on the intelligent terminal within a limited time, and automatically closing a screen to enter a sleep mode when the user does not execute operation on the intelligent terminal within the limited time.
2. The method according to claim 1, wherein when the intelligent terminal is in the screen locking state, the intelligent terminal is determined to be in the non-use state, and the screen is automatically closed to enter the sleep mode.
3. The method according to claim 1, wherein before the detecting whether the frame of the intelligent terminal is stressed, the method comprises:
checking whether the running program exists in the foreground of the intelligent terminal or not so as to detect whether the frame of the intelligent terminal bears pressure or not when the running program exists in the foreground of the intelligent terminal, judging that the intelligent terminal is in a non-use state when the running program does not exist in the foreground of the intelligent terminal, automatically closing a screen, and entering a sleep mode.
4. The method according to any one of claims 1 to 3, wherein after each time the intelligent terminal is judged to reach the automatic sleep time of the screen, whether touch operation on the screen of the intelligent terminal or pressing operation on a key of the intelligent terminal exists is detected, if the touch operation or the pressing operation is detected, the screen-on state of the screen is kept, and the screen-on time is counted again.
5. An intelligent terminal dormancy device, its characterized in that, the device includes:
the first automatic screen dormancy duration comparison unit is used for judging whether the screen-on time of the intelligent terminal reaches the automatic screen dormancy duration, and specifically comprises the following steps: counting the duration that the intelligent terminal does not receive the operation instruction continuously, comparing the duration with the preset automatic screen dormancy duration, and judging that the automatic screen dormancy duration is reached if the duration is greater than or equal to the preset automatic screen dormancy duration;
the first intelligent terminal state judging unit is used for judging whether the intelligent terminal is in a non-use state or not when the screen-on time of the intelligent terminal reaches the automatic dormancy time of a screen;
the sleep mode starting unit is used for automatically closing the screen and entering a sleep mode when the intelligent terminal is in a non-use state;
wherein, the first intelligent terminal state judgment unit includes:
the unlocking state judging module is used for judging whether the intelligent terminal is in an unlocking state or not;
the frame stress detection module is used for detecting whether the frame of the intelligent terminal bears pressure or not when the intelligent terminal is in an unlocking state;
the non-use state judging module is used for judging that the intelligent terminal is in a non-use state when the frame of the intelligent terminal does not bear pressure;
the using state judging module is used for continuously detecting the temperature of the frame of the intelligent terminal through the temperature sensor when the frame of the intelligent terminal bears pressure, judging that the intelligent terminal is in a using state and keeping a screen-on state when the temperature of the frame of the intelligent terminal is in a preset temperature threshold range, wherein the temperature threshold is a limit range corresponding to the body temperature of a human body;
the second screen automatic sleeping time comparison unit is used for judging whether the screen-on time of the intelligent terminal reaches the screen automatic sleeping time again after the intelligent terminal is judged to be in the use state;
the second intelligent terminal state judging unit is used for judging whether the intelligent terminal is in a non-use state or not when the second screen automatic sleeping time comparing unit judges that the screen-on time of the intelligent terminal reaches the screen automatic sleeping time;
the camera starting unit is used for starting a camera to detect whether a human face exists in front of the intelligent terminal when the intelligent terminal is in a non-use state;
the intelligent terminal comprises a use state judging unit, a display unit and a display unit, wherein the use state judging unit is used for judging that the intelligent terminal is in a use state and keeping a screen to be normally bright when a human face exists in front of the intelligent terminal;
and the operation prompting unit is used for prompting a user to execute operation on the intelligent terminal within a limited time when no human face exists in front of the intelligent terminal, and automatically closing a screen to enter a sleep mode when the user does not execute operation on the intelligent terminal within the limited time.
6. The apparatus according to claim 5, wherein the first intelligent terminal state determining unit comprises:
and the screen locking state processing module is used for judging that the intelligent terminal is in a non-use state when the intelligent terminal is in a screen locking state, automatically closing a screen and entering a sleep mode.
7. The apparatus of claim 5, wherein the apparatus comprises:
and the foreground running program checking unit is used for checking whether a running program exists in the foreground of the intelligent terminal so as to detect whether the frame of the intelligent terminal bears pressure when the running program exists in the foreground of the intelligent terminal, and judging that the intelligent terminal is in a non-use state when the running program does not exist in the foreground of the intelligent terminal, automatically closing a screen and entering a sleep mode.
8. The apparatus according to any one of claims 5-7, characterized in that the apparatus comprises:
and the touch pressing detection unit is used for detecting whether touch operation on the screen of the intelligent terminal or pressing operation on a key of the intelligent terminal exists or not after the intelligent terminal reaches the automatic screen dormancy duration each time, keeping the screen lightening state of the screen when the touch operation or the pressing operation is detected, and timing the screen lightening time again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510966543.3A CN105549721B (en) | 2015-12-18 | 2015-12-18 | Intelligent terminal dormancy method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510966543.3A CN105549721B (en) | 2015-12-18 | 2015-12-18 | Intelligent terminal dormancy method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105549721A CN105549721A (en) | 2016-05-04 |
CN105549721B true CN105549721B (en) | 2020-01-03 |
Family
ID=55828948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510966543.3A Active CN105549721B (en) | 2015-12-18 | 2015-12-18 | Intelligent terminal dormancy method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105549721B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020418B (en) * | 2016-05-16 | 2018-05-29 | 广东欧珀移动通信有限公司 | Reduce the method, apparatus and mobile terminal of mobile terminal power consumption |
CN106791000A (en) * | 2016-11-28 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of digital product and its sleep management method |
CN106648325B (en) * | 2016-12-28 | 2020-11-03 | 北京金山安全软件有限公司 | Method and device for playing video on screen locking interface and electronic equipment |
CN106791147B (en) * | 2016-12-30 | 2019-11-15 | 努比亚技术有限公司 | A kind of device, mobile terminal and method controlling screen |
CN106814811A (en) * | 2017-01-20 | 2017-06-09 | 马鞍山状元郎电子科技有限公司 | A kind of interactive electric whiteboard with auto-lock function |
CN107168714A (en) * | 2017-05-24 | 2017-09-15 | 北京珠穆朗玛移动通信有限公司 | Method, mobile terminal and the storage device of system update |
CN107479684A (en) * | 2017-08-25 | 2017-12-15 | 深圳天珑无线科技有限公司 | terminal control method, device and non-transitory computer-readable medium |
CN108093339A (en) * | 2017-12-25 | 2018-05-29 | 广州市尊浪电器有限公司 | Control the method and device of sound equipment |
CN108196893A (en) * | 2017-12-29 | 2018-06-22 | 北京小米移动软件有限公司 | Adjust the method, apparatus and terminal of terminal sleeping |
CN108985033B (en) * | 2018-06-15 | 2021-03-12 | Oppo广东移动通信有限公司 | Terminal device control method and device and terminal device |
CN109194834B (en) * | 2018-09-27 | 2021-07-13 | 重庆辉烨物联科技有限公司 | Mobile phone power saving method, device, equipment and storage medium |
CN111221255A (en) * | 2018-11-26 | 2020-06-02 | 奇酷互联网络科技(深圳)有限公司 | Energy-saving method and system based on terminal interaction, intelligent terminal and storage medium |
CN110174935A (en) * | 2019-05-29 | 2019-08-27 | 努比亚技术有限公司 | Put out screen control method, terminal and computer readable storage medium |
CN110262652A (en) * | 2019-05-31 | 2019-09-20 | 联想(北京)有限公司 | A kind of electronic equipment and its screen locking method |
CN110662280B (en) * | 2019-09-29 | 2022-11-11 | 北京小米移动软件有限公司 | Method and device for switching operation modes, readable storage medium and electronic equipment |
CN110737324A (en) * | 2019-10-25 | 2020-01-31 | Oppo(重庆)智能科技有限公司 | Method for adjusting automatic screen-off time and related product |
CN113596248B (en) * | 2020-04-30 | 2022-11-11 | 华为技术有限公司 | Display screen control method and device |
CN113111399A (en) * | 2021-04-21 | 2021-07-13 | 广东科学技术职业学院 | Intelligent screen protection method and system applied to computer |
CN113128450A (en) * | 2021-04-29 | 2021-07-16 | 广东艾檬电子科技有限公司 | Safety protection method and system based on face recognition |
CN114327661A (en) * | 2021-12-30 | 2022-04-12 | 深圳市鹿为科技有限公司 | Control method and device of electronic display screen, control equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019388A (en) * | 2013-01-09 | 2013-04-03 | 苏州云都网络技术有限公司 | Screen unlocking method, screen locking method and terminal |
CN104798015A (en) * | 2012-12-28 | 2015-07-22 | 英特尔公司 | Variable touch screen scanning rate based on user presence detection |
CN104808779A (en) * | 2014-01-24 | 2015-07-29 | 北京奇虎科技有限公司 | Device and method for detecting intelligent headset continuously sticking on human body |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102622079B (en) * | 2012-02-25 | 2015-02-04 | 华为终端有限公司 | Sleep method, wakening method and mobile terminal device |
CN104281377A (en) * | 2013-07-04 | 2015-01-14 | 联想(北京)有限公司 | Electronic equipment and method and device for controlling screen of electronic equipment |
CN105068647B (en) * | 2015-08-06 | 2018-10-26 | 惠州Tcl移动通信有限公司 | A kind of intelligence lights the method and system of mobile device screen |
-
2015
- 2015-12-18 CN CN201510966543.3A patent/CN105549721B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104798015A (en) * | 2012-12-28 | 2015-07-22 | 英特尔公司 | Variable touch screen scanning rate based on user presence detection |
CN103019388A (en) * | 2013-01-09 | 2013-04-03 | 苏州云都网络技术有限公司 | Screen unlocking method, screen locking method and terminal |
CN104808779A (en) * | 2014-01-24 | 2015-07-29 | 北京奇虎科技有限公司 | Device and method for detecting intelligent headset continuously sticking on human body |
Also Published As
Publication number | Publication date |
---|---|
CN105549721A (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105549721B (en) | Intelligent terminal dormancy method and device | |
CN107194228B (en) | Unlocking control method and related product | |
CN105320924B (en) | Electronic device and fingerprint identification device control method | |
US8913991B2 (en) | User identification in cell phones based on skin contact | |
CA2762681C (en) | System and method for reducing power consumption in an electronic device having a touch-sensitive display | |
US9230507B2 (en) | System and method for transitioning an electronic device from a first power mode to a second power mode | |
US9245100B2 (en) | Method and apparatus for unlocking a user portable wireless electronic communication device feature | |
CN104899029A (en) | Screen control method and apparatus | |
US20130132877A1 (en) | Unlocking method of operating system and device | |
US9965086B2 (en) | Method for enabling function module of terminal, and terminal device | |
US9252890B2 (en) | Near field communication device and method for saving applied power | |
CN104142728B (en) | Electronic installation | |
CN105589654B (en) | A kind of mobile terminal unlocking method and system based on pressure sensor | |
CN107566650A (en) | Solve lock control method and Related product | |
WO2014134930A1 (en) | Method and system for unlocking touch screen and electronic device | |
CN107528979A (en) | The control device and method of mobile device | |
US9395793B2 (en) | Electronic device and method for resuming from hibernation for the same | |
CN105630331A (en) | Display method and display system | |
CN106383684B (en) | Display method, device and terminal | |
TW201732679A (en) | Information image display method and apparatus | |
EP2919445A1 (en) | Activation of an electronic device with a capacitive keyboard | |
CN107831996A (en) | Recognition of face starts method and Related product | |
CN105635483A (en) | Processing method and device for operating mobile terminal | |
CN104571509A (en) | Mobile terminal and awakening method thereof | |
CN103869985B (en) | Information processing method and terminal device |
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 |