A method, apparatus, and computer device for defogging monitoring equipment.

By controlling the defogging power and duration, a wake-up command is generated to perform the initial and secondary defogging, and the device immediately goes into sleep mode after defogging. This solves the problem of image blurring caused by fogging of the monitoring device's window during standby, and realizes a low-power defogging method.

CN116540475BActive Publication Date: 2025-12-02ZHEJIANG DAHUA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310411664.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-10
Publication Date
2025-12-02
Estimated Expiration
2043-04-10

AI Technical Summary

Technical Problem

Existing low-power cameras require time to defog after the view window fogs up during standby, resulting in blurry images captured and recorded after waking up. However, constantly using defogging consumes excessive power, increasing standby power consumption and failing to meet the requirements for low-power device operation.

Method used

Methods to reduce the energy consumption of monitoring equipment by controlling the defogging power and defogging duration include generating wake-up commands, performing initial and secondary defogging, and immediately entering a sleep state after defogging.

Benefits of technology

While ensuring the defogging effect, it reduces the power consumption of the monitoring equipment, meeting the requirements for low-power devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116540475B_ABST
    Figure CN116540475B_ABST
Patent Text Reader

Abstract

This application relates to a defogging method, apparatus, and computer device for monitoring equipment. The method includes generating a wake-up command for defogging the monitoring equipment in a sleep state based on preset conditions, including a wake-up type; responding to the wake-up command, performing an initial defogging operation on the monitoring equipment for a first duration based on a first power, and a second defogging operation on the monitoring equipment for a second duration based on a second power; and controlling the monitoring equipment to enter a sleep state after defogging is completed. By adjusting the duration and power of the defogging operation on the monitoring equipment based on the aforementioned steps, and by immediately controlling the monitoring equipment to enter sleep mode after defogging, the power consumption of the monitoring equipment can be reduced while completing the defogging operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of monitoring equipment, and in particular relates to a defogging method, device, and computer equipment for monitoring equipment. Background Technology

[0002] Existing low-power cameras are generally powered by solar cells, which places high demands on standby power consumption. They are typically set to wake up periodically during operation, performing tasks such as image capture and recording, and then returning to sleep mode after the tasks are completed.

[0003] To meet power consumption requirements, defogging is only activated when the device wakes up. Since defogging takes time after the viewfinder fogs up, fogging during standby would result in blurry images captured and recorded by the camera after wake-up. Keeping defogging constantly on would continuously consume power, increasing standby power consumption and failing to meet the requirements for low-power devices. Summary of the Invention

[0004] Therefore, it is necessary to provide a defogging method, device, and computer equipment for monitoring equipment that reduces energy consumption by controlling the defogging power and defogging duration, in order to address the aforementioned technical problems.

[0005] In a first aspect, this application provides a defogging method for monitoring equipment, the method comprising:

[0006] Based on preset conditions, including wake-up type, generate a wake-up command to defog the monitoring device in sleep mode;

[0007] In response to the wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and then subjected to secondary defogging for a second duration based on a second power.

[0008] After the defogging process is completed, the monitoring equipment is controlled to enter a sleep state;

[0009] The monitoring equipment is in operation during the second time period.

[0010] In one embodiment, generating a wake-up command based on preset conditions, including wake-up type, includes:

[0011] The wake-up type includes timed wake-up, which generates a wake-up command that includes the wake-up time of the monitoring device and a preset wake-up time earlier than the wake-up time of the monitoring device.

[0012] In one embodiment, responding to the wake-up command by performing an initial defogging operation on the monitoring device for a first duration based on a first power, and performing a secondary defogging operation on the monitoring device for a second duration based on a second power, includes:

[0013] At the preset wake-up time, the monitoring device is subjected to initial defogging for a first duration based on a first power.

[0014] At the wake-up time of the monitoring device, the monitoring device is subjected to secondary defogging for a continuous second duration based on the second power.

[0015] Wherein, the first power is greater than the second power.

[0016] In one embodiment, generating a wake-up command based on preset conditions, including wake-up type, includes:

[0017] When the wake-up type includes external wake-up, a wake-up command containing the wake-up time of the monitoring device is generated.

[0018] In one embodiment, responding to the wake-up command by performing an initial defogging operation on the monitoring device for a first duration based on a first power, and performing a secondary defogging operation on the monitoring device for a second duration based on a second power, includes:

[0019] At the moment the monitoring device is woken up, the monitoring device is initially defogged using a first power for a continuous first duration.

[0020] The monitoring device is subjected to secondary defogging for a second duration based on the second power.

[0021] The monitoring device is in operation during both the first and second time periods, and the first power is greater than the second power.

[0022] In one embodiment, the defogging method further includes:

[0023] The battery level of the built-in battery in the monitoring device is periodically acquired;

[0024] The first power, the second power, the first duration, and the second duration are adjusted according to the power value.

[0025] In one embodiment, prior to responding to the wake-up command, the defogging method further includes:

[0026] Determine the time interval between the current moment and the last defogging;

[0027] If the time interval is less than the threshold, the monitoring device is subjected to secondary defogging for a second duration based on the second power.

[0028] Secondly, this application also provides a defogging device for monitoring equipment. The device includes:

[0029] The instruction generation module is used to generate wake-up instructions for defogging monitoring devices in a dormant state;

[0030] The defogging execution module is used to respond to the wake-up command, perform initial defogging on the monitoring device for a first duration based on a first power, and perform secondary defogging on the monitoring device for a second duration based on a second power;

[0031] The sleep module is used to control the monitoring device to enter sleep mode after the defogging is completed;

[0032] The monitoring equipment is in operation during the second time period.

[0033] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0034] Generate a wake-up command to defog the monitoring equipment that is in a dormant state;

[0035] In response to the wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and then subjected to secondary defogging for a second duration based on a second power.

[0036] After the defogging process is completed, the monitoring equipment is controlled to enter a sleep state.

[0037] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0038] Generate a wake-up command to defog the monitoring equipment that is in a dormant state;

[0039] In response to the wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and then subjected to secondary defogging for a second duration based on a second power.

[0040] After the defogging process is completed, the monitoring equipment is controlled to enter a sleep state.

[0041] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0042] Generate a wake-up command to defog the monitoring equipment that is in a dormant state;

[0043] In response to the wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and then subjected to secondary defogging for a second duration based on a second power.

[0044] After the defogging process is completed, the monitoring equipment is controlled to enter a sleep state.

[0045] The aforementioned defogging method, apparatus, computer equipment, storage medium, and computer program products for monitoring equipment adjust the duration and power of the defogging operation of the monitoring equipment, and immediately control the monitoring equipment to enter sleep mode after defogging, thereby reducing the power consumption of the monitoring equipment while completing the defogging operation. Attached Figure Description

[0046] Figure 1 This is an application environment diagram of a defogging method for monitoring equipment in one embodiment;

[0047] Figure 2 This is a flowchart illustrating a defogging method for a monitoring device in one embodiment;

[0048] Figure 3 This is a structural block diagram of a defogging device for monitoring equipment in one embodiment;

[0049] Figure 4 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] The defogging method for monitoring equipment provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or located in the cloud or on other network servers. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, head-mounted devices, etc. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0052] In one embodiment, such as Figure 2As shown, a defogging method for monitoring equipment is provided, which is applied to... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:

[0053] Step S20: Based on preset conditions, including wake-up type, generate a wake-up command to defog the monitoring device in sleep mode.

[0054] The wake-up command generated here is used to activate the defogging operation on the monitoring device. Considering that in practical use cases, monitoring devices are often in a sleep state to save power, and that there are two common wake-up types for monitoring devices in sleep mode—timed wake-up and external wake-up—subsequent embodiments will generate wake-up commands corresponding to these two wake-up types to execute the corresponding defogging operations.

[0055] Step S40: In response to the wake-up command, perform initial defogging on the monitoring device for a first duration based on the first power, and perform secondary defogging on the monitoring device for a second duration based on the second power.

[0056] The defogging operation on the monitoring equipment, executed in response to the wake-up command, consists of two parts: initial defogging and secondary defogging. The two defogging operations differ in duration and defogging power, which is related to the two wake-up types mentioned earlier. These two indicators are adjusted accordingly based on the different wake-up types. It's important to note that different durations and defogging powers consume varying amounts of power. Since the entire defogging operation relies on the monitoring equipment's built-in battery, adjusting the duration and defogging power can achieve a certain degree of power saving.

[0057] In this embodiment, the defogging operation relies on a heating defogging unit installed within the monitoring equipment, typically using a PTC device. The PTC device is powered by the monitoring equipment's built-in battery, which is charged using a solar photovoltaic unit. In this embodiment, the first power, second power, first duration, and second duration all refer to the power and operating time of the heating defogging unit during defogging.

[0058] It is important to note that the monitoring equipment remains operational during the second time period. Simultaneously, the heating and defogging unit continues its defogging operation during this second time period.

[0059] Step S60: After the defogging is completed, control the monitoring equipment to enter sleep mode.

[0060] In order to further save power consumption of the monitoring equipment, the monitoring equipment is immediately put into sleep mode after the defogging operation is completed and there is no monitoring or shooting task, until it is woken up by a wake-up command.

[0061] Based on the aforementioned steps, adjustments are made to the duration and power of the defogging operation of the monitoring equipment. Furthermore, the monitoring equipment is immediately put into sleep mode after defogging, which reduces the power consumption of the monitoring equipment while completing the defogging operation.

[0062] In one embodiment, generating a wake-up command to defog the monitoring device in a dormant state, step S20 includes:

[0063] Step S22: When the wake-up type includes timed wake-up, a wake-up command is generated that includes the wake-up time of the monitoring device and a preset wake-up time earlier than the wake-up time of the monitoring device.

[0064] In implementation, to satisfy both timed wake-up and external wake-up types, corresponding wake-up commands need to be generated based on preset conditions encompassing both wake-up types. It's important to note that in addition to the wake-up type, other content, including specific metrics for each wake-up type, can also be included. A specific example is as follows:

[0065] For the first type of wake-up mentioned above - timed wake-up, the corresponding wake-up command here includes two parameter values: preset wake-up time and monitoring device wake-up time. The monitoring device wake-up time is the actual time to wake up the monitoring device from its dormant state for monitoring and recording, while the preset wake-up time is a period of time relative to the monitoring device wake-up time, used for preheating and defogging the monitoring device.

[0066] In one embodiment, in response to a wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and a second defogging is performed for a second duration based on a second power. Step S40 includes:

[0067] Step S42: At the preset wake-up time, perform initial defogging on the monitoring device for a continuous first duration based on the first power.

[0068] Step S44: At the moment the monitoring device is woken up, perform secondary defogging on the monitoring device for a second duration based on the second power; wherein, the first power is greater than the second power.

[0069] In practice, the specific operation of defogging the monitoring equipment in response to the wake-up command is carried out in two steps.

[0070] First, the monitoring device is defogging at a preset wake-up time. The initial defogging operation is based on a first power level and lasts for a first duration.

[0071] Secondly, at the moment the monitoring equipment is woken up, the monitoring is defogging a second time based on the second power. The second defogging operation is based on the second power and lasts for a second duration.

[0072] For the convenience of understanding the defogging solution for timed wake-up proposed in this embodiment, an example is given below:

[0073] Assume the wake-up times are t1, t2, t3... tn, then control the initial defogging to start in advance at T1 - t0, T2 - t0, T3 - t0... Tn - t0, that is, in advance of the preset wake-up time. The first power of the initial defogging is set to P0. When the monitoring device is awakened at the wake-up time, the defogging power is adjusted to the second power P1. After the monitoring device completes the monitoring task, the defogging is turned off and it enters the sleep state.

[0074] It should be noted that in the case of timed wake-up, it is set that P1 < P0. An example of parameters is: the interval between the wake-up times of the monitoring device is 30 minutes, t0 = 3 minutes, P0 = 1W, P1 = 0.2W.

[0075] Exemplarily, an example of the defogging operation under timed wake-up here is given.

[0076] Set to execute the timed image capture task at 12:00.

[0077] 11:57: The RTC clock wakes up the low-power MCU on a timed basis, and the MCU controls the heater to turn on with a power of 1W.

[0078] 11:59:30: The MCU wakes up the camera system, and the camera system starts to boot up.

[0079] 12:00: The camera system has completed booting up, the MCU controls the heating power to be 0.2W, and executes the image capture task.

[0080] 12:XX: The image capture task has been completed, the sleep condition is met, and the camera system re-enters the sleep state.

[0081] The advantage of this method is that when heating is turned on in advance, there is no need to wake up the entire system, and the heating is only controlled by the low-power microcontroller. The power consumption of the camera system during operation is relatively large, generally about 5W. The power consumption of the low-power microcontroller during operation is small, generally about 0.01W. Therefore, it is not appropriate to directly wake up the camera system in advance when heating needs to be turned on in advance. Therefore, the heating is only controlled by the low-power microcontroller to be turned on in advance to achieve the purpose of saving power.

[0082] In this case, by adjusting the power and duration of the initial defogging and the secondary defogging, it is possible to effectively reduce the power consumption of the defogging operation while ensuring the defogging effect.

[0083] In one of the embodiments, according to the preset conditions including the wake-up type, a wake-up instruction is generated, and step S20 includes:

[0084] Step S224: When the wake-up type includes external wake-up, generate a wake-up command that includes the wake-up time of the monitoring device.

[0085] In implementation, for the second type of wake-up mentioned above—external wake-up—the generated wake-up command contains a single parameter value for a preset wake-up time. The wake-up time of the monitoring device is the actual time it takes to wake up the monitoring device for monitoring and recording.

[0086] In one embodiment, in response to a wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and a second defogging is performed for a second duration based on a second power. Step S40 includes:

[0087] Step S46: At the moment the monitoring device is woken up, the first power is used to perform the initial defogging on the monitoring device for a continuous first duration;

[0088] Step S48: Perform secondary defogging on the monitoring device for a second duration based on the second power; wherein the monitoring device is in working state during both the first and second durations, and the first power is greater than the second power.

[0089] In practice, the specific operation of defogging the monitoring equipment in response to the wake-up command is also executed in two steps.

[0090] First, the monitoring device is defogging at a preset wake-up time. The initial defogging operation is based on a first power level and lasts for a first duration.

[0091] Secondly, at the moment the monitoring equipment is woken up, the monitoring is defogging a second time based on the second power. The second defogging operation is based on the second power and lasts for a second duration.

[0092] To facilitate understanding of the defogging scheme for timed wake-up proposed in this embodiment, the following example is provided:

[0093] When the monitoring device is externally activated, it initiates a short-duration high-power defogging mode, then returns to the low-power normal defogging mode. The duration of the high-power defogging is t10, with a power of P10, while the power of the normal defogging mode is P11. An example parameter is: t10 = 30 seconds, P10 = 3W, P11 = 0.2W. The purpose of controlling the first power to be greater than the second power is to maximize defogging before the monitoring device operates, preventing fogging from affecting the monitoring imaging effect.

[0094] In this case, by allocating and adjusting the power and duration of the primary and secondary defogging operations, the power consumption of the defogging operation can be effectively reduced while ensuring the defogging effect.

[0095] In one embodiment, the above-described defogging method further includes:

[0096] Step S70, periodically obtain the power value of the built-in battery in the monitoring device;

[0097] Step S90, adjust the first power, the second power, the first duration, and the second duration according to the power value.

[0098] In implementation, in order to further reduce the power consumption of the built-in battery of the monitoring device, the first power, the second power, the first duration, and the second duration can also be adjusted according to the power value of the built-in battery.

[0099] The examples are as follows:

[0100] 1) Timed wake-up

[0101] When powered by solar energy or other battery systems, set t0, P0, and P1 by combining the battery power Q.

[0102] State 1: When Q > W1, set t0 to a slightly longer time, and P0 and P1 to slightly higher powers.

[0103] State 2: When W2 < Q < W1, set t0 to a medium time, and P0 and P1 to medium powers.

[0104] State 3: When Q < W2, set t0 to a shorter time or 0, and P0 and P1 to smaller powers or 0.

[0105] Among them, the threshold W1 > W2.

[0106] An example of parameters is: W1 = 80% power, W2 = 20% power.

[0107] State 1: t0 = 6 minutes, P0 = 2W, P1 = 0.5W.

[0108] State 2: t0 = 3 minutes, P0 = 1W, P1 = 0.2W.

[0109] State 3: t0 = 0, P0 = 0W, P1 = 0W

[0110] 2) External wake-up

[0111] State 1: When Q > W1, P10 and P11 are slightly higher powers.

[0112] State 2: When W2 < Q < W1, P10 and P11 are medium powers.

[0113] State ③: When Q < W2, P10 and P11 are smaller powers or 0.

[0114] Among them, the threshold W1 > W2.

[0115] One example of the parameters is: W1 = 80% battery capacity, W2 = 20% battery capacity.

[0116] State 1: P10 = 5W, P11 = 0.5W.

[0117] State 2: P10 = 3W, P11 = 0.2W.

[0118] State 3: P10 = 0W, P11 = 0W

[0119] Based on the aforementioned steps, adjustments are made to the duration and power of the defogging operation of the monitoring equipment. Furthermore, the monitoring equipment is immediately put into sleep mode after defogging, which reduces the power consumption of the monitoring equipment while completing the defogging operation.

[0120] Assuming that the conventional heating defogging method has a defogging power of 1W, and the defogging is always on, the average power consumption of defogging is 1W. Using the defogging method proposed in this embodiment, with a wake-up interval of 30 minutes and a wake-up working time of 2 minutes, the parameters t0 = 3 minutes, P0 = 1W, and P1 = 0.2W are used to calculate that the average power consumption of defogging is 0.13W.

[0121] For low-frequency events such as external interrupts or remote wake-ups (with an average wake-up interval much greater than 30 minutes), the average power consumption is even lower. Assuming an average interval of 2 hours for external interrupts or remote wake-ups, and the device operates for 5 minutes after wake-up, with t10 = 30 seconds, P10 = 3W, and P11 = 0.2W, the average power consumption for defogging is calculated to be 0.02W.

[0122] In one embodiment, prior to responding to the wake-up command, the defogging method further includes:

[0123] Step S31: Determine the time interval between the current moment and the last defogging;

[0124] Step S33: If the time interval is less than the threshold, the monitoring device is subjected to secondary defogging for a second duration based on the second power.

[0125] In practice, the reason for adding the time interval and threshold determination operation between the current moment and the previous defogging is that if the interval between the current defogging and the previous defogging is short, the fog on the monitoring device will not be too severe. In this case, the initial defogging under the two wake-up methods mentioned above is not required, and the secondary defogging based on the second power can be performed directly.

[0126] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0127] Based on the same inventive concept, this application also provides a defogging device for monitoring equipment to implement the defogging method for monitoring equipment described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more embodiments of the defogging device for monitoring equipment provided below can be found in the limitations of the defogging method for monitoring equipment described above, and will not be repeated here.

[0128] In one embodiment, such as Figure 3 As shown, a defogging device 30 for monitoring equipment is provided, comprising: an instruction generation module 32, a defogging execution module 34, and a sleep module 36, wherein:

[0129] The instruction generation module 32 is used to generate a wake-up instruction for defogging the monitoring device in a dormant state based on preset conditions, including wake-up type.

[0130] The wake-up command generated here is used to activate the defogging operation on the monitoring device. Considering that in actual use scenarios, monitoring devices often have two wake-up types: timed wake-up and external wake-up, in subsequent embodiments, wake-up commands corresponding to these two wake-up types will be generated to execute the corresponding defogging operations.

[0131] The defogging execution module 34 is used to respond to the wake-up command, perform initial defogging on the monitoring device for a first duration based on a first power, and perform secondary defogging on the monitoring device for a second duration based on a second power.

[0132] The defogging operation on the monitoring equipment, executed in response to the wake-up command, consists of two parts: initial defogging and secondary defogging. The two defogging operations differ in duration and defogging power, which is related to the two wake-up types mentioned earlier. These two indicators are adjusted accordingly based on the different wake-up types. It's important to note that different durations and defogging powers consume varying amounts of power. Since the entire defogging operation relies on the monitoring equipment's built-in battery, adjusting the duration and defogging power can achieve a certain degree of power saving.

[0133] In this embodiment, the defogging operation relies on a heating defogging unit installed within the monitoring equipment, typically using a PTC device. The PTC device is powered by the monitoring equipment's built-in battery, which is charged using a solar photovoltaic unit. In this embodiment, the first power, second power, first duration, and second duration all refer to the power and operating time of the heating defogging unit during defogging.

[0134] It is important to note that the monitoring equipment remains operational during the second time period. Simultaneously, the heating and defogging unit continues its defogging operation during this second time period.

[0135] The hibernation module 36 is used to control the monitoring device to enter hibernation mode after the defogging is completed.

[0136] In order to further save power consumption of the monitoring equipment, the monitoring equipment is immediately put into sleep mode after the defogging operation is completed and there is no monitoring or shooting task, until it is woken up by a wake-up command.

[0137] Based on the aforementioned steps, adjustments are made to the duration and power of the defogging operation of the monitoring equipment. Furthermore, the monitoring equipment is immediately put into sleep mode after defogging, which reduces the power consumption of the monitoring equipment while completing the defogging operation.

[0138] The modules in the aforementioned defogging device for monitoring equipment can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0139] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 4As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a defogging method for monitoring equipment. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device casing, or an external keyboard, touchpad, or mouse.

[0140] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0141] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0142] Step S20: Based on preset conditions, including wake-up type, generate a wake-up command to defog the monitoring device in sleep mode.

[0143] Step S40: In response to the wake-up command, perform initial defogging on the monitoring device for a first duration based on the first power, and perform secondary defogging on the monitoring device for a second duration based on the second power.

[0144] Step S60: After the defogging is completed, control the monitoring device to enter a sleep state.

[0145] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0146] Step S20: Based on preset conditions, including wake-up type, generate a wake-up command to defog the monitoring device in sleep mode.

[0147] Step S40: In response to the wake-up command, perform initial defogging on the monitoring device for a first duration based on a first power, and perform secondary defogging on the monitoring device for a second duration based on a second power. Step S60: After defogging is completed, control the monitoring device to enter sleep mode.

[0148] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0149] Step S20: Based on preset conditions, including wake-up type, generate a wake-up command to defog the monitoring device in sleep mode.

[0150] Step S40: In response to the wake-up command, perform initial defogging on the monitoring device for a first duration based on the first power, and perform secondary defogging on the monitoring device for a second duration based on the second power.

[0151] Step S60: After the defogging is completed, control the monitoring device to enter a sleep state.

[0152] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0153] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this 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), magnetic 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0154] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.

[0155] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for defogging monitoring equipment, characterized in that, The defogging method includes: Based on preset conditions, including wake-up type, a wake-up command is generated to defog the monitoring equipment in sleep mode; wherein: When the wake-up type includes timed wake-up, a wake-up command is generated that includes the wake-up time of the monitoring device and a preset wake-up time earlier than the wake-up time of the monitoring device. In response to the wake-up command, the monitoring device is subjected to initial defogging for a first duration based on a first power, and then subjected to secondary defogging for a second duration based on a second power. After the defogging process is completed, the monitoring equipment is controlled to enter a sleep state; The monitoring equipment is in operation during the second time period.

2. The defogging method for monitoring equipment according to claim 1, characterized in that, The step of responding to the wake-up command by performing an initial defogging operation on the monitoring device for a first duration based on a first power, and a secondary defogging operation on the monitoring device for a second duration based on a second power, includes: At the preset wake-up time, the monitoring device is subjected to initial defogging for a first duration based on a first power. At the wake-up time of the monitoring device, the monitoring device is subjected to secondary defogging for a continuous second duration based on the second power. Wherein, the first power is greater than the second power.

3. The defogging method for monitoring equipment according to claim 1, characterized in that, The defogging method further includes: The battery level of the built-in battery in the monitoring device is periodically acquired; The first power, the second power, the first duration, and the second duration are adjusted according to the power value.

4. The defogging method for monitoring equipment according to claim 1, characterized in that, The defogging method further includes: Before responding to the wake-up command, determine the time interval between the current moment and the last defogging; If the time interval is less than the threshold, the initial defogging is skipped in response to the wake-up command, and the monitoring device is directly subjected to a second defogging for a continuous second duration based on the second power.

5. A defogging device for monitoring equipment, characterized in that, The device includes: The instruction generation module is used to generate a wake-up instruction for defogging monitoring equipment in a dormant state based on preset conditions, including wake-up type; wherein: When the wake-up type includes timed wake-up, a wake-up command is generated that includes the wake-up time of the monitoring device and a preset wake-up time earlier than the wake-up time of the monitoring device. The defogging execution module is used to respond to the wake-up command, perform initial defogging on the monitoring device for a first duration based on a first power, and perform secondary defogging on the monitoring device for a second duration based on a second power; The sleep module is used to control the monitoring device to enter sleep mode after the defogging is completed; The monitoring equipment is in operation during the second time period.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • A method and system for automatic defrosting and defogging

    CN109204233A

  • Monitoring and shooting device for power transmission line

    CN217116215U