Scheduling methods, scheduling systems, and camera equipment

By employing a dual-mode architecture with primary and backup inversion and energy state parameter-driven working mode switching, the problem of camera equipment running out of power in commercial security scenarios without mains power or broadband is solved, achieving continuous online operation and high frame rate recording stability, thus meeting the evidence collection requirements of commercial security.

CN123123710APending Publication Date: 2026-11-17TP-LINK INT SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611224899.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-12
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In commercial security monitoring scenarios without mains power or broadband, the camera equipment may run out of power quickly during high frame rate recording due to the instability of solar power supply, posing a risk of equipment disconnection and failing to continuously meet the requirements of high frame rate recording and continuous online operation.

Method used

The system adopts a dual-mode architecture with a primary and backup inversion. The camera device switches its working mode based on the energy state parameters. The high-power mode is the primary mode, and the low-power mode is the backup mode. The runtime is predicted by the energy state parameters and the system switches to the low-power mode before it is exhausted. Recovery conditions are set to ensure stable switching and avoid frequent switching.

Benefits of technology

It enables the device to remain online in extreme weather conditions, ensuring continuous high frame rate recording and reliable operation of the device, avoiding the problem of losing connection due to power depletion, and ensuring commercial-grade forensic quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123123710A_ABST
    Figure CN123123710A_ABST
Patent Text Reader

Abstract

This application discloses a scheduling method, a scheduling system, and a camera device. The camera device includes a power supply component and supports a first operating mode and a second operating mode. The power consumption of the first operating mode is greater than that of the second operating mode. The camera device defaults to the first operating mode. The method includes: acquiring the energy state parameters of the camera device while it is in the first operating mode; calculating a predicted runtime based on the energy state parameters; controlling the camera device to switch from the first operating mode to the second operating mode when the predicted runtime is less than or equal to a preset degradation duration threshold; and controlling the camera device to switch back to the first operating mode after switching to the second operating mode in response to meeting a preset recovery condition. Thus, this application achieves continuous online operation of the camera device while ensuring high frame rate recording, and avoids frequent switching of device modes by binding the mismatch between degradation and recovery conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video security monitoring technology, and in particular to a scheduling method, a scheduling system and a camera device. Background Technology

[0002] In commercial security monitoring scenarios without mains power or broadband, such as construction sites, remote base stations, and agricultural and forestry ranches, cameras powered by both solar energy and batteries are typically used for 24 / 7 video capture and evidence collection. To ensure the integrity of evidence and the clarity of images for critical events in commercial settings, the cameras need to record continuously at a high frame rate to meet the stringent requirements of security monitoring for detailed capture.

[0003] However, due to the instability of solar power supply, under conditions of insufficient sunlight, such as continuous cloudy or rainy days, the camera equipment faces the risk of rapidly depleting its battery due to continuous high frame rate recording. Summary of the Invention

[0004] In view of the above problems, this application provides a scheduling method, a scheduling system and a camera device, which can effectively improve the problems in related technical solutions.

[0005] This application proposes a scheduling method for a camera device, the camera device including a power supply component for supplying power to the camera device, the camera device supporting a first operating mode and a second operating mode, wherein the power consumption of the first operating mode is greater than the power consumption of the second operating mode, the camera device defaults to the first operating mode, and the method includes: When the camera device is in the first working mode, acquire the energy state parameters of the camera device; Based on the energy state parameters, calculate the predicted runtime of the camera device in the first operating mode; When the predicted runtime is less than or equal to a preset degradation duration threshold, the camera device is controlled to switch from the first working mode to the second working mode; After the camera device switches to the second working mode, in response to the satisfaction of the preset recovery conditions, the camera device is controlled to switch from the second working mode back to the first working mode.

[0006] In some embodiments, the power supply component includes a photovoltaic power generation component and an energy storage component, and the energy state parameters include the real-time input power of the photovoltaic power generation component, the real-time power consumption of the camera device, the current state of charge of the energy storage component, and the current ambient temperature.

[0007] In some embodiments, obtaining the current state of charge of the energy storage component includes: Obtain the terminal voltage and current load current of the energy storage component; When the current load current is greater than a preset current threshold, the terminal voltage of the energy storage component is compensated based on the preset internal resistance compensation parameters and the current load current to obtain a corrected voltage. The current state of charge of the energy storage component is determined based on the corrected voltage.

[0008] In some implementations, calculating the predicted runtime of the camera device in the first operating mode based on the energy state parameters includes: The net energy income rate is determined based on the real-time input power of the photovoltaic supplementary power module and the real-time power consumption of the camera device. The available energy is determined based on the current state of charge of the energy storage component; If the net energy balance rate is greater than zero, the predicted operating time of the camera equipment is determined based on the currently available energy and the net balance rate; or If the net energy balance rate is less than or equal to zero, the predicted runtime of the camera device is not calculated.

[0009] In some embodiments, the method further includes: When the currently available energy is less than or equal to a preset energy reference, the camera device is controlled to switch from the first working mode to the second working mode.

[0010] In some implementations, when the predicted runtime is less than or equal to a preset degradation duration threshold, controlling the camera device to switch from the first operating mode to the second operating mode includes: Detect whether the camera device has any incomplete data writing tasks; If there are incomplete data writing tasks, after the data writing tasks are completed, the camera device is controlled to switch from the first working mode to the second working mode.

[0011] In some implementations, the recovery conditions include: The current state of charge of the energy storage component is greater than the recovery capacity threshold; The real-time input power of the photovoltaic power replenishment module is greater than the effective power threshold; and The duration for which the real-time input power is continuously greater than the effective power threshold reaches a preset time threshold.

[0012] In some embodiments, the camera device further includes an image acquisition component, a communication module, and a local storage area. In the second operating mode, the method further includes: The image acquisition component is kept in a low-power monitoring state to acquire environmental image data at a first sampling rate; Target recognition is performed on the acquired environmental image data; In response to the identification of a target object, without waking up the communication module, the sampling rate of the image acquisition component is increased to a second sampling rate, and environmental image data containing the target object is acquired at the second sampling rate; The environmental image data containing the target object is cached in the local storage area.

[0013] In some embodiments, the camera device further includes non-volatile memory, and the method further includes: In response to the disappearance of the target object from the environmental image data, the sampling rate of the image acquisition component is restored to the first sampling rate; The image data cached in the local storage area is written to the non-volatile memory with low power write current.

[0014] This application also proposes a scheduling system for a camera device, the camera device including a power supply component for supplying power to the camera device, the camera device supporting a first operating mode and a second operating mode, wherein the power consumption of the first operating mode is greater than the power consumption of the second operating mode, and the camera device defaults to the first operating mode, including: An energy assessment module is used to acquire the energy state parameters of the camera device in the first working mode, and determine the predicted available time of the camera device based on the energy state parameters; The mode switching module is configured to control the camera device to switch from the first working mode to the second working mode in response to the predicted available time meeting a preset degradation condition, and after the camera device switches to the second working mode, control the camera device to switch from the second working mode to the first working mode in response to the fulfillment of a recovery condition.

[0015] This application also proposes a camera device, which includes a power supply component, an image acquisition component, a processor, and a memory, wherein the memory stores a computer program; when the computer program is executed by the processor, the camera device implements the scheduling method as described in any of the above embodiments.

[0016] The scheduling method, scheduling system, and camera equipment proposed in this application establish a dynamic balance mechanism between high frame rate recording and extreme battery life by constructing a primary / backup inverted dual-mode architecture with a first working mode as the primary state and a second working mode as a disaster recovery state. This achieves a balance between commercial-grade forensic quality and continuous online operation. Through energy status parameters, the available time of the camera equipment can be predicted, triggering a degradation switch before energy depletion to prevent equipment from losing connection due to power exhaustion. Furthermore, by setting a recovery mechanism with multiple conditions, frequent mode switching caused by voltage rebound or brief periods of illumination can be effectively prevented, improving the system's operational stability in complex lighting environments. Thus, this application can ensure continuous output of high frame rate, high-definition video to meet all-day forensic requirements in commercial security scenarios without mains power or broadband, while ensuring that the equipment never loses power or connection under extreme weather conditions.

[0017] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description

[0018] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein: Figure 1 This is a flowchart of a scheduling method provided in some embodiments of this application; Figure 2 This is a schematic diagram of a camera device provided in some embodiments of this application; Figures 3-8 This is a flowchart of a scheduling method provided in some embodiments of this application.

[0019] Explanation of icon numbers Camera equipment 1000, scheduling system 100, energy assessment module 10, mode switching module 20, power supply component 200, image acquisition component 300, processor 400, memory 500, communication module 600, local storage area 700. Detailed Implementation

[0020] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.

[0021] Please see Figure 1This application proposes a scheduling method for a camera device. The camera device includes a power supply component for supplying power to the camera device. The camera device supports a first operating mode and a second operating mode, and the power consumption of the first operating mode is greater than that of the second operating mode. The camera device defaults to the first operating mode. The method includes: 01. When the camera device is in the first working mode, acquire the energy state parameters of the camera device; 02. Calculate the predicted runtime of the camera device in the first working mode based on the energy state parameters; 03. When the predicted runtime is less than or equal to the preset downgrade duration threshold, control the camera device to switch from the first working mode to the second working mode; 04. After the camera device switches to the second working mode, in response to the satisfaction of the preset recovery conditions, control the camera device to switch from the second working mode back to the first working mode.

[0022] Please see Figure 2 This application also provides a scheduling system 100 for a camera device 1000. The camera device 1000 includes a power supply component 200 for supplying power to the camera device 1000. The camera device 1000 supports a first working mode and a second working mode, and the power consumption of the first working mode is greater than that of the second working mode. The camera device 1000 is in the first working mode by default. The scheduling system 100 includes an energy assessment module 10 and a mode switching module 20.

[0023] Steps 01 and 02 can be implemented by the energy assessment module 10, and steps 03 and 04 can be implemented by the mode switching module 20.

[0024] Alternatively, the energy assessment module 10 can be used to acquire the energy status parameters of the camera device 1000 when the camera device 1000 is in the first working mode, and calculate the predicted runtime of the camera device 1000 in the first working mode based on the energy status parameters; the mode switching module 20 can be used to control the camera device 1000 to switch from the first working mode to the second working mode when the predicted runtime is less than or equal to a preset degradation duration threshold, and after the camera device 1000 switches to the second working mode, in response to the satisfaction of the preset recovery condition, control the camera device 1000 to switch from the second working mode back to the first working mode.

[0025] Please refer to further information. Figure 2This application also proposes a camera device 1000, including a power supply component 200, an image acquisition component 300, a processor 400, and a memory 500. The memory 500 stores a computer program. When the computer program is executed by the processor 400, the camera device 1000 implements the scheduling method described above. That is, the processor 400 can be used to acquire the energy state parameters of the camera device 1000 when the camera device 1000 is in a first working mode, calculate the predicted runtime of the camera device 1000 in the first working mode based on the energy state parameters, control the camera device 1000 to switch from the first working mode to a second working mode when the predicted runtime is less than or equal to a preset degradation duration threshold, and control the camera device 1000 to switch from the second working mode to the first working mode after the camera device 1000 switches to the second working mode, and control the camera device 1000 to switch from the second working mode to the first working mode in response to the satisfaction of a preset recovery condition.

[0026] In the scheduling method, scheduling system 100, and camera device 1000 of this application embodiment, a primary-backup inverted dual-mode architecture is constructed, with a first working mode as the primary state and a second working mode as the disaster recovery state. This ensures high frame rate recording in commercial scenarios while achieving continuous online operation of the device under extreme weather conditions. Furthermore, by calculating and predicting the runtime based on energy state parameters, a degradation switch is triggered in advance before the energy is exhausted, preventing the device from losing connection due to power depletion. Finally, by binding the mismatch between degradation and recovery conditions, the device exits the second working mode after energy recovery, preventing frequent mode switching caused by voltage rebound or brief periods of illumination. This solution effectively solves the problems in related technologies where devices need manual intervention to extend battery life or suffer from missed reporting or missing seconds, while continuous high frame rate recording faces the risk of rapid power depletion. It achieves the best balance between commercial-grade forensic quality and continuous online operation of the device, ensuring reliable operation of the device in commercial security scenarios such as those without mains power or broadband.

[0027] In some examples, the scheduling system 100 may be part of the camera device 1000. Alternatively, the camera device 1000 may include the scheduling system 100. As hardware, the scheduling system 100 may be a standalone component or added to the camera device 1000 as an additional peripheral element. The scheduling system 100 may also be integrated into the camera device 1000; for example, it may be integrated into the processor 400. As software, the code segment corresponding to the scheduling system 100 may be stored in the memory 500 and executed by the processor 400 to implement the aforementioned functions. Alternatively, the scheduling system 100 may include a computer program, or the aforementioned computer program may include the scheduling system 100.

[0028] The camera device 1000 can be an outdoor security monitoring camera, a solar-powered camera, a low-power wireless camera, etc. This application can be described using the example of an outdoor security monitoring camera; that is, the scheduling method and scheduling system 100 of this application are applied to, but not limited to, the camera devices 1000 listed above. The scheduling system 100 can be hardware or software pre-installed on the camera device 1000 and can execute the scheduling method when the camera device 1000 starts up. For example, the scheduling system 100 can be part of the main control chip or power management unit of the camera device 1000.

[0029] It's worth noting that the first operating mode is the default active mode of camera device 1000, meaning that camera device 1000 operates in the first operating mode by default under normal working conditions. The first operating mode has higher power consumption, enabling camera device 1000 to perform video capture and network transmission at a higher frame rate to meet the requirements of evidence integrity and image clarity in commercial security scenarios. The second operating mode is the disaster recovery mode of camera device 1000, with lower power consumption than the first operating mode. When camera device 1000 faces low battery conditions, switching from the first operating mode to the second operating mode allows it to operate with extremely low power consumption, thereby extending the device's battery life and ensuring that the device remains online even under extreme energy conditions.

[0030] The power supply component 200 refers to the hardware unit that provides electrical energy to the camera device 1000. Exemplarily, the power supply component 200 includes a photovoltaic (PV) energy replenishment component and an energy storage component. The energy storage component stores electrical energy, and the PV energy replenishment component converts light-years into electrical energy and charges the energy storage component. The energy storage component can be a rechargeable battery, including but not limited to lithium-ion battery packs and lithium iron phosphate battery packs; it can also be a ternary lithium battery pack, lead-acid battery pack, etc. The PV energy replenishment component can be a solar photovoltaic panel, including but not limited to monocrystalline silicon photovoltaic panels and polycrystalline silicon photovoltaic panels; it can also be a thin-film photovoltaic panel or a flexible photovoltaic panel.

[0031] This application does not restrict the specific types of energy storage modules and photovoltaic supplementary energy modules. The types of energy storage modules and photovoltaic supplementary energy modules can be combined and configured according to the actual application scenario. For example, monocrystalline silicon photovoltaic panels can be used with lithium-ion battery packs to achieve high-efficiency energy conversion and storage, or polycrystalline silicon photovoltaic panels can be used with lithium iron phosphate battery packs to achieve a balance between low cost and high safety.

[0032] Energy state parameters refer to a set of physical parameters reflecting the current energy status of the camera device 1000. In some embodiments of this application, energy state parameters include the real-time input power of the photovoltaic power replenishment module, the real-time power consumption of the camera device 1000, the current state of charge of the energy storage module, and the current ambient temperature. The real-time input power reflects the rate at which the photovoltaic power replenishment module can provide electrical energy to the camera device 1000 under the current lighting conditions. The real-time power consumption reflects the rate at which the camera device 1000 consumes electrical energy under its current operating state. The current state of charge reflects the percentage of remaining charge in the energy storage module. The current ambient temperature refers to the temperature of the environment in which the camera device 1000 is currently located. The current ambient temperature is used to correct the actual usable capacity of the energy storage module under different temperature conditions, because temperature affects the actual usable capacity of the battery; for example, low temperatures can lead to a decrease in the actual usable capacity of the battery.

[0033] Predicted runtime refers to the length of time that camera device 1000 is expected to maintain operation in the first working mode based on its current energy expenditure. Predicted runtime reflects a specific, quantifiable result of camera device 1000's assessment of future energy status at the current moment.

[0034] The preset degradation duration threshold is a time threshold pre-set by the camera device 1000, used to compare with the predicted runtime to determine whether a switch from the first working mode to the second working mode needs to be triggered. For example, the preset degradation duration threshold can be 12 hours or 24 hours, depending on the actual needs.

[0035] The preset recovery conditions refer to the preset conditions that the camera device 1000 needs to meet to return from the second working mode to the first working mode. In some embodiments of this application, the preset recovery conditions include the current state of charge of the energy storage component being greater than the recovery power threshold, the real-time input power of the photovoltaic energy replenishment component being greater than the effective power threshold, and the duration for which the real-time input power is continuously greater than the effective power threshold reaching a preset time threshold.

[0036] It is understandable that the power degradation and recovery conditions from the main state to the disaster recovery state adopt asymmetric threshold logic. That is, the degradation condition is triggered based on a single prediction result, while the recovery condition requires the energy state to meet multiple conditions at the same time and the energy input to be maintained for a preset duration. This makes the conditions for triggering recovery more stringent than the conditions for triggering degradation. The thresholds of the two are mismatched and strongly bound, which avoids frequent state switching caused by voltage rebound or instantaneous power fluctuation due to load changes.

[0037] The preset recovery condition is used to ensure that the camera device 1000 exits the second working mode only after its energy status has been fully restored, avoiding frequent mode switching due to insufficient energy recovery.

[0038] In one embodiment, the scheduling method provided in this application is applied to an outdoor security monitoring camera device 1000. The camera device 1000 is deployed in a construction site scenario without mains power access. The camera device 1000 includes a power supply component 200, which includes a photovoltaic energy replenishment component and an energy storage component. The photovoltaic energy replenishment component is a monocrystalline silicon solar photovoltaic panel, installed on the top of the camera device 1000, used to convert solar energy into electrical energy; the energy storage component is a lithium-ion battery pack, electrically connected to the photovoltaic energy replenishment component, used to store the electrical energy generated by the photovoltaic energy replenishment component and supply power to the camera device 1000. The camera device 1000 is in a first operating mode by default.

[0039] When the camera device 1000 is in the first working mode, it acquires energy state parameters in real time, namely the real-time input power Pin of the photovoltaic supplementary energy module, the real-time power consumption Pout of the camera device 1000, the current state of charge SOC of the energy storage module, and the current ambient temperature T.

[0040] The camera device 1000 calculates the predicted runtime in the first operating mode based on the acquired energy state parameters. In this embodiment, if the predicted runtime is less than a preset degradation duration threshold, the camera device 1000 controls itself to switch from the first operating mode to the second operating mode, disconnects unnecessary modules of the camera device 1000, and reduces the operating frequency to achieve extremely low power consumption.

[0041] After switching to the second working mode, the camera device 1000 continuously reads the real-time input power Pin of the photovoltaic supplementary energy module and the current state of charge (SOC) of the energy storage module according to a preset sampling period. When the current SOC of the energy storage module is greater than the recovery power threshold, the real-time input power Pin of the photovoltaic supplementary energy module is greater than the effective power threshold, and the duration for which the real-time input power Pin is continuously greater than the effective power threshold reaches a preset time threshold, the camera device 1000 determines that the preset recovery conditions are met.

[0042] When the camera device 1000 determines that the preset recovery conditions are met, it controls itself to switch from the second working mode back to the first working mode and restore the default main state.

[0043] In another embodiment, the camera device 1000 calculates the predicted runtime of the camera device 1000 in the first working mode based on the acquired energy state parameters. If the predicted runtime is greater than the preset degradation duration threshold, the camera device 1000 does not perform a degradation operation and maintains the current first working mode.

[0044] In this way, the camera device 1000, through its primary and secondary reversed first and second working modes architecture and a switching mechanism based on energy state prediction, ensures high frame rate recording while achieving continuous online operation. Furthermore, it avoids frequent switching of device modes by binding mismatched degradation and recovery conditions.

[0045] Please see Figure 3 In some implementations, step 01 includes: 011, obtain the terminal voltage and current load current of the energy storage component; 012. When the current load current is greater than the preset current threshold, the terminal voltage of the energy storage component is compensated based on the preset internal resistance compensation parameters to obtain the corrected voltage. 013, determine the current state of charge of the energy storage component based on the correction voltage.

[0046] Please combine further Figure 2 In some implementations, steps 011-013 can be implemented by the energy assessment module 10. In other words, the energy assessment module 10 can obtain the terminal voltage and current load current of the energy storage component. When the current load current is greater than the preset current threshold, the terminal voltage of the energy storage component is compensated based on the preset internal resistance compensation parameters to obtain the corrected voltage. The current state of charge of the energy storage component is determined based on the corrected voltage.

[0047] In some implementations, the processor 400 can acquire the terminal voltage and current load current of the energy storage component. When the current load current is greater than a preset current threshold, the processor compensates the terminal voltage of the energy storage component based on a preset internal resistance compensation parameter to obtain a corrected voltage. The processor then determines the current state of charge of the energy storage component based on the corrected voltage.

[0048] It is worth noting that the terminal voltage refers to the output voltage between the positive and negative terminals of the energy storage component, that is, the voltage directly read from the energy storage component. The current load current refers to the current drawn by the camera device 1000 from the energy storage component at the current moment, reflecting the total current consumption of all functional modules of the camera device 1000. When the current load current exceeds the preset current threshold, the camera device 1000 will determine that it is in a high-current load state, and the terminal voltage of the energy storage component will experience a significant voltage drop due to internal resistance, requiring compensation. When the current load current is less than or equal to the preset current threshold, the camera device 1000 is not in a high-current load state, the internal resistance voltage drop is negligible, and no compensation is needed.

[0049] For example, situations where the camera device 1000 is under a high current load include, but are not limited to, the communication module 600 (e.g., a 4G module, a 5G module) being in a data transmission state, the fill light being on, and the gimbal motor being rotating. In these situations, the terminal voltage of the energy storage component will experience a voltage drop due to the internal resistance effect, causing the terminal voltage reading to not accurately reflect the open-circuit voltage of the energy storage component.

[0050] Internal resistance compensation parameters refer to compensation coefficients used to correct terminal voltage deviations caused by the internal resistance of energy storage components, measured in ohms. These parameters can be pre-calibrated experimentally based on the internal resistance characteristics of the energy storage components and stored in the non-volatile memory 500 of the camera device 1000. The non-volatile memory 500 is a storage medium whose data is not lost after power failure. Non-volatile memory 500 includes, but is not limited to, SD cards and eMMC chips. Unlike volatile memory 500, such as DDR and SRAM, the data stored in the non-volatile memory 500 is retained after the camera device 1000 is powered off or restarted, making it suitable for recording data, configuration files, system logs, etc., that require long-term storage.

[0051] The internal resistance characteristics of energy storage components change with the state of charge, temperature and lifespan of the energy storage components. The internal resistance compensation parameters can be periodically updated and corrected according to the actual application scenario.

[0052] Corrected voltage refers to the voltage value obtained after compensating for the internal resistance voltage drop of the sampled terminal voltage. The corrected voltage can be calculated as: Corrected Voltage = Terminal Voltage + Current Load Current × Internal Resistance Compensation Parameter. The corrected voltage is used to replace the directly sampled terminal voltage to more accurately reflect the true voltage of the energy storage module.

[0053] After determining the corrected voltage of the energy storage module, the state of charge of the energy storage module can be determined by the voltage-state-of-charge characteristic curve. The voltage-state-of-charge characteristic curve is obtained by pre-calibration through experiments and records the mapping curve of the relationship between the voltage of the energy storage module and the state of charge. This curve can be stored in the non-volatile memory 500 of the camera device 1000. By querying the voltage-state-of-charge characteristic curve, the current state of charge of the energy storage module can be determined.

[0054] In one embodiment, the camera device 1000 reads the terminal voltage V_bat and the current load current I_load of the energy storage component. The camera device 1000 determines whether the current load current I_load is greater than a preset current threshold. If I_load is greater than the preset current threshold, the camera device 1000 determines that it is in a high-current load state, and then reads the preset internal resistance compensation parameter R_int from the non-volatile memory 500. The camera device 1000 calculates the correction voltage V_corr = V_bat + I_load × R_int based on the terminal voltage V_bat, the current load current I_load, and the internal resistance compensation parameter R_int.

[0055] The camera device 1000 queries the voltage-state-of-charge (SOC) characteristic curve of the energy storage module based on the correction voltage V_corr. This curve is pre-calibrated experimentally and stored in the non-volatile memory 500 of the camera device 1000. The curve records the percentage of SOC corresponding to different voltages. The camera device 1000 matches V_corr with the characteristic curve to determine the corresponding SOC value, which is then used as the current SOC of the energy storage module.

[0056] In another embodiment, when the current load current I_load of the camera device 1000 does not exceed the preset current threshold, the camera device 1000 does not perform internal resistance compensation, but directly determines the current state of charge (SOC) by querying the voltage-state of charge characteristic curve based on the sampled terminal voltage V_bat.

[0057] In this way, by compensating the terminal voltage based on the internal resistance compensation parameter and the current load current when the current load current is greater than the preset current threshold, the measurement deviation of the state of charge caused by the falsely low terminal voltage due to the large current of the camera device 1000 can be effectively avoided. This allows the camera device 1000 to accurately obtain the true state of charge of the energy storage component under high load scenarios, thereby avoiding premature degradation caused by misjudgment of the state of charge and extending the operating time of the device in the first working mode.

[0058] Please see Figure 4 In some implementations, step 02 includes: 021. Determine the net energy income rate based on the real-time input power of the photovoltaic supplementary energy module and the real-time power consumption of the camera device 1000. 022. Determine the currently available energy based on the current state of charge of the energy storage components; 023, Given a net energy income-expenditure rate greater than zero, determine the predicted operating time of camera equipment 1000 based on the current available energy and the net income-expenditure rate; or 024. When the net energy income rate is less than or equal to zero, the predicted operating time of camera device 1000 is not calculated.

[0059] Please combine further Figure 2 In some implementations, steps 021-023 can be implemented by the energy assessment module 10. In other words, the energy assessment module 10 can determine the net energy balance rate based on the real-time input power of the photovoltaic supplementary energy module and the real-time power consumption of the camera device 1000, determine the current available energy based on the current state of charge of the energy storage module, and determine the predicted operating time of the camera device 1000 based on the current available energy and the net energy balance rate when the net energy balance rate is greater than zero. Alternatively, the predicted operating time of the camera device 1000 can be not calculated when the net energy balance rate is less than or equal to zero.

[0060] In some implementations, the processor 400 can determine the net energy balance rate based on the real-time input power of the photovoltaic supplementary energy module and the real-time power consumption of the camera device 1000, determine the current available energy based on the current state of charge of the energy storage module, and determine the predicted operating time of the camera device 1000 based on the current available energy and the net energy balance rate when the net energy balance rate is greater than zero, or not calculate the predicted operating time of the camera device 1000 when the net energy balance rate is less than or equal to zero.

[0061] It is worth noting that the net energy balance rate refers to the difference between the real-time power consumption Pout of the camera device 1000 and the real-time input power Pin of the photovoltaic supplementary energy module. It is used to reflect the net change in energy of the energy storage module per unit time. When the real-time power consumption is greater than the real-time input power, the net energy balance rate is greater than zero, indicating that the energy storage module is in a net consumption state and the energy is continuously decreasing.

[0062] When the real-time power consumption is less than or equal to the real-time input power, the net energy balance rate is less than or equal to zero, indicating that the input power of the photovoltaic supplementary energy module can cover or exceed the power consumption of the camera device 1000, and the energy storage module is not in a net consumption state.

[0063] Current available energy refers to the total amount of electrical energy that an energy storage module can actually provide under its current condition. Current available energy is determined based on the current state of charge and capacity of the energy storage module. The capacity of the energy storage module is the actual available capacity obtained by adjusting its nominal capacity according to the current ambient temperature (T), reflecting the actual amount of electricity the module can release at different temperatures.

[0064] Predicted runtime refers to the length of time that the remaining energy in the energy storage component can sustain the operation of camera device 1000 in its first operating mode, based on the current net energy balance rate. When the net energy balance rate is greater than zero, the predicted runtime can be obtained by dividing the currently available energy by the net energy balance rate; its physical meaning is the remaining energy that can support the operation of camera device 1000. When the net energy balance rate is less than or equal to zero, the predicted runtime does not exist and does not need to be calculated.

[0065] In one embodiment, the camera device 1000 reads the real-time input power Pin of the photovoltaic energy replenishment module and the real-time power consumption Pout of the camera device 1000, and then calculates the net energy balance rate ΔP = Pout - Pin. Simultaneously, the camera device 1000 reads the current state of charge (SOC) of the energy storage module, and also reads the nominal capacity C_total, rated voltage V_nominal, and current ambient temperature T of the energy storage module. The camera device 1000 performs a temperature correction on the nominal capacity C_total based on the current ambient temperature T, obtaining the actual available capacity C_actual = C_total × α(T), where α(T) is the temperature correction coefficient. The camera device 1000 calculates the currently available energy E_available = SOC × C_actual × V_nominal.

[0066] When the net energy income rate ΔP > 0, the camera device 1000 calculates the predicted runtime T_predict = E_available / ΔP based on the current available energy E_available and the net energy income rate ΔP. The camera device 1000 uses the T_predict value as the predicted runtime.

[0067] In another embodiment, when the net energy income rate ΔP of the camera device 1000 is less than or equal to zero, it indicates that the real-time input power of the photovoltaic supplementary energy module can cover or exceed the real-time power consumption of the camera device 1000, the energy storage module is not in a net consumption state, and the camera device 1000 does not calculate the predicted operating time.

[0068] In this way, by determining the net energy income and expenditure rate and the current available energy, and calculating the predicted runtime when the net income and expenditure rate is greater than zero, the energy state of the camera device 1000 is calculated, enabling the camera device 1000 to proactively degrade before its own energy is exhausted, avoiding equipment downtime and disconnection, and ensuring the continuous online operation of the equipment.

[0069] Please see Figure 5 In some implementations, the scheduling method further includes: 0001, When the currently available energy is less than or equal to the preset energy reference, control the camera device 1000 to switch from the first working mode to the second working mode.

[0070] Please combine further Figure 2 In some implementations, step 0001 can be implemented by the mode switching module 20. In other words, the mode switching module 20 can control the camera device 1000 to switch from the first working mode to the second working mode when the current available energy is less than or equal to the preset energy reference.

[0071] In some implementations, the processor 400 can control the camera device 1000 to switch from a first operating mode to a second operating mode when the currently available energy is less than or equal to a preset energy reference.

[0072] It is worth noting that the preset energy baseline is the minimum energy required to maintain the camera device 1000 in the second operating mode for a preset disaster recovery time, i.e., the absolute minimum energy threshold. This preset energy baseline can be set by multiplying the total power consumption in the second operating mode by the preset disaster recovery time.

[0073] It should be noted that this implementation method and the implementation method based on predicted duration triggering degradation are in an OR relationship. That is, degradation is triggered when the predicted runtime is less than or equal to a preset degradation duration threshold, or when the current available energy is less than or equal to a preset energy baseline. The two degradation triggering conditions are independent parallel judgment logics.

[0074] Among these, the degradation triggering mechanism based on predicted runtime is a pre-emptive mechanism. When the predicted runtime is less than the preset degradation duration threshold, the system switches to the second operating mode in advance, at which point the currently available energy may still be significantly higher than the preset energy baseline. The degradation triggering mechanism based on the comparison between the current available energy and the preset energy baseline is a safety net mechanism. That is, when the prediction mechanism fails, such as when a sudden weather change causes a sharp drop in input power or when the user forcibly cancels the degradation, the device can maintain operation in the second operating mode for at least the preset duration.

[0075] In one embodiment, the camera device 1000 continuously monitors the currently available energy E_available and reads a preset energy baseline E_baseline. E_baseline is pre-stored in the non-volatile memory 500 of the camera device 1000. The camera device 1000 compares E_available with E_baseline.

[0076] When E_available is greater than E_baseline, camera device 1000 continues monitoring without triggering a fallback mechanism. Camera device 1000 simultaneously performs a fallback decision based on predicted runtime; both mechanisms operate in parallel.

[0077] When E_available is less than or equal to E_baseline, the camera device 1000 determines that the minimum downgrade condition is met and immediately switches itself from the first working mode to the second working mode. At this time, regardless of whether the predicted runtime has reached the downgrade condition, the camera device 1000 will force the switch to ensure an absolute minimum.

[0078] Thus, by forcibly triggering degradation when the current available energy is less than or equal to a preset energy baseline, a safety net mechanism is built in addition to the prediction mechanism based on the predicted runtime. Even if the prediction mechanism fails to trigger degradation in time due to sudden weather changes or model deviations, the camera device 1000 still forcibly switches its operating mode when the energy drops to the safety net, ensuring that the camera device 1000 can still maintain the preset operating time in the second operating mode under extreme conditions, thereby improving reliability.

[0079] Please see Figure 6 In some implementations, step 03 includes: 031, Check if camera device 1000 has any incomplete data writing tasks; 032, In the case of incomplete data writing tasks, after the data writing tasks are completed, control the camera device 1000 to switch from the first working mode to the second working mode.

[0080] Please combine further Figure 2 In some implementations, steps 031-032 can be implemented by the mode switching module 20. In other words, the mode switching module 20 can detect whether there is an incomplete data writing task in the camera device 1000. If there is an incomplete data writing task, the camera device 1000 can be controlled to switch from the first working mode to the second working mode after the data writing task is completed.

[0081] In some implementations, the processor 400 can detect whether there are any incomplete data writing tasks in the camera device 1000. If there are incomplete data writing tasks, the processor 400 can control the camera device 1000 to switch from the first working mode to the second working mode after the data writing tasks are completed.

[0082] It is worth noting that the data writing task refers to the operation of the camera device 1000 writing data to the non-volatile memory 500. The data writing task can include storing video data, writing log files, saving configuration parameters, etc.

[0083] In one embodiment, after determining that the predicted runtime is less than or equal to a preset degradation duration threshold, the camera device 1000 checks whether there are any incomplete data write tasks before performing a switch operation from the first operating mode to the second operating mode. The camera device 1000 determines whether there are any incomplete data write tasks by querying the status register of the storage controller or checking whether there is any data in the write buffer that has not yet been written to the non-volatile memory 500.

[0084] When no incomplete data writing task is detected, a switching operation is performed between camera devices 1000.

[0085] When an incomplete data write task is detected, the camera device 1000 waits for the data write task to complete. The camera device 1000 determines whether the data write task has been completed by monitoring the status flag bit of the storage controller or the write completion interrupt signal. When the completion of the data write task is detected, the camera device 1000 controls itself to switch from the first working mode to the second working mode.

[0086] In this way, by controlling the camera device 1000 to switch from the first working mode to the second working mode after the data writing task is completed, the data loss or file system corruption problems that may be caused by power failure during the switching process are avoided, thus ensuring the integrity of the recorded data and the reliability of the camera device 1000.

[0087] Please see Figure 2 and Figure 7 In some embodiments, the camera device 1000 further includes an image acquisition component 300, a communication module 600, and a local storage area 700. In the second operating mode, the method further includes: 001, Keep the image acquisition component 300 in a low-power monitoring state and acquire environmental image data at the first sampling rate; 002, Target recognition is performed on the acquired environmental image data; 003, in response to the identification of a target object, without waking up the communication module 600, the sampling rate of the image acquisition component 300 is increased to a second sampling rate, and environmental image data containing the target object is acquired at the second sampling rate; 004, cache the environmental image data containing the target object to the local storage area 700.

[0088] It is worth noting that the low-power monitoring state refers to the operating state of the image acquisition component 300 in the second operating mode, where it operates with lower power consumption. The first sampling rate is the baseline sampling rate of the image acquisition component 300 in the second operating mode, used to continuously acquire environmental image data in the low-power monitoring state. The second sampling rate is higher than the first sampling rate and is used to acquire image data containing more detailed information when a target object is identified.

[0089] Local storage area 700 refers to the temporary storage space inside the camera device 1000, used to temporarily store acquired image data when the communication module 600 is not woken up. Local storage area 700 can be DDR memory 500 or SRAM memory 500. The communication module 600 is in a power-off or deep sleep state in the second working mode to minimize the overall power consumption.

[0090] Target recognition refers to the analysis of acquired environmental image data to determine whether a target object of a predetermined type exists in the image. Target objects include, but are not limited to, pedestrians, vehicles, or other moving targets of interest. Target recognition can be performed by the neural network processing unit built into the camera device 1000.

[0091] In one embodiment, after the camera device 1000 switches to the second operating mode, the communication module 600 is powered off. The camera device 1000 maintains the image acquisition component 300 continuously acquiring environmental image data at a sampling rate of 1 fps. The camera device 1000 inputs the acquired environmental image data into the built-in neural network processing unit, which runs a target detection model to infer the presence of a target object in the image.

[0092] When the neural network processing unit fails to identify the target object, the camera device 1000 maintains the image acquisition component 300 to continue acquiring environmental image data at a sampling rate of 1fps, and the communication module 600 remains powered off.

[0093] When the neural network processing unit identifies a target object, the camera device 1000, without waking up the communication module 600, increases the sampling rate of the image acquisition component 300 from 1fps to 15fps, acquiring environmental image data containing the target object at a sampling rate of 15fps. The camera device 1000 caches the acquired environmental image data containing the target object in the local storage area 700 DDR memory 500.

[0094] In this way, by keeping the image acquisition component 300 at the first sampling rate for low-power monitoring in the second working mode, the sampling rate is directly increased and locally cached without waking up the communication module 600 after the target object is identified. This ensures the ability to capture key events in a low-power state and avoids the power consumption overhead caused by waking up the communication module 600, thus achieving a balance between power saving and the preservation of key evidence.

[0095] Please see Figure 2 and Figure 8 In some embodiments, the camera device 1000 further includes a non-volatile memory 500, and the method further includes: 005, in response to the disappearance of the target object from the environmental image data, the sampling rate of the image acquisition component 300 is restored to the first sampling rate; 006, writes image data cached in local storage area 700 to non-volatile memory 500 with low power write current.

[0096] It is worth noting that low-power write current refers to the current value used by the camera device 1000 when writing data to the non-volatile memory 500, which is lower than the normal operating write current. Low-power write current can reduce the instantaneous power consumption of the camera device 1000 during write operations and prevent the voltage of the energy storage component from dropping momentarily due to high-power write operations.

[0097] In one embodiment, the camera device 1000 continuously performs target recognition in the second working mode. When the target object is detected to have disappeared from the image data, the sampling rate of the image acquisition component 300 is restored from the second sampling rate of 15fps to the first sampling rate of 1fps.

[0098] Next, the camera device 1000 writes the image data cached in the local storage area 700 to the non-volatile memory 500 with a low-power write current.

[0099] In this way, by restoring the sampling rate to the first sampling rate after the target object disappears to maintain a low-power monitoring state, and writing the cached image data to the non-volatile memory 500 with a low-power write current, the persistent storage of key evidence is guaranteed, and the high power consumption during the write operation is avoided from burdening the energy storage components. This also prevents voltage drops and false triggering degradation caused by excessive write current, further optimizing power management in the second working mode.

[0100] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0101] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0102] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A scheduling method for a camera device, characterized in that, The camera device includes a power supply component for supplying power to the camera device. The camera device supports a first operating mode and a second operating mode, wherein the power consumption of the first operating mode is greater than the power consumption of the second operating mode. The camera device is in the first operating mode by default. The method includes: When the camera device is in the first working mode, acquire the energy state parameters of the camera device; Based on the energy state parameters, calculate the predicted runtime of the camera device in the first operating mode; When the predicted runtime is less than or equal to a preset degradation duration threshold, the camera device is controlled to switch from the first working mode to the second working mode; After the camera device switches to the second working mode, in response to the satisfaction of the preset recovery conditions, the camera device is controlled to switch from the second working mode back to the first working mode.

2. The scheduling method according to claim 1, characterized in that, The power supply components include a photovoltaic power generation component and an energy storage component. The energy state parameters include the real-time input power of the photovoltaic power generation component, the real-time power consumption of the camera device, the current state of charge of the energy storage component, and the current ambient temperature.

3. The scheduling method according to claim 2, characterized in that, Obtaining the current state of charge of the energy storage component includes: Obtain the terminal voltage and current load current of the energy storage component; When the current load current is greater than a preset current threshold, the terminal voltage of the energy storage component is compensated based on the preset internal resistance compensation parameters and the current load current to obtain a corrected voltage. The current state of charge of the energy storage component is determined based on the corrected voltage.

4. The scheduling method according to claim 3, characterized in that, The step of calculating the predicted runtime of the camera device in the first operating mode based on the energy state parameters includes: The net energy income rate is determined based on the real-time input power of the photovoltaic supplementary power module and the real-time power consumption of the camera device. The available energy is determined based on the current state of charge of the energy storage component; If the net energy balance rate is greater than zero, the predicted operating time of the camera device is determined based on the currently available energy and the net energy balance rate; or If the net energy balance rate is less than or equal to zero, the predicted runtime of the camera device is not calculated.

5. The scheduling method according to claim 4, characterized in that, The method further includes: When the currently available energy is less than or equal to a preset energy reference, the camera device is controlled to switch from the first working mode to the second working mode.

6. The scheduling method according to claim 1, characterized in that, When the predicted runtime is less than or equal to a preset degradation runtime threshold, controlling the camera device to switch from the first working mode to the second working mode includes: Detect whether the camera device has any incomplete data writing tasks; If there is an incomplete data writing task, after the data writing task is completed, control the camera device to switch from the first working mode to the second working mode.

7. The scheduling method according to claim 2, characterized in that, The recovery conditions include: The current state of charge of the energy storage component is greater than the recovery capacity threshold; The real-time input power of the photovoltaic power replenishment module is greater than the effective power threshold; and The duration for which the real-time input power is continuously greater than the effective power threshold reaches a preset time threshold.

8. The scheduling method according to claim 1, characterized in that, The camera device further includes an image acquisition component, a communication module, and a local storage area. In the second operating mode, the method further includes: The image acquisition component is kept in a low-power monitoring state to acquire environmental image data at a first sampling rate; Target recognition is performed on the acquired environmental image data; In response to the identification of a target object, without waking up the communication module, the sampling rate of the image acquisition component is increased to a second sampling rate, and environmental image data containing the target object is acquired at the second sampling rate; The environmental image data containing the target object is cached in the local storage area.

9. The scheduling method according to claim 8, characterized in that, The camera device further includes non-volatile memory, and the method further includes: In response to the disappearance of the target object from the environmental image data, the sampling rate of the image acquisition component is restored to the first sampling rate; The image data cached in the local storage area is written to the non-volatile memory with low-power write current.

10. A scheduling system for camera equipment, characterized in that, The camera device includes a power supply component for supplying power to the camera device. The camera device supports a first operating mode and a second operating mode, wherein the power consumption of the first operating mode is greater than the power consumption of the second operating mode. The camera device is in the first operating mode by default, including: An energy assessment module is used to acquire the energy state parameters of the camera device in the first working mode, and determine the predicted available time of the camera device based on the energy state parameters; The mode switching module is configured to control the camera device to switch from the first working mode to the second working mode in response to the predicted available time meeting a preset degradation condition, and after the camera device switches to the second working mode, control the camera device to switch from the second working mode to the first working mode in response to the fulfillment of a recovery condition.

11. A camera device, characterized in that, The camera device includes a power supply component, an image acquisition component, a processor, and a memory, wherein the memory stores a computer program; when the computer program is executed by the processor, the camera device implements the scheduling method as described in any one of claims 1 to 9.