Terminal screen control method and device, terminal and readable storage medium
A screen control and terminal technology, applied in the field of communication, can solve the problems of screen control methods such as unlocking by mistake, turning on the screen by mistake, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0063] When the finger presses the Power key, KEYCODE_POWER(Down) will be reported when it is pressed, and KEYCODE_POWER(Up) will be reported when it is pressed and lifted. The compressions mentioned here are all short presses, not long presses. Under normal circumstances, when the screen is off, the action of pressing the Power key (Down) is to respond to the bright screen, and the action of lifting the Power key (Up) is not processed. When the screen is on, the action of pressing the Power key (Down) is It is not processed, and the Power key is lifted (Up) to respond to the screen being off.
[0064] When pressing Power, it will not only trigger the corresponding function of pressing and lifting Power, but also trigger the function of touching the fingerprint key to unlock. It often leads to some bad experiences, such as: pressing Power to turn off the screen when the screen is on , because the correct finger was used to press the Power button, which caused the screen to be...
no. 2 example
[0082] The second embodiment of the present invention proposes a terminal screen control method, such as Figure 4 shown, including:
[0083] S401. Monitoring the key commands of the terminal;
[0084] S402. Respond to the button instruction according to a preset rule according to the current screen state of the terminal.
[0085] In this embodiment, the control program can be used to monitor the state of the screen, and when the finger is pressed or Power is touched, it is first judged whether the screen is off or on according to the monitored screen state. The method of the invention responds to the monitored button commands according to the preset rules according to the current screen state of the terminal, and responds to the possible false touch commands according to the set rules, and solves the problem of false unlocking that may be caused by combination of keys.
[0086] Optionally, responding to the button instruction according to a preset rule according to the curr...
no. 3 example
[0105] The present invention also provides a terminal screen control device, including:
[0106] The monitoring module is used to monitor key commands of the terminal;
[0107] An instruction processing module, configured to respond to the button instruction according to a preset rule according to the current screen state of the terminal.
[0108] An embodiment of the present invention also provides a terminal, including the foregoing device for controlling a terminal screen.
[0109] In some embodiments, the terminal includes at least a power button, and a fingerprint unlocking function is integrated on the power button.
[0110] An embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to achieve the aforementioned Steps of terminal screen control method.
[0111] In an optional implementation manner, one or ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


