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; determining an image processing service status of the camera service process; and controlling the camera service process to release the wake-up lock if the camera service process has completed the image processing service, characterized in that the determining an image processing service status of the camera service process comprises: sending a camera disable message to the camera service process by using the camera application; adding the camera disable message to an image processing message queue by using the camera service process, wherein the image processing message queue is used to store an image processing message, and the image processing message comprises data required when the camera service process generates an image; querying a status value of a target flag bit when only the camera disable message exists in the image processing message queue, wherein the target flag bit is used to indicate whether the camera service process has completed an image processing service; and determining the image processing service status of the camera service process based on the status value of the target flag bit. 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; determining an image processing service status of the camera service process; and controlling the camera service process to release the wake-up lock if the camera service process has completed the image processing service, characterized in that the determining an image processing service status of the camera service process comprises: sending a camera disable message to the camera service process by using the camera application; adding the camera disable message to an image processing message queue by using the camera service process, wherein the image processing message queue is used to store an image processing message, and the image processing message comprises data required when the camera service process generates an image; querying a status value of a target flag bit when only the camera disable message exists in the image processing message queue, wherein the target flag bit is used to indicate whether the camera service process has completed an image processing service; and determining the image processing service status of the camera service process based on the status value of the target flag bit. sending a camera disable message to the camera service process by using the camera application; adding the camera disable message to an image processing message queue by using the camera service process, wherein the image processing message queue is used to store an image processing message, and the image processing message comprises data required when the camera service process generates an image; querying a status value of a target flag bit when only the camera disable message exists in the image processing message queue, wherein the target flag bit is used to indicate whether the camera service process has completed an image processing service; and determining the image processing service status of the camera service process based on the status value of the target flag bit.