Terminal control method and terminal
Abstract
This disclosure disclose a terminal control method and a terminal. The method may include: when detecting that the front-facing camera is in a low power consumption mode, sending, by the second processor, a first message to the first processor, where the first message indicates that the front-facing camera is in the low power consumption mode; after receiving the first message, controlling, by the first processor, the front-facing camera to collect a low-power-consumption-mode image in the low power consumption mode; receiving, by the first processor, the low-power-consumption-mode image and identifying whether there are a predetermined quantity of consecutive low-power-consumption-mode images that include preset characteristic information, where the preset characteristic information is characteristic information indicating that a user currently needs to use the terminal; and adjusting, by the first processor, brightness of a screen of the terminal according to an identification result.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A terminal control method, applied to a terminal comprising a first processor, a second processor, and a front-facing camera, wherein, an operation processing capability of the first processor is lower than an operation processing capability of the second processor, the method comprising:
when detecting that the front-facing camera is in a low power consumption mode, sending, by the second processor, a first message to the first processor, wherein the first message indicates that the front-facing camera is in the low power consumption mode; after receiving the first message, controlling, by the first processor, the front-facing camera to collect a low-power-consumption-mode image in the low power consumption mode; receiving, by the first processor, the low-power-consumption-mode image and identifying whether there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise preset characteristic information, wherein the preset characteristic information is characteristic information indicating that a user currently needs to use the terminal; and adjusting, by the first processor, brightness of a screen of the terminal according to an identification result.
2 . The method according to claim 1 , wherein, the adjusting, by the first processor, the brightness of a screen of the terminal according to an identification result comprises:
calculating, by the first processor, a current ambient brightness value according to the low-power-consumption-mode image; and when the first processor receives the low-power-consumption-mode image and identifies that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and the first processor detects that the second processor is in a waking state and the screen of the terminal is in an on state, adjusting, by the first processor, the brightness of the screen of the terminal according to the ambient brightness value, wherein a larger ambient brightness value indicates higher adjusted brightness of the screen of the terminal.
3 . The method according to claim 1 , wherein, the adjusting, by the first processor, the brightness of a screen of the terminal according to an identification result comprises:
controlling, by the first processor, the second processor to adjust the brightness of the screen of the terminal according to the identification result.
4 . The method according to claim 3 , wherein, the controlling, by the first processor, the second processor to adjust the brightness of the screen of the terminal according to the identification result comprises:
when the first processor receives the low-power-consumption-mode image and identifies that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and the first processor detects that the second processor is in a sleep mode, waking up, by the first processor, the second processor and instructing the second processor to light up the screen of the terminal.
5 . The method according to claim 3 , wherein, the controlling, by the first processor, the second processor to adjust the brightness of the screen of the terminal according to the identification result comprises:
when the first processor receives the low-power-consumption-mode image and identifies that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and the first processor detects that the second processor is in a waking state and the screen of the terminal is in an off state, instructing, by the first processor, the second processor to light up the screen of the terminal.
6 . The method according to claim 3 , wherein, the controlling, by the first processor, the second processor to adjust the brightness of the screen of the terminal according to the identification result comprises:
when the first processor receives the low-power-consumption-mode image and identifies that no predetermined quantity of consecutive low-power-consumption-mode images comprise the preset characteristic information, and the first processor detects that the screen of the terminal is in an on state, instructing, by the first processor, the second processor to turn off the screen of the terminal.
7 . The method according to claim 4 , wherein, the method further comprises:
calculating, by the first processor, a current ambient brightness value according to the low-power-consumption-mode image; and wherein, the instructing, by the first processor, the second processor to light up the screen of the terminal comprises: sending, by the first processor, the ambient brightness value to the second processor, and adjusting, by the second processor, the brightness of the screen of the terminal according to the ambient brightness value, wherein a larger ambient brightness value indicates higher adjusted brightness of the screen of the terminal.
8 . The method according to claim 1 , wherein, the method further comprises:
when detecting that the front-facing camera switches from the low power consumption mode to a non-low power consumption mode, sending, by the second processor, a second message to the first processor, wherein the second message indicates that the front-facing camera switches to the non-low power consumption mode; and after receiving the second message, stopping, by the first processor, controlling the front-facing camera, controlling, by the second processor, the front-facing camera to collect a non-low-power-consumption-mode image in the non-low power consumption mode, and performing, by the second processor, subsequent processing on the non-low-power-consumption-mode image.
9 . The method according to claim 1 , wherein, the first processor is a coprocessor, and the second processor is an application processor.
10 . A terminal comprising:
a first processor; a second processor; a front-facing camera; and a storage unit, wherein, an operation processing capability of the first processor is lower than an operation processing capability of the second processor, the storage unit is configured to store program code, and the second processor is configured to invoke the program code stored by the storage unit, to perform the following operation: when it is detected that the front-facing camera is in a low power consumption mode, sending a first message to the first processor, wherein the first message indicates that the front-facing camera is in the low power consumption mode; and the first processor is configured to invoke the program code stored by the storage unit, to perform the following operations: after the first message is received, controlling the front-facing camera to collect a low-power-consumption-mode image in the low power consumption mode; receiving the low-power-consumption-mode image and identifying whether there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise preset characteristic information, wherein the preset characteristic information is characteristic information indicating that a user currently needs to use the terminal; and adjusting brightness of a screen of the terminal according to an identification result.
11 . The terminal according to claim 10 , wherein, the first processor is configured to:
calculate a current ambient brightness value according to the low-power-consumption-mode image; and when receiving the low-power-consumption-mode image and identifying that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and detecting that the second processor is in a waking state and the screen of the terminal is in an on state, adjust the brightness of the screen of the terminal according to the ambient brightness value, wherein a larger ambient brightness value indicates higher adjusted brightness of the screen of the terminal.
12 . The terminal according to claim 10 , wherein, the first processor is configured to:
control, by the first processor, the second processor to adjust the brightness of the screen of the terminal according to the identification result.
13 . The terminal according to claim 12 , wherein, the first processor is configured to:
when receiving the low-power-consumption-mode image and identifying that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and detecting that the second processor is in a sleep mode, wake up, by the first processor, the second processor and instruct the second processor to light up the screen of the terminal.
14 . The terminal according to claim 12 , wherein, the first processor is configured to:
when receiving the low-power-consumption-mode image and identifying that there are a predetermined quantity of consecutive low-power-consumption-mode images that comprise the preset characteristic information, and detecting that the second processor is in a waking state and the screen of the terminal is in an off state, instruct, by the first processor, the second processor to light up the screen of the terminal.
15 . The terminal according to claim 12 , wherein, the first processor is configured to:
when receiving the low-power-consumption-mode image and identifying that no predetermined quantity of consecutive low-power-consumption-mode images comprise the preset characteristic information, and detecting that the screen of the terminal is in an on state, instruct the second processor to turn off the screen of the terminal.
16 . The terminal according to claim 13 , wherein, the first processor is further configured to calculate a current ambient brightness value according to the low-power-consumption-mode image;
the first processor is further configured to send the ambient brightness value to the second processor; and the second processor is further configured to adjust the brightness of the screen of the terminal according to the ambient brightness value, wherein a larger ambient brightness value indicates higher adjusted brightness of the screen of the terminal.
17 . The terminal according to claim 10 , wherein, the second processor is further configured to: when detecting that the front-facing camera switches from the low power consumption mode to a non-low power consumption mode, send a second message to the first processor, wherein the second message indicates that the front-facing camera switches to the non-low power consumption mode;
the first processor is further configured to: after receiving the second message, stop controlling the front-facing camera; and the second processor is further configured to: control the front-facing camera to collect a non-low-power-consumption-mode image in the non-low power consumption mode, and perform subsequent processing on the non-low-power-consumption-mode image.
18 . The terminal according to claim 10 , wherein, the first processor is a coprocessor, and the second processor is an application processor.Join the waitlist — get patent alerts
Track US2022342475A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.