Power monitoring device and control system thereof, data proxy method

CN122933700APending Publication Date: 2026-10-16SHANDONG SENTER ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510408076.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2026-10-16

AI Technical Summary

Benefits of technology

[0013] In summary, the power monitoring equipment, control system, and data proxy method provided in this application include an external baseband unit that can be used for data transmission between the main control unit and external devices. Specifically, it can receive and store the first heartbeat packet sent by the main control unit and send a first heartbeat packet reply to the main control unit, as well as send a second heartbeat packet to the external device and receive a second heartbeat packet reply from the external device. Therefore, the external baseband unit can maintain the communication connection between the power monitoring equipment and external devices by sending heartbeat packets, replacing the main control unit. This ensures that the main control unit in the power monitoring equipment can maintain normal function even in low-power mode, thus improving the working stability of the power monitoring equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122933700A_ABST
    Figure CN122933700A_ABST
Patent Text Reader

Abstract

The application provides a power monitoring device and a control system and a data proxy method thereof, wherein an external baseband unit can be used for data transmission between a master control unit and external equipment, and can be specifically used for receiving and storing a first heartbeat packet sent by the master control unit, sending a first heartbeat packet reply to the master control unit, sending a second heartbeat packet to the external equipment, and receiving a second heartbeat packet reply sent by the external equipment. Therefore, the external baseband unit can maintain the communication connection between the power monitoring device and the external equipment by sending the heartbeat packet instead of the master control unit, so that the master control unit in the power monitoring device can also maintain normal functions in the low-power mode, and the working stability of the power monitoring device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power monitoring technology, and in particular to a power monitoring device and its control system, and a data proxy method. Background Technology

[0002] Power monitoring equipment is an important component of the power industry. It can be used to monitor the operating status of equipment in the power system in real time, collect data, and perform pre-analysis to achieve efficient management and intelligent dispatch of the power system.

[0003] In existing technologies, the main control chip in power monitoring equipment is used to control the equipment to collect data from power devices and upload this data to external devices such as servers via an external baseband chip. This allows for the analysis and processing of the power monitoring data. Additionally, the main control chip also receives control data from external devices like servers via the external baseband chip. Furthermore, some power monitoring equipment's main control chip operates in a sleep state when not collecting data to conserve power. At specific times, the external baseband chip wakes up the main control chip, switching it from sleep to active mode to collect data from the power devices.

[0004] How to maintain the communication connection between the power monitoring equipment and external devices after the main control unit switches to sleep mode is the technical problem that this application needs to solve. Summary of the Invention

[0005] This application provides a power monitoring device and its control system, as well as a data proxy method, so that after the main control unit switches to a sleep state, an external baseband unit provides data transmission between the main control system and external devices, so as to maintain the communication connection between the power monitoring device and external devices.

[0006] The first aspect of this application provides a control system for a power monitoring device, comprising: a main control unit, configured to send a first heartbeat packet to an external baseband unit after switching to an operating state, and to perform a data acquisition task for the power device, and switch to a sleep state after the acquisition task is completed; the external baseband unit is configured to transmit data between the main control unit and an external device, and to perform a power-on operation on the main control unit to switch the main control unit from the sleep state to an operating state; the external baseband unit is further configured to: receive and store the first heartbeat packet sent by the main control unit in the operating state, send a first heartbeat packet reply to the main control unit; send a second heartbeat packet to the external device according to the stored first heartbeat packet, and receive a second heartbeat packet reply sent by the external device.

[0007] A second aspect of this application provides a power monitoring device, comprising: a control system for the power monitoring device as described in the first aspect of this application; and a data acquisition device, wherein when the main control unit performs a data acquisition task for the power device, it controls the data acquisition device to acquire data from the power device.

[0008] A third aspect of this application provides a control method for a power monitoring device, applied to an external baseband unit in the control system of the power monitoring device. The control system includes a main control unit, an external baseband unit, and a wake-up unit. The external baseband unit is used for data transmission between the main control unit and an external device. The data proxy method includes: after switching to a working state, performing a power-on operation on the main control unit to switch it to a working state, thereby executing a data acquisition task of the power device after switching to the working state, and switching to a sleep state after the acquisition task is completed; receiving and storing a first heartbeat packet sent by the main control unit in the working state, sending a first heartbeat packet reply to the main control unit; sending a second heartbeat packet to the external device according to the stored first heartbeat packet, and receiving a second heartbeat packet reply sent by the external device.

[0009] This application provides a control method for a power monitoring device, applied to a main control unit in the control system of the power monitoring device. The control system includes a main control unit, an external baseband unit, and a wake-up unit. The external baseband unit is used for data transmission between the main control unit and external devices. The data proxy method includes: after switching to a working state, sending a first heartbeat packet to the external baseband unit and receiving a reply of the first heartbeat packet sent by the external baseband unit, so that the external baseband unit receives and stores the first heartbeat packet, and sends a second heartbeat packet to the external device according to the stored first heartbeat packet; executing a data acquisition task of the power equipment, and returning to a sleep state after the acquisition task is completed.

[0010] A fifth aspect of this application provides an electronic device, comprising: a processor and a memory communicatively connected to the processor; the memory storing computer-executable instructions; and the processor executing the computer-executable instructions stored in the memory to implement the method described in the third or fourth aspect of this application.

[0011] A sixth aspect of this application provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, are used to implement the method described in the third or fourth aspect of this application.

[0012] The seventh aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the third or fourth aspect of this application.

[0013] In summary, the power monitoring equipment, control system, and data proxy method provided in this application include an external baseband unit that can be used for data transmission between the main control unit and external devices. Specifically, it can receive and store the first heartbeat packet sent by the main control unit and send a first heartbeat packet reply to the main control unit, as well as send a second heartbeat packet to the external device and receive a second heartbeat packet reply from the external device. Therefore, the external baseband unit can maintain the communication connection between the power monitoring equipment and external devices by sending heartbeat packets, replacing the main control unit. This ensures that the main control unit in the power monitoring equipment can maintain normal function even in low-power mode, thus improving the working stability of the power monitoring equipment. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 This is a schematic diagram illustrating the application scenario of this application;

[0016] Figure 2 This application provides a schematic diagram of the structure of an embodiment of a power monitoring device;

[0017] Figure 3 A flowchart illustrating an embodiment of the control method for the power monitoring equipment provided in this application;

[0018] Figure 4 A schematic diagram of the communication status in the control system of the power monitoring equipment provided in this application;

[0019] Figure 5 A flowchart illustrating an embodiment of the data proxy method for power monitoring equipment provided in this application;

[0020] Figure 6 A flowchart illustrating an embodiment of the data proxy method for power monitoring equipment provided in this application;

[0021] Figure 7 A schematic diagram of the main control system for the built-in baseband system provided in this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

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

[0024] Figure 1 This is a schematic diagram illustrating the application scenario of this application, such as... Figure 1 As shown, this application is applied in the field of power monitoring. Power monitoring device 1 can be used to monitor the operating status of power equipment in a power system. For example, power monitoring device 1 can collect data such as images and videos of the power equipment. Power monitoring device 1 is connected to an external device 2 via a communication network. The external device 2 can be a server, etc. Power monitoring device 1 can then send the collected data to external device 2 via the communication network. External device 2 or its operators can then analyze and process the data, thereby achieving efficient management and intelligent scheduling of power equipment in the power system.

[0025] It is understandable that, such as Figure 1 In the scenario shown, an example is a power monitoring device 1 connected to an external device 2 via a communication network. In practical applications, multiple power monitoring devices 1 can be connected to external devices 2 via communication networks respectively. Each power monitoring device 1 can send its collected data to external devices 2, thereby managing the power equipment together based on more data.

[0026] More specifically, Figure 2 This application provides a schematic diagram of the structure of an embodiment of a power monitoring device, such as... Figure 2 The power monitoring device 1 shown can be applied to, for example... Figure 1In the scenario shown, the power monitoring equipment 1 includes a control system 11 and a related acquisition unit 12. The control system 11 can be used to control the acquisition unit 12 to collect data, and to upload the data collected by the acquisition unit 12 to the external device 2 through a communication network.

[0027] Combination Figure 2 The control system 11 of the power monitoring equipment provided in this application embodiment specifically includes: a wake-up unit 111, an external baseband unit 112, and a main control unit 113. The main control unit 113 is connected to the acquisition unit 12 and the external baseband unit 112, and the wake-up unit 111 is connected to the external baseband unit 112.

[0028] The wake-up unit 111 is used to perform a power-on operation on the external baseband unit 112 when the wake-up trigger conditions of the power monitoring device 1 are met, so that the external baseband unit 112 switches to the working state. In one embodiment, the wake-up unit 111 is a microcontroller unit (MCU). The functions required by the wake-up unit 111 are relatively simple. For example, it can receive the watchdog command sent by the external baseband unit 112 and execute the operation instructions of the control circuit to perform a power-on operation on the external baseband system 112 or the main control unit 113. In some specific implementations, the wake-up unit 111 may also be referred to as a "watchdog" based on its function.

[0029] The external baseband unit 112 is used for data transmission between the main control unit 113 and the external device 2. For example, the main control unit 113 sends the collected data to the external device 2 through the external baseband unit 112, or the main control unit 113 receives instructions sent by the external device 2 through the external baseband unit 112. In one embodiment, the external baseband unit 112 runs on a chip independent of the wake-up unit 111 and the main control unit 113, and is responsible for the network-related functions of the entire power monitoring device 1. Specifically, the external baseband unit 112 can be implemented in a small, independent system. The network status detection program runs inside the external baseband unit 112, enabling the external baseband unit 112 to have internet access and SMS functions, thereby communicating with the external device 2 through the communication network to exchange data.

[0030] Furthermore, the external baseband unit 112 is also used to perform a power-on operation on the main control unit 113 after the operation of the wake-up unit 111 is switched to the working state, so that the main control unit 113 performs a power-on operation after being powered on, so that the main control unit 113 switches from the sleep state to the working state.

[0031] The main control unit 113 is used to perform data acquisition tasks of the power equipment when in working state, and to switch from working state to sleep state after the acquisition task is completed.

[0032] It can be seen that the main control unit 113 in the power monitoring equipment 1 provided in this application collects tasks when in working state and switches to sleep state after completing the tasks. The following is in conjunction with... Figure 3 This paper provides a more detailed description of the state switching control logic of the control method executed by the main control unit 113, the external baseband unit 112, and the wake-up unit 111 in the power monitoring equipment 1. Specifically, Figure 3 A flowchart illustrating an embodiment of the control method for the power monitoring equipment provided in this application shows, as follows: Figure 2 The power monitoring system shown illustrates the control logic executed by each unit in control system 11.

[0033] like Figure 3 As shown, when the wake-up unit 111 determines that the wake-up trigger condition of the power monitoring device 1 is met, it performs a power-on operation on the external baseband unit 112 via S11. For example, the wake-up unit 111 controls the power supply circuit to supply power to the external baseband unit 112, so that the external baseband unit 112 starts the startup operation via S12 after being powered on. Subsequently, after the external baseband unit 112 switches to the working state, it performs a power-on operation on the main control unit 113 via S13. For example, the external baseband unit 112 controls the power supply circuit to supply power to the main control unit 113, so that the main control unit 113 starts the startup operation via S14. After the main control unit 113 switches to the working state, it connects to the external device 2 through S15. For example, the main control unit 113 sends an online packet to the external device 2 through the external baseband unit 112, and after receiving the online packet reply sent by the external device 2 through the external baseband unit 112, it establishes a connection between the power monitoring device 1 and the external device 2, and maintains the connection between the power monitoring device 1 and the external device 2 by sending heartbeat packets.

[0034] When the main control unit 113 switches from sleep mode to working mode, it can execute the data acquisition task of the power equipment through S16. For example, the main control unit 113 controls the acquisition unit 12 to acquire data from the power equipment and sends the acquired data to the external device 2 through the external baseband unit 112. Subsequently, after the main control unit 113 completes the acquisition task, it sends a sleep command to the external baseband unit 112 through S17 and performs a shutdown operation through S18. The execution order of S17 and S18 is not limited.

[0035] Specifically, for the external baseband unit 112, upon receiving a hibernation command, it does not immediately power down the main control unit 113. Instead, it monitors whether the main control unit 113 has completed the shutdown operation via S109. After confirming that the main control unit 113 has completed the shutdown operation, it then performs a power-down operation on the main control unit 113 via S20, thereby switching the main control unit 113 to hibernation mode. In one embodiment, after receiving the hibernation command, the external baseband unit 112 begins polling the shutdown status of the main control unit 113. Upon detecting the shutdown signal of the main control unit 113, it determines that the main control unit 113 has completed the shutdown operation. This ensures that the main control unit 113 is powered down before powering it down, preventing power loss during the shutdown process and thus avoiding damage to system files, thereby ensuring the stable operation of the main control unit 113 and its associated control system 11.

[0036] Understandably, through the control process of S11-S20, the power monitoring device 1 completes a data acquisition task of the power equipment. After completing the acquisition task, its main control unit 113, under the control of the external baseband unit 112, is completely powered off, thus switching to a sleep state. When the main control unit 113 switches to a sleep state, the external baseband unit 112 remains operational. After determining in S21 that the main control unit 113 needs to end its sleep state, it performs a power-on operation on the main control unit 113 again in S22, causing the main control unit 113 to re-energize and switch from a sleep state to an operational state. After switching to an operational state, the main control unit 113 can repeatedly execute the following... Figure 3 The operations described in S13-S18 will not be repeated here.

[0037] In one embodiment, after receiving a remote SMS or control command sent by the external device 2 in S21, the external baseband unit 112 determines that the main control unit 113 needs to end its sleep state and thus wake up the main control unit 113. This method of waking up the main control unit 113 can also be called "active wake-up".

[0038] In another embodiment, the external baseband unit 112 can determine, in S21, that the main control unit 113 needs to end its hibernation and thus wake up when the time meets the wake-up condition of the timed hibernation task, based on the timed hibernation task sent by the main control unit 113. This method of waking up the main control unit 113 can also be called "timed wake-up". At this time, the wake-up time of the main control unit 113 is initiated by the main control unit 113 itself and recorded and executed by the external baseband unit 113.

[0039] In summary, combining Figure 2 and Figure 3It can be seen that the wake-up unit 111 can send a wake-up command to the external baseband unit 112 under the condition of wake-up, so that the external baseband unit 112 controls the main control unit 113 to switch to the working state. After the main control unit 113 performs the data acquisition task in the working state, it switches back to the sleep state. Therefore, when the main control unit 113 is not performing the data acquisition task, it is in a completely power-off sleep state. This allows the power monitoring equipment 1 to meet the power monitoring business requirements while reducing the invalid power consumption of the main control unit 113 when it is not acquiring data, thereby reducing the overall power consumption required by the power monitoring equipment 1.

[0040] Meanwhile, in the control system 11 of the power monitoring equipment 1 provided in this embodiment, the external baseband unit 112 specifically performs the wake-up operation on the main control unit 113. Since the computing power of the external baseband unit 112 is greater than that of the wake-up unit 11, the external baseband unit 112 can also execute other related control logic when waking up the main control unit 113, thereby enriching the functions that the control system 11 can achieve and enriching the application scenarios of the control system 11 and the power monitoring equipment 1.

[0041] Furthermore, in the control system 11 of the power monitoring equipment 1 provided in this embodiment, the external baseband unit 112 and the main control unit 113 are set on different chips, which is more conducive to the selection of the main control unit 113. This allows the power monitoring equipment 1 to select a more suitable main control unit 113 from the aspects of performance, price, and place of origin. It also greatly enriches the technical solutions of the control system 11 and the power monitoring equipment 1, and is more conducive to the use and promotion of the power monitoring equipment 1.

[0042] Furthermore, in the control system 11 of the power monitoring equipment 1 provided in this application, the main control unit 113 can switch to a sleep state when not performing data acquisition tasks. However, the main control unit 113 also needs to be responsible for establishing a communication connection between the power monitoring equipment 1 and the external device 2 and maintaining the communication connection by sending heartbeat packets. Therefore, how to maintain the heartbeat packet transmission between the power monitoring equipment 1 and the external device 2 after the main control unit 113 switches to a sleep state, thereby maintaining the communication connection, is another technical problem that needs to be further solved in this application.

[0043] Figure 4 This is a schematic diagram of the communication status in the control system of the power monitoring equipment provided in this application, as shown below. Figure 4 As shown, when the power monitoring device 1 is powered on, regardless of whether the main control unit 113 is in working or sleeping state, the external baseband unit 112 will be in working state, thereby maintaining the heartbeat connection between the power monitoring device 1 and the external device 2 by the external baseband unit 112.

[0044] Specifically, the external baseband unit 112 can be used to receive and store the first heartbeat packet sent by the main control unit 113 after it switches to the working state, and send a first heartbeat packet reply to the main control unit 113. Furthermore, after determining the second heartbeat packet based on the stored first heartbeat packet, the external baseband unit 112 sends the second heartbeat packet to the external device 2 on behalf of the main control unit 113, and receives the second heartbeat packet reply sent by the external device 2. Also, when the external baseband unit 112 receives a non-heartbeat packet reply from the external device 2, it forwards the non-heartbeat packet reply to the main control unit 113.

[0045] The following is combined Figure 5 The specific implementation of the proxy heartbeat function of the external baseband system 112 and the method for maintaining communication connection with the external device 2 will be described. Figure 5 A flowchart illustrating an embodiment of the data proxy method for power monitoring equipment provided in this application is shown below. Figure 5 As shown:

[0046] When the power monitoring equipment 1 is powered on, the main control unit 113 and the external baseband unit 112 follow the instructions. Figure 3 All shown methods are switched to the working state. Subsequently, after switching to the working state, the main control unit 113 obtains its own parameters according to the communication protocol information configured with the external device 2, and sends the information of the external device to the external baseband unit 112, which then starts the proxy server so that the external baseband unit can start the function of proxying the data transmitted between the main control unit 113 and the external device 2.

[0047] Specifically, the external baseband unit 112 provided in this embodiment can be configured with a lightweight service proxy via software. This service proxy has the ability to forward data packets, as well as the ability to self-organize heartbeat packets to locate online devices of the power monitoring equipment 1, and also has the function of parsing packets, so as to determine whether the received packet is a heartbeat packet, a control packet, or a service packet.

[0048] When the main control unit 113 switches to the working state, it sends an online packet to the external baseband unit 112. The external baseband unit 112 receives the online packet from the main control unit 113 and forwards it to the external device 2, enabling the external device 2 to perform online operation on the power monitoring device 1. Subsequently, the external baseband unit 112 receives the online success information sent by the external device 2 and forwards the online success information to the main control unit 113. The external baseband unit 112 also records the current connection status, thereby completing the online operation of the power monitoring device 1.

[0049] Specifically, the main control unit 113 uses the local area network IP address of the external baseband unit 112 as the target address of the external device 2, and sends an online packet to the external baseband unit 112 via the fixed port that the external baseband unit 112 listens for. Subsequently, the external baseband unit 112 replaces the target address in the online packet with the actual IP address and port of the external device 2 on the external network, and then forwards the online packet to the external device 2.

[0050] When the external baseband unit 112 receives the first heartbeat packet sent by the main control unit 113, it stores the first heartbeat packet and sends a first heartbeat packet reply to the main control unit 113. Additionally, the external baseband unit 112 replaces the address information of the stored first heartbeat packet with the IP address and port of the external device 2, thereby obtaining the second heartbeat packet. During this process, the external baseband unit 112 can parse the first heartbeat packet, store its status data, and then combine the status data with the target address to obtain the second heartbeat packet.

[0051] When the external baseband unit 112 receives a service data packet sent by the main control unit 113 in the working state, it modifies the target address of the service data packet and forwards the service data packet to the external device 2.

[0052] When the external baseband unit 112 receives a control packet sent by the external device 2 to the main control unit 113, if the main control system is currently online and in working condition, the external baseband unit 112 modifies the address of the control packet, replacing the address information of the external baseband unit 112 with the address information of the external device 2, and then forwards the control packet to the main control unit 113; if the main control unit 113 is currently offline and in sleep mode, the external baseband unit 112 first... Figure 3 The main control unit 113 is woken up in the manner shown, and a power-on operation is performed on the main control unit 113 to switch the main control unit 113 from the sleep state to the working state. After the main control unit 113 switches to the working state, the control packets stored therein are forwarded to the main control unit 113.

[0053] In summary, in the control system 11 of the power monitoring device 1 provided in this embodiment, the external baseband unit 112 can replace the main control unit 113 in the sleep state to maintain the communication link by sending heartbeat packets, thereby maintaining the communication link between the power monitoring device 1 and the external device 2. This ensures that the main control unit 113 in the power monitoring device 1 can maintain normal function in low power mode, and improves the working stability of the power monitoring device 1.

[0054] In other words, the external baseband unit 112 provided in this application embodiment not only has the ability to wake up the main control unit 113, but also has the ability to exchange heartbeat packets with the external device 2. Therefore, the external baseband unit 112 provided in this application is not only a module for communication, but also, based on its computing power, further expands and enriches the functions of the external baseband system 112, making the embodiments of this application have a wider range of application scenarios and more conducive to the setting of each unit in the control system 11 in different power monitoring equipment 1.

[0055] Furthermore, when the external baseband unit 112 receives a control packet from the external device 2, if it is determined that the main control unit 113 is in a sleep state, the external baseband unit 112 can wake up the main control system 113 more promptly and effectively without the assistance of other units, so that the main control system can receive and process the control packet from the external device 2.

[0056] Figure 6 This is a flowchart illustrating an embodiment of the data proxy method for power monitoring equipment provided in this application. Figure 6 In the data proxy method shown, when the main control unit 113 is in a sleep state, and the external baseband unit 112 sends a second heartbeat packet to the external device 2 a preset number of times, and the response to the second heartbeat packet sent by the external device 2 times out, the external baseband unit 112 performs a power-on operation on the main control unit 113 to switch the main control unit 113 into a working state. The preset number of times can be 3.

[0057] When the main control unit 113 is powered on again and switched to the working state, it sends external device information and a connection packet to the external baseband unit 112. If the external baseband unit 112 determines that the main control unit 113 is online, it sends a connection success message to the main control unit 113. If the external baseband unit 112 determines that the main control unit 113 is offline, it forwards the connection packet to the external device 2, enabling the external device 2 to establish a communication connection with the power monitoring equipment 1. Subsequently, the external baseband unit 112 receives the connection success message from the external device 2, records the connection status, and forwards the connection success message to the main control unit 113.

[0058] In the power monitoring equipment provided in this embodiment, if the communication connection between the power monitoring equipment 1 and the external device 2 is determined to be disconnected by the second heartbeat packet reply timeout after a preset number of times when the proxy main control unit 113 exchanges heartbeat packets with the external device 2, the external baseband unit 112 can wake up the main control unit 113 more promptly and re-establish the connection between the power monitoring equipment 1 and the external device 2. Therefore, it can handle the anomaly more promptly, thereby ensuring the stability of the power monitoring equipment 1 during operation.

[0059] also, Figure 7 A schematic diagram of the main control system for the built-in baseband system provided in this application is shown below. Figure 7 A method is provided whereby the heartbeat packets are processed by the built-in baseband of the main control system 113 to maintain the communication connection when the main control system 113 has a built-in baseband. For example... Figure 7 As shown, the protocol module between the main control system 113 and the external device 2 maintains good consistency, being compatible with both external baseband systems and internal baseband systems. For the main control system 113 with an internal baseband, when determining that the system type is not an external baseband system, the actual server IP and port of the external device 2 are used for connection, thereby achieving the following: Figure 7 The embodiments shown in this application provide a more flexible baseband configuration scheme, which is beneficial for the application and promotion of this embodiment.

[0060] Furthermore, it should be noted that in the examples of this application, the following is used: Figure 3 The example shown is of the power monitoring device 1, where the wake-up unit 111 wakes up the main control unit 113 via an external baseband 112 when the wake-up trigger conditions of the power monitoring device are met. In other possible implementations, the wake-up unit 111 can also directly power on the main control unit 113 when the wake-up trigger conditions of the power monitoring device are met, thus switching the main control unit 113 to the working state. Alternatively, in other possible implementations, the power monitoring device 1 may not have a separate wake-up unit 111; that is, the functions related to the wake-up unit 111 in this embodiment can be implemented through an external baseband unit 112, thereby increasing the flexibility of this application.

[0061] The control system 11 of the power monitoring equipment 1 provided in this application embodiment may include hardware structure and / or software modules to implement the above functions in the form of hardware structure, software modules, or hardware structure plus software modules. Whether a certain function is executed in the form of hardware structure, software module, or hardware structure plus software modules depends on the specific application and design constraints of the technical solution.

[0062] For example, each unit in the control system 11 of the power monitoring equipment 1—the wake-up unit 111, the external baseband unit 112, and the main control unit 113—can be configured to implement the above methods or steps, and can be one or more integrated circuits, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). Furthermore, when implemented through processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Alternatively, it can also be implemented as a system-on-a-chip (SOC).

[0063] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0064] For example, embodiments of this application also provide an electronic device, a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, any method or any step of a method executed by any unit in the control system 11 of the power monitoring device 1 in the foregoing embodiments of this application.

[0065] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed, can be used to implement any method or any step of a method performed by any unit in the control system 11 of the power monitoring device 1 as described in any of the foregoing embodiments of this application.

[0066] This application also provides a chip for executing instructions, the chip being used to execute any method or any step of a method executed by any unit in the control system 11 of the power monitoring device 1 as described above.

[0067] This application also provides a computer program product, including a computer program that, when executed, implements any method or any step of a method performed by any unit in the control system 11 of the power monitoring equipment 1 as described above.

[0068] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0069] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A control system for a power monitoring device, characterized in that, include: The main control unit is used to send the first heartbeat packet to the external baseband unit after switching to the working state, and to perform data acquisition tasks of the power equipment, and switch to the sleep state after the acquisition tasks are completed; The external baseband unit is used for transmitting data between the main control unit and external devices, and for performing a power-on operation on the main control unit to switch the main control unit from the sleep state to the working state; The external baseband unit is also used for: Receive and store the first heartbeat packet sent by the main control unit in the working state, and send a first heartbeat packet reply to the main control unit; Send a second heartbeat packet to the external device based on the stored first heartbeat packet, and receive a reply of the second heartbeat packet sent by the external device.

2. The control system according to claim 1, characterized in that, The external baseband unit is also used for: When the main control unit is in a sleep state, it receives a control packet sent by the external device, performs a power-on operation on the main control unit to switch the main control unit to a working state, and sends the control packet to the main control unit. When the main control unit is in working state, it receives a control packet sent by the external device and sends the control packet to the main control unit.

3. The control system according to claim 1, characterized in that, The external baseband unit is also used for: When the main control unit is in sleep mode, if it sends a second heartbeat packet to the external device a preset number of times and then receives a timeout response to the second heartbeat packet sent by the external device, it performs a power-on operation on the main control unit to switch the main control unit to working mode.

4. The control system according to any one of claims 1-3, characterized in that, The main control unit is also used to: send an online packet to the external baseband unit after switching to the working state; The external baseband unit is also used to: receive the online packet sent by the main control unit and send the online packet to the external device to establish a connection between the power monitoring device and the external device; and receive the online success information sent by the external device, send the online success information to the main control unit, and record the connection status.

5. The control system according to claim 4, characterized in that, The main control unit is also used to: when switching to the working state, send information about the external device to the external baseband unit so that the external baseband unit can enable the function of proxying the data transmission between the main control unit and the external device.

6. The control system according to any one of claims 1-5, characterized in that, The external baseband unit is further configured to: replace the destination address of the stored first heartbeat packet with the address information of the external baseband unit to obtain the address information of the external device to obtain the second heartbeat packet.

7. The control system according to claim 1, characterized in that, Also includes: The wake-up unit is used to perform a power-on operation on the external baseband unit when the wake-up trigger condition of the power monitoring equipment is met, so as to switch the external baseband unit to the working state.

8. A power monitoring device, characterized in that, include: The control system of the power monitoring equipment as described in any one of claims 1-7; The data acquisition device is connected to the control system. When the main control unit in the control system performs the data acquisition task of the power equipment, it controls the data acquisition device to acquire the data of the power equipment.

9. A data proxy method for power monitoring equipment, characterized in that, An external baseband unit is applied in the control system of the power monitoring equipment. The control system includes a main control unit, an external baseband unit, and a wake-up unit. The external baseband unit is used for data transmission between the main control unit and external devices. The data proxy method includes: After switching to the working state, the main control unit is powered on to switch to the working state, thereby executing the data acquisition task of the power equipment after switching to the working state, and switching to the sleep state after the acquisition task is completed. Receive and store the first heartbeat packet sent by the main control unit in the working state, and send a first heartbeat packet reply to the main control unit; Send a second heartbeat packet to the external device based on the stored first heartbeat packet, and receive a reply of the second heartbeat packet sent by the external device.

10. The method according to claim 9, characterized in that, Also includes: When the main control unit is in a sleep state, it receives a control packet sent by the external device, performs a power-on operation on the main control unit to switch the main control unit to a working state, and sends the control packet to the main control unit. When the main control unit is in working state, it receives a control packet sent by the external device and sends the control packet to the main control unit.

11. The method according to claim 9, characterized in that, Also includes: When the main control unit is in sleep mode, if it sends a second heartbeat packet to the external device a preset number of times and then receives a timeout response to the second heartbeat packet sent by the external device, it performs a power-on operation on the main control unit to switch the main control unit to working mode.

12. The method according to any one of claims 9-11, characterized in that, Also includes: Receive the online packet sent by the main control unit after switching to the working state; The power monitoring equipment sends the online packet to the external device, enabling the power monitoring equipment to establish a connection with the external device. The system receives the online success message from the external device, sends the online success message to the main control unit, and records the connection status.

13. The method according to claim 12, characterized in that, Also includes: Receive information from the external device sent by the main control unit after it switches to the working state; The function of proxying data transmission between the main control unit and the external device is enabled based on the information from the external device.

14. The method according to any one of claims 9-13, characterized in that, Sending a second heartbeat packet to the external device based on the stored first heartbeat packet includes: The destination address of the stored first heartbeat packet is replaced with the address information of the external baseband unit to obtain the address information of the external device to obtain the second heartbeat packet; The second heartbeat packet is sent to the external device.

15. A data proxy method for power monitoring equipment, characterized in that, A main control unit is applied in the control system of the power monitoring equipment. The control system includes a main control unit, an external baseband unit, and a wake-up unit. The external baseband unit is used for data transmission between the main control unit and external devices. The data proxy method includes: After switching to working state, a first heartbeat packet is sent to the external baseband unit, and a reply to the first heartbeat packet sent by the external baseband unit is received, so that the external baseband unit receives and stores the first heartbeat packet, and sends a second heartbeat packet to the external device according to the stored first heartbeat packet; Perform data acquisition tasks for power equipment and return to sleep mode after the acquisition tasks are completed.

16. The method according to claim 15, characterized in that, Also includes: After switching to the working state, an online packet is sent to the external baseband unit, causing the external baseband unit to send the online packet to the external device, thereby establishing a connection between the power monitoring equipment and the external device. Receive the online success message sent by the external baseband unit.

17. The method according to claim 16, characterized in that, Also includes: When switched to working mode, the external device information is sent to the external baseband unit so that the external baseband unit can activate the function of proxying the data transmission between the main control unit and the external device.

18. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 9-17.

19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 9-17.

20. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 9-17.