Terminal screen-on/off control method and apparatus, and terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsJun Yang, Yuehai Zhou
Life of this patent
Estimating the term…
Abstract
A terminal screen-on/off control method includes receiving an operation instruction that is sent by a user by using a first terminal; if the operation instruction meets a preset condition, determining a current state of a screen of a second terminal, and if the current state of the screen is on, controlling the second terminal to turn off the screen; or if the current state of the screen is off, controlling the second terminal to turn on the screen. The preset condition is used to determine whether the second terminal is to turn the screen on/off. The first terminal can be directly used to control the second terminal to turn the screen on/off. This operation is very simple.
Claims20
A terminal screen-on/off control method, comprising:
- receiving an operation instruction from a user using a first terminal;
- determining a current state of a screen of a second terminal when the operation instruction meets a preset condition, wherein the preset condition comprises a preset button is touched and held longer than a preset time threshold, and determining whether the second terminal is to turn the screen on/off;
- controlling, using the first terminal, the second terminal to turn off the screen when the current state of the screen is on;
- controlling, using the first terminal, the second terminal to turn on the screen, controlling a first application to respond to the operation instruction, and determining whether the first application runs in a foreground before the second terminal turns off the screen when the current state of the screen is off, wherein the first application is last used and that is not closed by the user before the second terminal turns off the screen;
- controlling, using the first terminal, the second terminal to turn on the screen and unlock the screen to display an interface of the first application, and controlling the first application to respond to the operation instruction in response to the first application running in the foreground;
- and
- controlling, using the first terminal, the second terminal to turn on the screen and display the interface of the first application in a screen-locked state, and controlling the first application to respond to the operation instruction in response to the first application not running in the foreground.
A non-transitory computer-readable medium comprising computer-executable instructions, which when executed by a processor of an electronic device, cause the processor to:
- receive an operation instruction from a user using a first terminal;
- determine a current state of a screen of a second terminal when the operation instruction meets a preset condition, wherein the preset condition comprises a preset button is touched and held longer than a preset time threshold, and determine whether the second terminal is to turn the screen on/off;
- control, using the first terminal, the second terminal to turn off the screen when the current state of the screen is on;
- control, using the first terminal, the second terminal to turn on the screen, control a first application to respond to the operation instruction, and determine whether the first application runs in a foreground before the second terminal turns off the screen when the current state of the screen is off, wherein the first application is an application that is last used and that is not closed by the user before the second terminal turns off the screen;
- control, using the first terminal, the second terminal to turn on the screen and unlock the screen to display an interface of the first application, and control the first application to respond to the operation instruction in response to the first application running in the foreground;
- and
- control, using the first terminal, the second terminal to turn on the screen and display the interface of the first application in a screen-locked state, and control the first application to respond to the operation instruction in response to the first application not running in the foreground.
A screen-on/off control system, comprising:
- a first terminal configured to:
- detect a first operation instruction;
- generate a first signal, wherein the first signal indicates the first operation instruction;
- detect a second operation instruction;
- generate a second signal, wherein the second signal indicates the second operation instruction;
- and
- transmit the first signal;
- and
- a second terminal comprising a display and configured to:
- receive the first signal from the first terminal;
- turn, using the first terminal, the display on and display a photographing interface in a screen-locked state when the first operation instruction meets a first preset condition and the display is off, wherein a user of the second terminal cannot browse a historical picture, and wherein the first preset condition comprises a preset button is touched and held longer than a preset time threshold;
- and
- perform photographing when the second operation instruction meets a second preset condition.
Dependencies are inferred from the claim text.