Circuit control methods, devices, and computer equipment for outdoor sensors

By dynamically adjusting the sensor circuit through an outdoor smart gateway and shutting down some sensors based on power consumption and operational characteristics, the uncertainty of power supply for outdoor sensors is solved, enabling efficient power utilization and normal sensor operation.

CN114204660BActive Publication Date: 2026-03-13GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The power supply method of outdoor sensors is uncertain, especially solar power, which is affected by the changes of day and night, which can hinder the normal operation of the sensors.

Method used

The system obtains available power through an outdoor smart gateway. When the power level falls below a preset threshold, it identifies the target sensor to be shut down based on the sensor's operating characteristics, switches its circuit status to an unloaded state, and dynamically adjusts the circuit to ensure that the remaining sensors operate normally.

Benefits of technology

When the power is low, the sensor circuit is dynamically adjusted to ensure that some sensors work normally, save power, and avoid sensor shutdown due to insufficient power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114204660B_ABST
    Figure CN114204660B_ABST
Patent Text Reader

Abstract

This application relates to a circuit control method, apparatus, computer device, and storage medium for outdoor sensors. The method includes: acquiring the available power for the outdoor sensors to operate; when the available power is lower than a preset first power threshold, acquiring the operating characteristics of each of the multiple outdoor sensors, wherein the operating characteristics are the features of the corresponding outdoor sensors when collecting sensing data; determining the target sensor to be shut down from the multiple outdoor sensors based on the operating characteristics of each outdoor sensor; and switching the circuit state of the target sensor from a connected state to an idle state, thereby realizing the dynamic adjustment of the outdoor sensor circuit. By converting the circuits of some outdoor sensors to an idle state when the current power is insufficient, the remaining outdoor sensors can operate normally.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of sensor technology, and in particular to a circuit control method, apparatus, computer equipment, and storage medium for an outdoor sensor. Background Technology

[0002] Smart gateways can supply power to smart terminals through solar or inductive power sources, enabling online monitoring of power transmission, such as by collecting images, videos, tension, and temperature information from sensors.

[0003] However, power supply methods such as solar power or inductive power have uncertainties. For example, for solar power, the day and night changes at the same location have a significant impact on the effectiveness of solar power. The uncertainty of energy reserves hinders the normal operation of sensors. Summary of the Invention

[0004] Therefore, it is necessary to provide a circuit control method, device, computer equipment, and storage medium for outdoor sensors to address the aforementioned technical problems.

[0005] A circuit control method for an outdoor sensor, applied to an outdoor smart gateway, the method comprising:

[0006] Obtain the current available power for the outdoor sensor to operate;

[0007] When the available power is lower than a preset first power threshold, the operation characteristics of each of the multiple outdoor sensors are acquired. The operation characteristics are the characteristics of the corresponding outdoor sensors when collecting sensor data.

[0008] Based on the operational characteristics of each outdoor sensor, the target sensor to be shut down is determined from the plurality of outdoor sensors;

[0009] Switch the circuit state corresponding to the target sensor from the connected state to the unloaded state.

[0010] In one embodiment, the operational characteristics include the sampling period for the outdoor sensors to collect sensor data, and the step of determining the target sensor to be shut down from the plurality of outdoor sensors based on the operational characteristics corresponding to each outdoor sensor includes:

[0011] Based on the sampling period of each outdoor sensor, the outdoor sensor that is currently idle is determined from the plurality of outdoor sensors and used as the target sensor.

[0012] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, the method further includes:

[0013] Obtain the sum of the power consumption of multiple candidate outdoor sensors whose current circuit state is connected;

[0014] When the sum of the power consumption is greater than the available power consumption, the importance level corresponding to the sensing data collected by each candidate outdoor sensor is obtained.

[0015] Switch the circuit state of the preset number of candidate outdoor sensors with the lowest importance level from the connected state to the unloaded state.

[0016] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, the method further includes:

[0017] Obtain the operating power of each of the multiple candidate outdoor sensors whose current circuit state is connected.

[0018] Switch the circuit state of the preset number of candidate outdoor sensors with the highest operating power from the connected state to the unloaded state.

[0019] In one embodiment, obtaining the available power for the outdoor sensor to operate includes:

[0020] Obtain the current battery level stored in the outdoor smart gateway;

[0021] The available power for the outdoor sensor to operate is determined based on the power level.

[0022] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, the method further includes:

[0023] The battery level currently stored in the outdoor smart gateway is obtained according to a preset time.

[0024] When the power level exceeds a preset second power threshold, the circuit state corresponding to the target sensor is switched from an idle state to a connected state.

[0025] In one embodiment, after obtaining the currently stored battery power of the outdoor smart gateway according to a preset time, the method further includes:

[0026] When the current stored power of the outdoor smart gateway is lower than the preset third power threshold, the data change corresponding to the sensing data collected by each outdoor sensor is obtained.

[0027] The circuit state corresponding to the outdoor sensor whose data change does not exceed the preset change range is switched from the connected state to the unloaded state.

[0028] A circuit control device for an outdoor sensor, applied to an outdoor smart gateway, the device comprising:

[0029] The available power acquisition module is used to acquire the current available power for the outdoor sensor to operate;

[0030] The operation feature acquisition module is used to acquire the operation features corresponding to each of the multiple outdoor sensors when the available power is lower than a preset first power threshold. The operation features are the features of the corresponding outdoor sensors when collecting sensing data.

[0031] The target sensor determination module is used to determine the target sensor to be shut down from the plurality of outdoor sensors based on the operational characteristics corresponding to each outdoor sensor.

[0032] The no-load state switching module is used to switch the circuit state corresponding to the target sensor from the connected state to the no-load state.

[0033] A computer device includes a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the method as described in any of the preceding claims.

[0034] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method as described in any of the preceding claims.

[0035] The aforementioned circuit control method, device, computer equipment, and storage medium for outdoor sensors allow an outdoor smart gateway to acquire the available power for the outdoor sensors to operate. When the available power is lower than a preset first power threshold, it acquires the operating characteristics of each of the multiple outdoor sensors and, based on the operating characteristics of each outdoor sensor, determines the target sensor to be shut down from among the multiple outdoor sensors. It then switches the circuit state of the target sensor from a connected state to an idle state, thereby achieving dynamic adjustment of the outdoor sensor circuit. By converting the circuits of some outdoor sensors to an idle state when the current power is insufficient, it ensures that the remaining outdoor sensors operate normally. Attached Figure Description

[0036] Figure 1 This is an application environment diagram of a circuit control method for an outdoor sensor in one embodiment;

[0037] Figure 2 This is a schematic flowchart of a circuit control method for an outdoor sensor in one embodiment;

[0038] Figure 3 This is a schematic flowchart of a circuit control method for an outdoor sensor in another embodiment;

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

[0040] 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.

[0041] This application provides a circuit control method for an outdoor sensor, which can be applied to, for example... Figure 1 In the application environment shown, the outdoor smart gateway 102 can communicate with multiple outdoor sensors 104 via a network. Deployed outdoors, the outdoor smart gateway 102 can obtain power through solar power and / or inductive power. The power obtained by the outdoor smart gateway 102 can be used for the operation of the sensors 104. For example, the outdoor smart gateway 102 can be electrically connected to the outdoor sensors 104 and distribute the obtained power to the outdoor sensors 104.

[0042] The outdoor smart gateway 102 may include multiple modules such as a 5G module, a 4G module, a MESH networking module, and a main processor. The outdoor smart gateway 102 can send control commands to the outdoor sensors 104 and collect the sensor data collected by each outdoor sensor 104, uploading it centrally to an IoT platform. In practical applications, the outdoor smart gateway 102 can be implemented using a standalone server or a server cluster composed of multiple servers, or it can be a system consisting of terminals and servers. The outdoor sensors 104 can monitor power transmission lines and / or power grid equipment and collect corresponding sensor data.

[0043] In one embodiment, such as Figure 2 As shown, a circuit control method for an outdoor sensor is provided, which can be applied to... Figure 1 Taking the outdoor smart gateway 102 as an example, the following steps may be included:

[0044] Step 201: Obtain the current available power for the outdoor sensor to operate.

[0045] As an example, outdoor sensors may include at least one of the following: camera equipment, micro-weather sensor, tower tilt sensor, tension sensor, tilt sensor, wire clamp temperature sensor, conductor galloping sensor, and smart spacer.

[0046] In practical applications, the outdoor smart gateway can obtain the available power that it can currently supply to the outdoor sensors. This available power can be the available power corresponding to one outdoor sensor or the available power corresponding to multiple outdoor sensors. For example, when the outdoor smart gateway supplies power to multiple outdoor sensors at the same time, the available power can be the sum of the power used by the multiple outdoor sensors in their working state.

[0047] Step 202: When the available power is lower than a preset first power threshold, acquire the operation characteristics corresponding to each of the multiple outdoor sensors.

[0048] Among them, the operational characteristics can be the features of the corresponding outdoor sensor when collecting sensing data. The operational characteristics can characterize the working mode and operational status of the outdoor sensor when collecting sensing data. For example, the operational characteristics can include the sampling period of the outdoor sensor, which can determine the sampling interval of the outdoor sensor; or the operational characteristics can include the status parameters of the outdoor sensor when performing sampling work, such as power consumption, voltage, current and other information.

[0049] The first power threshold can be a warning power level. Under the power level corresponding to the first power threshold, the outdoor smart gateway can only supply power to the outdoor sensor for a preset period of time in the future. When the preset period of time is exceeded, the power of the outdoor smart gateway will be exhausted or insufficient to power at least one outdoor sensor to work normally.

[0050] In its implementation, after acquiring the available power, the outdoor smart gateway can determine whether the current power level is below a preset first power threshold. If the current power level is not below the preset first power threshold, it can continue to supply power to each outdoor sensor normally. If it detects that the current available power level is below the preset first power threshold, it can acquire the operational characteristics corresponding to each of the multiple outdoor sensors.

[0051] Step 203: Based on the operational characteristics of each outdoor sensor, determine the target sensor to be shut down from the plurality of outdoor sensors.

[0052] In practical applications, since the current available power is lower than the first power threshold, power can be saved by switching the circuits corresponding to one or more outdoor sensors to an idle state, thus maintaining the normal operation of other outdoor sensors.

[0053] Specifically, after acquiring the operational characteristics of each outdoor sensor, the operational features and current working status of each outdoor sensor can be determined through these features, thereby identifying the target sensor to be shut down from among multiple outdoor sensors.

[0054] Step 204: Switch the circuit state corresponding to the target sensor from the connected state to the unloaded state.

[0055] As an example, an unloaded state can be defined as an outdoor sensor in a standby state, which can be further divided into hot standby and cold standby. In hot standby, the power supply side of the outdoor sensor has voltage, but no current flows. In cold standby, the power supply side of the outdoor sensor has neither voltage nor current flows.

[0056] Once the target sensor is identified, its corresponding circuit state can be switched from a connected state to an idle state. By switching the target sensor's circuit state to an idle state, the outdoor smart gateway can avoid continuing to supply power to the target sensor, and instead primarily supply power to the remaining outdoor sensors that are in a connected state, ensuring their normal operation.

[0057] In this embodiment, the outdoor smart gateway can obtain the available power for the outdoor sensors to operate. When the available power is lower than a preset first power threshold, it obtains the operating characteristics of each of the multiple outdoor sensors and determines the target sensor to be shut down from among the multiple outdoor sensors based on the operating characteristics of each outdoor sensor. It then switches the circuit state of the target sensor from the connected state to the idle state, thereby realizing the dynamic adjustment of the outdoor sensor circuit. By converting the circuit of some outdoor sensors to the idle state when the current power is insufficient, the remaining outdoor sensors can operate normally.

[0058] In one embodiment, when the operational characteristics include the sampling period of the sensor data collected by the outdoor sensors, determining the target sensor to be shut down from the plurality of outdoor sensors based on the operational characteristics corresponding to each outdoor sensor may include the following steps:

[0059] Based on the sampling period of each outdoor sensor, the outdoor sensor that is currently idle is determined from the plurality of outdoor sensors and used as the target sensor.

[0060] Specifically, after obtaining the sampling period for each outdoor sensor, the system can identify the currently idle outdoor sensor from among multiple outdoor sensors based on the sampling period, and use this sensor as the target sensor. For example, if outdoor sensor A collects data every 15 minutes, the outdoor smart gateway, after obtaining the sampling period for outdoor sensor A, can obtain the time of the last data collection by outdoor sensor A, and determine the time of the next data collection by the outdoor sensor based on this time and the sampling period, thereby determining whether the outdoor sensor is currently idle.

[0061] In this embodiment, based on the sampling period corresponding to each outdoor sensor, the outdoor sensor currently in an idle state is determined from multiple outdoor sensors and used as the target sensor. By switching the circuit state corresponding to the outdoor sensor in an idle state to an unloaded state, the normal operation of the outdoor sensor is not affected, and power can be saved to allow the other outdoor sensors to operate normally.

[0062] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, the following steps may also be included:

[0063] Obtain the sum of the power consumption of multiple candidate outdoor sensors whose current circuit state is connected; when the sum of the power consumption is greater than the available power, obtain the importance level corresponding to the sensing data collected by each candidate outdoor sensor; switch the circuit state corresponding to a preset number of candidate outdoor sensors with the lowest importance level from connected state to unloaded state.

[0064] As an example, a candidate outdoor sensor can be an outdoor sensor whose circuit state is connected. The sum of power consumption can be the total power consumption required by multiple candidate outdoor sensors to perform one or more sampling tasks within a preset time period in the future.

[0065] In practical implementation, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, multiple outdoor sensors whose current circuit state is still connected can be identified as candidate outdoor sensors. After identifying multiple candidate outdoor sensors, the sum of the power consumption of multiple candidate outdoor sensors can be obtained.

[0066] After obtaining the total power consumption, the total power consumption can be compared with the available power consumption already obtained by the outdoor smart gateway. When the total power consumption is less than or equal to the available power consumption, the smart gateway can supply power to each candidate outdoor sensor normally.

[0067] When the sum of the total power consumption is less than the available power, it can be determined that the current available power of the outdoor smart gateway is insufficient to power multiple candidate outdoor sensors. Based on this, the importance level corresponding to the sensor data collected by each candidate sensor can be obtained, and the circuit status corresponding to a preset number of candidate outdoor sensors with the lowest importance level can be switched from the connected state to the idle state. The preset number can be determined based on the difference between the sum of the total power consumption and the available power.

[0068] In this embodiment, the sum of the power consumption of multiple candidate outdoor sensors whose current circuit state is connected can be obtained. When the sum of power consumption is greater than the available power, the importance level corresponding to the sensing data collected by each candidate outdoor sensor is obtained, and the circuit state corresponding to a preset number of candidate outdoor sensors with the lowest importance level is switched from connected state to idle state. Thus, when the available power is insufficient, the circuits corresponding to multiple outdoor sensors with lower importance can be further set to idle, saving power and reducing the impact on the collected sensing data.

[0069] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, it may further include:

[0070] Obtain the operating power of each of the multiple candidate outdoor sensors whose current circuit state is connected; switch the circuit state of the preset number of candidate outdoor sensors with the highest operating power from connected state to unloaded state.

[0071] As an example, the operating power of a candidate outdoor sensor can be the power required by the candidate outdoor sensor to perform a single sensing data sampling task.

[0072] In practical implementation, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, multiple outdoor sensors whose current circuit state is still connected can be identified as candidate outdoor sensors. After identifying multiple candidate outdoor sensors, the operating power of each candidate outdoor sensor can be obtained, for example, based on the operating parameters of each candidate outdoor sensor, to determine the operating power of the candidate outdoor sensor.

[0073] After determining the operating power of each candidate outdoor sensor, a preset number of candidate outdoor sensors with the highest operating power can be identified, and the circuit state corresponding to the preset number of candidate outdoor sensors can be switched from the connected state to the no-load state.

[0074] In this embodiment, by obtaining the operating power of each of the candidate outdoor sensors whose current circuit state is connected, the circuit state corresponding to the preset number of candidate outdoor sensors with the highest operating power is switched from connected state to idle state. When the available power is insufficient, by setting the circuits corresponding to the multiple outdoor sensors with the highest operating power to idle state, more outdoor sensors can work normally.

[0075] In one embodiment, obtaining the available power for the outdoor sensor to operate may include:

[0076] Obtain the current stored power level of the outdoor smart gateway; determine the available power level for the outdoor sensors to operate based on the stored power level.

[0077] In a practical implementation, the outdoor smart gateway can determine its current stored power, and then, based on its current stored power, determine the available power for the outdoor sensor to work. For example, after determining the current stored power, it can determine the available power for the outdoor sensor to work according to a preset allocation ratio.

[0078] In this embodiment, the current power level stored in the outdoor smart gateway can be obtained, and the available power level for the outdoor sensor to operate can be determined based on the power level, thus quickly determining the available power level of the outdoor sensor.

[0079] In one embodiment, after switching the circuit state corresponding to the target sensor from a connected state to an unloaded state, it may further include:

[0080] The power level stored in the outdoor smart gateway is obtained according to a preset time. When the power level exceeds a preset second power threshold, the circuit state corresponding to the target sensor is switched from an idle state to a connected state.

[0081] In practical applications, after switching the circuit state corresponding to the target sensor from the connected state to the idle state, the current stored power of the outdoor smart gateway can be obtained according to a preset time. When the power exceeds the preset second power threshold, the circuit state corresponding to the target sensor can be switched from the idle state to the connected state.

[0082] Specifically, the outdoor smart gateway can obtain power through solar power and / or inductive power, and can continuously store power during the power consumption process. When the stored power exceeds a second preset power level, it can be determined that the current power is sufficient to power the various outdoor sensors to work normally. Therefore, the circuit status of the target sensor can be switched from an idle state to a connected state.

[0083] In this embodiment, the current stored power of the outdoor smart gateway can be obtained according to a preset time. When the power exceeds a preset second power threshold, the circuit state corresponding to the target sensor is switched from an idle state to a connected state. The circuit of the outdoor sensor can be dynamically adjusted according to the current stored power, and the outdoor sensor can be controlled to work normally when the power is sufficient.

[0084] In one embodiment, after obtaining the currently stored battery power of the outdoor smart gateway according to a preset time, the method may further include:

[0085] When the current stored power of the outdoor smart gateway is lower than the preset third power threshold, the gateway acquires the data change corresponding to the sensing data collected by each outdoor sensor; and switches the circuit state corresponding to the outdoor sensor whose data change does not exceed the preset change range from the connected state to the unloaded state.

[0086] In practical applications, after switching the circuit state corresponding to the target sensor from the connected state to the unloaded state, the power stored in the outdoor smart gateway can be obtained according to a preset time, so as to realize dynamic monitoring of the currently stored power.

[0087] When the battery level stored in the outdoor smart gateway is lower than a preset third battery threshold, the gateway can acquire the data change corresponding to the sensor data collected by each of the multiple outdoor sensors currently in a connected state. For example, it can compare the most recently acquired sensor data with historical sensor data and determine the data change based on the quotient or difference between the two.

[0088] After determining the data change amount corresponding to each outdoor sensor, it is possible to identify outdoor sensors whose data change amount does not exceed the preset change amount range, and switch the circuit state corresponding to the outdoor sensor from the connected state to the no-load state.

[0089] In this embodiment, when the current stored power of the outdoor smart gateway is lower than the preset third power threshold, it can obtain the data change corresponding to the sensing data collected by each outdoor sensor, and switch the circuit state corresponding to the outdoor sensor whose data change does not exceed the preset change range from the connected state to the idle state. Thus, when the power is insufficient, the circuit state corresponding to the outdoor sensor with stable sensing data can be set to the idle state, saving power.

[0090] It should be understood that, although Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.

[0091] In one embodiment, such as Figure 3 As shown, a circuit control device for an outdoor sensor is provided, which can be applied to an outdoor smart gateway. The device includes:

[0092] The available power acquisition module 301 is used to acquire the current available power for the outdoor sensor to operate;

[0093] The operation feature acquisition module 302 is used to acquire the operation features corresponding to each of the multiple outdoor sensors when the available power is lower than a preset first power threshold. The operation features are the features of the corresponding outdoor sensors when collecting sensor data.

[0094] The target sensor determination module 303 is used to determine the target sensor to be shut down from the plurality of outdoor sensors based on the operation characteristics corresponding to each outdoor sensor.

[0095] The no-load state switching module 304 is used to switch the circuit state corresponding to the target sensor from the connected state to the no-load state.

[0096] In one embodiment, the operational characteristics include the sampling period for outdoor sensor data acquisition, and the target sensor determination module 303 includes:

[0097] The idle sensor determination submodule is used to determine the outdoor sensor that is currently idle from the plurality of outdoor sensors according to the sampling period corresponding to each outdoor sensor, and use it as the target sensor.

[0098] In one embodiment, the apparatus further includes:

[0099] The power consumption sum determination module is used to obtain the sum of the power consumption of multiple candidate outdoor sensors whose current circuit state is connected.

[0100] The importance level determination module is used to obtain the importance level corresponding to the sensing data collected by each candidate outdoor sensor when the sum of the power is greater than the available power.

[0101] The no-load state switching module is used to switch the circuit state corresponding to a preset number of candidate outdoor sensors with the lowest importance level from the connected state to the no-load state.

[0102] In one embodiment, the apparatus further includes:

[0103] The working power determination module is used to obtain the working power of each of the multiple candidate outdoor sensors whose current circuit state is connected.

[0104] The no-load state adjustment module is used to switch the circuit state corresponding to the preset number of candidate outdoor sensors with the highest operating power from the connected state to the no-load state.

[0105] In one embodiment, the available power acquisition module 301 is specifically used to acquire the power currently stored in the outdoor smart gateway; and determine the available power for the outdoor sensor to operate based on the power.

[0106] In one embodiment, it also includes:

[0107] The real-time power acquisition module is used to acquire the power currently stored in the outdoor smart gateway according to a preset time.

[0108] The connectivity switching module is used to switch the circuit state corresponding to the target sensor from an idle state to a connected state when the power exceeds a preset second power threshold.

[0109] In one embodiment, it also includes:

[0110] The data change determination module is used to obtain the data change corresponding to the sensing data collected by each outdoor sensor when the current stored power of the outdoor smart gateway is lower than the preset third power threshold.

[0111] The shutdown module is used to switch the circuit state of the outdoor sensor corresponding to the data change amount not exceeding the preset change amount range from the connected state to the unloaded state.

[0112] For specific limitations regarding the circuit control device of an outdoor sensor, please refer to the limitations of the circuit control method for an outdoor sensor described above, which will not be repeated here. Each module in the aforementioned circuit control device for an outdoor sensor 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 in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0113] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 4 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores electrical data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a circuit control method for an outdoor sensor.

[0114] 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.

[0115] 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:

[0116] Obtain the current available power for the outdoor sensor to operate;

[0117] When the available power is lower than a preset first power threshold, the operation characteristics of each of the multiple outdoor sensors are acquired. The operation characteristics are the characteristics of the corresponding outdoor sensors when collecting sensor data.

[0118] Based on the operational characteristics of each outdoor sensor, the target sensor to be shut down is determined from the plurality of outdoor sensors;

[0119] Switch the circuit state corresponding to the target sensor from the connected state to the unloaded state.

[0120] In one embodiment, the processor also performs the steps described in the other embodiments when executing the computer program.

[0121] 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:

[0122] Obtain the current available power for the outdoor sensor to operate;

[0123] When the available power is lower than a preset first power threshold, the operation characteristics of each of the multiple outdoor sensors are acquired. The operation characteristics are the characteristics of the corresponding outdoor sensors when collecting sensor data.

[0124] Based on the operational characteristics of each outdoor sensor, the target sensor to be shut down is determined from the plurality of outdoor sensors;

[0125] Switch the circuit state corresponding to the target sensor from the connected state to the unloaded state.

[0126] In one embodiment, the computer program, when executed by a processor, also implements the steps described in the other embodiments above.

[0127] 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 methods described above. Any references to memory, storage, 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, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0128] 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.

[0129] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. 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 patent application should be determined by the appended claims.

Claims

1. A circuit control method for an outdoor sensor, characterized in that, An outdoor smart gateway with active power acquisition capability is applied, wherein the active power acquisition method includes solar and / or inductive power supply. The smart gateway is electrically connected to the outdoor sensor, which is used to monitor and collect sensing data from transmission lines and / or power grid equipment. The method includes: Obtain the current battery level stored in the outdoor smart gateway; Based on the preset allocation ratio, the available power for the operation of multiple outdoor sensors is determined. When the available power is lower than a preset first power threshold, the operation characteristics corresponding to each of the multiple outdoor sensors are acquired. The operation characteristics are the characteristics of the corresponding outdoor sensor when collecting the sensing data. The operation characteristics include the sampling period of the outdoor sensor. The time of the last data acquisition by each outdoor sensor is obtained, and the time of the next data acquisition by each outdoor sensor is determined based on the time of the last data acquisition and the sampling period. Based on the time of the next data acquisition, and according to the sampling period corresponding to each outdoor sensor, the outdoor sensor that is currently in an idle state is determined from the plurality of outdoor sensors as the target sensor. Switch the circuit state corresponding to the target sensor from the connected state to the unloaded state; After the target sensor is switched to an idle state, the sum of the power consumption to be consumed by multiple candidate outdoor sensors whose circuit state is connected is obtained; the sum of the power consumption to be consumed is the total power required by the multiple candidate outdoor sensors to perform one or more sampling tasks within a preset time period in the future; when the sum of the power consumption is greater than the available power, the importance level corresponding to the sensing data collected by each candidate outdoor sensor is obtained; based on the difference between the sum of the power consumption and the available power, a preset number of candidate outdoor sensors that need to be turned off is determined; the circuit state corresponding to the preset number of candidate outdoor sensors with the lowest importance level is switched from connected state to idle state; and / or, After the target sensor is switched to an idle state, the operating power of each of the multiple candidate outdoor sensors whose circuit state is connected is obtained; the circuit state of the preset number of candidate outdoor sensors with the highest operating power is switched from connected state to idle state. The battery level currently stored in the outdoor smart gateway is obtained according to a preset time. When the outdoor smart gateway acquires power, if the power exceeds a preset second power threshold, the circuit state corresponding to the target sensor is switched from an idle state to a connected state; the second power threshold is greater than the first power threshold. When the current stored power of the outdoor smart gateway is lower than the preset third power threshold, the data change corresponding to the sensing data collected by each outdoor sensor is obtained; the data change is determined by the quotient or difference between the sensing data and the historical sensing data; the third power threshold is less than or equal to the first power threshold. The circuit state corresponding to the outdoor sensor whose data change does not exceed the preset change range is switched from the connected state to the unloaded state.

2. A circuit control device for an outdoor sensor, characterized in that, An outdoor smart gateway with active power acquisition capability is applied, wherein the active power acquisition method includes solar and / or inductive power supply. The smart gateway is electrically connected to the outdoor sensor, which is used to monitor and collect sensing data of transmission lines and / or power grid equipment. The device includes: The available power acquisition module is used to acquire the power currently stored in the outdoor smart gateway; and determine the available power for multiple outdoor sensors to operate based on the power according to a preset allocation ratio. The operation feature acquisition module is used to acquire the operation features corresponding to each of the multiple outdoor sensors when the available power is lower than a preset first power threshold. The operation features include the sampling period of the outdoor sensors; acquire the time of the last data acquisition by each outdoor sensor, and determine the time of the next data acquisition by each outdoor sensor based on the time of the last data acquisition and the sampling period; and, based on the time of the next data acquisition and the sampling period corresponding to each outdoor sensor, determine the outdoor sensor that is currently in an idle state from the multiple outdoor sensors as the target sensor. The target sensor determination module is used to determine the target sensor to be shut down from the plurality of outdoor sensors based on the operational characteristics corresponding to each outdoor sensor. An idle state switching module is used to switch the circuit state corresponding to the target sensor from a connected state to an idle state; after the target sensor is switched to an idle state, the module obtains the sum of the power consumption of multiple candidate outdoor sensors whose circuit state is connected; the sum of the power consumption is the total power consumption required by the multiple candidate outdoor sensors to perform one or more sampling tasks within a preset time period; when the sum of the power consumption is greater than the available power, the module obtains the importance level corresponding to the sensing data collected by each candidate outdoor sensor; based on the difference between the sum of the power consumption and the available power, the module determines a preset number of candidate outdoor sensors that need to be turned off; the module switches the circuit state corresponding to the preset number of candidate outdoor sensors with the lowest importance level from a connected state to an idle state; and / or, after the target sensor is switched to an idle state, the module obtains the power consumption of multiple candidate outdoor sensors whose circuit state is connected. The system calculates the operating power of each external sensor; switches the circuit state of the candidate outdoor sensors with the highest operating power from the connected state to the idle state; acquires the current power stored in the outdoor smart gateway at preset intervals; when the power stored in the outdoor smart gateway exceeds a preset second power threshold, the circuit state of the target sensor is switched from the idle state to the connected state; the second power threshold is greater than the first power threshold; when the current power stored in the outdoor smart gateway is lower than a preset third power threshold, the system acquires the data change corresponding to the sensing data collected by each outdoor sensor; the data change is determined by the quotient or difference between the sensing data and historical sensing data; the third power threshold is less than or equal to the first power threshold; and switches the circuit state of the outdoor sensors whose data change does not exceed a preset change range from the connected state to the idle state.

3. 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 of claim 1.

4. 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 described in claim 1.

Citation Information

Patent Citations

  • Method and device for closing sensors

    CN106055076A

  • Function closing method and device

    CN106095048A

  • Electronic equipment control method and device, electronic equipment and memory medium

    CN108733188A

  • Apparatus for controlling power of sensor nodes based on estimation of power acquisition and method thereof

    US20120165963A1