Monitoring equipment control method and device, storage medium and electronic equipment

By determining the target location and controlling the pan-tilt-zoom (PTZ) unit to rotate when the monitoring equipment switches states, the problem of low monitoring resource utilization in AOV mode is solved, enabling effective monitoring of different areas and improving the resource utilization of monitoring equipment.

CN121833392APending Publication Date: 2026-04-10HANGZHOU HUACHENG SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511822646.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-04
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Monitoring equipment in AOV mode suffers from low utilization of monitoring resources, cannot effectively cover a wider area, and has serious monitoring blind spots.

Method used

When the monitoring device switches from low-power mode to data writing mode, it determines the target location and controls the pan-tilt unit to rotate to that location for monitoring. Then, it writes the cached data from the data buffer into the memory before returning to low-power mode. The target location can be determined based on factors such as the location where the target object disappears, a preset location, historical monitoring data, and environmental information.

Benefits of technology

It improves the utilization rate of monitoring resources in AOV mode, solves the problem of blind spots in monitoring, and realizes effective monitoring of different areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121833392A_ABST
    Figure CN121833392A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and device of monitoring equipment, a storage medium and electronic device.The method comprises the steps that under the condition that the monitoring equipment is switched from a low-power-consumption state to a data write-in state, a target position is determined, and the data write-in state is used for indicating that cache data in a data cache is written into a storage; controlling the holder to rotate to the target position so as to monitor the monitoring sub-area corresponding to the target position; writing the cached data in the data cache into a memory; and controlling the monitoring equipment to enter a low-power-consumption state from a data write-in state under the condition that the holder rotates to the target position and all the cache data is written into the memory. According to the method and the device, the problem that the monitoring resource utilization rate of the monitoring equipment in the AOV mode is low in the prior art is solved, and the effect of improving the monitoring resource utilization rate of the monitoring equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of monitoring technology, and more specifically, to a control method, apparatus, storage medium, and electronic device for a monitoring device. Background Technology

[0002] AOV (Always On Video) mode is a low-power operating state designed for PTZ cameras to achieve ultra-long battery life. In this mode, the camera captures images at a low frame rate interval and temporarily stores the image data in an internal buffer instead of immediately writing it to power-intensive external storage (such as an SD card). Only when the buffer is full or a predetermined time interval is reached will the system wake up the main control unit to perform data transfer operations. In AOV mode, to maximize power saving, the camera locks the PTZ motor in AOV sleep mode, causing the monitoring view to be fixed in one position for a long time, which cannot effectively cover a wider area, resulting in serious monitoring blind spots and ineffective utilization of the monitoring equipment's monitoring resources.

[0003] This indicates that there is a problem with the low utilization rate of monitoring resources in AOV mode in related technologies.

[0004] There is currently no effective solution to the aforementioned problems in the relevant technologies. Summary of the Invention

[0005] This application provides a control method, apparatus, storage medium, and electronic device for monitoring equipment, so as to at least solve the technical problem of monitoring blind spots in AOV mode of monitoring equipment in related technologies.

[0006] According to one aspect of the embodiments of this application, a control method for a monitoring device is provided, applied to the monitoring device, wherein the monitoring device includes a memory, a data buffer, and a pan-tilt unit (PTZ), comprising: determining a target location when the monitoring device switches from a low-power state to a data writing state, wherein the data writing state is used to indicate writing cached data in the data buffer into the memory; controlling the PTZ to rotate to the target location to monitor a monitoring sub-area corresponding to the target location; writing the cached data in the data buffer into the memory; and controlling the monitoring device to enter the low-power state from the data writing state when the PTZ has rotated to the target location and all the cached data has been written into the memory.

[0007] In an exemplary embodiment, determining the target location includes: if the target object tracked by the monitoring device disappears from the monitoring area of ​​the monitoring device, determining the last detected disappearance location of the target object and determining the disappearance location as the target location; or, if a preset location exists, determining the preset location as the target location; or, if the preset location does not exist, determining the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data, determining a first monitoring sub-area based on the heat value, and determining the first PTZ position corresponding to the first monitoring sub-area as the target location, wherein the monitoring area of ​​the monitoring device includes multiple monitoring sub-areas, and the multiple monitoring sub-areas include the first monitoring sub-area; or, if a historical access location exists and the historical access location is within its validity period, determining the historical access location as the target location, wherein the historical access location is the location specified in the control command input by the user through the target interface; or, randomly determining the target location within the rotation range of the PTZ; or, determining the environmental information of the monitoring area and determining the target location based on the environmental information; or, determining other monitoring areas of other devices located in the same area as the monitoring device and determining the target location based on the other monitoring areas.

[0008] In an exemplary embodiment, determining the disappearance location as the target location includes: controlling the pan-tilt unit to rotate to the disappearance location and staying at the disappearance location for a preset observation time; and determining the disappearance location as the target location if the monitoring device does not detect the target object within the preset observation time.

[0009] In an exemplary embodiment, before determining the historical access location as the target location, the method further includes: determining the end time of the access request corresponding to the historical access location; starting a first timer at the end time to obtain a first timer duration; starting a second timer when the first timer duration reaches a first predetermined duration to obtain a second timer duration; determining that the historical access location is within the validity period when the second timer duration is less than or equal to a second predetermined duration; and determining that the historical access location is outside the validity period when the second timer duration is greater than the second predetermined duration.

[0010] In an exemplary embodiment, determining the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data includes: performing the following operations for each monitoring sub-area to determine the heat value of the monitoring sub-area: determining the event occurrence frequency of events occurring in the monitoring sub-area; determining the event type and event duration of events occurring in the monitoring sub-area; determining the type weight corresponding to the event type; determining the duration weight corresponding to the event duration; and determining the heat value based on the event occurrence frequency, the type weight, and the duration weight.

[0011] In an exemplary embodiment, determining the popularity value based on the event occurrence frequency, the type weight, and the duration weight includes: determining the popularity value as the product of the event occurrence frequency, the type weight, the duration weight, and the time decay factor.

[0012] In one exemplary embodiment, determining the target location based on the environmental information includes: if the current time is within a preset time period, determining the illumination information included in the environmental information, determining the second monitoring sub-area corresponding to the target illumination information that meets preset conditions included in the illumination information, and determining the second PTZ position corresponding to the second monitoring sub-area as the target location; or, determining the sound information included in the environmental information, determining the sound source direction based on the sound information, and determining the target location based on the sound source direction; or, determining the target weather information included in the environmental information, and determining the target location corresponding to the target weather information in the correspondence between weather information and PTZ position.

[0013] In an exemplary embodiment, controlling the pan-tilt unit to rotate to the target position includes: determining a first power consumption required for the pan-tilt unit to rotate from its current position to the target position; determining a rotation budget for the monitoring device; controlling the pan-tilt unit to rotate to the target position if the first power consumption is less than or equal to the rotation budget; adjusting the target position to obtain an adjusted position if the first power consumption is greater than the rotation budget, wherein a second power consumption required for the pan-tilt unit to rotate from its current position to the adjusted position is less than the rotation budget; and controlling the pan-tilt unit to rotate to the adjusted position.

[0014] In an exemplary embodiment, after controlling the PTZ to rotate to the target position, the method further includes: generating a rotation log of the PTZ rotation, wherein the rotation log includes a reason for rotation; and pushing the rotation log to a target application, wherein the target application is an application associated with the monitoring device.

[0015] In one exemplary embodiment, determining a target location includes: displaying rules for determining the target location in a display interface of a target application; receiving a selection instruction input by a user through the display interface; and determining the target location based on the target rules included in the selection instruction.

[0016] According to another aspect of the embodiments of this application, a control device for a monitoring device is also provided, applied to the monitoring device, wherein the monitoring device includes a memory, a data buffer, and a pan-tilt unit, comprising: a determination module, configured to determine a target location when the monitoring device switches from a low-power state to a data writing state, wherein the data writing state is used to indicate that cached data in the data buffer is written into the memory; a control module, configured to control the pan-tilt unit to rotate to the target location to monitor the monitoring sub-area corresponding to the target location; a writing module, configured to write the cached data in the data buffer into the memory; and a switching module, configured to control the monitoring device to switch from the data writing state to the low-power state when the pan-tilt unit has rotated to the target location and all the cached data has been written into the memory.

[0017] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed by a processor.

[0018] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to perform the steps of any of the above method embodiments through the computer program.

[0019] This application enables the monitoring device to determine a target location and control the pan-tilt unit (PTZ) to rotate to the target location while switching from a low-power state to a data writing state, thereby monitoring the corresponding sub-area. It also writes cached data from the data buffer into the memory. Once the PTG has rotated to the target location and all cached data is written to memory, the monitoring device is controlled to transition from the data writing state to a low-power state. Because the PTG can be controlled during the monitoring device's wake-up period, it allows the device to monitor different areas. Therefore, this addresses the problem of low resource utilization in AOV mode in related technologies, thereby improving the resource utilization of monitoring devices. Attached Figure Description

[0020] Figure 1 This is a schematic diagram illustrating an application scenario of a control method for a monitoring device according to an embodiment of this application;

[0021] Figure 2 This is a flowchart illustrating an optional control method for a monitoring device according to an embodiment of this application.

[0022] Figure 3 This is a structural block diagram of a control device for an optional monitoring equipment according to an embodiment of this application;

[0023] Figure 4 A computer system architecture block diagram of an optional electronic device according to an embodiment of this application. Detailed Implementation

[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0026] According to one aspect of the embodiments of this application, a control method for a monitoring device is provided. Optionally, in this embodiment, the control method for the monitoring device may be applied, but is not limited to, to applications such as... Figure 1 The hardware environment shown includes terminal device 102 and server 104. Server 104 can be connected to terminal device 102 via a network and can be used to provide services (e.g., application services, etc.) to terminal device 102 or clients installed on terminal device 102. A database can be set up on server 104 or independently of server 104 to provide data storage services for server 104.

[0027] The aforementioned network may include, but is not limited to, at least one of the following: wired network and wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network (WAN), metropolitan area network (MAN), and local area network (LAN). The aforementioned wireless network may include, but is not limited to, at least one of the following: Wireless Fidelity (WIFI) and Bluetooth. Terminal device 102 may be, but is not limited to, a personal computer (PC), mobile phone, tablet computer, etc. Server 104 may be, but is not limited to, a cloud server, server cluster, or other server types.

[0028] The control method for the monitoring device in this embodiment can be executed by server 104, terminal device 102, or jointly by server 104 and terminal device 102. Alternatively, the control method for the monitoring device in this embodiment can be executed by a client installed on the terminal device 102.

[0029] Taking the control method of the monitoring device in this embodiment executed by terminal device 102 (server 104) as an example, Figure 2 This is a flowchart illustrating an optional control method for a monitoring device according to an embodiment of this application, as shown below. Figure 2 As shown, the process of this method may include the following steps:

[0030] Step S202: When the monitoring device switches from a low-power state to a data writing state, determine the target location, wherein the data writing state is used to indicate that the cached data in the data buffer is written to the memory;

[0031] In this embodiment, the control method for the monitoring device can be applied to the monitoring device, which may include a pan-tilt unit, a memory, and a data buffer. The monitoring device may be a device with an AOV (Area of ​​View) mode, which enters a low-power state when not woken up, or after being woken up for a period of time.

[0032] In this embodiment, before determining the target location, the method further includes: determining the remaining storage space in the data buffer; if the remaining storage space is less than a predetermined threshold, switching the monitoring device from a low-power state to a write state; determining the number of images stored in the buffer; if the number of images is greater than a preset number, switching the monitoring device from a low-power state to a write state; and determining the target duration for the monitoring device to enter the low-power state; if the target duration is greater than a preset duration, switching the monitoring device from the low-power state to a write state.

[0033] In this embodiment, the target location can be determined based on historical monitoring data of the monitoring equipment, environmental information of the monitoring area of ​​the monitoring equipment, selection instructions, or preset locations.

[0034] Step S204: Control the pan-tilt unit to rotate to the target position in order to monitor the monitoring sub-area corresponding to the target position;

[0035] In this embodiment, the monitoring area of ​​the monitoring device may include multiple monitoring sub-areas, and one monitoring sub-area corresponds to one pan-tilt position. For example, when monitoring sub-area 1 corresponds to position 1, when the pan-tilt is rotated to position 1, the monitoring field of the monitoring device is monitoring sub-area 1.

[0036] Step S206: Write the cached data in the data cache into the memory;

[0037] In this embodiment, when the monitoring device is woken up, the cached data in the data cache can be written to the memory, and after the writing is completed, the data in the data cache is deleted to free up the space of the data cache.

[0038] It should be noted that steps S204 and S206 can be executed synchronously or sequentially. When they are sequential, step S204 can be executed first, followed by step S206, or vice versa.

[0039] Step S208: When the gimbal has rotated to the target position and all the cached data has been written into the memory, control the monitoring device to enter the low-power state from the data writing state.

[0040] In this embodiment, the "power consumption window" during which the monitoring device is forcibly woken up due to necessary internal operations (such as writing cached data to storage) is considered a valuable opportunity to optimize the monitoring perspective. During this window, the pan-tilt-zoom (PTZ) rotation operation is performed in parallel. The monitoring device enters AOV low-power mode, acquiring images at a preset low frame rate interval and storing the compressed image data in a fixed-size circular buffer, i.e., a data buffer. Preset wake-up conditions are continuously monitored. When any condition is met (e.g., a. buffer storage space occupancy reaches a threshold (e.g., 6MB); b. cached image frame count reaches a threshold (e.g., 600 frames); c. a low-power timer times out), the system immediately exits AOV mode, waking up the main processor, memory controller, and other core units. The monitoring device can first execute a high-priority task, that is, completely writing all image data in the buffer to external persistent storage (e.g., an SD card). During the parallel writing operation, the "strategy decision module" can be invoked to calculate a target position, including coordinates, horizontal angle, and pitch angle, based on one or more preset strategies. Subsequently, the "PTZ control module" drives the PTZ motor to rotate the camera lens to the target position. The monitoring equipment can continuously monitor the status of two tasks: a. whether data writing is complete; b. whether the pan-tilt unit has stably reached the target position. Once both are completed, it immediately re-enters AOV low-power mode and begins a new round of interval image acquisition from a new lens perspective.

[0041] This application enables the monitoring device to determine a target location and control the pan-tilt unit (PTZ) to rotate to the target location while switching from a low-power state to a data writing state, thereby monitoring the corresponding sub-area. It also writes cached data from the data buffer into the memory. Once the PTG has rotated to the target location and all cached data is written to memory, the monitoring device is controlled to transition from the data writing state to a low-power state. Because the PTG can be controlled during the monitoring device's wake-up period, it allows the device to monitor different areas. Therefore, this addresses the problem of low resource utilization in AOV mode in related technologies, thereby improving the resource utilization of monitoring devices.

[0042] In an exemplary embodiment, determining the target location includes: if the target object tracked by the monitoring device disappears from the monitoring area of ​​the monitoring device, determining the last detected disappearance location of the target object and determining the disappearance location as the target location; or, if a preset location exists, determining the preset location as the target location; or, if the preset location does not exist, determining the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data, determining a first monitoring sub-area based on the heat value, and determining the first PTZ position corresponding to the first monitoring sub-area as the target location, wherein the monitoring area of ​​the monitoring device includes multiple monitoring sub-areas, and the multiple monitoring sub-areas include the first monitoring sub-area; or, if a historical access location exists and the historical access location is within its validity period, determining the historical access location as the target location, wherein the historical access location is the location specified in the control command input by the user through the target interface; or, randomly determining the target location within the rotation range of the PTZ; or, determining the environmental information of the monitoring area and determining the target location based on the environmental information; or, determining other monitoring areas of other devices located in the same area as the monitoring device and determining the target location based on the other monitoring areas. In this embodiment, after the monitoring device switches from a low-power state to a data writing state, if the monitoring device detects a target object, it can track the target object. When the target object disappears, the position of the PTZ at the time of disappearance can be determined as the target location. For example, the camera is in sleep mode at position A in AOV mode. Its low-power sensing unit (such as a PIR sensor or a low-power AI chip) detects a valid target (such as a human figure) at position B, the system is woken up, and high-definition recording and automatic PTZ tracking functions are started, so that the lens continuously follows the target's movement.

[0043] In this embodiment, it can also check whether there is a user-defined key preset position (such as "gate" position B) that must be returned to after the event ends, i.e., a preset position. If it exists, the pan-tilt unit moves to that preset position. For example, the user can set multiple preset positions for the camera through the client (such as position P1 - gate, P2 - garage, P3 - backyard). The strategy decision module can maintain a preset position pointer. Each time a decision is needed, the pointer points to the next preset position sequentially (P1→P2→P3→P1...) or randomly, and uses the coordinates of that preset position as the target position. This setting achieves the effects of simple implementation, high determinism, and ensuring that key points are periodically covered.

[0044] In this embodiment, if there are no user presets, the heat value of each monitoring sub-area can be determined based on the "location-time heat map" generated from historical monitoring data. The area with the highest heat value is determined as the first monitoring sub-area, and the first PTZ position corresponding to the first monitoring sub-area is determined as the target position. When the PTZ is rotated to the first PTZ position, the monitoring field of view of the monitoring device is the first monitoring sub-area.

[0045] In this embodiment, the user's temporary monitoring intentions can be captured and respected. The user can actively interact with the scene through a client (such as a mobile app), for example, by initiating a real-time video stream request (pull stream) to the camera. The camera is thus forcibly awakened, exits AOV mode, and establishes a real-time video transmission channel. The user can use the directional keys on the client interface or directly click on a point on the electronic map to control the pan-tilt unit to rotate to its desired monitoring angle (position E). The user can then stop operating and exit the real-time preview interface or close the client. After the historical access period ends, the target location is determined based on the historical access locations.

[0046] In this embodiment, a legal location coordinate within the gimbal's movement range can be randomly generated as the target location with a small probability (e.g., 5% or 10%), ignoring other strategies during decision-making. Randomly determining the target location breaks the "monitoring mindset" that might result from intelligent learning, actively explores non-hotspot areas, effectively avoids monitoring blind spots caused by model rigidity, and enhances the system's exploratory nature and robustness.

[0047] In this embodiment, the target location can also be determined based on environmental information, which may include weather information, sound information, light information, etc. This environmental information can be data collected by sensors integrated into the monitoring equipment, or environmental data collected by other monitoring equipment located in the same area as the monitoring equipment.

[0048] In this embodiment, in a system deploying multiple AOV cameras, the devices can exchange information via low-power communication protocols (such as Zigbee, LoRa) or a local area network. When a monitoring device (Device A) needs to determine the target location, it queries neighboring devices (i.e., other monitoring devices, such as Devices B and C) for their recent event records and hotspot area information. Device A combines its own and its neighbors' information to determine a location that can fill in the blind spots of its neighbors or create an intersecting view with its neighbors to enhance the monitoring effect of a specific area. This elevates intelligence from a single point to a system-level intelligence, enabling collaborative operation between devices and optimizing the overall coverage efficiency of the monitoring network.

[0049] In an exemplary embodiment, determining the disappearance location as the target location includes: controlling the pan-tilt unit (PTZ) to rotate to the disappearance location and remaining there for a preset observation period; if the monitoring device does not detect the target object within the preset observation period, the disappearance location is determined as the target location. In this embodiment, the target disappears from the monitoring screen at location C during its movement (e.g., obscured by an obstacle or out of view), and the automatic tracking function stops due to target loss. Afterward, the system does not immediately perform a large-scale pan-tilt rotation, but instead controls the PTG to remain stationary at the last disappearance location C and initiates an observation period of a preset observation period (e.g., 10 to 30 seconds). This is based on the reasonable assumption that the target's behavior may be continuous. If the target reappears near location C during the observation period, the system immediately reactivates the automatic tracking function and continues tracking the target. If the target still does not appear after the observation period ends, the system determines that the independent event chain has essentially ended and switches to the regular location decision logic. The disappearance location is then determined as the target location. In an exemplary embodiment, before determining the historical access location as the target location, the method further includes: determining the end time of the access request corresponding to the historical access location; starting a first timer at the end time to obtain a first timer duration; starting a second timer to obtain a second timer duration if the first timer duration reaches a first predetermined duration; determining that the historical access location is within the validity period if the second timer duration is less than or equal to the second predetermined duration; and determining that the historical access location is outside the validity period if the second timer duration is greater than the second predetermined duration. In this embodiment, when the system detects that a user control session has ended, i.e., the access request has ended, it starts a "no-operation confirmation timer" (e.g., 60 seconds) to prevent the user from returning after a brief absence. After the timer expires, i.e., the first timer duration reaches the first predetermined duration, it confirms that the user interaction has truly ended. The system marks the current location E of the PTZ as a "last user-specified location" with high priority, i.e., a historical access location, and sets a validity period (e.g., 12 hours or 24 hours) for this mark. If the historical access location is within its validity period (i.e., the second timing duration is less than or equal to the second predetermined duration), it can be determined that the historical access location is within its validity period. The system then designates the historical access location as the target location. The system controls the camera to directly enter AOV low-power mode at location E, thereby transforming the user's temporary intent into a subsequent monitoring focus. Within the validity period of the "user-specified location" marker, whenever the camera needs to select a target location due to the forced wake-up described in Part 1, the "strategy decision module" will prioritize querying this marker. If the marker is valid, the pan-tilt-zoom (PTZ) will rotate to location E. If the marker is invalid or does not exist, the system will degrade to using conventional intelligent strategies (such as polling preset positions or using heatmaps) to select the target location.In an exemplary embodiment, determining the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data includes: performing the following operations for each monitoring sub-area to determine the heat value of the monitoring sub-area: determining the event occurrence frequency of events occurring in the monitoring sub-area; determining the event type and event duration of events occurring in the monitoring sub-area; determining the type weight corresponding to the event type; determining the duration weight corresponding to the event duration; and determining the heat value based on the event occurrence frequency, the type weight, and the duration weight. In this embodiment, a location-time heat map can be determined based on historical monitoring data. During normal monitoring mode or when an event is triggered, metadata can be continuously recorded, including but not limited to: the location coordinates of the target, timestamp, target type (person, vehicle, pet), event type (motion detection, area intrusion), and duration. The space can be divided into grids by time (e.g., by hour, or by weekday / weekend), and a "heat value" can be calculated for each grid. The heat value can be calculated by the following weighting factors: event occurrence frequency × time decay factor × event type weight × average duration weight. When a target location needs to be selected, the system queries the heatmap based on the current time and selects the center area of ​​the grid with the highest heat value within the current time period as the target location. By determining the location corresponding to the highest heat value as the target location, the monitoring behavior can have self-learning and adaptive capabilities, and can proactively focus on areas with high incidence of anomalies.

[0050] In an exemplary embodiment, determining the popularity value based on the event occurrence frequency, the type weight, and the duration weight includes: determining the popularity value as the product of the event occurrence frequency, the type weight, the duration weight, and the time decay factor. In this embodiment, the popularity value can be expressed as event occurrence frequency × time decay factor × event type weight × duration weight. The duration weight can be an average duration weight, and the time decay factor can be preset.

[0051] In this embodiment, a rule-based heat accumulation algorithm can be used instead of a complex machine learning model. For example, by simply counting the number of events occurring in each region within different time periods and applying a simple time decay factor, computational and storage requirements can be significantly reduced. Furthermore, fixed-point numbers can be used instead of floating-point numbers for algorithmic operations on embedded chips, improving computational efficiency.

[0052] In an exemplary embodiment, determining the target location based on the environmental information includes: if the current time falls within a preset time period, determining the illumination information included in the environmental information, determining the second monitoring sub-area corresponding to the target illumination information that meets preset conditions, and determining the second gimbal position corresponding to the second monitoring sub-area as the target location; or, determining the sound information included in the environmental information, determining the sound source direction based on the sound information, and determining the target location based on the sound source direction; or, determining the target weather information included in the environmental information, and determining the target location corresponding to the target weather information in the correspondence between weather information and gimbal positions. In this embodiment, when making a decision, data from built-in or external environmental sensors of the camera can be referenced. For example, a light sensor: at night, areas with low light or supplementary lighting near the turning point are preferentially selected to ensure image availability. That is, when the target illumination information indicates that there is illumination in the second monitoring sub-area, the second gimbal position corresponding to the second monitoring sub-area is determined as the target location. The preset conditions may include illumination intensity greater than a preset intensity.

[0053] In this embodiment, the target location can also be determined based on the sound information collected by the sound sensor. If an unusual noise (such as the sound of breaking glass) is detected from a specific direction, the device can temporarily turn in that direction.

[0054] In this embodiment, during rainy weather, the monitoring priority for areas such as doors and windows, and areas prone to leaks can be automatically increased. Each weather information can correspond to a specific pan-tilt-zoom (PTZ) position, and this correspondence can be pre-set. When the weather information indicates rain, the PTG position can be the location corresponding to doors and windows, or areas prone to leaks. When the weather information indicates sunny weather, the PTG position can be the location corresponding to main gates, garages, or similar areas. This setup allows the monitoring strategy to dynamically link with the physical environment, making the monitoring method more intelligent and practical.

[0055] In an exemplary embodiment, controlling the gimbal to rotate to the target position includes: determining a first power consumption required for the gimbal to rotate from its current position to the target position; determining a rotation budget for the monitoring device; controlling the gimbal to rotate to the target position if the first power consumption is less than or equal to the rotation budget; adjusting the target position to obtain an adjusted position if the first power consumption is greater than the rotation budget, wherein a second power consumption required for the gimbal to rotate from its current position to the adjusted position is less than the rotation budget; and controlling the gimbal to rotate to the adjusted position. In this embodiment, after the strategy decision module outputs the target position, the gimbal control module estimates the first power consumption required to complete the rotation based on the angle difference between the current gimbal position and the target position, and the gimbal motor characteristic parameters (such as torque-current curves).

[0056] In this embodiment, a dynamic "rotation power consumption budget" can be maintained. This budget is linked to the device's current remaining battery power. For example, when the battery power is >80%, the daily budget is higher; when the battery power is <20%, the budget drops sharply or becomes zero. The first power consumption of this rotation can be compared with the current budget. If the first power consumption is lower than the rotation budget, the rotation is allowed to proceed, and the corresponding value is deducted from the budget. If the first power consumption exceeds the rotation budget or the angle is too large, the decision is intervened, and optimization suggestions are provided, such as: a) suggesting that the strategy decision module select a closer alternative position; b) breaking down the large rotation into multiple small rotations, which are completed in batches during subsequent wake-ups.

[0057] In this embodiment, a "Smart Cruise Power Consumption Report" can be provided to users in the App to show the approximate impact of the function on battery life, thereby increasing user trust.

[0058] In an exemplary embodiment, after controlling the gimbal to rotate to the target position, the method further includes: generating a rotation log of the gimbal rotation, wherein the rotation log includes the reason for the rotation; and pushing the rotation log to a target application, wherein the target application is an application associated with the monitoring device. In this embodiment, every gimbal rotation not triggered by the user can be recorded and a plaintext log can be generated. For example: "[2025-08-10 06:11] The system was woken up due to cache write. According to the 'high heat in the backyard late at night' rule, the gimbal has automatically turned to the preset position 'overlooking the backyard'." The target application can provide visual feedback. On the client's electronic map, not only is the current position of the gimbal displayed, but the recent automatic rotation trajectory and reason can also be shown through animation or prompts. This setting can reduce the computational overhead of the intelligent strategy and explain the gimbal behavior to the user, solving the "black box" problem.

[0059] In an exemplary embodiment, determining the target location includes: displaying rules for determining the target location in the display interface of the target application; receiving a selection instruction input by the user through the display interface; and determining the target location based on the target rules included in the selection instruction. In this embodiment, the user can independently enable or disable each smart strategy in the App (e.g., enabling "Learning Based on Historical Data" and disabling "Random Supplemental Scan"). The target rules may include, when the target object tracked by the monitoring device disappears from the monitoring area of ​​the monitoring device, determining the last detected disappearance location of the target object and identifying the disappearance location as the target location; and / or, if a preset location exists, identifying the preset location as the target location; and / or, if the preset location does not exist, determining the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data, determining a first monitoring sub-area based on the heat value, and identifying the first PTZ position corresponding to the first monitoring sub-area as the target location, wherein the monitoring area includes multiple monitoring sub-areas and multiple... The monitoring sub-region includes the first monitoring sub-region; and / or, if a historical access location exists, determine the validity period of the historical access location, and if the historical access location is within the validity period, determine the historical access location as the target location, wherein the historical access location is the location specified in the control command input by the user through the target interface; and / or, randomly determine the target location within the rotation range of the pan-tilt unit; and / or, determine the environmental information of the monitoring area, and determine the target location based on the environmental information; and / or, determine other monitoring areas of other devices located in the same area as the monitoring device, and determine the target location based on the other monitoring areas.

[0060] In one exemplary embodiment, a user can manually define "areas of focus" and "areas to ignore" in the target application's display interface, such as a panoramic view. When calculating a heatmap or selecting a target, the strategy decision module assigns higher weight to the areas of focus and completely ignores the designated areas.

[0061] In one exemplary embodiment, advanced parameters can be customized through the target application's display interface: providing users with advanced setting options such as: the effective duration of the "last specified location by the user" (1 hour / 6 hours / 12 hours / 24 hours); the duration of the "observation period after the target disappears"; and whether the "smart rotation" function automatically turns off when the battery is low (e.g., <15%).

[0062] In one exemplary embodiment, an S-shaped acceleration / deceleration curve can be used to control the gimbal motor, avoiding sudden starts and stops and reducing mechanical noise and vibration. Once the gimbal's physical rotation stops, an electronic image stabilization algorithm is immediately activated to shorten the image stabilization wait time, ensuring that the first frame captured in AOV mode is clear and usable. To address the issue of frequent data writes to the data buffer required for intelligent learning, the storage read / write strategy can be optimized by writing data to different blocks of the Flash memory, achieving wear leveling and extending memory lifespan. Through a combination of hardware and software design, the overall system performance and user experience are improved.

[0063] In one exemplary embodiment, the problems that may be encountered in engineering implementation, such as precise power consumption control, computational resource consumption, user trust and hardware performance dependence, can be solved by introducing adaptive power management, algorithm lightweighting and interpretability, enhanced user control and hardware-software co-optimization, making the core solution more robust, efficient and user-friendly.

[0064] The camera enters AOV mode at viewpoint A (living room) with 85% battery. The buffer is full, and the system wakes up. The strategy decision module calculates the next optimal position as viewpoint B (backyard), which requires 5 units of power consumption. The power management submodule queries the daily rotation power budget corresponding to the current battery level (85%), which is 50 units. The estimated power consumption for this rotation is 5 units, within the budget. The submodule approves this rotation. The gimbal control module uses a smooth motion curve to smoothly rotate the camera to viewpoint B. After data writing is complete, the system enters AOV mode, and software stabilization ensures an immediate clear image. The user receives a wake-up notification, opens the app to check the logs, and sees the record: "The system woke up at XX time due to a full buffer and rotated to the backyard according to the rules." The user understands this action. The user believes the kitchen needs more attention, so they designate the kitchen area as a "priority area" on the app map and manually rotate the gimbal to viewpoint C (kitchen). Before exiting the app, the user sets the validity period of the "last user-specified location" to 6 hours. The system locks viewpoint C. After a period of time, the device battery level drops to 18%. The power management submodule reduces the daily rotation budget to 5 units. When the device is woken up again, even if the strategy decision module suggests turning to a hotspot area that requires 10 units of power consumption, the power management submodule will intervene and suggest that the gimbal make only minor adjustments or remain in its original position to prioritize battery life.

[0065] In the aforementioned embodiments, the unavoidable system wake-up overhead is transformed into an opportunity for optimizing the monitoring perspective, significantly expanding the effective monitoring range with minimal additional power consumption. By introducing a hierarchical decision-making model and multiple intelligent strategies, the camera can understand the scene, learn patterns, and respect human intent, upgrading from a passive recording tool to an active security partner. This addresses the pain point of ignored intent after manual user control, achieving seamless integration of automation and manual control, greatly improving product usability and user trust. Combining deterministic strategies (preset positions), learning strategies (heatmaps), and exploratory strategies (random scanning), the system can both grasp key points and adapt to changes, avoiding getting trapped in local optima. Implemented through software algorithm upgrades, it requires minimal hardware modifications and is easy to deploy and promote on existing products. Through adaptive power management, it ensures that the intelligent rotation function will not negatively impact the core battery life target under any power level, upgrading the solution from "conceptually feasible" to "practically reliable." The lightweight design allows advanced intelligent functions to run smoothly on resource-constrained embedded devices; the interpretable functions eliminate user concerns about "black box" operation, enhancing product trust. With a wealth of user-customizable options, it meets the diverse needs of different users and in different scenarios, achieving a perfect balance between intelligence and controllability. Software and hardware co-optimization improves motion smoothness, image stability, and storage reliability, resulting in a superior overall user experience.

[0066] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0067] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / random access memory (RAM), magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0068] According to another aspect of the embodiments of this application, a control device for a monitoring device is also provided, applied to the monitoring device, wherein the monitoring device includes a memory, a data buffer, and a pan-tilt unit. This control device can be used to implement the control method for the monitoring device provided in the above embodiments, and details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0069] Figure 3 This is a structural block diagram of a control device for an optional monitoring equipment according to an embodiment of this application, such as... Figure 3 As shown, the control device of the monitoring equipment includes:

[0070] The determination module 32 is used to determine the target location when the monitoring device switches from a low-power state to a data writing state, wherein the data writing state is used to indicate that the cached data in the data buffer is written to the memory;

[0071] Control module 34 is used to control the pan-tilt unit to rotate to the target position so as to monitor the monitoring sub-area corresponding to the target position;

[0072] The writing module 36 is used to write cached data in the data cache into the memory;

[0073] The switching module 38 is used to control the monitoring device to enter the low-power state from the data writing state when the gimbal has been rotated to the target position and all the cached data has been written into the memory.

[0074] In an exemplary embodiment, the determining module 32 can determine the target location in the following ways: when the target object tracked by the monitoring device disappears from the monitoring area of ​​the monitoring device, determine the last detected disappearance location of the target object and determine the disappearance location as the target location; or, if a preset location exists, determine the preset location as the target location; or, if the preset location does not exist, determine the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data, determine a first monitoring sub-area based on the heat value, and determine the first pan-tilt position corresponding to the first monitoring sub-area as the target location, wherein... The monitoring area of ​​the monitoring device includes multiple monitoring sub-areas, and the multiple monitoring sub-areas include the first monitoring sub-area; or, if a historical access location exists and the historical access location is within its validity period, the historical access location is determined as the target location, wherein the historical access location is the location specified in the control command input by the user through the target interface; or, the target location is randomly determined within the rotation range of the pan-tilt unit; or, the environmental information of the monitoring area is determined, and the target location is determined based on the environmental information; or, other monitoring areas of other devices located in the same area as the monitoring device are determined, and the target location is determined based on the other monitoring areas.

[0075] In an exemplary embodiment, the determining module 32 can determine the disappearance position as the target position by controlling the pan-tilt unit to rotate to the disappearance position and staying at the disappearance position for a preset observation time; if the monitoring device does not detect the target object within the preset observation time, the disappearance position is determined as the target position.

[0076] In an exemplary embodiment, the apparatus may further be configured to: determine the end time of the access request corresponding to the historical access location before determining the historical access location as the target location; start a first timer at the end time to obtain a first timer duration; start a second timer when the first timer duration reaches a first predetermined duration to obtain a second timer duration; determine that the historical access location is within the validity period when the second timer duration is less than or equal to the second predetermined duration; and determine that the historical access location is outside the validity period when the second timer duration is greater than the second predetermined duration.

[0077] In an exemplary embodiment, the determining module 32 can determine the heat value of each monitoring sub-area of ​​the monitoring device based on historical monitoring data in the following manner: for each monitoring sub-area, the following operations are performed to determine the heat value of the monitoring sub-area: determining the event occurrence frequency of events occurring in the monitoring sub-area; determining the event type and event duration of events occurring in the monitoring sub-area; determining the type weight corresponding to the event type; determining the duration weight corresponding to the event duration; and determining the heat value based on the event occurrence frequency, the type weight, and the duration weight.

[0078] In an exemplary embodiment, the determining module 32 can determine the popularity value based on the event occurrence frequency, the type weight, and the duration weight by multiplying the event occurrence frequency, the type weight, the duration weight, and the time decay factor as the popularity value.

[0079] In an exemplary embodiment, the determining module 32 can determine the target location based on the environmental information in the following ways: when the current time is within a preset time period, it determines the illumination information included in the environmental information, determines the second monitoring sub-area corresponding to the target illumination information that meets preset conditions included in the illumination information, and determines the second PTZ position corresponding to the second monitoring sub-area as the target location; or, it determines the sound information included in the environmental information, determines the direction of the sound source based on the sound information, and determines the target location based on the direction of the sound source; or, it determines the target weather information included in the environmental information, and determines the target location corresponding to the target weather information in the correspondence between weather information and PTZ position.

[0080] In an exemplary embodiment, the control module 34 can control the pan-tilt unit to rotate to the target position by: determining a first power consumption required for the pan-tilt unit to rotate from its current position to the target position; determining a rotation budget for the monitoring device; controlling the pan-tilt unit to rotate to the target position when the first power consumption is less than or equal to the rotation budget; adjusting the target position to obtain an adjusted position when the first power consumption is greater than the rotation budget, wherein a second power consumption required for the pan-tilt unit to rotate from its current position to the adjusted position is less than the rotation budget; and controlling the pan-tilt unit to rotate to the adjusted position.

[0081] In one exemplary embodiment, the apparatus can also be used to: generate a rotation log of the gimbal rotation after controlling the gimbal to rotate to the target position, wherein the rotation log includes the reason for the rotation; and push the rotation log to a target application, wherein the target application is an application associated with the monitoring device.

[0082] In an exemplary embodiment, the determining module 32 can determine the target location by: displaying the rules for determining the target location in the display interface of the target application; receiving a selection instruction input by the user through the display interface; and determining the target location based on the target rules included in the selection instruction.

[0083] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0084] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein the program executes the steps in any of the above method embodiments when it is run.

[0085] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, ROMs, RAMs, portable hard drives, magnetic disks, or optical disks.

[0086] According to another aspect of the embodiments of this application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is configured to perform the steps of any of the method embodiments described above via the computer program. In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0087] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0088] According to another aspect of the embodiments of this application, a computer program product is also provided, comprising a computer program / instructions containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit 401, it performs various functions provided in the embodiments of this application. The sequence numbers of the embodiments of this application above are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0089] Figure 4 A schematic block diagram of a computer system architecture for implementing embodiments of the present application is shown. Figure 4As shown, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes based on programs stored in ROM 402 or programs loaded into RAM 403 from storage section 408. Random access memory 403 also stores various programs and data required for system operation. The CPU 401, ROM 402, and RAM 403 are interconnected via bus 404. Input / output (I / O) interface 405 is also connected to bus 404.

[0090] The following components are connected to I / O interface 405: input section 406 including keyboard, mouse, etc.; output section 407 including cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; storage section 408 including hard disk, etc.; and communication section 409 including network interface card, modem, etc. Communication section 409 performs communication processing via a network such as the Internet. Drive 410 is also connected to I / O interface 405 as needed. Removable media 411, such as disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 410 as needed so that computer programs read from them can be installed into storage section 408 as needed.

[0091] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 409, and / or installed from removable medium 411. When the computer program is executed by central processing unit 401, it performs various functions defined in the system of this application.

[0092] It should be noted that, Figure 4 The computer system 400 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0093] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0094] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A control method of a monitoring device, characterized by, The application is applied to a monitoring device, wherein the monitoring device comprises a memory, a data buffer and a holder, and comprises: In a case where the monitoring device switches from a low-power state to a data writing state, the data writing state is used to indicate that cached data in the data buffer is written into the memory, a target position is determined; The holder is controlled to rotate to the target position to monitor a monitoring sub-region corresponding to the target position; The cached data in the data buffer is written into the memory; In a case where the holder has rotated to the target position and all the cached data has been written into the memory, the monitoring device is controlled to enter from the data writing state to the low-power state.

2. The method of claim 1, wherein, The determination of the target position comprises: In a case where a target object tracked by the monitoring device disappears from a monitoring region of the monitoring device, a disappearing position where the target object is last detected is determined as the target position; or In a case where a preset position is preset, the preset position is determined as the target position; or In a case where the preset position does not exist, a heat value of each monitoring sub-region of the monitoring device is determined based on historical monitoring data, a first monitoring sub-region is determined based on the heat value, and a first holder position corresponding to the first monitoring sub-region is determined as the target position, wherein the monitoring region comprises a plurality of monitoring sub-regions, and the first monitoring sub-region is included in the plurality of monitoring sub-regions; or In a case where a historical access position exists and is within a valid period, the historical access position is determined as the target position, wherein the historical access position is a position specified in a control instruction input by a user through a target interface; or The target position is randomly determined within a rotation range of the holder; or Environment information of the monitoring region is determined, and the target position is determined based on the environment information; or Other monitoring regions of other devices located in the same region as the monitoring device are determined, and the target position is determined based on the other monitoring regions.

3. The method of claim 2, wherein, The determination of the disappearing position as the target position comprises: The holder is controlled to rotate to the disappearing position and stay at the disappearing position for a preset observation time length; In a case where the target object is not detected by the monitoring device within the preset observation time length, the disappearing position is determined as the target position.

4. The method of claim 2, wherein, Before the historical access position is determined as the target position, the method further comprises: An end time of an access request corresponding to the historical access position is determined; A first timing is started at the end time to obtain a first timing duration; In a case where the first timing duration reaches a first predetermined time length, a second timing is started to obtain a second timing duration; In a case where the second timing duration is less than or equal to a second predetermined time length, it is determined that the historical access position is within the valid period; In a case where the second timing duration is greater than the second predetermined time length, it is determined that the historical access position is outside the valid period.

5. The method of claim 2, wherein, The determining of the hotness value of each monitoring sub-area of the monitoring device based on historical monitoring data comprises: For each monitoring sub-area, the following operations are performed to determine the hotness value of the monitoring sub-area: determining the event occurrence frequency of the monitoring sub-area; determining the event type and event duration of the event occurring in the monitoring sub-area; determining the type weight corresponding to the event type; determining the duration weight corresponding to the event duration; determining the hotness value based on the event occurrence frequency, the type weight, and the duration weight.

6. The method of claim 5, wherein, The determining of the hotness value based on the event occurrence frequency, the type weight, and the duration weight comprises: determining the product of the event occurrence frequency, the type weight, the duration weight, and a time decay factor as the hotness value.

7. The method of claim 2, wherein, The determining of the target position based on the environment information comprises: in the case that the current time is within a preset time period, determining the light information included in the environment information, determining the target light information included in the light information that satisfies a preset condition, determining the second monitoring sub-area corresponding to the target light information, and determining the second PTZ position corresponding to the second monitoring sub-area as the target position; or determining the sound information included in the environment information, determining the sound source direction based on the sound information, and determining the target position based on the sound source direction; or determining the target weather information included in the environment information, and determining the target position corresponding to the target weather information in the corresponding relationship between weather information and PTZ position.

8. The method of claim 1, wherein, The controlling of the PTZ to rotate to the target position comprises: determining the first power consumption required for the PTZ to rotate from the current position to the target position; determining the rotation budget of the monitoring device; in the case that the first power consumption is less than or equal to the rotation budget, controlling the PTZ to rotate to the target position; in the case that the first power consumption is greater than the rotation budget, adjusting the target position to obtain an adjusted position, wherein the second power consumption of the PTZ rotating from the current position to the adjusted position is less than the rotation budget; controlling the PTZ to rotate to the adjusted position.

9. The method of claim 1, wherein, After controlling the PTZ to rotate to the target position, the method further comprises: generating a rotation log of the PTZ, wherein the rotation log includes a rotation reason; pushing the rotation log to a target application, wherein the target application is an application associated with the monitoring device.

10. The method of claim 1, wherein, The determining of the target position comprises: displaying a rule for determining the target position in a display interface of a target application; receiving a selection instruction input by a user through the display interface; determining the target position based on the target rule included in the selection instruction.

11. A control device for monitoring equipment, characterized in that The monitoring device comprises a memory, a data buffer, and a PTZ, and comprises: a determining module configured to determine a target position in the case that the monitoring device switches from a low-power state to a data writing state, wherein the data writing state is used to indicate that the cached data in the data buffer is written into the memory. A control module is configured to control the gimbal to rotate to the target position to monitor a monitoring sub-region corresponding to the target position. A writing module is configured to write the cached data in the data buffer into the memory. A switching module is configured to control the monitoring device to enter the low-power-consumption state from the data writing state when the gimbal has rotated to the target position and all the cached data has been written into the memory.

12. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 10.

13. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 10.