CN106775284B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN106775284B
CN106775284B CN201611010208.7A CN201611010208A CN106775284B CN 106775284 B CN106775284 B CN 106775284B CN 201611010208 A CN201611010208 A CN 201611010208A CN 106775284 B CN106775284 B CN 106775284B
Authority
CN
China
Prior art keywords
time
display unit
moment
screen locking
state
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
CN201611010208.7A
Other languages
Chinese (zh)
Other versions
CN106775284A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201611010208.7A priority Critical patent/CN106775284B/en
Publication of CN106775284A publication Critical patent/CN106775284A/en
Application granted granted Critical
Publication of CN106775284B publication Critical patent/CN106775284B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses an information processing method and electronic equipment, wherein the electronic equipment comprises a display unit, wherein the display unit has a screen locking state and an unlocking state, and the display unit is in the unlocking state at the first moment after the electronic equipment is started; detecting whether a trigger operation occurs at a second moment after the first moment, wherein the screen locking time of the display unit corresponding to the first moment is a third moment, and the second moment is before the third moment; when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time; and executing the adjusting instruction, and adjusting the current screen locking time of the display unit from the third time to a fourth time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.

Description

Information processing method and electronic equipment
The application has an application date of 09 and 11 days 2012, and has an application number of: 201210335765.1, title of the invention: an information processing method and a divisional application of an electronic device.
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method and an electronic device.
Background
Along with the development of electronic equipment technology, the intelligence of electronic equipment is higher and higher, and after electronic equipment starts, when electronic equipment does not receive an operation instruction within a preset locking time, a display unit of the electronic equipment can be automatically adjusted to a screen locking state (the display unit becomes dark) from an unlocking state, so that the power consumption of the electronic equipment is reduced, and energy is saved.
However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the inventors of the present application find that the above-mentioned technology has at least the following technical problems:
after the existing electronic device is started, because a user may not operate the electronic device for a long time due to some reasons, such as when the user uses the electronic device to watch news, short messages or novels, the electronic device may not automatically adjust the length of the preset locking time according to the state of the user, and still adjust the current state of the display unit by detecting whether the electronic device receives an operation instruction within the length of the preset locking time, and when the operation instruction is not received within the length of the preset locking time, the display unit automatically adjusts to the screen locking state, so that the user use is interrupted, and the user needs to operate the electronic device once within the preset locking time to normally use the electronic device, and the user use is inconvenient and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment, so as to solve the technical problem that in the prior art, the electronic equipment cannot automatically adjust the length of the preset locking time according to the state of a user, and the problems that the user is inconvenient to use and the user experience is poor due to the fact that the electronic equipment cannot automatically adjust the length of the preset locking time according to the state of the user.
The embodiment of the application provides an information processing method, which is applied to electronic equipment comprising a display unit, wherein the display unit has a screen locking state and an unlocking state, and the method comprises the following steps:
after the electronic equipment is started and at the first moment when the display unit is in the unlocked state;
detecting whether a trigger operation occurs at a second moment after the first moment, wherein at the first moment, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third moment after the first moment, and the second moment is before the third moment;
when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time;
executing the adjusting instruction, and adjusting the current screen locking time of the display unit from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time;
acquiring a third operation object of the display unit at a sixth moment, wherein the sixth moment is after the second moment;
judging whether the third operation object is the same as the first operation object of the display unit at the first moment or not;
and when the third display object is different from the first display object, adjusting the current screen locking time length of the display unit to be a preset first screen locking time length of the display unit.
Optionally, after the electronic device is started and at a first time when the display unit is in the unlocked state, the method specifically includes: after the electronic equipment is started, detecting whether the display unit is in the unlocking state; and when the display unit is in the unlocking state, obtaining a first moment when the display unit is in the unlocking state.
Optionally, when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time, specifically including: when the trigger operation occurs, judging whether the second moment is within the time of the display unit to enter the screen locking state; and when the second moment is within the time of the display unit about to enter the screen locking state, responding to the trigger operation and generating an adjustment instruction of the screen locking time.
Optionally, when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time, specifically including: when the trigger operation occurs, acquiring a second operation object of the display unit at a second moment; judging whether the second operation object is the same as a first operation object of the display unit at a first moment or not; and when the second operation object is the same as the first operation object, responding to the trigger operation and generating an adjusting instruction of the screen locking time.
Optionally, after the executing of the adjustment instruction adjusts the current screen locking time of the display unit from the third time to a fourth time after the third time, the method includes: acquiring a first state of the display unit at a fifth moment, wherein the fifth moment is after the fourth moment; when the first state represents that the display unit is in a locked state, acquiring a preset first screen locking time length of the display unit; and adjusting the current screen locking time length of the display unit to be the first screen locking time length.
The present invention also provides an electronic device, which includes a display unit, wherein the display unit has a screen-locking state and an unlocking state, and the electronic device includes:
a circuit board;
a processing chip arranged on the circuit board, detecting whether a trigger operation occurs at a first time when the display unit is in the unlocked state after the electronic equipment is started and at a second time after the first time, wherein, at the first time, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third time after the first time, the second time is before the third time, when the trigger operation occurs, the device is used for responding to the trigger operation, generating an adjusting instruction of the screen locking time and then executing the adjusting instruction, for adjusting the lock screen time from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time;
the processing chip comprises a second screen locking time adjusting unit, and the adjusting unit is used for acquiring a third operation object of the display unit at a sixth moment after the current screen locking time of the display unit is adjusted from the third moment to a fourth moment after the third moment by executing the adjusting instruction, wherein the sixth moment is after the second moment and used for judging whether the third operation object is the same as a first operation object of the display unit at the first moment, and when the third display object is different from the first display object, the current screen locking time length of the display unit is adjusted to be the preset first screen locking time length of the display unit.
Optionally, the processing chip includes a first time obtaining unit, and is configured to detect whether the display unit is in the unlocked state after the electronic device is started, and obtain a first time when the display unit is in the unlocked state.
Optionally, the processing chip includes a first adjustment instruction generating unit, and when the trigger operation occurs, the first adjustment instruction generating unit is configured to determine whether the second time is within a time of the display unit about to enter the screen locking state, and when the second time is within the time of the display unit about to enter the screen locking state, the first adjustment instruction generating unit is configured to respond to the trigger operation and generate an adjustment instruction of the screen locking time.
Optionally, the processing chip includes a second adjustment instruction generating unit, configured to, when the trigger operation occurs, obtain a second operation object of the display unit at a second time, determine whether the second operation object is the same as a first operation object of the display unit at a first time, and when the second operation object is the same as the first operation object, respond to the trigger operation and generate an adjustment instruction of the screen locking time.
Optionally, the processing chip includes a first screen locking time adjusting unit, and after the adjusting instruction is executed and the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time, the processing chip is configured to acquire a first state of the display unit at a fifth time, where the fifth time is after the fourth time, and when the first state represents that the display unit is in a locked state, the processing chip is configured to acquire a preset first screen locking time length of the display unit and adjust the current screen locking time length of the display unit to the first screen locking time length.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
firstly, in the embodiment of the present application, after the electronic device is started and at a first time when the display unit is in the unlocked state, whether a trigger operation occurs is monitored at a second time after the first time, and the second time is before a screen locking time corresponding to the first time is a third time after the first time, when the trigger operation occurs, the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time through the adjustment instruction, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time, and when a user may not operate the electronic device for a long time due to some reasons, such as when the user uses the electronic device to watch news, short messages, or fiction news, the electronic equipment can increase the length of the screen locking time according to the trigger operation, and reduces the times of operating the electronic equipment by a user, so that the use of the user is more convenient, and the user experience is better.
And secondly, when the trigger operation occurs in the embodiment of the application, obtaining a second operation object of the display unit at a second moment, and when the second operation object is the same as the first operation object of the display unit at the first moment, responding to the trigger operation to generate an adjustment instruction of the screen locking time. Therefore, when the operation object on the display unit is not changed, the trigger operation is responded, so that the electronic equipment can judge the state of the user more accurately, whether the trigger operation is responded or not is determined according to the state of the user, the length of the screen locking time is increased according to the trigger operation, the times of operating the electronic equipment by the user are reduced, the intelligence of the electronic equipment is further improved, the use of the user is more convenient, and the user experience is better.
Thirdly, because the embodiment of the application is in executing the adjusting instruction, the current screen locking time of the display unit is adjusted from the third moment to the fourth moment after the third moment, the first state of the display unit at the fifth moment after the fourth moment is obtained, and when the first state represents that the display unit is in the screen locking state, the current screen locking time length of the display unit is adjusted to be the first screen locking time length preset by the display unit. Therefore, when the electronic equipment enters the unlocking state from the locking state again, whether the electronic equipment is to enter the screen locking state is judged by detecting whether the actual time length of the electronic equipment which is not operated reaches the first screen locking time length, so that the electronic equipment can enter the screen locking state more quickly, the power consumption of the electronic equipment is reduced, the cruising ability of the electronic equipment is improved, the electronic equipment is convenient for a user to use, and the user experience is better.
Drawings
FIG. 1 is a flow chart of a method of information processing in a first embodiment of the present application;
FIG. 2 is a flow chart of a method of information processing in a second embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device in a first embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in a second embodiment of the present application.
Detailed Description
The embodiment of the application provides an information processing method and electronic equipment, so as to solve the technical problem that in the prior art, the electronic equipment cannot automatically adjust the length of the preset locking time according to the state of a user, and the problems that the user is inconvenient to use and the user experience is poor due to the fact that the electronic equipment cannot automatically adjust the length of the preset locking time according to the state of the user.
In order to solve the problem that the user is inconvenient to use, the technical scheme of the embodiment of the application has the following general idea:
after the electronic device is started and at a first moment when the display unit is in the unlocked state, monitoring whether a trigger operation occurs at a second moment after the first moment, and when the trigger operation occurs before a screen locking time corresponding to the first moment is a third moment after the first moment, adjusting a current screen locking time of the display unit from the third moment to a fourth moment after the third moment through the adjustment instruction, wherein a first time length between the first moment and the third moment is smaller than a second time length between the second moment and the fourth moment, and when a user may not operate the electronic device for a longer time due to some reasons such as a user using the electronic device to watch news, short messages or novels, the electronic device may adjust the length of the screen locking time according to the trigger operation, the user can use the device more conveniently, and the user experience is better.
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.
An embodiment of the present application provides an information processing method, which is applied to an electronic device including a display unit, where the display unit has a screen locking state and an unlocking state, the electronic device is, for example, an electronic device such as a mobile phone and a tablet computer, and the display unit is, for example, an electronic device such as a liquid crystal display and a touch screen.
Referring to fig. 1, the method includes:
step 101: after the electronic equipment is started and at the first moment when the display unit is in the unlocked state;
step 102: detecting whether a trigger operation occurs at a second moment after the first moment, wherein at the first moment, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third moment after the first moment, and the second moment is before the third moment;
step 103: when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time;
step 104: and executing the adjusting instruction, and adjusting the current screen locking time of the display unit from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.
In step 101, after the electronic device is started and at a first time when the display unit is in the unlocked state, in a specific implementation process, after the electronic device is started, whether the display unit is in the unlocked state is detected, and when the display unit is in the unlocked state, the first time when the display unit is in the unlocked state is obtained. Wherein the locking state refers to a state in which a screen of the display unit is darkened.
Specifically, the electronic device is a mobile phone as an example, when the mobile phone detects the current state of the display screen of the mobile phone after being started by a power key, and when the display screen is detected to be in a lighting state, namely, the display screen is in an unlocking state, the first time when the display screen is in the lighting state is 11:25: 35.
Next, step 102 is executed, in which whether a trigger operation occurs is detected at a second time after the first time, in a specific implementation process, when the electronic device is in an unlocked state at the first time, a first screen locking time length of the electronic device is obtained, and based on the first screen locking time length, a screen locking time at which the display unit enters a screen locking state from the unlocked state may be determined to be a third time, where the third time is after the first time, and the second time is before the third time.
Detecting whether a trigger operation occurs at the second time, wherein in a specific implementation process, the trigger operation may be to execute a specific application program for triggering, for example, to execute a short program code for triggering the trigger operation; the triggering can also be performed by executing a certain specific gesture operation, for example, the mobile phone detects that the user performs a gesture operation such as clockwise circle or arc to trigger the triggering operation; the triggering can also be performed by pressing a certain set key, for example, the electronic device is triggered by pressing a numeric key corresponding to the triggering operation, where the numeric key may be a 1-9 numeric key, or triggered by other keys such as letters; the triggering can also be performed in a voice manner, for example, when the electronic device receives specific voice data such as "adjust screen locking time", "i want to watch news" and the like sent by the user, the triggering operation is triggered.
Specifically, the electronic device takes a physical key mobile phone as an example, if the mobile phone enters an unlocked state at a time of 11:25:35, that is, the first time is 11:25: 35; the first screen locking time length set by the mobile phone is 1 minute, so that the display screen of the mobile phone enters a screen locking state at 11:26:35, namely the third moment of the screen locking time corresponding to the first moment is 11:26:35, and whether the triggering operation occurs is detected by detecting whether a signal of any one key of the physical keys or a signal of a specific key such as a numeric key 0 or a numeric key 4 is received at a second moment between the first moment and the third moment.
As another specific example, the specific implementation of step 102 is described below, in this embodiment, the electronic device is exemplified by a smart phone, if the touch screen of the smart phone enters the unlock state at a time 10:30:14, and the set first screen locking time duration of the smart phone is 2 minutes, the smart phone enters the screen locking state at a time 10:32:14, and the triggering operation may be triggered by detecting that a signal that the user touches the touch screen is received at a second time between 10:30:14 and 10:32: 14.
Step 103 is executed next, in which, when the trigger operation occurs, an adjustment instruction of the screen locking time is generated in response to the trigger operation, and in a specific implementation process, when the trigger operation is detected to occur, the adjustment instruction of the screen locking time can be generated in direct response to the trigger operation; the method also comprises the steps of acquiring a second operation object of the display unit at a second moment when the trigger operation occurs; judging whether the second operation object is the same as a first operation object of the display unit at a first moment or not; and when the second operation object is the same as the first operation object, responding to the trigger operation and generating an adjusting instruction of the screen locking time. Specifically, the trigger operation is responded when a first operation object of the display unit at the first time is identical to a second operation object of the display unit at the second time by comparing the first operation object with the second operation object; and when the first operation object is different from the second operation object, not responding to the trigger operation.
In a specific implementation process, the electronic device takes a tablet personal computer as an example, after the tablet personal computer is started, the electronic device enters an unlocking state at a first time of 10:35, and an operation object displayed on a touch screen of the tablet personal computer is internet news, while a first screen locking time of the tablet personal computer is 10 minutes, that is, the electronic device enters a screen locking state at a third time of 10:45, and a user touches the touch screen at 10:38, that is, the tablet personal computer detects a signal triggering the trigger operation, and at this time, if the operation object displayed on the touch screen at 10:38 of the tablet personal computer is still internet news, the electronic device responds to the trigger operation to generate an adjustment instruction of screen locking time; and if the operation object displayed on the touch screen at the time of 10:38 of the tablet computer is not the internet news, not responding to the trigger operation. Therefore, the electronic equipment can judge the state of the user more accurately, and then whether to respond to the triggering operation is determined according to the state of the user, so that the intelligence of the electronic equipment is improved, the use of the user is more convenient, and the user experience is better.
Next, step 104 is executed, in which, when the adjustment instruction is executed, the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time, where a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.
In a specific implementation process, the length of a preset first screen locking time of the electronic device is increased by executing the adjustment instruction, where an increased third time length is a difference between the second time length and the first time length, where the third time length may be a fixed value or a variable value, for example, after the adjustment instruction is executed, the current screen locking time length of the electronic device is the second length, and when the trigger operation is detected to occur within a time between the second time and the fourth time and the trigger operation is responded, the screen locking time of the display unit needs to be adjusted again, and the length of the current increased time may be longer than the third time length or may be shorter than the third time length.
Specifically, the electronic device takes a tablet computer as an example, after the tablet computer is turned on, the electronic device enters an unlocked state at a first time of 10:35, and an operation object displayed on a touch screen of the tablet computer is an electronic book with a "brief history of time", and a first screen locking time length of the tablet computer is 10 minutes, namely, the electronic device enters a screen locking state at a third time of 10:45, a user touches the touch screen at 10:40 to trigger the triggering operation, so that a current screen locking time of the tablet computer is adjusted from 10:45 to 10:55, namely, the third time length is 15-10-5 minutes; when the trigger operation is detected to occur again at any time from 10:40 to 10:55, such as 10:50, the current screen locking time of the tablet computer can be adjusted from 10:55 to 11:10, and the current increased time length is 5 minutes and is the same as the third time length; of course, the current screen locking time can also be adjusted from 10:55 to a time after 11:10 or to any time between 11:05 and 11: 10. At this time, because the user reads the electronic book with the "time history" and does not operate the electronic device for a long time, that is, the electronic device does not receive any operation instruction for a long time, the screen locking time length of the electronic device can be increased through the trigger operation, so that the number of times of clicking the electronic device by the user is reduced, the use by the user is more convenient, and the user experience is better.
One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
firstly, in the embodiment of the present application, after the electronic device is started and at a first time when the display unit is in the unlocked state, whether a trigger operation occurs is monitored at a second time after the first time, and the second time is before a screen locking time corresponding to the first time is a third time after the first time, when the trigger operation occurs, the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time through the adjustment instruction, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time, and when a user may not operate the electronic device for a long time due to some reasons, such as when the user uses the electronic device to watch news, short messages, or fiction news, the electronic equipment can increase the length of the screen locking time according to the trigger operation, and reduces the times of operating the electronic equipment by a user, so that the use of the user is more convenient, and the user experience is better.
And secondly, when the trigger operation occurs in the embodiment of the application, obtaining a second operation object of the display unit at a second moment, and when the second operation object is the same as the first operation object of the display unit at the first moment, responding to the trigger operation to generate an adjustment instruction of the screen locking time. Therefore, when the operation object on the display unit is not changed, the trigger operation is responded, so that the electronic equipment can judge the state of the user more accurately, whether the trigger operation is responded or not is determined according to the state of the user, the length of the screen locking time is increased according to the trigger operation, the times of operating the electronic equipment by the user are reduced, the intelligence of the electronic equipment is further improved, the use of the user is more convenient, and the user experience is better.
Another embodiment of the present invention further provides an information processing method, which is applied to an electronic device including a display unit, wherein the display unit has a screen-locking state and a screen-unlocking state, the electronic device is, for example, an electronic device such as a mobile phone and a tablet computer, and the display unit is, for example, an electronic device such as a liquid crystal display and a touch screen.
Referring to fig. 2, the method includes:
step 201: after the electronic equipment is started and at the first moment when the display unit is in the unlocked state;
step 202: detecting whether a trigger operation occurs at a second moment after the first moment, wherein at the first moment, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third moment after the first moment, and the second moment is before the third moment;
step 203: when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time;
step 204: executing the adjusting instruction, and adjusting the current screen locking time of the display unit from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time;
step 205: acquiring a first state of the display unit at a fifth moment, wherein the fifth moment is after the fourth moment;
step 206: when the first state represents that the display unit is in a locked state, acquiring a preset first screen locking time length of the display unit;
step 207: and adjusting the current screen locking time length of the display unit to be the first screen locking time length.
In step 201, after the electronic device is started and at a first time when the display unit is in the unlocked state, in a specific implementation process, after the electronic device is started, whether the display unit is in the unlocked state is detected, and when the display unit is in the unlocked state, the first time when the display unit is in the unlocked state is obtained. Wherein the locking state refers to a state in which a screen of the display unit is darkened.
Next, step 202 is executed, in which whether a trigger operation occurs is detected at a second time after the first time, in a specific implementation process, when the electronic device is in an unlocked state at the first time, a first screen locking time length of the electronic device is obtained, and based on the first screen locking time length, a screen locking time at which the display unit enters a screen locking state from the unlocked state may be determined to be a third time, where the third time is after the first time, and the second time is before the third time.
Step 203 is executed next, in which, when the trigger operation occurs, an adjustment instruction of the screen locking time is generated in response to the trigger operation. In a specific implementation process, when the trigger operation occurs, judging whether the second moment is within the time of the display unit about to enter the screen locking state; and when the second moment is within the time of the display unit about to enter the screen locking state, responding to the trigger operation and generating an adjustment instruction of the screen locking time. The time to enter the screen locking state is a period of time before the time when the display unit enters the screen locking state, for example, the first time when the mobile phone is in the unlocking state is 10:35, and the time from 10:39 to 10:40 when the mobile phone enters the screen locking state is taken as the time to enter the screen locking state.
Specifically, when the trigger operation is detected, it is further required to determine whether a second time point at which the trigger operation occurs is within the time to enter the screen locking state, and when the second time point is within the time to enter the screen locking state, the trigger operation is responded, and a screen locking time adjustment instruction is generated; and if the second moment is not within the time to enter the screen locking state, not responding to the trigger operation. For example, the first time of the mobile phone in the unlocking state is 10:35, the mobile phone enters the screen locking state at the time of 10:40, the time to enter the screen locking state is 10: 39-10: 40, and if the second time of the trigger operation is 10:38, the trigger operation is not responded; responding to the trigger operation only when the second time of the trigger operation is detected to be within 10: 39-10: 40.
Next, step 204 is executed, in which, when the adjustment instruction is executed, the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time, where a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.
In a specific implementation process, the length of a preset first screen locking time of the electronic device is increased by executing the adjustment instruction, where an increased third time length is a difference between the second time length and the first time length, where the third time length may be a fixed value or a variable value, for example, after the adjustment instruction is executed, the current screen locking time length of the electronic device is the second length, and when the trigger operation is detected to occur within a time between the second time and the fourth time and the trigger operation is responded, the screen locking time of the display unit needs to be adjusted again, and the length of the current increased time may be longer than the third time length or may be shorter than the third time length.
Step 205 is performed next, in which the first state of the display unit at a fifth moment in time is acquired, wherein the fifth moment in time is after the fourth moment in time. In a specific implementation process, a first state of the display unit at a fifth time after the fourth time is acquired. For example, the current time of the mobile phone is 10:39:35, the display screen of the mobile phone enters a screen locking state at the fourth time of 10:49:35, any time after 10:49:35 is taken as the fifth time, and if the fifth time is 10:55, the state of the display unit at 10:55 is obtained as the first state.
Step 206 is executed next, in which a preset first lock screen time length of the display unit is obtained when the first state represents that the display unit is in the lock state. In a specific implementation process, after the first state is obtained, whether the first state represents that the display unit is in the locked state is judged, and when the first state represents that the display unit is in the locked state, a preset first screen locking time length of the display unit is obtained. The locked state refers to a state in which the electronic device can enter the unlocked state after being unlocked, that is, the electronic device cannot be operated in the locked state.
Step 207 is performed next, in which the current screen locking time length of the display unit is adjusted to the first screen locking time length. In a specific implementation process, taking a mobile phone as an example, after the mobile phone is turned on, the first screen locking time length set by the mobile phone is 1 minute, after step 204, the current screen locking time length of the mobile phone is a second screen locking time length, the second screen locking time length is 2 minutes longer than 1 minute, and if the mobile phone is in a locked state at a fifth time after the fourth time 10:49:35, the current screen locking time length of the mobile phone is adjusted to 1 minute. Therefore, when the electronic equipment enters the unlocking state from the locking state again and the electronic equipment is not operated within the first screen locking time length, the electronic equipment can enter the screen locking state, and the electronic equipment cannot enter the screen locking state until the electronic equipment is not operated within the second screen locking time length. Because second lock screen time length than first lock screen time length will be long, so, make electronic equipment can be faster get into the lock screen state, make electronic equipment's consumption reduces, improves electronic equipment's duration, and then can convenience of customers use, user's experience is better.
In another embodiment, in step 203, when the trigger operation is detected to occur, it is further determined whether a second time when the trigger operation occurs is within the time to enter the screen lock state, and when the second time is within the time to enter the screen lock state, it is further determined whether a second operation object of the display unit at the second time is the same as a first operation object of the display unit at the first time, and the trigger operation is only responded when the second operation object is the same as the first operation object. Therefore, when a user does not operate the electronic equipment for a long time due to some reasons, such as the fact that the user uses the electronic equipment to watch news, short messages or novels, the electronic equipment can more accurately judge the state of the user through receiving signals, and whether the length of the screen locking time is increased or not is determined according to the state of the user, so that the times of the user operating the electronic equipment can be reduced, the use of the user is more convenient, and the user experience is better.
In another implementation, after step 204, a third display object of the display unit at a sixth time may be further obtained, where the sixth time is after the second time, and then it is determined whether the third display object is the same as the first operation object of the display unit at the first time, and when the third display object is different from the first display object, the current screen locking time length of the display unit is adjusted to the preset first screen locking time length of the display unit; and if the third display object is the same as the first display object, the current screen locking time length of the display unit is not adjusted.
In a specific implementation process, the electronic device takes a tablet personal computer as an example, after the tablet personal computer is started, the electronic device enters an unlocked state at a first time of 10:35, an operation object displayed on a touch screen of the tablet personal computer is an electronic book of 'time history', the first lock screen time length of the tablet personal computer is 10 minutes, namely, the electronic device enters a lock screen state at a third time of 10:45, a user touches the touch screen to trigger the trigger operation at 10:40, and the current lock screen time of the tablet personal computer is adjusted from 10:45 to 10:55, namely, the current lock screen time of the tablet personal computer is 15 minutes. When the detected third operation object displayed on the tablet computer at 10:42 is not the electronic book of the 'time history' at any time after 10:40, such as 10:42, the current screen locking time of the tablet computer is adjusted to 10 minutes. Therefore, after the operation object on the electronic equipment is changed, the electronic equipment can adjust the current screen locking time length of the display unit to the first screen locking time length by itself, so that the electronic equipment can enter a screen locking state more quickly, the power consumption of the electronic equipment is reduced, the cruising ability of the electronic equipment is improved, the electronic equipment can be conveniently used by a user, and the user experience is better.
An embodiment of the present invention further provides an electronic device, where the electronic device is, for example, an electronic device such as a mobile phone and a tablet computer, and the display unit is, for example, an electronic device such as a liquid crystal display and a touch screen.
As shown in fig. 3, the electronic apparatus includes: a circuit board 301; a processing chip 302, disposed on the circuit board 301, for detecting whether a trigger operation occurs at a first time after the electronic device is started and the display unit 303 is in the unlocked state, and at a second time after the first time, wherein, at the first time, the screen locking time of the display unit 303 entering the screen locking state from the unlocking state is a third time after the first time, the second time is before the third time, when the trigger operation occurs, the device is used for responding to the trigger operation, generating an adjusting instruction of the screen locking time and then executing the adjusting instruction, for adjusting the lock screen time from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.
The circuit board 301 may be a main board of an electronic device, and the processing chip 302 may be a separate processor or integrated in the processor.
Further, the data processing chip 302 includes a first time obtaining unit, and is configured to detect whether the display unit 303 is in the unlocked state after the electronic device is started, and obtain a first time when the display unit 303 is in the unlocked state.
Further, the data processing chip 302 includes a second adjustment instruction generating unit, configured to, when the trigger operation occurs, obtain a second operation object of the display unit at a second time, determine whether the second operation object is the same as a first operation object of the display unit at a first time, and when the second operation object is the same as the first operation object, respond to the trigger operation and generate an adjustment instruction of the screen locking time.
In an embodiment, a first time when a display unit of the electronic device is in an unlocked state is obtained, a third time when the display unit enters a screen locking state corresponding to the first time is obtained according to a first screen locking time length of the display unit of the electronic device, whether a trigger operation occurs is detected at a second time between the first time and the third time, whether a second operation object of the display unit at the second time is the same as a first operation object of the display unit at the first time is detected, and when the second operation object is the same as the first operation object of the display unit, the first screen locking time length is increased by a certain time length to serve as a current screen locking time length of the display unit. The detailed process is described with reference to the embodiment of fig. 1.
An embodiment of the present invention further provides an electronic device, where the electronic device is, for example, an electronic device such as a mobile phone and a tablet computer, and the display unit is, for example, an electronic device such as a liquid crystal display and a touch screen.
As shown in fig. 4, the electronic apparatus includes: a circuit board 401; a processing chip 402, disposed on the circuit board 401, for detecting whether a trigger operation occurs at a first time after the electronic device is started and the display unit 403 is in the unlocked state, and at a second time after the first time, wherein, at the first time, the screen locking time of the display unit 403 entering the screen locking state from the unlocking state is a third time after the first time, the second time is before the third time, when the trigger operation occurs, the device is used for responding to the trigger operation, generating an adjusting instruction of the screen locking time and then executing the adjusting instruction, for adjusting the lock screen time from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time.
The circuit board 401 may be a motherboard of an electronic device, and the processing chip 402 may be a separate processor or integrated in the processor.
Further, the processing chip 402 includes a first time obtaining unit, configured to detect whether the display unit is in the unlocked state after the electronic device is started, and obtain a first time when the display unit is in the unlocked state.
Further, the processing chip 402 includes a first adjustment instruction generating unit, configured to determine whether the second time is within a time of the display unit about to enter the screen locking state when the trigger operation occurs, and respond to the trigger operation and generate an adjustment instruction of the screen locking time when the second time is within the time of the display unit about to enter the screen locking state.
Further, the processing chip 402 includes a first screen locking time adjusting unit, configured to obtain a first state of the display unit after the adjusting instruction is executed and the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time, and obtain a first screen locking time length preset in the display unit and adjust the current screen locking time length of the display unit to the first screen locking time length when the first state indicates that the display unit is in the screen locking state.
In another embodiment, the processing chip 402 includes a second screen locking time adjusting unit, configured to, after the adjusting instruction is executed, adjust the current screen locking time of the display unit from the third time to a fourth time after the third time, acquire a third operation object of the display unit at a sixth time, where the sixth time is after the second time and is used to determine whether the third operation object is the same as the first operation object of the display unit at the first time, and when the third display object is different from the first display object, adjust the current screen locking time length of the display unit to the preset first screen locking time length of the display unit.
The first screen locking time adjusting unit and the second screen locking time adjusting unit may be simultaneously disposed in the electronic device, or one of the first screen locking time adjusting unit and the second screen locking time adjusting unit may be disposed in the electronic device.
The technical scheme in the embodiment of the application at least has the following technical effects or advantages:
firstly, in the embodiment of the present application, after the electronic device is started and at a first time when the display unit is in the unlocked state, whether a trigger operation occurs is monitored at a second time after the first time, and the second time is before a screen locking time corresponding to the first time is a third time after the first time, when the trigger operation occurs, the current screen locking time of the display unit is adjusted from the third time to a fourth time after the third time through the adjustment instruction, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time, and when a user may not operate the electronic device for a long time due to some reasons, such as when the user uses the electronic device to watch news, short messages, or fiction news, the electronic equipment can increase the length of the screen locking time according to the trigger operation, and reduces the times of operating the electronic equipment by a user, so that the use of the user is more convenient, and the user experience is better.
And secondly, when the trigger operation occurs in the embodiment of the application, obtaining a second operation object of the display unit at a second moment, and when the second operation object is the same as the first operation object of the display unit at the first moment, responding to the trigger operation to generate an adjustment instruction of the screen locking time. Therefore, when the operation object on the display unit is not changed, the trigger operation is responded, so that the electronic equipment can judge the state of the user more accurately, whether the trigger operation is responded or not is determined according to the state of the user, the length of the screen locking time is increased according to the trigger operation, the times of operating the electronic equipment by the user are reduced, the intelligence of the electronic equipment is further improved, the use of the user is more convenient, and the user experience is better.
Thirdly, because the embodiment of the application is in executing the adjusting instruction, the current screen locking time of the display unit is adjusted from the third moment to the fourth moment after the third moment, the first state of the display unit at the fifth moment after the fourth moment is obtained, and when the first state represents that the display unit is in the screen locking state, the current screen locking time length of the display unit is adjusted to be the first screen locking time length preset by the display unit. Therefore, when the electronic equipment enters the unlocking state from the locking state again, whether the electronic equipment is to enter the screen locking state is judged by detecting whether the actual time length of the electronic equipment which is not operated reaches the first screen locking time length, so that the electronic equipment can enter the screen locking state more quickly, the power consumption of the electronic equipment is reduced, the cruising ability of the electronic equipment is improved, the electronic equipment is convenient for a user to use, and the user experience is better.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. An information processing method applied to an electronic device comprising a display unit, wherein the display unit has a screen-locking state and an unlocking state, the method comprising:
after the electronic equipment is started and at the first moment when the display unit is in the unlocked state;
detecting whether a trigger operation occurs at a second moment after the first moment, wherein at the first moment, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third moment after the first moment, and the second moment is before the third moment;
when the trigger operation occurs, responding to the trigger operation to generate an adjustment instruction of the screen locking time;
executing the adjusting instruction, and adjusting the current screen locking time of the display unit from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time;
acquiring a third operation object of the display unit at a sixth moment, wherein the sixth moment is after the second moment;
judging whether the third operation object is the same as the first operation object of the display unit at the first moment or not;
when the third operation object is different from the first operation object, adjusting the current screen locking time length of the display unit to be a preset first screen locking time length of the display unit.
2. The method of claim 1, wherein the first time after the electronic device is started and the display unit is in the unlocked state specifically comprises:
after the electronic equipment is started, detecting whether the display unit is in the unlocking state;
and when the display unit is in the unlocking state, obtaining a first moment when the display unit is in the unlocking state.
3. The method according to claim 1, wherein the generating an instruction for adjusting the screen locking time in response to the trigger operation when the trigger operation occurs specifically includes:
when the trigger operation occurs, judging whether the second moment is within the time of the display unit to enter the screen locking state;
and when the second moment is within the time of the display unit about to enter the screen locking state, responding to the trigger operation and generating an adjustment instruction of the screen locking time.
4. The method according to claim 1, wherein the generating an instruction for adjusting the screen locking time in response to the trigger operation when the trigger operation occurs specifically includes:
when the trigger operation occurs, acquiring a second operation object of the display unit at a second moment;
judging whether the second operation object is the same as a first operation object of the display unit at a first moment or not;
and when the second operation object is the same as the first operation object, responding to the trigger operation and generating an adjusting instruction of the screen locking time.
5. An electronic device comprising a display unit, wherein the display unit has a locked state and an unlocked state, the electronic device comprising:
a circuit board;
a processing chip arranged on the circuit board, detecting whether a trigger operation occurs at a first time when the display unit is in the unlocked state after the electronic equipment is started and at a second time after the first time, wherein, at the first time, the screen locking time of the display unit entering the screen locking state from the unlocking state is a third time after the first time, the second time is before the third time, when the trigger operation occurs, the device is used for responding to the trigger operation, generating an adjusting instruction of the screen locking time and then executing the adjusting instruction, for adjusting the lock screen time from the third time to a fourth time after the third time, wherein a first time length between the first time and the third time is less than a second time length between the second time and the fourth time;
the processing chip comprises a second screen locking time adjusting unit, and after the adjusting instruction is executed, the current screen locking time of the display unit is adjusted from the third moment to a fourth moment after the third moment, the third operation object of the display unit at a sixth moment is acquired, wherein the sixth moment is after the second moment, the third operation object is used for judging whether the third operation object is the same as the first operation object of the display unit at the first moment, and when the third operation object is different from the first operation object, the current screen locking time length of the display unit is adjusted to be the preset first screen locking time length of the display unit.
6. The electronic device of claim 5, wherein the processing chip includes a first time obtaining unit, configured to detect whether the display unit is in the unlocked state after the electronic device is started, and configured to obtain a first time when the display unit is in the unlocked state.
7. The electronic device of claim 5, wherein the processing chip includes a first adjustment instruction generation unit, when the trigger operation occurs, configured to determine whether the second time is within a time of the display unit to enter the screen lock state, and when the second time is within the time of the display unit to enter the screen lock state, configured to respond to the trigger operation and generate an adjustment instruction of the screen lock time.
8. The electronic device of claim 5, wherein the processing chip includes a second adjustment instruction generation unit, when the trigger operation occurs, configured to acquire a second operation object of the display unit at a second time, determine whether the second operation object is the same as a first operation object of the display unit at a first time, and when the second operation object is the same as the first operation object, configured to respond to the trigger operation and generate an adjustment instruction of the screen locking time.
CN201611010208.7A 2012-09-11 2012-09-11 Information processing method and electronic equipment Active CN106775284B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611010208.7A CN106775284B (en) 2012-09-11 2012-09-11 Information processing method and electronic equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611010208.7A CN106775284B (en) 2012-09-11 2012-09-11 Information processing method and electronic equipment
CN201210335765.1A CN103677551B (en) 2012-09-11 2012-09-11 The method of information processing and electronic equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210335765.1A Division CN103677551B (en) 2012-09-11 2012-09-11 The method of information processing and electronic equipment

Publications (2)

Publication Number Publication Date
CN106775284A CN106775284A (en) 2017-05-31
CN106775284B true CN106775284B (en) 2019-12-24

Family

ID=50315297

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210335765.1A Active CN103677551B (en) 2012-09-11 2012-09-11 The method of information processing and electronic equipment
CN201611010208.7A Active CN106775284B (en) 2012-09-11 2012-09-11 Information processing method and electronic equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210335765.1A Active CN103677551B (en) 2012-09-11 2012-09-11 The method of information processing and electronic equipment

Country Status (1)

Country Link
CN (2) CN103677551B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677551B (en) * 2012-09-11 2016-12-21 联想(北京)有限公司 The method of information processing and electronic equipment
CN104317495B (en) * 2014-10-17 2019-01-15 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105989267B (en) * 2015-02-16 2021-02-02 中兴通讯股份有限公司 Safety protection method and device based on voiceprint recognition
CN106293730A (en) * 2016-08-03 2017-01-04 珠海市魅族科技有限公司 A kind of determination method of screen locking time and terminal
CN106295279B (en) * 2016-08-11 2019-05-10 北京小米移动软件有限公司 The method and device of terminal control
CN107728897A (en) * 2017-09-04 2018-02-23 珠海格力电器股份有限公司 A kind of method of adjustment and device of SOT state of termination change duration

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN101826290A (en) * 2010-01-25 2010-09-08 宇龙计算机通信科技(深圳)有限公司 Backlight control method and mobile terminal
CN102256010A (en) * 2011-06-27 2011-11-23 惠州Tcl移动通信有限公司 Mobile equipment and backlight control method thereof
CN103677551B (en) * 2012-09-11 2016-12-21 联想(北京)有限公司 The method of information processing and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8434153B2 (en) * 2009-08-24 2013-04-30 Microsoft Corporation Application display on a locked device
KR101295583B1 (en) * 2010-09-13 2013-08-09 엘지전자 주식회사 Mobile terminal and method for controlling operation thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308440A (en) * 2008-06-25 2008-11-19 宇龙计算机通信科技(深圳)有限公司 Interaction control method and system based on touch screen
CN101826290A (en) * 2010-01-25 2010-09-08 宇龙计算机通信科技(深圳)有限公司 Backlight control method and mobile terminal
CN102256010A (en) * 2011-06-27 2011-11-23 惠州Tcl移动通信有限公司 Mobile equipment and backlight control method thereof
CN103677551B (en) * 2012-09-11 2016-12-21 联想(北京)有限公司 The method of information processing and electronic equipment

Also Published As

Publication number Publication date
CN103677551A (en) 2014-03-26
CN103677551B (en) 2016-12-21
CN106775284A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106775284B (en) Information processing method and electronic equipment
CN106991304B (en) Message processing method and device
CN109583356B (en) Fingerprint identification method and related product
CN109543574B (en) Fingerprint acquisition method and related equipment
CN102231097A (en) Method and device for unlocking screen
US20180157817A1 (en) Unlocking method and apparatus, and storage medium
US20150052484A1 (en) Information processing method and electronic device
CN105825114B (en) Mobile terminal unlocking method and mobile terminal
KR20150080736A (en) Method for executing a function and Electronic device using the same
CN111859357A (en) Login method and device and electronic equipment
JP2019504566A (en) Information image display method and apparatus
CN103309479A (en) Touch screen operating system and method
WO2022022566A1 (en) Graphic code identification method and apparatus and electronic device
US20190087609A1 (en) Method and system for controlling power key of terminal
CN112311795B (en) Account management method and device and electronic equipment
CN112417420A (en) Information processing method and device and electronic equipment
CN111638805A (en) Key processing method, device and storage medium
CN113992615A (en) Display method and device of withdrawal message, electronic equipment and storage medium
CN112764611B (en) Application program control method and device and electronic equipment
CN108683809B (en) Screen locking method, device and system
CN112422735B (en) Information prompting method and device
CN105320858B (en) Method and device for rapidly displaying application icons
CN113609107A (en) Database management method and device, electronic equipment and storage medium
CN112181559A (en) Interface display method and device and electronic equipment
CN107357654B (en) Method and device for controlling over-frequency working state of CPU

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