US 12,389,110 B2
Process control method, electronic device, and readable storage medium
Jirun Xu, Shenzhen (CN)
Assigned to Honor Device Co., Ltd., Shenzhen (CN)
Appl. No. 18/262,328
Filed by HONOR DEVICE CO., LTD., Shenzhen (CN)
PCT Filed Dec. 26, 2022, PCT No. PCT/CN2022/141966
§ 371(c)(1), (2) Date Jul. 20, 2023,
PCT Pub. No. WO2023/160205, PCT Pub. Date Aug. 31, 2023.
Claims priority of application No. 202210195142.2 (CN), filed on Feb. 28, 2022.
Prior Publication US 2024/0406549 A1, Dec. 5, 2024
Int. Cl. H04N 23/65 (2023.01); H04N 23/667 (2023.01)
CPC H04N 23/651 (2023.01) [H04N 23/667 (2023.01)] 20 Claims
OG exemplary drawing
 
1. A process control method, applied to an electronic device, wherein the method comprises:
performing a photographing operation by using a camera application;
if the camera application is disabled within a first duration threshold after photographing, controlling a camera service process to hold a wake-up lock, wherein the camera service process is used to provide an image processing service, the image processing service generates and calls back a corresponding image after the camera application performs the photographing operation, and the wake-up lock is used to prevent an operating system of the electronic device from entering a sleep state;
querying a status value of a target flag bit when only a camera disable message exists in an image processing message queue, wherein the image processing message queue comprises data required when the camera service process generates an image, and wherein the target flag bit indicates whether the camera service process has completed an image processing service;
determining an image processing service status of the camera service process based on the status value of the target flag bit; and
controlling the camera service process to release the wake-up lock if the camera service process has completed the image processing service.