Display screen control method and electronic device
Abstract
This application provides a display screen control method and an electronic device. The method includes: An electronic device starts to perform detection based on a status of a display screen and a status of an optical proximity sensor and with reference to whether a user operation is received. In a detection process, if the electronic device detects target biometric feature information, the electronic device may control the display screen to change from a half-screen-off state to a screen-on state. Therefore, a display screen control method is provided, so that a user can turn on the display screen of the electronic device without needing to operate the electronic device. In addition, when a condition is met, the electronic device starts detection, so as to ensure real-time and efficient detection, and effectively reduce power consumption.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
An electronic device, comprising: one or more processors, a memory, and a fingerprint sensor; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device is in a screen-off state, receiving a first user operation; changing from the screen-off state to a screen-on state in response to the received first user operation; receiving a user input enabling a keep screen on while looking feature, where the keep screen on while looking feature enables a user to change the electronic device from a half-screen-off state to a screen-on state, wherein the half-screen-off state is a state in which a screen of the electronic device is darkened with a second brightness that is lower than a first brightness of the screen-on state; when the electronic device is in the screen-on state, no user oper
- Claim 2Depends on #1
The electronic device according to claim 1, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device does not detect a user operation from a third moment at which the screen-off state changes to the screen-on state to the first moment, changing, by the electronic device, from the screen-on state to the half-screen-off state at the first moment; wherein duration between the third moment and the first moment is second duration, duration between a start moment of the first detection and the first moment is third duration, and the third duration is less than the second duration.
- Claim 3Depends on #2
The electronic device according to claim 2, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following step: detecting the first target biometric feature information, and ending the first detection.
- Claim 4Depends on #2
The electronic device according to claim 2, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device changes from the half-screen-off state to the screen-on state and does not receive a user operation within the first duration, and the optical proximity sensor meets the preset condition, starting second detection; and detecting a second target biometric feature at a fourth moment in the second detection, and controlling the electronic device to keep the screen-on state; detecting the second target biometric feature, and ending the second detection.
- Claim 5Depends on #4
The electronic device according to claim 4, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device keeps the screen-on state and does not receive a user operation within the first duration, and the optical proximity sensor meets the preset condition, starting third detection; wherein duration of the third detection is the second duration; and detecting a third target biometric feature at a fifth moment in the third detection, and controlling the electronic device to keep the screen-on state.
- Claim 6Depends on #5
The electronic device according to claim 5, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following step: detecting the third target biometric feature, and ending the second detection.
- Claim 7Depends on #5
The electronic device according to claim 5, wherein duration between a start moment of the second detection and the fourth moment is fifth duration, and duration between a start moment of the third detection and the fifth moment is sixth duration; and the sixth duration is different from the fifth duration.
- Claim 8Depends on #2
The electronic device according to claim 2, wherein when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device changes from the half-screen-off state to the screen-on state and does not receive a user operation within the first duration, and the optical proximity sensor meets the preset condition, starting fourth detection; and at a sixth moment in the fourth detection, detecting an operation of pressing a power key by a user, and changing, by the electronic device, from the screen-on state to the screen-off state.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a national stage of International Application No. PCT/CN2022/093157, filed on May 16, 2022, which claims priority to Chinese Patent Application No. 202110923990.6, filed on Aug. 12, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of terminal devices, and in particular, to a display screen control method and an electronic device. BACKGROUND Currently, in a screen-on state, if no user operation is received in a period of time, a mobile phone enters a screen-off state. That is, if a user expects the mobile phone to keep the screen-on state continuously, the user needs to touch the mobile phone or perform another operation before the mobile phone enters the screen-off state. However, in a read scenario or a scenario in which the user cannot conveniently operate the mobile phone, a manner of manually triggering the mobile phone to keep a screen-on state affects user experience. SUMMARY To resolve the foregoing problem, this application provides a display screen control method and an electronic device. In the method, the electronic device may control, based on biometric feature information, a display screen to turn on, thereby improving user experience. According to a first aspect, this application provides an electronic device. The electronic device includes one or more processors, a memory, and a fingerprint sensor: and one or more computer programs, where the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device is enabled to perform the following steps: when the electronic device is in a screen-off state, receiving a first user operation: changing, by the electronic device, from the screen-off state to a screen-on state in response to the received first user operation: when the electronic devi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (33)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 7,379,560 B2 | Method and apparatus for monitoring human attention in dynamic power management | 2008 | 1 |