Control method and electronic equipment
By dynamically constructing a video recording environment to adapt to temperature changes, the problem of video recording interruption under high temperature conditions was solved, achieving stable and high-quality video recording.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-31
- Publication Date
- 2026-04-07
AI Technical Summary
When recording video under high temperature conditions, existing electronic devices are prone to interruption due to excessive temperature. Furthermore, existing temperature control strategies cannot effectively adapt to temperature changes, affecting the stability and quality of video recording.
By acquiring status data from electronic devices, a video recording environment can be dynamically constructed, and the operating modes of image acquisition devices, processors, and displays can be adjusted to adapt to temperature changes, ensuring the stability of the video recording process.
Maintaining the continuity and quality of video recording during temperature changes and avoiding interruptions improves device reliability and user experience.
Smart Images

Figure CN121814925A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of electronic devices, and more particularly, to a control method and an electronic device. BACKGROUND
[0002] The current temperature control strategy of an electronic device is to forcibly close the video recording if the temperature of the electronic device reaches a threshold value and the current image acquisition device (for example, a camera) is recording a video. SUMMARY
[0003] Therefore, the present disclosure provides a control method and an electronic device.
[0004] A first aspect of the present disclosure provides a control method applied to an electronic device, comprising:
[0005] obtaining a video acquisition instruction, the video acquisition instruction being used to instruct an image acquisition device to acquire an acquisition image and generate a video based on the acquisition image;
[0006] based on the video acquisition instruction, obtaining state data of the electronic device;
[0007] based on the state data, constructing a video recording environment of the electronic device;
[0008] based on the video recording environment, in response to the video acquisition instruction, acquiring the acquisition image by the image acquisition device and generating the video based on the acquisition image;
[0009] wherein the video recording environment is at least related to the temperature of the electronic device; and the video recording environment is used to adapt the temperature of the electronic device to maintain the process of acquiring the acquisition image by the image acquisition device and generating the video based on the acquisition image in response to the video acquisition instruction.
[0010] According to an embodiment of the present disclosure, based on the state data, the video recording environment of the electronic device is constructed, comprising:
[0011] detecting a change in a video acquisition scene;
[0012] if the video acquisition scene is a static scene, constructing the video recording environment of the electronic device based on the state data; the state data comprises a real-time temperature of the electronic device.
[0013] According to an embodiment of the present disclosure, if the video acquisition scene is a static scene, the video recording environment of the electronic device is constructed based on the state data, comprising:
[0014] detecting a change in a video acquisition scene during the process of acquiring the acquisition image by the image acquisition device and generating the video based on the acquisition image in response to the video acquisition instruction;
[0015] Each time the video capture scene is determined to switch from the first static scene to the second static scene, a video recording environment is constructed based on the real-time temperature of the electronic device;
[0016] The first static scene and the second static scene are different.
[0017] According to an embodiment of the present disclosure, based on the state data, the video recording environment of the electronic device is constructed, including at least one of the following:
[0018] Based on the real-time temperature of the electronic device, the detection frequency of detecting the video capture scene is adjusted;
[0019] Based on the real-time temperature of the electronic device, the calculation frequency of the image enhancement algorithm module acting on the captured image in the process of generating a video is adjusted;
[0020] The higher the real-time temperature, the lower the detection frequency and the calculation frequency.
[0021] According to an embodiment of the present disclosure, based on the state data, the video recording environment of the electronic device is constructed, and further includes:
[0022] If the video capture scene is a static scene, based on the real-time temperature of the electronic device, the working frequency of the processor for acquiring a captured image through the image acquisition device and generating a video based on the captured image in response to a video capture instruction is adjusted;
[0023] The higher the real-time temperature, the lower the working frequency of the processor; and the state data includes the working state of the processor.
[0024] According to an embodiment of the present disclosure, the video capture instruction is acquired, including:
[0025] If the video capture instruction is a target video capture instruction, the video recording environment of the electronic device is constructed based on the state data;
[0026] Based on the state data, the video recording environment of the electronic device is constructed, including: based on the real-time temperature of the electronic device, determining the capture mode of the image acquisition device in response to the video capture instruction;
[0027] The capture mode of the image acquisition device is different when the real-time temperature is different; the higher the real-time temperature, the lower the dynamic range of the captured image synthesized by the capture mode of the image acquisition device.
[0028] According to an embodiment of the present disclosure, based on the state data, the video recording environment of the electronic device is constructed, and further includes:
[0029] An acquisition strategy of a display screen brightness of an electronic device is acquired, the display screen is used to display a preview image in a video recording process in real time in a process of acquiring an acquisition image by an image acquisition apparatus and generating a video based on the acquisition image in response to a video acquisition instruction;
[0030] A control strategy corresponding to the real-time temperature is executed for the display screen based on the real-time temperature of the electronic device.
[0031] A second aspect of the present disclosure provides an electronic device, comprising:
[0032] An image acquisition apparatus, and
[0033] A processor is configured to acquire a video acquisition instruction, the video acquisition instruction is used to instruct the image acquisition apparatus to acquire an acquisition image and generate a video based on the acquisition image; acquire state data of the electronic device based on the video acquisition instruction; construct a video recording environment of the electronic device based on the state data; and acquire the acquisition image by the image acquisition apparatus and generate the video based on the acquisition image in response to the video acquisition instruction based on the video recording environment.
[0034] The video recording environment is at least related to the temperature of the electronic device; and the video recording environment is used to adapt to the temperature of the electronic device to maintain the acquisition of the acquisition image by the image acquisition apparatus and the generation of the video based on the acquisition image in response to the video acquisition instruction.
[0035] According to an embodiment of the present disclosure, the processor is further configured to:
[0036] Detect a change of a video acquisition scene;
[0037] If the video acquisition scene is a static scene, construct the video recording environment of the electronic device based on the state data; and the state data comprises a real-time temperature of the electronic device.
[0038] According to an embodiment of the present disclosure, the processor is further configured to
[0039] Detect a change of a video acquisition scene in a process of acquiring the acquisition image by the image acquisition apparatus and generating the video based on the acquisition image in response to the video acquisition instruction;
[0040] Construct the video recording environment based on the real-time temperature of the electronic device once every time the video acquisition scene is switched from a first static scene to a second static scene;
[0041] The first static scene and the second static scene are different.
[0042] It should be understood that the contents described in this part are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they used to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0043] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:
[0044] Figure 1 One of flowcharts of a control method according to embodiments of the present disclosure is schematically shown;
[0045] Figure 2 Another of flowcharts of a control method according to embodiments of the present disclosure is schematically shown;
[0046] Figure 3 Still another of flowcharts of a control method according to embodiments of the present disclosure is schematically shown;
[0047] Figure 4 A schematic diagram of a control method according to embodiments of the present disclosure is schematically shown.
[0048] Figure 5A One of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown;
[0049] Figure 5B Another of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown;
[0050] Figure 5C Still another of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown;
[0051] Figure 5D Yet another of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown;
[0052] Figure 5E Still yet another of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown;
[0053] Figure 5F A sixth of schematic diagrams of an electronic device according to embodiments of the present disclosure is schematically shown.
[0054] Figure 6 A block diagram of an electronic device according to embodiments of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0055] Embodiments of the present disclosure will be described below with reference to the drawings. It should be understood, however, that the description is merely exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. It will be apparent, however, that one or more embodiments can be practiced without these specific details. In other instances, well-known structures and processes are not described in detail in order to avoid obscuring the concepts of the present disclosure.
[0056] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the term "includes" and tautological expressions thereof, such as "including," "includes," "include," "contains," "containing," and so on, mean the presence of stated features, steps, operations, elements, and / or components but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups thereof.
[0057] All terms used herein (including technical and scientific terms) have the meanings commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having meanings that are consistent with the context of the specification, and should not be interpreted in an idealized or overly formal manner.
[0058] In the case of using expressions similar to "at least one of A, B, and C, etc.", it should generally be interpreted that the meaning is the same as "at least one of the group consisting of A, B, and C" or "at least one of A or B or C" unless otherwise specifically stated.
[0059] Figure 1 A flowchart of a control method according to an embodiment of the present disclosure is schematically shown.
[0060] As Figure 1 The first aspect of the present disclosure provides a control method applied to an electronic device, the control method comprising operations S101-S104.
[0061] Operation S101, a video acquisition instruction is obtained, the video acquisition instruction is used to instruct an image acquisition device to obtain an acquisition image and generate a video based on the acquisition image.
[0062] In embodiments of the present disclosure, the video acquisition instruction can be issued by a user to trigger the image acquisition device in the electronic device to obtain the acquisition image; for example, the user starts the video recording function of the electronic device, the camera in the electronic device continuously obtains image frames, and the electronic device generates a recording video based on the image frames obtained by the camera.
[0063] Operation S102, based on the video acquisition instruction, state data of the electronic device is obtained.
[0064] In the embodiments of this disclosure, the types of status data of the electronic device acquired under different video acquisition commands are different; wherein, under different video acquisition commands, the types of hardware and software called by the image acquisition device in the process of acquiring the captured image and generating video based on the captured image are different; in order to ensure that the status data can correctly reflect the changes in the device status of the electronic device in the process of acquiring and processing the captured image, the source of the status data can be adapted to the parameter data of the software or hardware used by the image acquisition device in the process of acquiring the captured image and generating video based on the captured image.
[0065] Operate S103 to construct a video recording environment for the electronic device based on the status data.
[0066] In the embodiments of this disclosure, the video recording environment is a dynamic set of operating configurations composed of software parameters and hardware parameters, used to adapt to the current device state of the electronic device and ensure that the process of capturing images and generating video based on the captured images is stable and uninterrupted.
[0067] Operation S104, based on the video recording environment, responds to the video acquisition command, acquires the captured image through the image acquisition device, and generates video based on the captured image.
[0068] The video recording environment is at least related to the temperature of the electronic device; the video recording environment is used to adapt to the temperature of the electronic device to maintain responsiveness to video acquisition commands, acquire images through the image acquisition device, and generate video based on the acquired images.
[0069] Specifically, after the video recording environment of the electronic device is established, the process of the image acquisition device acquiring images and the electronic device generating video based on the acquired images will be matched with the video recording environment. For example, changes in the video recording environment can reduce or improve the image quality of the acquired images; furthermore, it can also change the resolution of the video generated based on the acquired images, or change the video rendering effect during the video generation process.
[0070] Furthermore, when the temperature of the electronic device changes, the video recording environment constructed based on the electronic device's status data changes accordingly, thereby altering the energy consumption and temperature rise of the electronic device during image acquisition and video generation, so that the device temperature is controlled within a range that can maintain image acquisition and video generation.
[0071] By employing the above method, the images acquired by the image acquisition device are processed and videos are generated according to the video acquisition instructions. During the process of acquiring images and generating videos, the status data of the electronic device is continuously acquired, and the video recording environment is dynamically constructed based on the changes in the status data. This ensures that the video recording environment changes as the temperature of the electronic device changes, thereby guaranteeing that the image acquisition device can continuously acquire images and the electronic device can continuously generate videos based on the acquired images, avoiding interruptions in the video recording or image acquisition process due to temperature changes.
[0072] Figure 2 A flowchart of a control method according to an embodiment of the present disclosure is shown schematically.
[0073] like Figure 2 As shown, according to an embodiment of this disclosure, in operation S103, a video recording environment for an electronic device is constructed based on state data, including operations S201 to S202.
[0074] Operate S201 to detect changes in the video capture scene.
[0075] In the embodiments of this disclosure, the video acquisition scene represents the actual scene in which the electronic device is located when the image acquisition device acquires the acquired image.
[0076] Specifically, changes in the video capture scene can be due to changes in the actual content within the scene, such as the movement of the object being filmed. Alternatively, changes can be caused by the movement of the electronic device. For example, when a user holds an electronic device to capture an image, instability in the device's position can cause it to move, resulting in a change in the video capture scene. Another example is when a user controls the electronic device to produce a specific pose to achieve a specific image capture effect, leading to a change in the video capture scene.
[0077] In some implementations, pose detection sensors such as accelerometers and gyroscopes configured in the electronic device are used to detect changes in the video capture scene. For example, if a user's hand shakes slightly while holding the electronic device to record, a change in high-frequency, small-amplitude acceleration or angular velocity is detected, thereby determining the change in the video capture scene.
[0078] In other implementations, the image acquisition device can also acquire scene change characteristics of the captured scene during the image acquisition process, such as optical data like the focus state and automatic exposure state of the acquired image. For example, by frequently adjusting the image focus position during image acquisition, changes in the video recording scene can be determined based on the changes in the image focus.
[0079] In other embodiments, the electronic device can perform visual analysis processing on continuously acquired image frames, extract features and compare differences between image frames to determine changes in the video recording scene.
[0080] In operation S202, if the video capture scenario is a static scenario, construct the video recording environment of the electronic device based on the status data; the status data includes the real-time temperature of the electronic device.
[0081] Specifically, the system determines whether the current scene is static or dynamic based on changes in the video capture scene. When the video capture scene is static, the system constructs the video recording environment of the electronic device based on the status data. When the real-time temperature of the electronic device changes, the video recording environment also changes accordingly.
[0082] Figure 3 A flowchart of a control method according to an embodiment of the present disclosure is shown schematically as follows:
[0083] like Figure 3 As shown, according to an embodiment of this disclosure, in operation S202, if the video capture scene is a static scene, a video recording environment of the electronic device is constructed based on the state data, including operations S2021 to S2022.
[0084] Operation S2021, in response to the video capture command, detects changes in the video capture scene during the process of acquiring captured images through the image acquisition device and generating video based on the captured images;
[0085] In operation S2022, each time a video capture scene is determined, the video recording environment is switched from the first static scene to the second static scene, and a video recording environment is constructed based on the real-time temperature of the electronic device; wherein, the first static scene and the second static scene are different.
[0086] Specifically, during the process of the image acquisition device acquiring images and generating video based on those images, changes in the video scene are continuously monitored. When the video acquisition scene switches from one static scene to another, the video recording environment is reconstructed based on the real-time temperature of the electronic device. This ensures that the reconstructed video recording environment is adapted to the current video scene. Specifically, when it is determined that the video acquisition scene has switched, the real-time temperature of the electronic device has not yet changed significantly. By using the change in the video acquisition scene as the trigger condition for constructing the video recording environment, adjustments can be made to the process of the electronic device acquiring images and generating video based on those images before a significant change in real-time temperature occurs, thus avoiding the impact of rising real-time temperature on the video recording process.
[0087] For example, after a user activates the video recording function on their phone, the built-in sensors and image processing algorithms detect changes in the video capture scene in real time. For instance, an image feature point matching algorithm is used to determine if objects within the scene are moving significantly. When the user is filming a stationary bookshelf indoors (first static scene), the relatively stationary objects in the scene are detected, and the scene is determined to be static. When the user turns the phone to film a static view outside a window (second static scene), a change in the video capture scene is detected, and the video recording environment is reconstructed based on the phone's real-time temperature.
[0088] By adopting the above method, when the video capture scene switches from one static scene to another, the video recording environment is reconstructed based on the real-time temperature of the electronic device, so that the video recording environment can quickly adapt to the current static scene type.
[0089] According to an embodiment of the present disclosure, in operation S103, a video recording environment for an electronic device is constructed based on state data, including at least one of operation S1031 and operation S1032.
[0090] Operation S1031 adjusts the detection frequency of the video acquisition scene based on the real-time temperature of the electronic device; the higher the real-time temperature, the lower the detection frequency.
[0091] In the embodiments of this disclosure, the detection frequency of the video capture scene represents the number of target image frames in the captured images acquired within a fixed time period, and the target image frames are used to detect changes in the video capture scene.
[0092] Specifically, for each image frame in the real-time acquired images obtained by the image acquisition module, a certain number of target image frames are extracted. Based on the image changes in these target image frames, the changes in the video acquisition scene of the electronic device are determined. Specifically, when the number of target image frames in the acquired images within a fixed time period increases, the detection frequency of the video acquisition scene increases accordingly; when the number of target image frames in the acquired images within a fixed time period decreases, the detection frequency of the video acquisition scene decreases accordingly.
[0093] For example, the image acquisition device acquires images at a rate of 120 frames per second. During the detection of the video acquisition scene, 10 image frames are acquired within a fixed time period to determine the changes in the video acquisition scene. As the real-time temperature of the electronic device increases, during the detection of the video acquisition scene, 5 image frames are acquired within the same fixed time period to determine the changes in the video acquisition scene. This reduces the number of image frames used in the detection of the video acquisition scene, thereby reducing the detection frequency of the video acquisition scene.
[0094] Operation S1032 adjusts the calculation frequency of the image enhancement algorithm module during the process of generating video from acquired images based on the real-time temperature of the electronic device; the higher the real-time temperature, the lower the calculation frequency.
[0095] In the embodiments of this disclosure, the image enhancement algorithm module is used to perform image rendering processing on image frames during the process of acquiring images to generate video; wherein, the calculation frequency of the image enhancement algorithm module represents the rendering speed of the image frames.
[0096] Specifically, during the process of detecting changes in the video acquisition scene, the real-time temperature change of the electronic device is detected. When the real-time temperature rises, the calculation frequency of the image enhancement algorithm module in the process of generating video from the acquired image is reduced, and when the real-time temperature decreases, the calculation frequency of the image enhancement algorithm module is increased.
[0097] Furthermore, during image acquisition and video generation, device temperature affects the acquisition and processing. When the video acquisition scene is static, the detection frequency of the video acquisition scene and the calculation frequency of the image enhancement algorithm module are adjusted based on the real-time temperature of the electronic device, optimizing the relationship between real-time temperature and device performance and power consumption. Since excessively high real-time temperature may lead to decreased device performance and increased power consumption, reducing the detection and calculation frequencies can reduce the device's computational burden and power consumption while ensuring basic video acquisition and processing functions. This controls device temperature, maintains the stability of the video acquisition and generation process, and achieves a balance between device performance, real-time temperature, and video quality.
[0098] In some embodiments, when the video capture scene switches from a first static scene to a second static scene, the calculation frequency of the image enhancement algorithm module acting on the captured image to generate video is adjusted based on the real-time temperature of the electronic device; wherein, the higher the real-time temperature, the lower the calculation frequency.
[0099] In other embodiments, when the video capture scene switches from a first static scene to a second static scene, the calculation frequency of the image enhancement algorithm module acting on the captured image to generate video is adjusted based on the real-time temperature of the electronic device; wherein, the higher the real-time temperature, the lower the calculation frequency.
[0100] According to an embodiment of this disclosure, in operation S103, a video recording environment for an electronic device is constructed based on state data, and operation S1033 is also included.
[0101] In operation S1033, if the video capture scene is a static scene, the operating frequency of the processor used to respond to the video capture command, acquire the captured image through the image acquisition device, and generate video based on the captured image is adjusted based on the real-time temperature of the electronic device; wherein, the higher the real-time temperature, the lower the operating frequency of the processor; the status data includes the operating status of the processor.
[0102] In the embodiments of this disclosure, the processor for generating video based on acquired images includes, but is not limited to, processor types such as CPU, GPU, and NPU; the processor's operating frequency represents the execution rate of image processing operations and / or video processing operations that need to be performed during the video generation process.
[0103] Specifically, while the image acquisition device is acquiring images, the processor in the electronic device, which generates video based on the acquired images, is also processing the acquired images in real time. When the real-time temperature of the electronic device rises, the processor's operating frequency is reduced, which slows down the rate at which the processor processes the acquired images, thereby reducing the processor's real-time power and mitigating the rise in the real-time temperature of the electronic device.
[0104] In some embodiments, as the real-time temperature of the electronic device increases, the processor's operating frequency is reduced, while the processing time for the processor to acquire and process images is increased, so that the video quality of the video generated by the processor based on the acquired images can be close to the image acquisition and processing results of the processor before the real-time temperature of the electronic device increases.
[0105] For example, after receiving a video capture command, the electronic device starts the video recording function, and the image capture device begins to continuously acquire images to determine whether the video capture scene is a static scene. For instance, feature point detection and matching are performed on multiple consecutive frames of images, and it is found that the positions and features of objects in the images have not changed significantly, thus determining that the current scene is static. At the same time, the current real-time temperature is determined to be 30℃. At this point, based on the device's default settings and the real-time temperature, the operating frequency of the processor used to generate video from the acquired images is determined to be 2.5GHz, which ensures that the processor can process the acquired images quickly and with high quality to generate video.
[0106] Furthermore, as recording progressed, the phone's temperature gradually rose to 38°C due to the processor's continuous high-speed operation and other factors. Upon detecting this real-time temperature increase, the processor's operating frequency was reduced to 2.0GHz. At this point, the processor's processing rate for the acquired images decreased, resulting in reduced real-time power consumption and thus slowing further increases in the phone's real-time temperature. Simultaneously, although the processor's operating frequency was reduced, the processing time for the acquired images was appropriately increased to ensure the generated video quality remained as close as possible to that before the temperature rise; for example, the processing time for each frame was originally 30 milliseconds, but is now extended to 40 milliseconds. In this process, by extending the processing time for each frame, the processor, at a lower operating frequency, strives to maintain the image's color reproduction, clarity, and video smoothness as much as possible.
[0107] The following is a specific example of adjusting the video recording environment based on the real-time temperature changes of the electronic device.
[0108] Figure 4 The schematic diagram illustrates the principle of a control method according to an embodiment of the present disclosure.
[0109] like Figure 4 As shown, different temperature levels of an electronic device represent different real-time temperatures. The higher the temperature level, the higher the real-time temperature of the electronic device.
[0110] For example, when the electronic device is at temperature level 0 and the video capture scene is determined to be a static scene, the processor's operating frequency and the video image enhancement algorithm module's computing frequency can both be configured to 10 fps / s; when the video capture scene is not a static scene, the processor's operating frequency and the video image enhancement algorithm module's computing frequency can both be configured to 30 fps / s, maintaining a high level. Since the electronic device generates very little heat when at temperature level 0, regardless of whether the video capture scene is static or not, the processor and video image enhancement algorithm module can avoid real-time temperature increases even when power consumption is high.
[0111] When the electronic device is at temperature level 1 and the video capture scene is determined to be a static scene, the processor's operating frequency and the video image enhancement algorithm module's computing frequency can both be configured to 10fps / s, maintaining a low level. When the video capture scene is not static, both the processor's operating frequency and the video image enhancement algorithm module's computing frequency can be configured to 24fps / s, maintaining a higher level. However, while the electronic device's heat generation is already low at temperature level 1, when the video capture scene is not static, the processor and video image enhancement algorithm module, with their higher power consumption, may still cause the electronic device's real-time temperature to rise.
[0112] When the electronic device is at temperature level 2 and the video capture scene is determined to be a static scene, the operating frequency of the processor and the calculation frequency of the video image enhancement algorithm module can both be configured to 5fps / s; when the video capture scene is not a static scene, the operating frequency of the processor and the calculation frequency of the video image enhancement algorithm module can both be configured to 15fps / s, maintaining a normal level.
[0113] When the electronic device is at temperature level 3, and the video capture scene is determined to be a static scene, the processor's operating frequency and the video image enhancement algorithm module's computing frequency can both be configured to 1 fps / s, maintaining a low level. When the video capture scene is not static, both the processor's operating frequency and the video image enhancement algorithm module's computing frequency can also be configured to 1 fps / s, maintaining a low level. Since the electronic device already experiences significant heat generation at temperature level 3, it is necessary to reduce the power consumption of the processor and video image enhancement algorithm module regardless of whether the video capture scene is static.
[0114] According to an embodiment of this disclosure, after obtaining the video capture command, the method further includes operation S105.
[0115] Operation S105: If the video capture command is a target video capture command, execute the video recording environment of the electronic device based on the status data.
[0116] In embodiments of this disclosure, the target video acquisition command may be determined in response to user operations on the electronic device when the acquisition function of the image acquisition device in the electronic device is activated.
[0117] In embodiments of this disclosure, the target video acquisition command may also be automatically determined based on the current image acquisition scene of the electronic device when the acquisition function of the image acquisition device in the electronic device is enabled.
[0118] For example, a target video capture command can be used to instruct an image capture device to enable specific image acquisition functions such as high dynamic range (HDR) image capture or 4K image recording.
[0119] In operation S105, a video recording environment for the electronic device is constructed based on the status data, including operation S1051.
[0120] Operation S1051 determines the acquisition mode of the image acquisition device in response to the video acquisition command based on the real-time temperature of the electronic device; wherein, the acquisition mode of the image acquisition device is different for different real-time temperatures; the higher the real-time temperature, the lower the dynamic range of the acquired image synthesized by the acquisition mode of the image acquisition device.
[0121] Specifically, after receiving the video acquisition command, the basic acquisition mode of the image acquisition device can be determined; and based on the real-time temperature of the electronic device, the relevant parameters of the acquisition mode of the image acquisition device can be adjusted; for example, when the basic acquisition mode is the dynamic range acquisition mode, the relevant parameters are used to determine the dynamic gain effect and specific dynamic range in the dynamic range acquisition mode.
[0122] For example, a target video acquisition command instructs the image acquisition device to activate high dynamic range (HDR) image acquisition. Upon receiving the target video acquisition command, the electronic device activates HDR video acquisition. Simultaneously, the current real-time temperature of the electronic device is detected as 33°C. As the video recording duration increases, the current real-time temperature of the electronic device is detected as 37°C. Determined to be high, the acquisition mode of the image acquisition device is adjusted to a lower dynamic range mode. In lower dynamic range mode, the image sensor's range for capturing light intensity narrows, reducing the dynamic range of the synthesized image and thus decreasing the amount of data processed during video recording, thereby reducing the temperature rise of the electronic device. During recording, as heat continues to be generated inside the electronic device, the temperature further rises to 42°C. The acquisition mode is adjusted again based on the real-time temperature to further reduce the dynamic range of the acquired image, for example, by reducing over-capturing of highlights, to further alleviate the burden on the device for image processing.
[0123] Furthermore, when the user pauses video recording, the electronic device's real-time temperature drops to 33°C after a period of time. Upon detecting the temperature change, the image acquisition device's acquisition mode is readjusted to a higher dynamic range mode to improve the quality of the acquired images.
[0124] By employing the above method, the acquisition mode of the image acquisition device is dynamically adjusted according to the real-time temperature, effectively preventing interruptions in image acquisition or processing due to excessively high device temperatures. Reducing the dynamic range of the acquired images at high temperatures decreases the amount of image data processing and lowers the computational load on the electronic equipment, thereby ensuring stable video acquisition under various temperature conditions and improving the reliability of video recording for users.
[0125] According to an embodiment of this disclosure, in operation S103, a video recording environment for an electronic device is constructed based on state data, and operations S1034 to S1035 are also included.
[0126] Operation S1034 obtains the control strategy for the brightness of the electronic device's display screen. The display screen is used to display a preview image in real time during the video recording process, in response to a video capture command, by acquiring a captured image through an image acquisition device and generating a video based on the captured image.
[0127] Operation S1035 executes a control strategy corresponding to the real-time temperature of the electronic device on the display screen.
[0128] Specifically, the preview image generated based on the acquired image will be displayed in real time on the screen of the electronic device; the brightness control strategy of the screen is based on the real-time temperature, and the preview image can be displayed at different brightness levels under different real-time temperatures.
[0129] For example, a pre-set display brightness control strategy is obtained. The display brightness control strategy includes display brightness adjustment rules corresponding to different temperature ranges. For example, when the temperature is between 30℃ and 35℃, the display brightness is kept at the default 50%; when the temperature is between 35℃ and 40℃, the brightness is reduced to 40%; when the temperature is above 40℃, the brightness is further reduced to 30%.
[0130] During video recording, a real-time temperature of 36℃ was detected. Based on the control strategy, the display brightness was reduced from the default 50% to 40%. This resulted in a slight decrease in the brightness of the video preview image on the display during recording, but the recorded content was still relatively clear. As recording continued, the temperature was detected again at 42℃; the display brightness was further reduced to 30%.
[0131] In the embodiments of this disclosure, the display brightness is adjusted according to the real-time temperature, but this is done while ensuring that the user can view the preview image normally. Under different temperature conditions, the user can still distinguish the content on the screen, meeting the user's basic visual needs during video recording, while also ensuring the operation of the video recording process.
[0132] By employing the above method, the display brightness is adjusted based on real-time temperature, reducing the display's power consumption when the electronic device's temperature rises, thereby reducing the heat generated by the device. This maintains the stable temperature of the electronic device during video recording, preventing interruptions in image acquisition or processing due to overheating and ensuring the continuity of video recording.
[0133] In embodiments of this disclosure, the status data of the electronic device may include: temperature status data of each hardware component in the electronic device; operating status data of the processor in the electronic device; runtime data of the image acquisition device; and spatial location data of the electronic device.
[0134] In some embodiments, the real-time temperature of an electronic device can be determined based on the state data of the electronic device. The overall power consumption of the electronic device is determined by the state data, and then the heat generation of the electronic device is determined. The heat generation of the electronic device is compared with the heat dissipation performance curve of the electronic device to determine the change in the real-time temperature of the electronic device.
[0135] In some embodiments, when the real-time temperature of the electronic device changes, the process of the image acquisition device acquiring images and generating videos based on the acquired images can be maintained by reducing the performance of other hardware and software that are unrelated to the image acquisition device acquiring images and generating videos based on the acquired images.
[0136] In some embodiments, during the process of constructing the video recording environment of an electronic device based on its real-time temperature, different ranges of real-time temperature can be calibrated. When the change in real-time temperature does not exceed a certain range, the current video recording environment of the electronic device remains unchanged.
[0137] A second aspect of this disclosure provides an electronic device, comprising:
[0138] Image acquisition device, and
[0139] The processor is used to acquire video capture instructions, which instruct the image acquisition device to acquire images and generate video based on the acquired images; based on the video capture instructions, it acquires status data of the electronic device; based on the status data, it constructs the video recording environment of the electronic device; based on the video recording environment, in response to the video capture instructions, it acquires images through the image acquisition device and generates video based on the acquired images.
[0140] The video recording environment is at least related to the temperature of the electronic device; the video recording environment is used to adapt to the temperature of the electronic device to maintain responsiveness to video acquisition commands, acquire images through the image acquisition device, and generate video based on the acquired images.
[0141] Figure 5A One of the schematic diagrams of an electronic device according to an embodiment of the present disclosure is shown.
[0142] like Figure 5A As shown, the electronic device 500 obtains status data through the temperature control engine 510. Specifically, when the electronic device 500 obtains a video acquisition command, it begins to acquire status data from various sources, including but not limited to the temperature data of the hardware in the electronic device 500, the operating frequency and operating status of the processor (which may be one or more of CPU, GPU and NPU), the video recording duration during the process of generating video based on the acquired images, and the spatial displacement change information of the electronic device in the video recording environment.
[0143] The temperature control engine 510 determines the temperature level of the electronic device 500 based on the aforementioned status data, and then adjusts the operating modes of the processor 520, image acquisition device 530, and display screen 540 according to different temperature levels. When the processor 520, image acquisition device 530, and display screen 540 are in different operating modes, the video recording environment of the electronic device is also different.
[0144] For example, the temperature rise levels include levels 0 to 3. Levels 0 and 1 indicate that the power consumption and temperature rise level of the current electronic device is low, level 2 indicates that the power consumption and temperature rise level of the current electronic device is moderate, and level 3 indicates that the power consumption and temperature rise level of the current electronic device is high. Among them, the higher the temperature rise level of the electronic device 500, the more severe the heat generation of the electronic device.
[0145] For the processor 520, the image enhancement algorithm module 521 can detect changes in the video recording scene in real time by using the device space displacement information of the electronic device. When it is determined that the current video acquisition scene is a static scene and the device space position of the electronic device is stable, the operating frequency of the processor 520 is controlled.
[0146] For the image enhancement algorithm module 521, at level 0, the video processing algorithm is fully enabled regardless of whether the current video capture scene is static or dynamic; at level 1, when the current video capture scene is determined to be static, the image enhancement algorithm module 521 is controlled to reduce the scene detection frequency; at level 2, when the current video capture scene is determined to be static, the image enhancement algorithm module 521 is controlled to reduce the scene detection frequency, and the rendering degree of the image rendering curve used in the image enhancement algorithm module 521 is reduced; at level 3, the process of using the image enhancement algorithm module 521 to process the captured image and generate video is stopped.
[0147] Regarding the image acquisition device 530, in levels 0 and 1, the image acquisition device 530 is controlled to acquire images using ultra-high dynamic range. For example, the image acquisition device 530 can acquire and output 12-bit and 10-bit RAW format images to the image signal processor 531, which can further synthesize the 12-bit and 10-bit RAW format images into a 15-bit RAW format image. In levels 2 and 3, the image acquisition device 530 is controlled to acquire images using ordinary high dynamic range. For example, the image acquisition device 530 can acquire and directly output 12-bit RAW format images without image synthesis by the image signal processor 531.
[0148] For image sensor 540, in levels 0 and 1, the brightness of display 540 when displaying preview video is not controlled; in level 2, the screen brightness of display 540 is controlled to 50%; and in level 3, the screen brightness of display 240 is controlled to 30%.
[0149] According to embodiments of this disclosure, the processor is further configured to: detect changes in the video capture scene; if the video capture scene is a static scene, construct the video recording environment of the electronic device based on the state data; the state data includes the real-time temperature of the electronic device.
[0150] According to embodiments of this disclosure, the processor is further configured to:
[0151] In response to a video capture command, the system detects changes in the video capture scene during the process of acquiring images through an image capture device and generating video based on those images. Each time the video capture scene is determined to switch from a first static scene to a second static scene, a video recording environment is constructed based on the real-time temperature of the electronic device. The first static scene and the second static scene are different.
[0152] Figure 5B A schematic diagram of an electronic device according to an embodiment of the present disclosure is shown for the second time.
[0153] like Figure 5B As shown, the processor 520 acquires the captured image from the image acquisition device 530 and further generates video; during the above process, changes in the video acquisition scene are detected in real time. When the video scene changes, the processor 520 re-determines the video recording environment based on the real-time temperature of the electronic device 500.
[0154] According to embodiments of this disclosure, the processor is also configured to perform any of the following operations:
[0155] Adjust the detection frequency of the video acquisition scene based on the real-time temperature of the electronic device;
[0156] Based on the real-time temperature of the electronic device, the calculation frequency of the image enhancement algorithm module during the process of generating video from acquired images is adjusted;
[0157] The higher the real-time temperature, the lower the detection and calculation frequency.
[0158] In some scenarios, the processor 520 can adjust the detection frequency of the video acquisition scene based on the real-time temperature of the electronic device determined by the temperature control engine. Specifically, as the real-time temperature rises, the processor 520 reduces the detection frequency of the video acquisition scene to slow down or avoid the rising trend of the real-time temperature.
[0159] Figure 5CThe schematic diagram shows the third schematic diagram of an electronic device according to an embodiment of the present disclosure.
[0160] like Figure 5C As shown, in other scenarios, the processor 520 can adjust the calculation frequency of the image enhancement algorithm module 521 during the process of generating video from acquired images based on the real-time temperature of the electronic device determined by the temperature control engine. In this case, as the real-time temperature rises, the processor 520 reduces the calculation frequency of the image enhancement algorithm module 521, thereby slowing down or avoiding the rising trend of the real-time temperature.
[0161] According to embodiments of this disclosure, the processor is further configured to:
[0162] If the video capture scenario is a static scenario, the operating frequency of the processor used to respond to video capture commands, acquire images through the image acquisition device, and generate video based on the real-time temperature of the electronic device is adjusted; wherein, the higher the real-time temperature, the lower the processor's operating frequency; the status data includes the processor's operating status.
[0163] In the embodiments of this disclosure, when the video acquisition scene is a static scene, the scene detection frequency in the electronic device 500 can be maintained at a low level to avoid a real-time steady increase; at the same time, as the real-time temperature of the electronic device increases, the operating frequency of the processor 500 responsible for processing the acquisition and generating video needs to be reduced, thereby avoiding a further increase in the real-time temperature of the electronic device.
[0164] Figure 5D The schematic diagram shown is a fourth schematic diagram of an electronic device according to an embodiment of the present disclosure.
[0165] like Figure 5D As shown, when the operating frequency of the processor 500 decreases, the video processing frequency of the processor 500 in processing the acquired images obtained by the image acquisition device 530 and generating video decreases. At the same time, the rendering frequency of the processor 500 in controlling the image enhancement algorithm module for each frame of the video also decreases.
[0166] According to embodiments of this disclosure, the processor is further configured to:
[0167] If the video capture command is a target video capture command, the video recording environment of the electronic device is constructed based on the state data. The construction of the video recording environment of the electronic device based on the state data includes: determining the capture mode of the image capture device in response to the video capture command based on the real-time temperature of the electronic device; wherein, the capture mode of the image capture device is different for different real-time temperatures; the higher the real-time temperature, the lower the dynamic range of the captured image synthesized by the capture mode of the image capture device.
[0168] Figure 5EThe fifth schematic diagram illustrates the principle of an electronic device according to an embodiment of the present disclosure.
[0169] In embodiments of this disclosure, such as Figure 5E As shown, the processor 520 controls the dynamic range of the acquired image from the image acquisition device 530, causing changes in the dynamic range of the image input to the image signal processor 531. Consequently, the image signal processor 531 outputs images with different dynamic range formats. For example, when the real-time temperature is low, the processor 520 controls the image acquisition device 530 to acquire and output 12-bit and 10-bit RAW format images to the image signal processor 531. The image signal processor 531 can then further synthesize the 12-bit and 10-bit RAW format images into a 14-bit RAW format image. When the real-time temperature is high, the processor 520 controls the image acquisition device 530 to acquire images using a standard high dynamic range method, directly outputting a 12-bit RAW format image without requiring image synthesis by the image signal processor 531.
[0170] According to embodiments of this disclosure, the processor is further configured to:
[0171] A control strategy for the brightness of the electronic device's display screen is obtained. The display screen is used to display a preview image during the video recording process in real time when responding to a video capture command, acquiring images through an image acquisition device, and generating video based on the acquired images. Based on the real-time temperature of the electronic device, a control strategy corresponding to the real-time temperature is executed for the display screen.
[0172] Figure 5F The schematic diagram illustrates the sixth schematic diagram of an electronic device according to an embodiment of the present disclosure.
[0173] In embodiments of this disclosure, such as Figure 5F As shown, when the real-time temperature is low, the processor 520 does not intervene in controlling the brightness of the display screen 540 when displaying the preview video; when the real-time temperature is high, the processor 520 controls the screen brightness of the display screen 540 to decrease. At the same time, the real-time preview image of the video recording process displayed on the display screen 540 needs to ensure that the screen brightness can be viewed normally by the user.
[0174] It should be noted that the electronic device part in the embodiments of this disclosure corresponds to the control method part in the embodiments of this disclosure, and their specific implementation details are the same, so they will not be repeated here.
[0175] Figure 6 A block diagram of an electronic device suitable for implementing the control method described above, according to an embodiment of the present disclosure, is shown schematically. Figure 6The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0176] like Figure 6 As shown, an electronic device 600 according to an embodiment of this disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include onboard memory configured for caching purposes. The processor 601 may include a single processing unit or multiple processing units configured to perform different actions of the method flow according to an embodiment of this disclosure.
[0177] RAM 603 stores various programs and data required for the operation of electronic device 600. Processor 601, ROM 602, and RAM 603 are interconnected via bus 604. Processor 601 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 602 and / or RAM 603. It should be noted that the programs may also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0178] According to embodiments of this disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to a bus 604. The electronic device 600 may also include one or more of the following components connected to the input / output (I / O) interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 610 as needed so that computer programs read from it can be installed into the storage section 608 as needed.
[0179] According to embodiments of this disclosure, the method flow according to embodiments of this disclosure can be implemented as a computer software program. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code configured to perform the methods shown in the flowchart. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by processor 601, it performs the functions defined in the system of embodiments of this disclosure. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0180] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0181] According to embodiments of this disclosure, the computer-readable storage medium can be a non-volatile computer-readable storage medium. Examples include, but are not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0182] For example, according to embodiments of this disclosure, a computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.
[0183] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code configured to perform the methods provided in embodiments of this disclosure. When the computer program product is run on an electronic device, the program code is configured to cause the electronic device to implement the control methods provided in embodiments of this disclosure.
[0184] When the computer program is executed by the processor 601, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0185] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 609, and / or installed from the removable medium 611. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0186] According to embodiments of this disclosure, program code configured to execute the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user computing device, partially on a user device, partially on a remote computing device, or entirely on a remote computing device. In cases involving remote computing devices, the remote computing device can be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0187] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions configured to perform a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. Those skilled in the art will understand that the features described in the various embodiments of the present disclosure can be combined and / or combined in various ways, even if such combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of this disclosure may be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0188] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A control method applied to an electronic device, comprising: Obtain a video capture instruction, which instructs the image capture device to acquire a captured image and generate a video based on the captured image; Based on the video acquisition command, the status data of the electronic device is obtained; Based on the status data, the video recording environment of the electronic device is constructed; Based on the video recording environment, in response to the video acquisition command, the image acquisition device acquires the captured image and generates a video based on the captured image; The video recording environment is at least related to the temperature of the electronic device; the video recording environment is used to adapt to the temperature of the electronic device to maintain responsiveness to the video acquisition command, acquire images through the image acquisition device, and generate video based on the acquired images.
2. The method according to claim 1, wherein constructing a video recording environment for the electronic device based on the state data includes: Detect changes in the video capture scene; If the video capture scenario is a static scenario, the video recording environment of the electronic device is constructed based on the status data; The status data includes the real-time temperature of the electronic device.
3. The method according to claim 2, wherein if the video acquisition scene is a static scene, constructing the video recording environment of the electronic device based on the state data includes: In response to the video capture command, changes in the video capture scene are detected during the process of acquiring captured images through the image acquisition device and generating video based on the captured images; Each time a video capture scene is determined, the system switches from the first static scene to the second static scene, and a video recording environment is constructed based on the real-time temperature of the electronic device. The first static scene and the second static scene are different.
4. The method according to claim 2 or 3, wherein the video recording environment of the electronic device is constructed based on the state data, comprising at least one of the following: Based on the real-time temperature of the electronic device, the detection frequency of the video acquisition scene is adjusted. Based on the real-time temperature of the electronic device, the calculation frequency of the image enhancement algorithm module acting on the acquired image to generate video is adjusted; in, The higher the real-time temperature, the lower the detection frequency and the calculation frequency.
5. The method according to claim 2, further comprising constructing a video recording environment for the electronic device based on the state data: If the video capture scenario is a static scenario, the operating frequency of the processor used to acquire images through the image acquisition device and generate video based on the real-time temperature of the electronic device is adjusted based on the video capture command. The higher the real-time temperature, the lower the operating frequency of the processor; the status data includes the operating status of the processor.
6. The method according to claim 1 or 3, wherein obtaining video capture instructions includes: If the video capture command is a target video capture command, the video recording environment of the electronic device is constructed based on the state data. The step of constructing the video recording environment of the electronic device based on the state data includes: determining the acquisition mode of the image acquisition device in response to the video acquisition command based on the real-time temperature of the electronic device; The image acquisition device uses different acquisition modes depending on the real-time temperature; the higher the real-time temperature, the lower the dynamic range of the acquired image synthesized by the acquisition mode of the image acquisition device.
7. The method according to claim 1, further comprising constructing a video recording environment for the electronic device based on the state data: A control strategy for the brightness of the display screen of the electronic device is obtained, wherein the display screen is used to display a preview image in real time during the process of acquiring a captured image through the image acquisition device and generating a video based on the captured image in response to the video acquisition command; Based on the real-time temperature of the electronic device, a control strategy corresponding to the real-time temperature is executed for the display screen.
8. An electronic device, comprising: Image acquisition device, and A processor is configured to acquire video capture instructions, the video capture instructions being used to instruct the image acquisition device to acquire captured images and generate video based on the acquired images; Based on the video acquisition command, the status data of the electronic device is obtained; Based on the status data, the video recording environment of the electronic device is constructed; Based on the video recording environment, in response to the video acquisition command, the image acquisition device acquires the captured image and generates a video based on the captured image; The video recording environment is at least related to the temperature of the electronic device; the video recording environment is used to adapt to the temperature of the electronic device to maintain responsiveness to the video acquisition command, acquire images through the image acquisition device, and generate video based on the acquired images.
9. The electronic device according to claim 8, wherein the processor is further configured to: Detect changes in the video capture scene; If the video capture scenario is a static scenario, the video recording environment of the electronic device is constructed based on the status data; the status data includes the real-time temperature of the electronic device.
10. The electronic device according to claim 8 or 9, wherein the processor is further configured to: In response to the video capture command, changes in the video capture scene are detected during the process of acquiring captured images through the image acquisition device and generating video based on the captured images; Each time a video capture scene is determined, the system switches from the first static scene to the second static scene, and a video recording environment is constructed based on the real-time temperature of the electronic device. in, The first static scene and the second static scene are different.