CN107567081B - Mobile terminal and method for adjusting sleep time of mobile terminal - Google Patents

Mobile terminal and method for adjusting sleep time of mobile terminal Download PDF

Info

Publication number
CN107567081B
CN107567081B CN201710777602.1A CN201710777602A CN107567081B CN 107567081 B CN107567081 B CN 107567081B CN 201710777602 A CN201710777602 A CN 201710777602A CN 107567081 B CN107567081 B CN 107567081B
Authority
CN
China
Prior art keywords
mobile terminal
time
temporary
sleep
dormancy
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
CN201710777602.1A
Other languages
Chinese (zh)
Other versions
CN107567081A (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.)
Shenzhen Transsion Communication Co Ltd
Original Assignee
Shenzhen Transsion Communication 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 Shenzhen Transsion Communication Co Ltd filed Critical Shenzhen Transsion Communication Co Ltd
Priority to CN201710777602.1A priority Critical patent/CN107567081B/en
Publication of CN107567081A publication Critical patent/CN107567081A/en
Application granted granted Critical
Publication of CN107567081B publication Critical patent/CN107567081B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

A mobile terminal and a method for adjusting sleep time of the mobile terminal are provided, the mobile terminal includes: the state acquisition module is used for acquiring whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a dormant state; the signal acquisition module is connected with the state acquisition module and used for acquiring a pressure value and a contact area value of a user for pressing operation on the screen of the mobile terminal when the screen of the mobile terminal is in a semi-dark state; the adjusting module is connected with the signal acquiring module and used for generating a temporary sleep time according to the contact area value of the pressing operation when the pressure value of the pressing operation is larger than the preset pressure value and adjusting the sleep time into the temporary sleep time; and the timer is connected with the adjusting module and used for acquiring the temporary dormancy time and counting down the dormancy time. The mobile terminal can adjust the sleep time of the mobile terminal, so that a user can set different sleep times when using different application programs.

Description

Mobile terminal and method for adjusting sleep time of mobile terminal
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a mobile terminal and a method for adjusting sleep time of the mobile terminal.
Background
Nowadays, mobile terminals are all provided with an automatic sleep mode, and if the mobile terminals are not used within a period of time, the mobile terminals enter the sleep mode, so that the power consumption of the mobile terminals is saved, the standby time of the mobile terminals is prolonged, and when the mobile phones enter the sleep mode, the screen of the mobile terminals does not emit light.
When a user uses part of application software, the contact interval with the mobile phone is long, the mobile terminal may determine that the mobile terminal is in an unused state, and if the mobile terminal enters a sleep mode, the user needs to unlock the mobile terminal by pressing a power key, double-clicking a screen, or voice recognition, which undoubtedly increases unnecessary time of the user in the process of using the mobile phone, brings inconvenience to the user, and reduces user experience. For example, when a user uses reading software and reads a novel, the user can operate a mobile phone screen or a key only when turning pages or setting, and the user only watches the mobile phone screen and does not perform input operation on the mobile phone at other reading time, so that if the reading time of a certain page is too long and exceeds the sleep time set by the mobile phone, the mobile phone enters a sleep mode, and the reading process of the user is interrupted.
When a user uses a mobile terminal to read software, please refer to fig. 1, the sleep method of the mobile terminal includes: step S101: the terminal screen is luminous, and when a user uses the mobile terminal and performs input operation on the mobile terminal, the mobile terminal screen is luminous; step S102: when a user uses reading software in the mobile terminal, the user generally does not touch the mobile terminal by hands or other parts when reading a certain page of characters, input operation is carried out on the mobile terminal, the mobile terminal enters dormancy countdown, and when the time for the user to read the page of characters is longer than the dormancy time set by the terminal, the mobile terminal sends a dormancy instruction; step S103: the screen of the mobile terminal is turned off, when the mobile terminal receives a sleep instruction, the mobile terminal enters a sleep state, the screen becomes dark, part of application programs stop running, and a user cannot continue reading. The sleeping method of the mobile terminal greatly influences the reading experience of a user, after the mobile terminal enters a sleeping state, the user can wake up the mobile terminal to unlock the sleeping mode and continue reading if the user needs to continue reading, and the user needs to press a power key of the mobile terminal, double click a screen or voice recognition.
Therefore, it is desirable to provide a mobile terminal that enables a user to temporarily adjust a sleep time of the mobile terminal to correspond to different applications used by the user.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a mobile terminal and a method for adjusting the sleep time of the mobile terminal, so that the sleep time of the mobile terminal can be temporarily adjusted.
In order to solve the above problem, the present invention provides a mobile terminal including: the state acquisition module is used for acquiring whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a dormant state; the signal acquisition module is connected with the state acquisition module and used for acquiring a pressure value and a contact area value of a user for pressing operation on the screen of the mobile terminal when the screen of the mobile terminal is in the semi-dark state; the adjusting module is connected with the signal acquiring module and used for generating a temporary sleep time according to the contact area value of the pressing operation when the pressure value of the pressing operation is larger than a preset pressure value, and adjusting the sleep time into the temporary sleep time, wherein the sleep time is the process time when the mobile terminal enters a sleep state without receiving an input operation; and the timer is connected with the adjusting module and used for acquiring the temporary dormancy time and counting down the dormancy by taking the value of the temporary dormancy time as an initial value.
Optionally, the method further includes: and the setting module is connected with the adjusting module and used for setting the corresponding relation between the contact area value and the value of the temporary dormancy time.
Optionally, the method further includes: and the dormancy module is connected with the timer and used for controlling the mobile terminal to carry out dormancy when the dormancy countdown is finished.
Optionally, the method further includes: and the resetting module is connected with the dormancy module and used for resetting the temporary dormancy time of the mobile terminal to the initial dormancy time after the mobile terminal is dormant.
Optionally, the method further includes: and the selection module is connected with the state acquisition module and used for setting the sleep mode of the mobile terminal according to the selection operation of a user, wherein the sleep mode comprises a conventional sleep mode and a temporary sleep mode.
The invention also provides a method for adjusting the sleep time of the mobile terminal, which comprises the following steps: acquiring whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a dormant state; when the screen of the mobile terminal is in a semi-dark state, acquiring a pressure value and a contact area value of a user for pressing operation on the screen of the mobile terminal; when the pressure value of the pressing operation is larger than a preset pressure value, generating a temporary sleep time according to the contact area of the pressing operation, and adjusting the sleep time into the temporary sleep time, wherein the sleep time is the process time when the mobile terminal enters a sleep state without receiving an input operation; and acquiring the temporary dormancy time, and counting down the dormancy by taking the value of the temporary dormancy time as an initial value.
Optionally, the method further includes: and setting the corresponding relation between the contact area value and the value of the temporary sleep time.
Optionally, the method further includes: and when the dormancy countdown is finished, controlling the mobile terminal to carry out dormancy.
Optionally, the method further includes: and after the mobile terminal is dormant, resetting the temporary dormancy time of the mobile terminal to the initial dormancy time.
Optionally, the method further includes: according to the selection operation of the user, the sleep mode of the mobile terminal is set, and the sleep mode comprises a normal sleep mode and a temporary sleep mode.
According to the mobile terminal, the state acquisition module, the signal acquisition module and the adjustment module are matched with one another, so that when the mobile terminal is about to enter a dormant state and a screen is in a semi-dark state, a pressure value and a contact area of pressing operation of a user on the screen can be acquired, and when the pressure value is larger than a preset pressure value, the dormant time of the mobile terminal can be adjusted according to the contact area, so that inconvenience caused by too short dormant time when the user uses reading software or other applications is avoided, and the mobile terminal is more intelligent.
According to the method for adjusting the sleep time of the mobile terminal, when the mobile terminal is about to enter the sleep state and the screen is in the semi-dark state, the pressure value and the contact area of the pressing operation of the user on the screen are obtained, and when the pressure value is larger than the preset pressure value, the sleep time of the mobile terminal can be adjusted according to the contact area, so that inconvenience caused by too short sleep time when the user uses reading software or other applications is avoided, and the experience of the user in the process of using application programs is better.
Drawings
FIG. 1 is a flowchart illustrating a sleep method of a mobile terminal according to the prior art;
fig. 2 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for adjusting a sleep time of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for adjusting a sleep time of a mobile terminal according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for adjusting a sleep time of a mobile terminal according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a method for adjusting a sleep time of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The following describes in detail specific embodiments of a mobile terminal and a sleep adjustment method for the mobile terminal according to the present invention with reference to the accompanying drawings.
Fig. 2 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention.
The mobile terminal includes: a state obtaining module 201, configured to obtain whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a sleep state; the signal acquisition module 202 is connected with the state acquisition module 201 and is used for acquiring a pressure value and a contact area value of the pressing operation of the user on the screen of the mobile terminal when the screen of the mobile terminal is in a semi-dark state; the adjusting module 203 is connected to the signal acquiring module 202, and configured to generate a temporary sleep time according to the contact area value of the pressing operation when the pressure value of the pressing operation is greater than the preset pressure value, and adjust the sleep time to a temporary sleep time, where the sleep time is a process time when the mobile terminal enters a sleep state without receiving an input operation; and the timer is connected with the adjusting module and used for acquiring the temporary dormancy time and counting down the dormancy by taking the value of the temporary dormancy time as an initial value.
The state obtaining module 201 is configured to obtain whether a screen of the mobile terminal is in a semi-dark state, where the semi-dark state is a state when the mobile terminal is in a sleep time set by the system, and a user does not perform an input operation on the mobile terminal, and the mobile terminal is about to enter a sleep mode, and at this time, the screen brightness is reduced, so as to remind the user that the mobile terminal system is about to enter the sleep mode. When the screen of the mobile terminal is in the semi-dark state, the screen driving current becomes small, and the state obtaining module 201 can obtain the state information of the screen through detecting the driving current, so that the mobile terminal can respond to the operation when the user adjusts the sleep time of the screen.
In a specific embodiment, the mobile terminal further includes a selection module, connected to the state obtaining module 201, configured to set a sleep mode of the mobile terminal according to a selection operation of a user, where the sleep mode includes a normal sleep mode and a temporary sleep mode. And when the time that the mobile terminal does not receive the input operation is longer than the sleep time, the mobile terminal enters a sleep mode. The conventional sleep mode is that the mobile terminal is controlled to sleep according to the initial sleep time set by the system, and the function of adjusting the sleep time is not provided; the temporary sleep mode can temporarily adjust the sleep time for a user, the user can temporarily adjust the sleep time through the pressing operation of the mobile terminal when the mobile terminal is about to enter the sleep state, the screen-on time of the mobile terminal is prolonged, and the mobile terminal is controlled to sleep according to the adjusted temporary sleep time. If the user selects the conventional sleep mode, the functions of the mobile terminal are not adjusted, and the sleep mode is rigid; if the user selects the temporary sleep mode, a signal is sent to the state obtaining module 201, and the state obtaining module 201 executes the function of the module, so that the user can adjust the sleep time of the mobile terminal, and the sleep mode is more flexible and is simple to operate.
And the signal acquisition module 202 is connected to the state acquisition module 201, and is configured to acquire a pressure value and a contact area value of a pressing operation of a user on the screen of the mobile terminal when the screen of the mobile terminal is in a semi-dark state, where the mobile terminal may make different responses according to differences between the pressure value and the contact area value. The method has the advantages that the user operation information is obtained when the mobile terminal is in a semi-dark state, the phenomenon that the user touches or clicks the mobile terminal when a screen is normally lightened can be prevented, the user mistakenly thinks that the user adjusts the sleep time, and the normal operation of the mobile terminal is ensured.
In a specific embodiment, the mobile terminal may further include a region setting module, connected to the state obtaining module 201, configured to set a region in the screen of the mobile terminal, where the region is capable of obtaining the pressure value and the contact area value of the pressing operation of the user on the screen. Specifically, the area that can acquire pressure value and area of contact value with mobile terminal is injectd, the user only presses the operation to the restricted area, mobile terminal just can acquire the pressure value and the area of contact value of user's the operation of pressing, send adjustment module 203 to, wherein, the restricted area can be set for in user convenient operation's position, for example, the lower right corner or the lower left corner of screen etc., so both convenience of customers press the operation, also avoid user's health position or other objects to touch mobile terminal by mistake, and cause the condition of mobile terminal dormancy time adjustment to take place, be favorable to saving mobile terminal's consumption.
The adjusting module 203 is connected to the signal obtaining module 202, and configured to generate a temporary sleep time according to the contact area value of the pressing operation when the pressure value of the pressing operation is greater than the preset pressure value, and adjust the sleep time to a temporary sleep time, where the sleep time is a process time when the mobile terminal enters a sleep state without receiving an input operation. Specifically, in order to save the power consumption of the mobile terminal and prolong the standby time, the mobile terminal enters the sleep state when not receiving the input operation within a period of time, the period of time is a sleep time value, that is, when the time when the user does not receive the input operation is longer than the sleep time, the mobile terminal enters the sleep state, and the sleep time is used for fixedly limiting the screen-on time of the mobile terminal. When the user uses different application programs, the user may not input the mobile terminal in time, so that the mobile terminal enters a dormant state when the user needs to keep the mobile terminal in a bright screen state, and therefore the mobile terminal needs to be operated, and the mobile terminal continues to keep bright screen for a period of time. The adjusting module can adjust the sleep time according to a pressure value and a contact area value of pressing operation of a user on a screen of the mobile terminal, when the pressure value is larger than a preset pressure value, the mobile terminal continues to keep a screen-on state, the time for keeping the screen-on state is determined by the contact area value of the user and the mobile terminal, and the temporary sleep time is generated according to the contact area value, for example, if the preset pressure value is 20 Pa, when the pressure value is larger than 20 Pa, the contact area value is 1 square centimeter, the generated temporary sleep time is 5S, and the generated temporary sleep time is 3S seconds. Therefore, the mobile terminal can adjust the sleep time of the mobile terminal according to the requirements of a user, the user can conveniently use reading software or other application programs, when the mobile terminal is about to enter a sleep state, the user can press the mobile terminal to prolong the screen-on time of the mobile terminal, the user can normally use the application programs, the time for the user to awaken the mobile terminal again is saved, the time for the user to continuously keep the screen-on of the mobile terminal can be only increased, the power consumption of the mobile terminal is saved, and the mobile terminal has higher flexibility. And the operation of adjusting the temporary sleep time of the mobile terminal and the ordinary input operation can be distinguished according to the difference of the pressure values.
In a specific embodiment, the mobile terminal may further include a pressure presetting module connected to the adjusting module for setting a preset pressure value, and the user may set the preset pressure value according to an operation habit of the user, so as to be closer to the use habit of the user.
And the timer is connected with the adjusting module, after the mobile terminal generates the temporary dormancy time, the timer starts to work, the numerical value of the temporary dormancy time is obtained and is used as an initial numerical value for carrying out dormancy countdown so as to limit the time for continuously lightening the screen of the mobile terminal, and the screen of the mobile terminal is continuously kept in a lightening state during the dormancy countdown of the timer, so that a user can continuously and normally use the application program of the mobile terminal.
Fig. 3 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention.
In a specific embodiment, the mobile terminal further includes: and the setting module 301 is connected with the adjusting module 203 and is used for setting the corresponding relation between the contact area value and the value of the temporary dormancy time. Specifically, because the strength of each user and the personal operation habit are different, and the pressing habit of the mobile terminal screen is different, the user can set the corresponding relationship between the contact area value and the temporary sleep time value according to the own operation habit, for example, when the contact area value is set to be 0.5 square centimeter, the time delay value is 5 seconds, the contact area value is increased by 0.1 square centimeter every time, the temporary sleep time is increased by 1 second, that is, the larger the contact area value is, the longer the temporary sleep time is, or when the contact area value is set to be 0.5 square centimeter, the time delay value is 10 seconds, the contact area value is increased by 0.1 square centimeter every time, the temporary sleep time is decreased by 1 second, that is, the larger the contact area value is, the shorter the temporary sleep time is, which makes the user feel more attentive in the process of adjusting the sleep time by pressing the screen. In other embodiments, the user may also set other types of correspondence between the contact area value and the temporary sleep time value.
Fig. 4 is a schematic block diagram of a mobile terminal according to an embodiment of the present invention.
In a specific embodiment, the mobile terminal further includes: and a dormancy module 401 connected to the timer 204, configured to control the mobile terminal to perform dormancy when the dormancy countdown is finished. The method comprises the steps of starting to count down the dormancy from the time when the mobile terminal does not receive input operation, finishing the countdown of the dormancy if the mobile terminal receives the input operation, wherein the initial value of the countdown of the dormancy is the value of the dormancy time of the mobile terminal, when the countdown of the dormancy is from the initial value to 0, the mobile terminal enters a dormant state, when the mobile terminal enters the dormant state, a screen of the mobile terminal is turned off, part of application programs stop running, and the mobile terminal is locked so as to save the power consumption of the mobile terminal.
In a specific embodiment, the mobile terminal further includes: and the resetting module is connected with the dormancy module and used for resetting the temporary dormancy time of the mobile terminal to the initial dormancy time after the mobile terminal is dormant. Specifically, if the sleep time of the mobile terminal is adjusted, the initial sleep time is set to be the temporary sleep time, the mobile terminal executes the sleep function according to the temporary sleep time, and after entering the sleep state, the sleep time of the mobile terminal is reset from the temporary sleep time to the initial sleep time, so that a user does not need to set the sleep time under the condition that the temporary sleep time is not needed to be started, the user time is saved, and the power consumption of the mobile terminal is saved.
According to the mobile terminal, the state acquisition module, the signal acquisition module and the adjustment module are matched with each other, so that when the mobile terminal is about to enter a dormant state and a screen is in a semi-dark state, the pressure value and the contact area of the pressing operation of a user on the screen are acquired, when the pressure value is larger than a preset pressure value, the dormant time of the mobile terminal can be adjusted by one key according to the contact area value of the pressing operation of the user on the screen, the adjustment is more convenient, and therefore inconvenience caused by too short dormant time when the user uses reading software or other applications is avoided, and the mobile terminal is more intelligent.
Please refer to fig. 5, which is a flowchart illustrating a method for adjusting a sleep time of a mobile terminal according to an embodiment of the present invention.
The method for adjusting the sleep time of the mobile terminal comprises the following steps:
step S501: whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a sleep state or not is obtained. The semi-dark state is a state when the mobile terminal is in a sleep time set by the system, the user does not perform input operation on the mobile terminal, the mobile terminal is about to enter a sleep mode, and the screen brightness is reduced at the moment to remind the user that the mobile terminal system is about to enter the sleep mode. When the screen of the mobile terminal is in the semi-dark state, the state information of the screen is acquired, so that the mobile terminal can respond to the operation when a user adjusts the sleep time of the screen.
In a specific embodiment, the method for adjusting the sleep time of the mobile terminal further includes: according to the selection operation of the user, a sleep mode of the mobile terminal is set, and the sleep mode includes a normal sleep mode and a temporary sleep mode. When the time that the mobile terminal does not receive the input operation is longer than the sleep time, the mobile terminal enters a sleep mode, and the conventional sleep mode is to control the mobile terminal to sleep according to the initial sleep time set by the system and does not provide the function of adjusting the sleep time; the temporary sleep mode is that a user can temporarily adjust the sleep time through pressing operation when the mobile terminal is about to enter the sleep state, the screen-on time of the mobile terminal is prolonged, and the mobile terminal is controlled to sleep according to the adjusted temporary sleep time. If the user selects the conventional sleep mode, the functions of the mobile terminal are not adjusted, and the sleep mode is rigid; if the user selects the temporary sleep mode, a signal is sent to the state acquisition module, and the state acquisition module executes the function of the module, so that the user can adjust the sleep time of the mobile terminal, and the sleep mode is more flexible and is simple to operate.
Step S502: when the screen of the mobile terminal is in a semi-dark state, a pressure value and a contact area value of a pressing operation of a user on the screen of the mobile terminal are obtained. The mobile terminal can respond differently according to the difference of the pressure value and the contact area value. The method has the advantages that the user operation information is obtained when the mobile terminal is in a semi-dark state, the phenomenon that the user touches or clicks the mobile terminal when a screen is normally lightened can be prevented, the user mistakenly thinks that the user adjusts the sleep time, and the normal operation of the mobile terminal is ensured.
In a specific embodiment, the method for adjusting the sleep time of the mobile terminal further includes: the method includes the steps that a region of a screen of the mobile terminal can be obtained, wherein the region can be used for obtaining a pressure value and a contact area value of pressing operation of a user on the screen. Specifically, can obtain the region of pressure value and area of contact value with mobile terminal and prescribe a limit to, the user only presses the operation to the prescribed limit to the region, mobile terminal just can obtain the pressure value and the area of contact value of user's the operation of pressing, send adjustment module to, wherein, the prescribed limit to the region can be set for in user convenient operation's position, for example, the lower right corner or the lower left corner etc. of screen, so both convenience of customers press the operation, also avoid user's health position or other objects to touch mobile terminal by mistake, and cause the condition of mobile terminal dormancy time adjustment to take place, be favorable to saving mobile terminal's consumption.
Step S503: and when the pressure value of the pressing operation is greater than the preset pressure value, generating a temporary sleep time according to the contact area value of the pressing operation, and adjusting the sleep time to be the temporary sleep time, wherein the sleep time is the process time when the mobile terminal enters the sleep state without receiving the input operation. Specifically, in order to save the power consumption of the mobile terminal and prolong the standby time, the mobile terminal enters the sleep state when not receiving the input operation within a period of time, the period of time is a sleep time value, that is, when the time when the user does not receive the input operation is longer than the sleep time, the mobile terminal enters the sleep state, and the sleep time is used for fixedly limiting the screen-on time of the mobile terminal. When the user uses different application programs, the user may not input the mobile terminal in time, so that the mobile terminal enters a dormant state when the user needs to keep the mobile terminal in a bright screen state, and therefore the mobile terminal needs to be operated, and the mobile terminal continues to keep bright screen for a period of time.
The sleep time is adjusted according to the pressure value and the contact area value of the pressing operation of the user on the screen of the mobile terminal, when the pressure value is larger than a preset pressure value, the mobile terminal continues to keep a screen-on state, the time for keeping the screen-on state is determined by the contact area value of the user and the mobile terminal, and the temporary sleep time is generated according to the contact area value, for example, if the preset pressure value is 20 Pa, when the pressure value is larger than 20 Pa, the contact area value is 1 square centimeter, the temporary sleep time is generated to be 5S, and when the contact area value is 0.6 square centimeter, the temporary sleep time is generated to be 3S seconds. Therefore, the mobile terminal can adjust the sleep time of the mobile terminal according to the requirements of a user, the user can conveniently use reading software or other application programs, when the mobile terminal is about to enter a sleep state, the user can press the mobile terminal to prolong the screen-on time of the mobile terminal, the user can normally use the application programs, the time for the user to awaken the mobile terminal again is saved, the time for the user to continuously keep the screen-on of the mobile terminal can be only increased, the power consumption of the mobile terminal is saved, and the mobile terminal has higher flexibility. And the operation of adjusting the temporary sleep time of the mobile terminal and the ordinary input operation can be distinguished according to the difference of the pressure values.
In a specific implementation mode, the user can set the preset pressure value, and the user can set the preset pressure value according to the operation habit of the user, so that the user can get closer to the use habit of the user.
Step S504: and acquiring temporary dormancy time, and counting down the dormancy by taking the value of the temporary dormancy time as an initial value. After the mobile terminal generates the temporary dormancy time, the timer starts to work, the numerical value of the temporary dormancy time is obtained and is used as an initial numerical value for carrying out dormancy countdown so as to limit the time for continuously lightening the screen of the mobile terminal, and during the dormancy countdown of the timer, the screen of the mobile terminal is continuously kept in a lightening state, so that a user can continuously and normally use the application program of the mobile terminal.
Fig. 6 is a flowchart illustrating a method for adjusting sleep time of a mobile terminal according to an embodiment of the present invention.
In a specific embodiment, the method for adjusting the sleep time of the mobile terminal further includes:
step S601: the correspondence between the contact area value and the value of the temporary sleep time is set. Specifically, because the strength of each user and the individual operation habit are different, the pressing habit of the screen of the mobile terminal is different, so that the user can set the corresponding relation between the contact area value and the temporary dormancy time value according to the operation habit of the user, for example, when the contact area value is set to 0.5 square centimeter, the time extension value is 5 seconds, and the temporary sleep time is increased by 1 second for every 0.1 square centimeter increase of the contact area value, that is, the larger the contact area value is, the longer the temporary sleep time is, or, when the contact area value is set to 0.5 square cm, the time extension value is 10 seconds, the temporary sleep time is reduced by 1 second for each 0.1 square centimeter increase of the contact area value, i.e., the larger the contact area value, the shorter the temporary sleep time, and if the contact area value is less than 0.5 square centimeters, it does not respond to this, which makes it more comfortable for the user to press the screen to adjust the sleep time. In other embodiments, the user may also set other types of correspondence between the contact area value and the temporary sleep time value.
Fig. 7 is a flowchart illustrating a method for adjusting sleep time of a mobile terminal according to an embodiment of the present invention.
In a specific embodiment, the method for adjusting the sleep time of the mobile terminal further includes:
step S701: and when the dormancy countdown is finished, controlling the mobile terminal to carry out dormancy. The method comprises the steps that dormancy countdown is started when dormancy time is acquired from a mobile terminal, if the mobile terminal receives input operation, the dormancy countdown is ended, the initial value of the dormancy countdown is the value of the dormancy time of the mobile terminal, when the dormancy countdown is from the initial value to 0, the mobile terminal enters a dormant state, when the mobile terminal enters the dormant state, a screen of the mobile terminal is turned off, partial application programs stop running, and the mobile terminal is locked, so that the power consumption of the mobile terminal is saved.
In a specific embodiment, the method for adjusting the sleep time of the mobile terminal further includes: and after the mobile terminal is dormant, resetting the temporary dormancy time of the mobile terminal to the initial dormancy time. Specifically, if the sleep time of the mobile terminal is adjusted, the initial sleep time is set to be the temporary sleep time, the mobile terminal executes the sleep function according to the temporary sleep time, and after entering the sleep state, the sleep time of the mobile terminal is reset from the temporary sleep time to the initial sleep time, so that a user does not need to set the sleep time under the condition that the temporary sleep time is not needed to be started, the user time is saved, and the power consumption of the mobile terminal is saved.
In an embodiment of the present invention, referring to fig. 8, the method for adjusting the sleep time of the mobile terminal includes the steps of:
step S801: the mobile terminal is powered on. And the terminal is in a normal operation state after being started.
Step S802: and judging whether the relation between the contact area value of the pressing screen and the temporary dormancy time is set. If the correspondence between the contact area value of the pressed screen and the sleep time extension value is set, the process proceeds to step S803: entering a temporary sleep mode setting, displaying a button for starting and closing the temporary sleep mode on an interface of the mobile terminal, and starting or closing the temporary sleep mode by clicking the button by a user; if the corresponding relationship between the contact area value of the pressed screen and the sleep time extension value is not set, the process proceeds to step S811: and the terminal sleeps according to the set fixed sleep time.
Step S804: the "temporary sleep mode" is selected on. After the temporary sleep mode setting interface is displayed, the temporary sleep mode is selected and started, and after the temporary sleep mode is started, a user can adjust the sleep time through pressing operation.
Step S805: and reading the terminal, wherein the non-operation time is longer than the sleep time set by the terminal. And the front end of the mobile terminal runs reading software, and times that the mobile terminal does not receive the input operation are counted until the time that the mobile terminal does not receive the input operation is longer than the sleep time set by the terminal.
Step S806: the mobile terminal enters a semi-dark state. When the reading terminal has no operation time longer than the sleep time set by the terminal, the mobile terminal enters a semi-dark state to prompt a user that the mobile terminal enters a sleep mode, and the user extinguishes a screen, and can operate the screen to adjust the sleep time or interrupt the sleep of the mobile terminal at the moment.
Step S807: and judging whether the screen is detected to be pressed. If the screen is not pressed, the process proceeds to step S811: the mobile terminal sleeps according to the set initial sleep time; and if the screen is pressed, acquiring a pressed pressure value and a contact area value.
Step S808: the temporary sleep time is set according to the contact area value. And according to the obtained pressure value and the contact area value, when the pressure value is greater than a preset pressure value, obtaining a numerical value of temporary dormancy time corresponding to the contact area value, and using the numerical value as a time basis for dormancy of the mobile terminal.
Step S809: and in the temporary dormancy time, the mobile terminal does not receive the input operation, enters a dormancy state and turns off the screen. After the user adjusts the sleep time and generates the temporary sleep time, the mobile terminal does not receive input operation within the temporary sleep time, the mobile terminal enters a sleep state, and the screen is turned off.
Step S810: the user presses a power key or double-clicks a screen, and the mobile terminal is awakened. After the mobile terminal enters the dormant state, a user needs to use the mobile terminal, the mobile terminal is awakened by pressing a power key or double-clicking a screen, and the screen of the mobile terminal is lightened.
Step S811: and the mobile terminal sleeps according to the set initial sleep time. The mobile terminal resets the temporary sleep time to the initial fixed sleep time, and the mobile terminal still sleeps according to the initial sleep time.
According to the method for adjusting the sleep time of the mobile terminal, when the mobile terminal is about to enter the sleep state and the screen is in the semi-dark state, the pressure value and the contact area of the pressing operation of the user on the screen are obtained, and when the pressure value is larger than the preset pressure value, the sleep time of the mobile terminal can be adjusted according to the contact area, so that inconvenience caused by too short sleep time when the user uses reading software or other applications is avoided, and the experience of the user in the process of using application programs is better.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. A mobile terminal, comprising:
the state acquisition module is used for acquiring whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a dormant state;
the signal acquisition module is connected with the state acquisition module and used for acquiring a pressure value and a contact area value of a user for pressing operation on the screen of the mobile terminal when the screen of the mobile terminal is in the semi-dark state;
the adjusting module is connected with the signal acquiring module and used for generating a temporary sleep time according to the contact area value of the pressing operation when the pressure value of the pressing operation is larger than a preset pressure value, wherein the temporary sleep time has a corresponding relation with the contact area value of the pressing operation and is adjusted to be the temporary sleep time, and the sleep time is the process time when the mobile terminal enters a sleep state without receiving input operation;
the timer is connected with the adjusting module and is used for acquiring the temporary dormancy time and counting down the dormancy by taking the value of the temporary dormancy time as an initial value;
and the resetting module is connected with the dormancy module and used for resetting the temporary dormancy time of the mobile terminal to the initial dormancy time after the mobile terminal is dormant.
2. The mobile terminal of claim 1, further comprising: and the setting module is connected with the adjusting module and used for setting the corresponding relation between the contact area value and the value of the temporary dormancy time.
3. The mobile terminal of claim 1, further comprising: and the dormancy module is connected with the timer and used for controlling the mobile terminal to carry out dormancy when the dormancy countdown is finished.
4. The mobile terminal of claim 1, further comprising: and the selection module is connected with the state acquisition module and used for setting the sleep mode of the mobile terminal according to the selection operation of a user, wherein the sleep mode comprises a conventional sleep mode and a temporary sleep mode.
5. A method for adjusting sleep time of a mobile terminal is characterized by comprising the following steps:
acquiring whether a screen of the mobile terminal is in a semi-dark state when the mobile terminal is about to enter a dormant state;
when the screen of the mobile terminal is in a semi-dark state, acquiring a pressure value and a contact area value of a user for pressing operation on the screen of the mobile terminal;
when the pressure value of the pressing operation is larger than a preset pressure value, generating a temporary dormancy time according to the contact area value of the pressing operation, wherein the temporary dormancy time has a corresponding relation with the contact area value of the pressing operation, and adjusting the dormancy time into the temporary dormancy time, wherein the dormancy time is the process time when the mobile terminal enters a dormancy state without receiving an input operation;
acquiring the temporary dormancy time, and counting down the dormancy time by taking the value of the temporary dormancy time as an initial value;
and after the mobile terminal is dormant, resetting the temporary dormancy time of the mobile terminal to the initial dormancy time.
6. The method for adjusting sleep time of a mobile terminal according to claim 5, further comprising: and setting the corresponding relation between the contact area value and the value of the temporary sleep time.
7. The method for adjusting sleep time of a mobile terminal according to claim 5, further comprising: and when the dormancy countdown is finished, controlling the mobile terminal to carry out dormancy.
8. The method for adjusting sleep time of a mobile terminal according to claim 5, further comprising: according to the selection operation of the user, the sleep mode of the mobile terminal is set, and the sleep mode comprises a normal sleep mode and a temporary sleep mode.
CN201710777602.1A 2017-09-01 2017-09-01 Mobile terminal and method for adjusting sleep time of mobile terminal Active CN107567081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710777602.1A CN107567081B (en) 2017-09-01 2017-09-01 Mobile terminal and method for adjusting sleep time of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710777602.1A CN107567081B (en) 2017-09-01 2017-09-01 Mobile terminal and method for adjusting sleep time of mobile terminal

Publications (2)

Publication Number Publication Date
CN107567081A CN107567081A (en) 2018-01-09
CN107567081B true CN107567081B (en) 2020-12-25

Family

ID=60977738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710777602.1A Active CN107567081B (en) 2017-09-01 2017-09-01 Mobile terminal and method for adjusting sleep time of mobile terminal

Country Status (1)

Country Link
CN (1) CN107567081B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189523B (en) * 2018-08-08 2022-03-15 广东微云科技股份有限公司 Method and system for judging idle virtual machine and method for closing virtual machine
CN109302533B (en) * 2018-11-07 2020-09-08 珠海格力电器股份有限公司 Method, system and mobile terminal for rapidly adjusting sleep mode
CN110611736A (en) * 2019-09-19 2019-12-24 深圳市亿道数码技术有限公司 Controllable dormancy method and system based on Android system
CN114302012A (en) * 2021-11-22 2022-04-08 珠海格力电器股份有限公司 Mobile terminal sleep time switching method, electronic equipment and storage medium
CN114442789A (en) * 2022-01-25 2022-05-06 北京小米移动软件有限公司 Dark screen control method, device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915192B (en) * 2012-09-20 2016-04-06 东莞宇龙通信科技有限公司 The method of adjustment standby time of screen and communication terminal
CN110825307A (en) * 2014-05-08 2020-02-21 中兴通讯股份有限公司 Terminal and working method thereof
CN105183314B (en) * 2015-08-27 2018-12-04 广东欧珀移动通信有限公司 A kind of bright screen duration adjusting method and mobile terminal
CN106648205B (en) * 2016-10-09 2019-09-13 Oppo广东移动通信有限公司 Dormancy control method, device and terminal
CN106502569A (en) * 2016-10-31 2017-03-15 珠海市魅族科技有限公司 A kind of method for adjusting functions and device

Also Published As

Publication number Publication date
CN107567081A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107567081B (en) Mobile terminal and method for adjusting sleep time of mobile terminal
RU2643129C2 (en) Method and device for air conditioner activation
CN101601264B (en) Control of awake time in mobile device
US6816977B2 (en) Power reduction in computing devices using micro-sleep intervals
US9565293B2 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
TWI431515B (en) E-book
CN202758480U (en) Power-saving remote control
TW548541B (en) Peripheral device of portable electronic apparatus having power control function
US20120042183A1 (en) Apparatus for adjusting computer power mode
WO2015180607A1 (en) Terminal
CN112114887A (en) Controlled device, method for waking up controlled device and storage medium
CN107864269B (en) Method, terminal and computer readable storage medium for automatic activation and standby
WO2021218560A1 (en) Massage mode starting method for wearable massaging apparatus, wearable massaging apparatus, and terminal device
KR20150041943A (en) A electronic device having a camera and method for operating the same
KR20190003275U (en) Auto pairing control method for wireless earphone via wearing detect on the ear
CN106791105B (en) Method for controlling prompt lamp and mobile terminal
KR101211119B1 (en) Power saving tv door phone of dual touch screen monitor type
CN116132740A (en) Energy saving method and device for video watching equipment, video watching equipment and readable storage medium
CN106681470A (en) Helmet-mounted virtual reality device and electricity saving method of same
TWI570621B (en) Electronic system, wearable electronic apparatus and power control method thereof
CN212694372U (en) Electronic device
KR101378785B1 (en) Wireless input device for low power consumption and power saving method of wireless input deviced
JP3149267U (en) Power-saving computer mouse
CN111142958B (en) Active pen sleep awakening method, device, equipment and readable storage medium
CN211086971U (en) Micro control unit management circuit

Legal Events

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