Power consumption management method and device of monitoring equipment and monitoring equipment
Patent Information
- Application Number
- CN202311058167.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-21
- Publication Date
- 2025-02-21
Smart Images

Figure CN119493464A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment power management, and in particular to a power consumption management method, device and monitoring equipment for monitoring equipment. Background Art
[0002] With the continuous development of new energy technology, new energy is being applied to more and more products. Take solar monitoring equipment as an example. The monitoring equipment is equipped with solar panels, which can convert solar energy into electrical energy to charge the monitoring equipment.
[0003] To save power consumption, monitoring equipment can support multiple working modes, such as a power consumption mode with high power consumption and a power saving mode with low power consumption. In related technologies, users can set the working mode of monitoring equipment according to actual needs to instruct the monitoring equipment to work in the corresponding working mode to achieve power consumption management.
[0004] However, the way of managing device power consumption in the related art does not match the actual usage status of the device well. Summary of the invention
[0005] Based on this, it is necessary to provide a power consumption management method, device and monitoring device for a monitoring device in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for managing power consumption of a monitoring device, comprising:
[0007] Obtain the charging amount and power consumption of the monitoring device per unit time;
[0008] Determine the target working mode of the monitoring device according to the charging amount per unit time and the power consumption per unit time;
[0009] Power consumption management of monitoring equipment is performed according to the target operating mode.
[0010] In one embodiment, power consumption management of a monitoring device is performed according to a target working mode, including:
[0011] Get the current working mode of the monitoring device;
[0012] Power consumption of the monitoring device is managed according to the current working mode and the target working mode.
[0013] In one embodiment, power consumption management of a monitoring device is performed according to a current working mode and a target working mode, including:
[0014] When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained;
[0015] When the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
[0016] In one embodiment, determining a target working mode of a monitoring device according to a charging amount per unit time and a power consumption per unit time includes:
[0017] When the charging amount per unit time is greater than the power consumption per unit time, determining the target working mode of the monitoring device to be a power consumption mode;
[0018] When the charging amount per unit time is less than or equal to the power consumption per unit time, the target working mode of the monitoring device is determined to be the power saving mode; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0019] In one embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in a power consumption mode than in a power saving mode; and / or the recording interval of the camera in the power consumption mode is shorter than the recording interval in the power saving mode.
[0020] In one embodiment, the monitoring device includes a detector, and the method further includes:
[0021] Obtaining a comparison result of the charging amount per unit time and the power consumption per unit time;
[0022] Obtain the detection sensitivity of the detector in the monitoring device;
[0023] The detector is managed based on the comparison results and the detection sensitivity.
[0024] In one embodiment, the monitoring device further includes a camera, and the detector is managed according to the comparison result and the detection sensitivity, including:
[0025] If the comparison result shows that the charging amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced;
[0026] When the charging amount per unit time is greater than the power consumption per unit time, and the power difference is greater than a preset difference, the detectors are managed according to the historical working data of the detectors and cameras in the monitoring device.
[0027] In one embodiment, the management of the detector is determined based on the working data of the detector and the camera in the monitoring device, including:
[0028] Determine the number of times the detector triggers the video recording command within a unit time according to the historical working data of the detector;
[0029] Determine the number of times the camera records video in a unit of time according to the historical working data of the camera;
[0030] Determine the effective trigger ratio based on the number of triggers and the number of recordings;
[0031] When the effective triggering ratio is greater than the preset maximum ratio, the detection sensitivity of the detector is increased.
[0032] In a second aspect, the present application also provides a power consumption management device for a monitoring device, comprising:
[0033] The power monitoring module is used to obtain the charging amount and power consumption of the monitoring device per unit time;
[0034] A mode determination module, used to determine a target working mode of the monitoring device according to the charging amount per unit time and the power consumption per unit time;
[0035] The power consumption management module is used to manage the power consumption of the monitoring device according to the target working mode.
[0036] In a third aspect, the present application also provides a monitoring device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any of the above-mentioned power consumption management methods of the monitoring device are implemented.
[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned methods for managing power consumption of a monitoring device.
[0038] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned power consumption management methods for monitoring devices.
[0039] In the above-mentioned power consumption management method, device and monitoring device of the monitoring device, the charging amount of the monitoring device per unit time and the power consumption per unit time are obtained, and then the target working mode of the monitoring device is determined according to the charging amount per unit time and the power consumption per unit time, so that the power consumption of the monitoring device is managed according to the target working mode. In the above-mentioned method, the target working mode of the monitoring device is determined based on the actual charging status and power consumption status of the monitoring device. The actual charging status and power consumption status of the monitoring device can be used to reflect the actual power supply and demand relationship of the monitoring device. Therefore, the power consumption management of the monitoring device based on the target working mode improves the matching between the actual use status of the monitoring device. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1is an internal structure diagram of a monitoring device in one embodiment;
[0041] Figure 2 A diagram of an application environment of a method for managing power consumption of a monitoring device in an embodiment;
[0042] Figure 3 A schematic diagram of a process for performing power consumption management in one embodiment;
[0043] Figure 4 A schematic diagram of a flow chart of power consumption management in another embodiment;
[0044] Figure 5 A schematic diagram of a process for determining a target working mode in an embodiment;
[0045] Figure 6 is a schematic diagram of a flow chart of managing a detector in one embodiment;
[0046] Figure 7 is a schematic diagram of a flow chart of managing a detector in another embodiment;
[0047] Figure 8 is a schematic diagram of a flow chart of managing a detector in another embodiment;
[0048] Fig. 9 FIG. 4 is a structural block diagram of a power consumption management device for monitoring equipment in an embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The power consumption management method of the monitoring device provided in the embodiment of the present application can be applied to Figure 1In the monitoring device shown. The monitoring device can be a terminal, including a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the monitoring device is used to provide computing and control capabilities. The memory of the monitoring device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the monitoring device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a power consumption management method of a monitoring device is implemented. The display screen of the monitoring device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the monitoring device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the housing of the monitoring device, or an external keyboard, touch pad or mouse, etc.
[0051] Those skilled in the art will understand that Figure 1 The structure shown in the figure is merely a block diagram of a portion of the structure related to the scheme of the present application, and does not constitute a limitation on the monitoring device to which the scheme of the present application is applied. The specific monitoring device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0052] In one embodiment, Figure 2 As shown, a power consumption management method for a monitoring device is provided, and the method is applied to Figure 1 The monitoring device in the example is used to illustrate, including the following steps:
[0053] S210: Obtain the charging amount and power consumption of the monitoring device per unit time.
[0054] Among them, the monitoring equipment can support charging.
[0055] Optionally, the monitoring device may determine the charging amount of the monitoring device per unit time and the power consumption per unit time based on the historical charging data and the historical power consumption data.
[0056] The historical charging data is used to reflect the charging status of the monitoring device over a long period of time, and the historical power consumption data is used to reflect the power consumption status of the monitoring device over a long period of time.
[0057] Exemplarily, the monitoring device used in this embodiment is a monitoring device that uses solar energy for charging, such as a monitoring device with a built-in solar panel, or an external solar charging component. The solar energy is absorbed by the solar panel / solar charging component and converted into electrical energy to charge the monitoring device.
[0058] Optionally, the monitoring device can monitor its own charging and power consumption, obtain historical charging data and historical power consumption data of the monitoring device, and determine the charging amount of the monitoring device per unit time and the power consumption per unit time according to the historical charging data and historical power consumption data of the monitoring device. For example, the monitoring device has a built-in monitoring circuit for monitoring the charging and power consumption of the monitoring device.
[0059] For example, taking day as the unit time, the historical charging data can be the daily charging amount of the monitoring device within the historical time period, or the total charging amount of the monitoring device within the historical time period. Similarly, the historical power consumption data can be the daily power consumption of the monitoring device within the historical time period, or the total power consumption of the monitoring device within the historical time period. The monitoring device can determine the daily average charging amount as the charging amount per unit time based on the historical charging data and the historical time period, and determine the daily average power consumption as the power consumption per unit time based on the historical power consumption data and the historical time period.
[0060] Optionally, the monitoring device may periodically update the charging amount per unit time and the power consumption per unit time. For example, taking the solar energy monitoring device as an example, in the early morning of each day, the monitoring device detects the working status of the solar charging component through the built-in monitoring circuit. When it is in an effective charging state, the monitoring device starts to count the cumulative charging amount value and the cumulative power consumption value, and records the charging amount and power consumption of the day at the end time node of the day (such as 23:59) to update the latest daily average charging amount and daily average power consumption.
[0061] S220. Determine a target operating mode of the monitoring device according to the charging amount per unit time and the power consumption per unit time.
[0062] The target working mode is used to characterize the power consumption adjustment requirements of the monitoring device. For example, when the monitoring device includes two working modes, namely, a power saving mode and a power consumption mode, if the target working mode is the power saving mode, it indicates that the monitoring device needs to reduce power consumption, and if the target working mode is the power consumption mode, it indicates that the monitoring device needs to increase power consumption.
[0063] Optionally, after obtaining the charging amount and power consumption per unit time of the monitoring device, the actual power supply and demand relationship of the monitoring device can be determined based on the charging amount and power consumption per unit time, so as to determine the target operating mode of the monitoring device based on the actual power supply and demand relationship of the monitoring device.
[0064] It should be noted that the charging amount and power consumption of the monitoring device per unit time can reflect the actual power supply and demand relationship of the monitoring device during use. Based on the actual power supply and demand relationship, the power consumption adjustment requirements of the monitoring device can be accurately determined, and then the target working mode that matches it can be determined.
[0065] In the related art, the target working mode is usually determined based on the remaining power of the monitoring device. For example, when the remaining power is less than the minimum power threshold, the target working mode is determined to be the power saving mode, and when the remaining power is greater than the maximum power threshold, the target working mode is determined to be the power consumption mode. However, the related art does not consider the actual use state of the rechargeable monitoring device, that is, the actual power supply and demand relationship, and the determined target working mode has poor adaptability to the actual use state of the monitoring device.
[0066] In the embodiment of the present application, considering the actual power supply and demand relationship, even if the remaining power of the monitoring device is less than the minimum power threshold, if the charging amount of the monitoring device in a unit time is greater than the power consumption (the situation where supply is greater than demand), it means that the charging capacity of the monitoring device is strong, and the target working mode can be determined as the power consumption mode, so that the monitoring device can work in a power consumption mode with better performance by consuming the charging amount without consuming / consuming less remaining power, making full use of the charging amount, and giving full play to the performance of the monitoring device. Similarly, in the embodiment of the present application, considering the actual power supply and demand relationship, even if the remaining power of the monitoring device is greater than the maximum power threshold, if the charging amount of the monitoring device in a unit time is less than the power consumption (the situation where demand is greater than supply), it means that the power consumption capacity of the monitoring device is strong, and the target working mode can be determined as the power saving mode, so that the consumption of the remaining power in the monitoring device can be reduced by reducing energy consumption, so that the monitoring device can work in the power saving mode to improve the endurance. Therefore, the adaptability of the determined target working mode to the actual use state of the monitoring device is improved, so that the monitoring device can fully exert its working performance in the low power mode, and enhance the endurance in the high power mode.
[0067] S230: Perform power consumption management on the monitoring device according to the target working mode.
[0068] Optionally, after determining the target working mode of the monitoring device, the monitoring device can adjust its working mode according to the target working mode to adjust the power consumption level and realize power consumption management of the monitoring device. For example, when the target working mode is the power saving mode, the monitoring device works in the power saving mode.
[0069] In the embodiment of the present application, the charging amount and the power consumption per unit time of the monitoring device are obtained, and then the target working mode of the monitoring device is determined according to the charging amount and the power consumption per unit time, so as to manage the power consumption of the monitoring device according to the target working mode. In the above method, the target working mode of the monitoring device is determined based on the actual charging and power consumption of the monitoring device. The actual charging and power consumption of the monitoring device can be used to reflect the actual power supply and demand relationship of the monitoring device. Therefore, the power consumption management of the monitoring device based on the target working mode improves the matching between the actual application state of the monitoring device.
[0070] In practical applications, when the monitoring device performs power consumption management, the current working mode of the monitoring device also needs to be considered. Based on this, in one embodiment, Figure 3 As shown, the above S230, managing the power consumption of the monitoring device according to the target working mode, includes:
[0071] S310: Obtain the current working mode of the monitoring device.
[0072] The working mode of the monitoring device affects the power consumption of the monitoring device, and different working modes correspond to different power consumptions. The power consumption of the monitoring device affects the power consumption of the monitoring device.
[0073] Exemplarily, the working mode of the monitoring device includes a power saving mode and a power consumption mode. The monitoring device may be set to any working mode by default when it leaves the factory, for example, the power saving mode is set by default when it leaves the factory. When the monitoring device works in the power saving mode, the power consumption of the monitoring device is low; when the monitoring device works in the power consumption mode, the power consumption of the monitoring device is high.
[0074] Optionally, during the power consumption management process, the monitoring device may obtain the current working mode of the monitoring device. For example, the monitoring device may obtain the configuration parameters of the monitoring device to determine the mode parameters corresponding to the working mode in the configuration parameters, and then use the working mode corresponding to the mode parameters as the current working mode of the monitoring device.
[0075] S320: Perform power consumption management on the monitoring device according to the current working mode and the target working mode.
[0076] Optionally, after obtaining the current working mode and the target working mode of the monitoring device, the current working mode may be matched with the target working mode to perform power consumption management on the monitoring device according to the matching result.
[0077] Power consumption management may include management of the operating mode of the monitoring device. Based on this, in one embodiment, Figure 4 As shown, the above S320, performing power consumption management on the monitoring device according to the current working mode and the target working mode, includes:
[0078] S410: When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained.
[0079] Optionally, when the current working mode and the target working mode are the same, that is, they match, the monitoring device does not need to adjust the current working mode of the monitoring device, and maintains the current working mode to instruct the monitoring device to continue working in the current working mode.
[0080] S420: When the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
[0081] Optionally, when the current working mode and the target working mode are different, that is, do not match, the monitoring device needs to adjust the current working mode of the monitoring device, then the current working mode of the monitoring device is switched to the target working mode to instruct the monitoring device to subsequently operate in the target working mode.
[0082] In an embodiment of the present application, the monitoring device obtains the current working mode of the monitoring device, and then manages the power consumption of the monitoring device according to the current working mode and the target working mode. Specifically, when the current working mode and the target working mode are the same, the current working mode of the monitoring device can be maintained; when the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode. In the above method, a target working mode that meets the actual power supply and demand relationship of the monitoring device is obtained, which facilitates the subsequent adaptive adjustment of the working mode of the monitoring device, so as to directly manage power consumption by adjusting the working mode of the monitoring device, thereby improving the efficiency and timeliness of power consumption management.
[0083] In practical applications, the target working mode of the monitoring device can be determined based on the comparison result between the charging amount per unit time and the power consumption per unit time. Based on this, in one embodiment, Figure 5 As shown, the above S220, determining the target working mode of the monitoring device according to the charging amount per unit time and the power consumption per unit time, includes:
[0084] S510: When the charging amount per unit time is greater than the power consumption per unit time, determine that the target working mode of the monitoring device is a power consumption mode.
[0085] Among them, the working performance of the monitoring equipment in the power consumption mode is better than that in the power saving mode.
[0086] The charging amount per unit time is greater than the power consumption per unit time, indicating that the charging amount of the monitoring device is large, the charging degree is stronger than the power consumption degree, and the monitoring device has a strong endurance.
[0087] Optionally, when the charging amount of the monitoring device per unit time is greater than the power consumption per unit time, the target operating mode of the monitoring device is determined to be a power consumption mode to instruct the monitoring device to operate in the power consumption mode to improve operating performance.
[0088] S520: When the charging amount within a unit time is less than or equal to the power consumption within a unit time, determine that the target working mode of the monitoring device is a power saving mode.
[0089] Among them, the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0090] The charging amount per unit time is less than or equal to the power consumption per unit time, which indicates that the power consumption of the monitoring device is large and the battery life of the monitoring device is poor.
[0091] Optionally, when the charging amount of the monitoring device per unit time is less than or equal to the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power saving mode to instruct the monitoring device to operate in the power saving mode to reduce device energy consumption.
[0092] In an embodiment of the present application, when the amount of charge per unit time of the monitoring device is greater than the amount of power consumed per unit time, the target operating mode of the monitoring device is determined to be the power consumption mode; when the amount of charge per unit time is less than or equal to the amount of power consumed per unit time, the target operating mode of the monitoring device is determined to be the power saving mode. Among them, the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode. In the above method, the target operating mode is determined based on the actual charging and power consumption conditions of the monitoring device, which improves the matching degree between the target operating mode and the actual power supply and demand relationship, and correspondingly improves the accuracy of the power consumption management based on the target operating mode.
[0093] The monitoring device has different working parameters in different working modes. In an optional embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in the power consumption mode than in the power saving mode; and / or the video recording interval of the camera in the power consumption mode is shorter than the video recording interval in the power saving mode.
[0094] The detector in the monitoring device is used to trigger a recording instruction based on the detection information, and send the recording instruction to the camera to instruct the camera to record. When the camera does not receive the recording instruction, it is in a dormant state. When the camera receives the recording instruction, it switches from the dormant state to the awake state to record in the awake state.
[0095] Turning on the detector consumes electricity, and the duration of the on-time affects the power consumption of the monitoring device, which in turn affects the power consumption of the monitoring device. The longer the detector is turned on, the higher the power consumption and power consumption of the monitoring device; the shorter the detector is turned on, the lower the power consumption and power consumption of the monitoring device.
[0096] The monitoring equipment consumes a lot of power in the power consumption mode, and the corresponding power consumption and energy consumption are high. The power consumption in the power saving mode is small, and the corresponding power consumption and energy consumption are low. Based on this, the detector in the monitoring equipment is turned on for a longer time in the power consumption mode than in the power saving mode. The longer the detector is turned on, the longer the sensing information within the coverage area can be monitored, the recording command can be triggered in time, the occurrence of missed recording can be reduced, and the working performance of the monitoring equipment can be improved. The shorter the detector is turned on, the lower the power consumption of the detector can be, and the battery life of the monitoring equipment can be improved.
[0097] Exemplarily, the detector in the above-mentioned monitoring device is an infrared detector, such as a passive infrared (Passive Infra-Red, PIR) detector, and the corresponding sensed information is infrared information; the detector in the above-mentioned monitoring device can also be a radar sensor, and the corresponding sensed information is a radar signal.
[0098] The camera consumes power when recording. In practical applications, when the detector frequently triggers the recording command, in order to reduce unnecessary recording, the camera can obtain the reception / triggering interval between two adjacent recording commands, and compare the reception / triggering interval with the preset recording interval to determine whether to ignore the subsequent recording command. In which, when the reception / triggering interval is greater than or equal to the recording interval, the recording is performed in response to the recording command; conversely, when the reception / triggering interval is less than the recording interval, the subsequent recording command is ignored and the recording is not performed. Therefore, the shorter the recording interval of the camera, the higher the power consumption and power consumption of the monitoring device; the longer the recording interval of the camera, the lower the power consumption and power consumption of the monitoring device.
[0099] Similarly, the monitoring device consumes a lot of power in the power consumption mode, and the corresponding power consumption and energy consumption are high. In the power saving mode, the power consumption is small, and the corresponding power consumption and energy consumption are low. Based on this, the recording interval of the camera in the monitoring device in the power consumption mode is shorter than the recording interval in the power saving mode. The shorter the recording interval, the more timely the response to the trigger recording instruction to record, reduce the occurrence of missed recording, and improve the working performance of the monitoring device. The longer the recording interval, the lower the power consumption of the camera and the longer the battery life of the monitoring device.
[0100] In the embodiment of the present application, the monitoring device includes a detector and a camera, and the duration of the detector being turned on in the power consumption mode is longer than that in the power saving mode; and / or the duration of the video recording interval of the camera in the power consumption mode is shorter than that in the power saving mode. In the above method, the working parameters of the monitoring device in different working modes are clarified, and the matching degree between the corresponding working parameters and the working mode is improved.
[0101] The monitoring device includes a detector, and the above method may also include management of the detector. Based on this, in one embodiment, if Figure 6 As shown, the above method also includes:
[0102] S610: Obtain a comparison result between the charging amount per unit time and the power consumption per unit time.
[0103] The comparison result is used to reflect the relationship between the charging amount per unit time and the power consumption per unit time.
[0104] Optionally, the monitoring device may compare the charging amount per unit time with the power consumption per unit time to obtain the relationship between the charging amount per unit time and the power consumption per unit time as a comparison result.
[0105] Exemplarily, the comparison results of the above-mentioned charging amount per unit time and power consumption per unit time include: the charging amount per unit time is greater than the power consumption per unit time, the charging amount per unit time is equal to the power consumption per unit time, and the charging amount per unit time is less than the power consumption per unit time.
[0106] S620. Obtain the detection sensitivity of the detector in the monitoring device.
[0107] The detection adjustment strategy is used to indicate the adjustment of the detection sensitivity of the detector. The higher the detection sensitivity, the longer the sensing distance and the larger the range of the detector, and the higher the corresponding power consumption. The power consumption of the detector also affects the power consumption of the monitoring device.
[0108] Optionally, in the process of determining the detection adjustment strategy, the monitoring device may obtain the detection sensitivity of the detector in the monitoring device. For example, the monitoring device may obtain the current configuration parameters of the detector to obtain the detection sensitivity of the detector.
[0109] S630: Manage the detector according to the comparison result and the detection sensitivity.
[0110] Optionally, after obtaining a comparison result between the charging amount per unit time and the power consumption per unit time of the monitoring device, the monitoring device may estimate the battery life of the monitoring device according to the comparison result, so as to manage the detector according to the battery life of the monitoring device.
[0111] In the embodiment of the present application, the monitoring device obtains the comparison result of the charging amount per unit time and the power consumption per unit time, and obtains the detection sensitivity of the detector in the monitoring device, so as to manage the detector according to the comparison result and the detection sensitivity. In the above method, the detector in the monitoring device will also affect the power consumption of the monitoring device, so the detection sensitivity can be automatically adjusted based on the comparison result of the charging amount per unit time and the power consumption per unit time, thereby improving the adjustment efficiency and timeliness of the adjustment.
[0112] Monitoring equipment includes not only detectors but also cameras, such as Figure 7 As shown, the above S630, managing the detector according to the comparison result and the detection sensitivity, includes:
[0113] S710: When the comparison result shows that the charging amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced.
[0114] Among them, the comparison result is that the charging amount per unit time is less than or equal to the power consumption per unit time, which indicates that the power consumption of the monitoring device is large, the endurance of the monitoring device is poor, and the energy consumption of the device needs to be reduced. The detection sensitivity is higher than the preset sensitivity, which indicates that the power consumption of the detector is high.
[0115] Optionally, when the comparison result is that the charging amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the monitoring device reduces the detection sensitivity of the detector to reduce the power consumption of the detector and extend the battery life of the monitoring device.
[0116] S720: When the charging amount per unit time is greater than the power consumption per unit time and the full power difference is greater than a preset difference, the detector is managed according to the working information of the detector and the camera in the monitoring device.
[0117] Among them, the comparison result is that the charging amount per unit time is greater than the power consumption per unit time, which indicates that the charging amount of the monitoring device is large, the charging degree is higher than the power consumption degree, and the monitoring device has a strong endurance, which can improve the performance of the device. If the power difference between the charging amount and the power consumption per unit time is greater than the preset difference, the monitoring device has a stronger endurance.
[0118] It should be noted that the detection sensitivity of the detector is higher than the preset sensitivity, which indicates that the power consumption of the detector is relatively high.
[0119] Optionally, when the comparison result is that the charging amount per unit time is greater than the power consumption per unit time, that is, the charging amount per unit time exceeds the power consumption per unit time, and the power difference is greater than a preset difference, the monitoring device can respectively obtain the working information of the detector and the working information of the camera to manage the detector and improve the equipment performance.
[0120] In an optional embodiment, if Figure 8 As shown, in the above S720, the detectors are managed according to the historical working information of the detectors and cameras in the monitoring device, including:
[0121] S810. Determine the number of times the detector triggers the video recording instruction within a unit time according to the historical working data of the detector.
[0122] The historical working data of the detector is used to reflect the working status of the detector within the historical period. For example, the working status of the detector includes the number of times the detector triggers the video recording instruction.
[0123] For example, with a day as the unit time, the historical working data of the detector can be the number of times the detector triggers the recording command every day within the historical time period, or the total number of times the detector is triggered within the historical time period. The monitoring device can determine the daily average number of times the detector is triggered based on the historical working data and historical time period of the detector.
[0124] Optionally, the monitoring device may periodically update the number of times the detector triggers the video recording instruction within a unit time. For example, taking the solar energy monitoring device as an example, in the early morning of each day, while updating the latest daily average charging amount and daily average power consumption, the monitoring device starts counting the number of times the video recording instruction is triggered when detecting that the solar charging component is in an effective charging state, and records the number of triggers of the day at the end time node of the day (such as 23:59) to update the latest daily average trigger number.
[0125] S820: Determine the number of times the camera records video in a unit time according to the historical working data of the camera.
[0126] The historical working data of the camera is used to reflect the working status of the camera within the historical period. For example, the working status of the camera includes the number of times the camera records video.
[0127] For example, with a day as the unit time, the historical working data of the camera can be the number of recordings performed by the camera every day within the historical time period, or the total number of recordings performed by the camera within the historical time period. The monitoring device can determine the average daily number of recordings performed by the camera based on the historical working data and the historical time period of the camera.
[0128] Optionally, the monitoring device may periodically update the number of times the camera records video in a unit of time. For example, continuing with the above example, at dawn every day, while updating the latest daily average trigger times, the monitoring device starts counting the number of times the camera records video when detecting that the solar charging component is in an effective charging state, and records the number of times the camera records video at the end of the day (such as 23:59) to update the latest daily average number of times.
[0129] S830: Determine the effective trigger ratio according to the number of triggers and the number of recordings.
[0130] Generally, the number of times the detector triggers the recording command is greater than the number of times the recording device records the video. The number of recordings changes with the number of triggers, but the magnitude of the change is smaller than the magnitude of the change in the number of triggers. For example, the number of recordings increases with the increase in the number of triggers, and decreases with the decrease in the number of triggers.
[0131] When the video recording command successfully instructs the camera to record, the video recording command is a valid command. The effective trigger ratio is used to represent the ratio of the valid command in the total video recording commands.
[0132] Optionally, after obtaining the number of detector triggers and the number of camera recordings in the monitoring device, the ratio of the number of recordings to the number of triggers is obtained as the above-mentioned effective trigger ratio. For example, when the number of detector triggers is 50 and the number of camera recordings is 25, the effective trigger ratio is 25 / 50=50%.
[0133] S840: When the effective triggering ratio is greater than the preset maximum ratio, the detection sensitivity of the detector is increased.
[0134] Among them, the effective trigger ratio is greater than the preset maximum ratio, indicating that the number of recordings by the camera accounts for too large a proportion of the number of triggers by the detector, which does not meet the ratio requirement.
[0135] Optionally, the monitoring device compares the obtained effective trigger ratio with the preset maximum ratio to adjust the detection sensitivity of the detector. Wherein, when the effective trigger ratio is greater than the preset maximum ratio, the monitoring device increases the detection sensitivity of the detector, expands the sensing range of the detector, and increases the number of times the detector triggers the recording instruction, thereby reducing the effective trigger ratio until it is less than or equal to the preset ratio to meet the ratio requirement.
[0136] Optionally, the monitoring device can also compare the obtained effective triggering ratio with the preset minimum ratio to adjust the detection sensitivity of the detector. Wherein, if the effective triggering ratio is less than the preset minimum ratio, it indicates that the proportion of the camera's recording times in the detector's triggering times is too small and does not meet the ratio requirement.
[0137] For example, when the effective trigger ratio is less than the preset minimum ratio, the monitoring device reduces the detection sensitivity of the detector, narrows the perception range of the detector, and reduces the number of times the detector triggers the recording command, so as to increase the effective trigger ratio until it is greater than or equal to the preset ratio to meet the ratio requirement.
[0138] In the embodiment of the present application, the monitoring device includes a detector and a camera. When the amount of charge in a unit time of the monitoring device is less than or equal to the power consumption in a unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced; when the amount of charge in a unit time is greater than the power consumption in a unit time, and the power difference is greater than the preset difference, the detector is managed according to the historical working data of the detector and the camera in the monitoring device, and the detection sensitivity of the detector can be adjusted based on the effective trigger ratio. In the above method, the detection sensitivity of the detector in the monitoring device is flexibly adjusted, and the effective trigger ratio is adjusted inversely by adjusting the detection sensitivity to obtain an effective trigger ratio that meets the demand, so as to efficiently and accurately control the monitoring device to work on demand.
[0139] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0140] Based on the same inventive concept, the embodiment of the present application also provides a power consumption management device for a monitoring device for implementing the power consumption management method of the monitoring device involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power consumption management device embodiments provided below can refer to the limitations of the power consumption management method above, and will not be repeated here.
[0141] In one embodiment, Fig. 9 As shown, a power consumption management device for monitoring equipment is provided, including: a power monitoring module 901, a strategy determination module 902 and a power consumption management module 903, wherein:
[0142] The power monitoring module 901 is used to obtain the charging amount and power consumption of the monitoring device per unit time;
[0143] The mode determination module 902 is used to determine the target working mode of the monitoring device according to the charging amount per unit time and the power consumption per unit time;
[0144] The power consumption management module 903 is used to manage the power consumption of the monitoring device according to the target working mode.
[0145] In one embodiment, the power consumption management module 903 includes:
[0146] The mode acquisition submodule is used to obtain the current working mode of the monitoring device;
[0147] The power consumption management submodule is used to determine the power consumption management of the monitoring device according to the current working mode and the target working mode.
[0148] In one embodiment, the power consumption management submodule includes:
[0149] A first management unit, configured to maintain the current working mode of the monitoring device when the current working mode and the target working mode are the same;
[0150] The second management unit is used to switch the current working mode of the monitoring device to the target working mode when the current working mode and the target working mode are different.
[0151] In one embodiment, the mode determination module 902 includes:
[0152] A first mode unit, configured to determine that a target working mode of the monitoring device is a power consumption mode when the charging amount per unit time is greater than the power consumption per unit time;
[0153] The second mode unit determines that the target working mode of the monitoring device is the power saving mode when the charging amount per unit time is less than or equal to the power consumption per unit time; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0154] In one embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in a power consumption mode than in a power saving mode; and / or the recording interval of the camera in the power consumption mode is shorter than the recording interval in the power saving mode.
[0155] In one embodiment, the monitoring device includes a detector, and the above device also includes:
[0156] A result acquisition module is used to obtain a comparison result of the charging amount per unit time and the power consumption per unit time;
[0157] A sensitivity acquisition module is used to obtain the detection sensitivity of the detector in the monitoring device;
[0158] The detection management module is used to manage the detector according to the comparison result and the detection sensitivity.
[0159] In one embodiment, the monitoring device further includes a camera, and the detection management module includes:
[0160] A first adjustment submodule, configured to reduce the detection sensitivity of the detector when the comparison result shows that the charging amount per unit time is less than or equal to the power consumption per unit time and the detection sensitivity is higher than a preset sensitivity;
[0161] The second adjustment submodule is used to manage the detector according to the historical working data of the detector and the camera in the monitoring device when the charging amount per unit time is greater than the power consumption per unit time and the power difference is greater than a preset difference.
[0162] In one embodiment, the second adjustment submodule includes:
[0163] A trigger unit, used to determine the number of times the detector triggers a video recording instruction within a unit time according to the historical working data of the detector;
[0164] A recording unit, used to determine the number of times the camera records video in a unit of time according to the historical working data of the camera;
[0165] The proportion unit is used to determine the effective trigger proportion according to the number of triggers and the number of recordings;
[0166] The adjustment unit is used to increase the detection sensitivity of the detector when the effective triggering ratio is greater than the preset maximum ratio.
[0167] Each module in the above power management device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0168] In one embodiment, a monitoring device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0169] Obtain the charging amount and power consumption of the monitoring device per unit time; determine the target working mode of the monitoring device according to the charging amount and power consumption per unit time; and manage the power consumption of the monitoring device according to the target working mode.
[0170] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0171] Obtain the current working mode of the monitoring device; manage the power consumption of the monitoring device according to the current working mode and the target working mode.
[0172] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0173] When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained; when the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
[0174] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0175] When the amount of charge per unit time is greater than the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power consumption mode; when the amount of charge per unit time is less than or equal to the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power saving mode; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0176] In one embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in a power consumption mode than in a power saving mode; and / or the recording interval of the camera in the power consumption mode is shorter than the recording interval in the power saving mode.
[0177] In one embodiment, the monitoring device includes a detector, and the processor further implements the following steps when executing the computer program:
[0178] Obtain the comparison result of the charging amount per unit time and the power consumption per unit time; obtain the detection sensitivity of the detector in the monitoring device; manage the detector according to the comparison result and the detection sensitivity.
[0179] In one embodiment, the monitoring device further includes a camera, and the processor further implements the following steps when executing the computer program:
[0180] When the comparison result is that the charge amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced; when the charge amount per unit time is greater than the power consumption per unit time, and the power difference is greater than the preset difference, the detector is managed according to the historical working data of the detector and camera in the monitoring equipment.
[0181] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0182] Determine the number of times the detector triggers the recording command within a unit time based on the historical working data of the detector; determine the number of times the camera records video within a unit time based on the historical working data of the camera; determine the effective trigger ratio based on the number of triggers and the number of recordings; when the effective trigger ratio is greater than the preset maximum ratio, increase the detection sensitivity of the detector.
[0183] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0184] Obtain the charging amount and power consumption of the monitoring device per unit time; determine the target working mode of the monitoring device according to the charging amount and power consumption per unit time; and manage the power consumption of the monitoring device according to the target working mode.
[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0186] Obtain the current working mode of the monitoring device; manage the power consumption of the monitoring device according to the current working mode and the target working mode.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained; when the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
[0189] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0190] When the amount of charge per unit time is greater than the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power consumption mode; when the amount of charge per unit time is less than or equal to the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power saving mode; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0191] In one embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in a power consumption mode than in a power saving mode; and / or the recording interval of the camera in the power consumption mode is shorter than the recording interval in the power saving mode.
[0192] In one embodiment, the monitoring device includes a detector, and when the computer program is executed by a processor, the following steps are further implemented:
[0193] Obtain the comparison result of the charging amount per unit time and the power consumption per unit time; obtain the detection sensitivity of the detector in the monitoring device; manage the detector according to the comparison result and the detection sensitivity.
[0194] In one embodiment, the monitoring device further includes a camera, and when the computer program is executed by the processor, the following steps are further implemented:
[0195] When the comparison result is that the charge amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced; when the charge amount per unit time is greater than the power consumption per unit time, and the power difference is greater than the preset difference, the detector is managed according to the historical working data of the detector and camera in the monitoring equipment.
[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0197] Determine the number of times the detector triggers the recording command within a unit time based on the historical working data of the detector; determine the number of times the camera records video within a unit time based on the historical working data of the camera; determine the effective trigger ratio based on the number of triggers and the number of recordings; when the effective trigger ratio is greater than the preset maximum ratio, increase the detection sensitivity of the detector.
[0198] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0199] Obtain the charging amount and power consumption of the monitoring device per unit time; determine the target working mode of the monitoring device according to the charging amount and power consumption per unit time; and manage the power consumption of the monitoring device according to the target working mode.
[0200] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0201] Obtain the current working mode of the monitoring device; manage the power consumption of the monitoring device according to the current working mode and the target working mode.
[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0203] When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained; when the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
[0204] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0205] When the amount of charge per unit time is greater than the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power consumption mode; when the amount of charge per unit time is less than or equal to the power consumption per unit time, the target operating mode of the monitoring device is determined to be the power saving mode; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
[0206] In one embodiment, the monitoring device includes a detector and a camera, and the detector is turned on for a longer time in a power consumption mode than in a power saving mode; and / or the recording interval of the camera in the power consumption mode is shorter than the recording interval in the power saving mode.
[0207] In one embodiment, the monitoring device includes a detector, and when the computer program is executed by a processor, the following steps are further implemented:
[0208] Obtain the comparison result of the charging amount per unit time and the power consumption per unit time; obtain the detection sensitivity of the detector in the monitoring device; manage the detector according to the comparison result and the detection sensitivity.
[0209] In one embodiment, the monitoring device further includes a camera, and when the computer program is executed by the processor, the following steps are further implemented:
[0210] When the comparison result is that the charge amount per unit time is less than or equal to the power consumption per unit time, and the detection sensitivity is higher than the preset sensitivity, the detection sensitivity of the detector is reduced; when the charge amount per unit time is greater than the power consumption per unit time, and the power difference is greater than the preset difference, the detector is managed according to the historical working data of the detector and camera in the monitoring equipment.
[0211] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0212] Determine the number of times the detector triggers the recording command within a unit time based on the historical working data of the detector; determine the number of times the camera records video within a unit time based on the historical working data of the camera; determine the effective trigger ratio based on the number of triggers and the number of recordings; when the effective trigger ratio is greater than the preset maximum ratio, increase the detection sensitivity of the detector.
[0213] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0214] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0215] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for managing power consumption of a monitoring device, characterized in that: The method comprises: Obtain the charge amount of the monitoring device in unit time and the power consumption in unit time; The target operating mode of the monitoring device is determined based on the charge amount in the unit time and the power consumption in the unit time; The monitoring device is subject to power consumption management according to the target operating mode.
2. The method according to claim 1, characterized in that The power consumption management of the monitoring device according to the target operating mode includes: Obtaining the current working mode of the monitoring device; The monitoring device is subject to power consumption management according to the current operating mode and the target operating mode.
3. The method according to claim 2, characterized in that The monitoring device performs power consumption management according to the current working mode and the target working mode, including: When the current working mode and the target working mode are the same, the current working mode of the monitoring device is maintained; When the current working mode and the target working mode are different, the current working mode of the monitoring device is switched to the target working mode.
4. The method according to any one of claims 1 to 3, characterized in that The target working mode of the monitoring device is determined based on the charge amount in the unit time and the power consumption in the unit time, including: When the charge amount per unit time is greater than the power consumption per unit time, it is determined that the target operating mode of the monitoring device is the power consumption mode; When the charge amount within the unit time is less than or equal to the power consumption within the unit time, the target operating mode of the monitoring device is determined to be the power saving mode; wherein the power consumption of the monitoring device in the power saving mode is less than that in the power consumption mode.
5. The method according to claim 4, characterized in that The monitoring device includes a detector and a camera, and the detector's turn-on time in the power consumption mode is greater than the turn-on time in the power saving mode; and / or, The recording interval duration of the camera in the power consumption mode is smaller than the recording interval duration of the power saving mode.
6. The method according to claim 2, characterized in that The monitoring device includes a detector, and the method further comprises: Obtain a comparison result of the charge amount in the unit time and the power consumption amount in the unit time; Obtain the detection sensitivity of the detector in the monitoring device; The detector is managed based on the comparison results and the detection sensitivity.
7. The method according to claim 6, characterized in that The monitoring device further includes a camera, the detector is managed according to the comparison result and the detection sensitivity, including: If the comparison result is that the charging amount within the unit time is less than or equal to the power consumption within the unit time, and the detection sensitivity is higher than the preset sensitivity, then the detection sensitivity of the detector is reduced; When the charging amount within the unit time is greater than the power consumption within the unit time, and the power difference is greater than a preset difference, the detector is managed according to the historical working data of the detector and the camera in the monitoring device.
8. The method according to claim 7, characterized in that The detection is determined to manage the detector based on the working data of the detector and the camera in the monitoring device, including: Based on the historical working data of the detector, the number of triggering video recording instructions of the detector is determined in a unit time; Based on the historical working data of the camera, the number of times the camera records the video in the unit time is determined; The effective trigger ratio is determined based on the number of triggers and the number of video recordings; When the effective trigger proportion is greater than the preset maximum proportion, the detection sensitivity of the detector is increased.
9. A power consumption management device for monitoring equipment, characterized in that The device comprises: The power monitoring module is used to obtain the charging amount of the monitoring device in unit time and the power consumption in unit time; A mode determination module is configured to determine the target operating mode of the monitoring device based on the charge amount in the unit time and the power consumption in the unit time; A power consumption management module is used to perform power consumption management of the monitoring device according to the target operating mode.
10. A monitoring device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.