Data reporting method, device and system of edge gateway and edge gateway

Through real-time monitoring and unified design data reporting methods, the problem of status reporting and fault monitoring of smart pole edge gateways is solved, and accurate monitoring and alarm of power and network status is realized, ensuring timely reporting of fault information, improving operation and maintenance efficiency and enhancing Reliability of edge gateways.

CN119071139APending Publication Date: 2024-12-03TAIHUA WISDOM IND GRP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411353091.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The edge gateway of the smart pole lacks the unified design of status reporting, fault monitoring and intelligent alarm functions, which leads to difficulty in positioning equipment failures and low maintenance efficiency, especially in the event of power supply or network abnormalities, which cannot report fault information in time.

Method used

By monitoring the status of each power supply and network interface in real time, a unified status data, event data and alarm data reporting method is designed to realize timing and real-time reporting, and the built-in capacitor module continues to report alarm data when power supply is interrupted, improving operation and maintenance efficiency.

Benefits of technology

It realizes accurate monitoring and alarming of the power and network status of the edge gateway itself and the downlink equipment, ensures that the fault information can be reported in a timely manner, improves operation and maintenance efficiency, enhances the reliability of the edge gateway, and solves the problem that data cannot be transmitted back when the device is powered off. question.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071139A_ABST
    Figure CN119071139A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of edge gateways and intelligent alarm, and provides a data reporting method, device and system of an edge gateway and the edge gateway, which accurately monitor the state of each path of power supply and network interface in real time, report state data at regular time, report events and alarm data in real time, and automatically report data according to different service requirements of the edge gateway. A mechanism for reporting state data at regular time and reporting event data and alarm data in real time is designed, so that the power supply and network working conditions of the edge gateway and the downlink equipment can be timely reported to a server side, and the operation and maintenance of the edge gateway and the operation and maintenance of the downlink equipment using the edge gateway are facilitated. Operation and maintenance personnel carry out targeted operation and maintenance according to the accurate alarm information, and the operation and maintenance efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of edge gateway and intelligent alarm technology, and in particular relates to a data reporting method, device, system and edge gateway for an edge gateway. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] With the advancement of smart city construction, smart poles, as an important information infrastructure, integrate multiple sensors, edge gateway communication equipment and application systems such as video cameras, information display screens, broadcast sound columns, environmental monitoring, WiFi, one-click calls, charging piles, etc., and play an important role in urban management and services. However, due to the large number of smart poles in the city, the types and quantities of devices mounted on the poles are large, and the equipment manufacturers and models are also different. The pole-mounted devices often fail and the number is large. The edge gateway devices that the current smart pole communications rely on have a single function and cannot monitor and alarm the power supply and network status of the smart pole-mounted devices. Therefore, the operation and maintenance management of smart poles have always been faced with problems such as difficulty in locating equipment faults and low maintenance efficiency. The existing edge gateways used for smart poles have the following problems:

[0004] First, the edge gateway runs at the edge to collect, process and report local business data. However, the reporting requires users to customize the code to report specific business data. The business data reported by users does not include the power supply, network status or fault status of the edge gateway itself and the downstream equipment. There is a lack of unified design and reusable status reporting, fault monitoring and intelligent alarm functions.

[0005] Second, the normal operation of the edge gateway depends on normal power supply. When the power supply is disconnected, the device will stop working immediately and the fault status cannot be reported. Abnormal power supply or network abnormalities will cause the edge gateway and the devices connected to the gateway to work abnormally. During the operation and maintenance of the smart pole, if the fault status cannot be reported, the alarm cannot be issued, the cause of the fault cannot be located, and targeted operation and maintenance cannot be performed. Summary of the invention

[0006] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a data reporting method, device, system and edge gateway of an edge gateway, which accurately monitors the status of each power supply and network interface in real time, reports status data at a regular interval, reports events and alarm data in real time, and relies on the built-in capacitor module to continue reporting alarm data when the power supply is interrupted. The server-side edge gateway management system receives status, event and alarm data from the edge gateway, and the operation and maintenance personnel perform targeted operation and maintenance according to the accurate alarm information to improve the operation and maintenance efficiency.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a data reporting method for an edge gateway, which is applied to an edge gateway and comprises the following steps:

[0009] Respond to the edge gateway configuration parameters preset by the smart light pole mounting device;

[0010] Obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data;

[0011] According to the operating status data of the power output interface and the network output interface, determine whether their respective alarm conditions are met. If so, report the corresponding interface data to the server. If not, determine whether their respective interfaces have returned to normal. If so, report the corresponding interface event data to the server. Otherwise, determine whether the status data reporting time interval has arrived.

[0012] Furthermore, the preset edge gateway configuration parameters include whether to enable data reporting, data reporting method, data reporting server address, status reporting time interval, interface names of the power interfaces and network port settings of each input and output, and whether to enable alarm settings.

[0013] Furthermore, the operating status data of the power input interface and the power output interface include the interface number, interface name, interface type, whether the alarm is enabled, whether it is dedicated to street lighting, voltage, current, power factor, energy consumption data, leakage voltage, leakage current, interface status and alarm description;

[0014] The network output interface operation status data includes interface number, interface name, interface type, whether alarm is enabled, interface status, rate and total flow.

[0015] Furthermore, the status data of the power input interface and the power output interface are reported regularly according to the heartbeat reporting time interval in the configuration parameters.

[0016] A second aspect of the present invention provides a data reporting device for an edge gateway, which is applied to an edge gateway, and the device comprises:

[0017] A configuration module, which is used to respond to the edge gateway configuration parameters preset by the smart light pole mounting device;

[0018] A first data processing module, which is used to obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data;

[0019] The second data processing module is used to determine whether the respective alarm conditions are met based on the operating status data of the power output interface and the network output interface. If met, the corresponding interface data is reported to the server. If not met, it is used to determine whether the respective interfaces have returned to normal status. If so, the corresponding interface event data is reported to the server. Otherwise, it is determined whether the status data reporting time interval has arrived.

[0020] Furthermore, the edge gateway includes one or two AC power input interfaces. When two AC power input interfaces are used, the interfaces serve as a backup circuit, that is, when one power supply fails, the other power supply is used.

[0021] Or, one of the circuits comes from the city lighting box transformer dedicated to street lamps, which is dedicated to lighting street lamps. It is powered off during the day and powered on at night. When powered on, it also supplies power to the edge gateway, but except for the dedicated output interface for lighting, other output interfaces of the edge gateway are disconnected; the other circuit comes from the normal power supply circuit to provide power for the equipment mounted on the smart pole.

[0022] Furthermore, the edge gateway has a built-in capacitor module that works with a rechargeable battery. The rechargeable battery is charged and stores energy when the input power is normally supplied. When the input power is cut off, the battery discharges and drives the edge gateway to work normally.

[0023] A third aspect of the present invention provides a data reporting system for an edge gateway, comprising an edge gateway and a cloud server; the edge gateway is used to connect to a smart pole mounting device, and the edge gateway is connected to the cloud server via a network;

[0024] The edge gateway is used to respond to the edge gateway configuration parameters preset by the smart pole mounting device, obtain the operating status data of the power input interface, determine whether the power input interface is powered off and the alarm is enabled, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored to power and the alarm is enabled, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface; determine whether the respective alarm conditions are met according to the operating status data of the power output interface and the network output interface, if so, report the corresponding interface data to the server, if not, determine whether the respective interfaces are restored to normal status, if so, report the corresponding interface event data to the server, otherwise determine whether the status data reporting time interval has arrived;

[0025] The cloud server is used to receive the operating status data, alarm data and event data uploaded by the edge gateway.

[0026] A fourth aspect of the present invention provides an edge gateway, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0027] A fifth aspect of the present invention provides a program product, which is a computer program product, comprising a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0028] Compared with the prior art, the present invention has the following beneficial effects:

[0029] 1. The present invention designs a unified method and process for reporting status data, event data and alarm data. By accurately monitoring the status of each power supply and network interface in real time, reporting status data regularly, reporting events and alarm data in real time, and designing a mechanism for reporting status data regularly and reporting event data and alarm data in real time according to different business needs of the edge gateway, the power supply and network working conditions of the edge gateway itself and the downstream devices can be reported to the server in time, which is helpful for the operation and maintenance of the edge gateway and the operation and maintenance of the downstream devices using the edge gateway.

[0030] 2. The edge gateway of the present invention can work briefly to report intelligent alarm data after the device is powered off, which increases the reliability of the edge gateway and solves the problem that data cannot be transmitted back and faults cannot be reported when the ordinary edge gateway device is powered off. Even if the power is off, the fault can be reported, which is beneficial for operation and maintenance personnel to know the type and cause of the fault.

[0031] 3. The edge gateway of the present invention has power supply and network monitoring functions for itself and downstream devices. Compared with ordinary edge gateways, it has more functions and more monitoring items, providing users with more accurate and comprehensive monitoring functions and greater value.

[0032] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0034] Figure 1 It is a flow chart of a data reporting method of an edge gateway provided by an embodiment of the present invention;

[0035] Figure 2 It is a schematic diagram of the hardware structure of the edge gateway provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0037] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0038] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0039] In response to the problem of the lack of unified and reusable status reporting, fault monitoring, and intelligent alarm functions in the edge gateway used for smart poles mentioned in the background technology, a unified status data, event data, and alarm data reporting method and process are designed. By real-time and accurate monitoring of the status of each power supply and network interface, status data is reported regularly, and events and alarm data are reported in real time. According to the different business needs of the edge gateway, a mechanism for regularly reporting status data and real-time reporting of event data and alarm data is designed. The power supply and network working conditions of the edge gateway itself and the downstream devices can be reported to the server in time, which is helpful for the operation and maintenance of the edge gateway and the operation and maintenance of the downstream devices using the edge gateway.

[0040] In response to the problem mentioned in the background technology that when the power supply is disconnected, the equipment immediately stops working and the fault status cannot be reported, the edge gateway of the invention can work briefly to report intelligent alarm data after the equipment is powered off, which increases the reliability of the edge gateway and solves the problem that data cannot be transmitted back and faults cannot be reported when ordinary edge gateway devices are powered off. Even if the power is off, the fault can be reported, which is beneficial for operation and maintenance personnel to know the type and cause of the fault.

[0041] Embodiment 1

[0042] like Figure 1 As shown, this embodiment provides a data reporting method for an edge gateway, comprising the following steps:

[0043] Step 1: Respond to the edge gateway configuration parameters preset by the smart light pole mounting device;

[0044] In this embodiment, the edge gateway configuration parameters include whether to enable data reporting, reporting method (HTTP or Websocket, HTTP by default), reporting server address URL, status reporting time interval (such as 60 seconds); the power interface and network port interface of each input and output can be set in the web page to set the interface name (such as the name of the device connected to the interface) and whether to enable the alarm setting. For the power interface, the voltage lower limit alarm threshold, voltage upper limit alarm threshold, current lower limit alarm threshold, and current upper limit alarm threshold can also be set. The various configuration parameters of the edge gateway can also be configured and issued through the server-side management system.

[0045] Step 2: Get the running status data of the power input interface, determine whether the power input interface is powered off and enable the alarm. If all power input interfaces are in the open circuit state and the "Enable Alarm" option is enabled, report the power input interface power off alarm data. Otherwise, proceed to step 3 "The power input interface resumes power supply and enables the alarm" judgment task.

[0046] Step 3: Restore power to the input power interface and enable the alarm.

[0047] Judging the input power interface status data, if any input power interface has restored power supply, and the configuration parameter has enabled the "Enable alarm" option, report the power supply restoration event data; otherwise, execute step 4 "output power interface operation data collection" to output power and step 6 "output network interface operation data collection" to obtain the output power interface operation data and output network interface operation data;

[0048] Step 4: Output power interface to run data collection.

[0049] Monitor the output power interface in real time, collect data on the power-on status, voltage, current, power factor, leakage, etc. of the output power, and determine whether the output power is short-circuited or the voltage and current meet the alarm conditions based on the collected output power operation data, and the configuration parameters enable the "Whether to enable alarm" option. If so, report the output power interface alarm data, otherwise proceed to step 5 "The power supply returns to normal and the alarm is enabled" judgment task.

[0050] Step 5: Determine whether the output power interface where the alarm occurred has returned to normal state. If yes, report the power event data. Otherwise, determine whether the status data reporting time interval has arrived. If yes, report the status data. Otherwise, return to step 2.

[0051] Step 6: Output network interface to run data collection.

[0052] Monitor the network interface status in real time, collect data on the connection status, port rate, total traffic, etc. of the output Ethernet port, and judge whether the port connection status has changed to disconnected and the alarm is enabled according to the network interface status. If so, report the output network alarm data, otherwise proceed to step 7 "the port connection status has changed to connected and the alarm is enabled" judgment task;

[0053] Step 7: Determine whether the output network interface where the alarm occurred has returned to normal status. If so, report the network event data. Otherwise, determine whether the status data reporting time interval has arrived. If so, report the status data. Otherwise, return to step 2.

[0054] In this embodiment, the status data is reported regularly according to the heartbeat reporting time interval in the configuration parameters;

[0055] In this embodiment, the edge gateway status data report includes monitoring time, device number, device name, data type (status data), and interface status details;

[0056] The interface status details include power interface status details and network interface status details;

[0057] The power interface status details include the interface type (input In or output Out) of each power output port, interface number, interface name, interface type (AC or DC), whether to enable alarm, whether it is dedicated to street lighting, voltage, current, power factor, energy consumption data (optional), leakage voltage (optional), leakage current (optional), interface status (normal, open circuit, overvoltage, overcurrent, undervoltage, undercurrent, leakage), alarm description, etc.

[0058] The detailed data of network interface status include the interface type (input In or output Out), interface number, interface name, interface type (Ethernet Eth or optical port Optical or wireless WiFi), whether alarm is enabled, interface status (connection Up or disconnection Down), rate, total traffic, etc. of each output network port.

[0059] Edge gateway alarm data reporting during operation:

[0060] During the normal operation of the edge gateway, the program monitors the status of each power supply in real time, monitors whether the output power supply is disconnected, monitors whether the voltage and current values ​​of each power supply meet the alarm threshold conditions, calculates the state duration when the alarm conditions are met, and after a certain period of time (set through the system's built-in parameters), determines whether the "Enable Alarm" option is enabled on the interface where the alarm occurs. If it is enabled, the alarm data is reported to the server-side management system, and the alarm data is consistent with the power interface status details;

[0061] The program also monitors the connection status of each output network port in real time. When the network port status alarm is turned on and the network port status changes, that is, when the connection status changes from Up to Down, the program reports the alarm to the server management system. The alarm data includes the monitoring time, device number, device name, data type (network alarm), and alarm data details. The alarm data details are consistent with the network interface status details.

[0062] Event data reporting during edge gateway operation:

[0063] When the alarmed power interface recovers from alarm to normal state, power event data is also reported. The power event data includes monitoring time, device number, device name, data type (power event), and event data details; event data details include interface type (input In or output Out), interface number, interface name, interface type (AC or DC), whether the alarm is enabled, whether it is dedicated to street lighting, voltage, current, power factor, energy consumption data (optional), leakage voltage (optional), leakage current (optional), interface status (normal), etc.

[0064] When the alarm network interface recovers from alarm to normal state, network event data is also reported, including monitoring time, device number, device name, data type (network event), and event data details; event data details include interface type (input In or output Out), interface number, interface name, interface type (Ethernet Eth or optical port Optical or wireless WiFi), whether alarm is enabled, interface status (connection Up), rate, and total traffic.

[0065] The edge gateway power failure alarm data is reported. When the edge gateway power input is powered off, the edge gateway large capacitor module drives the edge gateway program to continue working. When the program detects that the power input interface is powered off, it determines whether all input power sources are powered off. If the judgment result is yes, the power failure alarm data is reported to the server management system, the program monitoring ends, and the edge gateway enters low power consumption mode; if it is determined that not all input power sources are powered off, that is, there is still input power supply in normal operation, the monitoring program continues to run.

[0066] The power off alarm data includes monitoring time, equipment number, equipment name, data type (power off alarm), total number of input power supply circuits, number of input power supply circuits, number of input power off circuits and alarm data details; the alarm data details include interface type (input In), interface number, interface name, interface type (AC), whether to enable the alarm, whether it is dedicated to lighting street lamps, voltage, current, power factor, energy consumption data (optional), leakage voltage (optional), leakage current (optional), interface status (open circuit), alarm description, etc.

[0067] When the power input of the edge gateway resumes normal power supply, the edge gateway switches from shutdown to startup or normal operation, and reports the power supply recovery event data to the server management system with the alarm turned on. The event data includes the monitoring time, device number, device name, data type (power supply recovery event), current number of power supply circuits, current number of power failure circuits, and the number of power failure input power interface lines, and event data details; the event data details include interface type (input In), interface number, interface name, interface type (AC), whether to enable the alarm, whether it is dedicated to lighting street lamps, voltage, current, power factor, energy consumption data (optional), leakage voltage (optional), leakage current (optional), interface status (normal), etc.

[0068] The present invention can be widely used in the fields of smart pole management and operation, industrial automation, intelligent energy management, etc. Through precise monitoring and automatic alarm, accurate reporting of fault information, accurate maintenance can be carried out, and the management and operation efficiency can be improved.

[0069] Embodiment 2

[0070] This embodiment provides a data reporting device for an edge gateway, which is applied to an edge gateway, such as Figure 1 The figure shows the composition of the edge gateway, which consists of hardware and software. The software is the operating system and the software algorithm running on the operating system. The hardware consists of a housing, a circuit board, and wiring terminals.

[0071] AC power input interface, with 1 or 2 220V AC power inputs;

[0072] When there are two AC power inputs, they can be implemented differently according to the purpose. They can be used as a backup circuit, that is, when one circuit is powered off, the other circuit can be used to supply power. Alternatively, one circuit can be from a city lighting box to a dedicated circuit for street lamps, which is dedicated to street lamps, with power off during the day and power on at night. When powering on, it also supplies power to the edge gateway, but the edge gateway has other output interfaces disconnected except for the dedicated output interface for lighting. The other circuit comes from the normal power supply circuit, which is used to power the equipment mounted on the smart pole and provides 24-hour power supply. The voltage, current, and power factor of each input power supply can be accurately monitored in real time.

[0073] Wired network input interface, with 1-2 fiber optic network input interfaces, with 1 Ethernet input interface; the network connection status of each fiber optic network input interface and Ethernet input interface can be monitored in real time.

[0074] Wireless network input unit, supports WiFi wireless network access, supports 3G / 4G / 5G mobile network communication access; the wireless network input unit is an optional module.

[0075] AC power output interface, multiple AC 220V power output interfaces, for use by AC power supply devices mounted on the smart pole. When one of the multiple AC power inputs is marked as dedicated for street lighting, AC output interface 1 is dedicated for street lighting. In other cases, AC output interface 1 is not dedicated and can be connected to other devices. The output voltage, current, and power factor of each channel can be accurately monitored.

[0076] The power control unit can control the switching on or off of the AC power output and the DC power output according to the switch command issued by the server-side management system;

[0077] DC power output interface, multiple 12V DC power outputs, multiple 24V DC power outputs, multiple 36V DC power outputs; each output voltage and current can be accurately monitored in real time.

[0078] Ethernet output network port, multiple network ports, 4 of which can be powered by POE. There is a POE power supply dip switch on the outside of the edge gateway. When the switch is turned on, the 4 network ports support 48V POE power supply, otherwise the POE power supply is turned off. The output voltage and current of each POE can be accurately monitored in real time, and the network connection status of each network port can be monitored in real time.

[0079] Serial port output interface, RS-232 serial port multiplexing, RS-485 serial port multiplexing.

[0080] Large capacitors and large capacitor modules have energy storage functions and can provide short-term endurance for edge gateway data reporting when the power supply is disconnected.

[0081] The edge gateway can rely on the large capacitor module to work briefly when the input power is completely cut off. The built-in rechargeable battery can be replaced by the built-in rechargeable battery. The built-in rechargeable battery can be charged and stored when the input power is normal; when the input power is cut off, the battery discharge drives the edge gateway to work normally and realize the edge gateway status, event, and alarm data reporting function.

[0082] Voltage conversion unit, responsible for AC to DC voltage conversion.

[0083] The power metering unit is responsible for the metering of power data.

[0084] The processing unit is responsible for network communication, protocol data processing, power output switch control, network and power status monitoring, and processing, analyzing, storing and reporting monitoring data.

[0085] Storage units, including memory and hard disk, are responsible for temporary and long-term storage of programs and data.

[0086] The edge gateway management system is responsible for managing edge gateway devices, receiving heartbeat data such as network and power status periodically reported by edge gateway devices, realizing status monitoring, receiving event data such as faults and abnormal data, realizing fault alarms, and issuing configurations to edge gateways and controlling the on / off of power output circuits to realize management control.

[0087] The edge gateway software has a web interface, and users can access the edge gateway web interface through a browser to configure parameters.

[0088] Wherein, the processing unit includes a configuration module, a first data processing module and a second data processing module;

[0089] A configuration module, which is used to receive edge gateway configuration parameters preset by the user end;

[0090] A first data processing module, which is used to obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data;

[0091] The second data processing module is used to determine whether the respective alarm conditions are met based on the operating status data of the power output interface and the network output interface. If met, the corresponding interface data is reported to the server. If not met, it is used to determine whether the respective interfaces have returned to normal status. If so, the corresponding interface event data is reported to the server. Otherwise, it is determined whether the status data reporting time interval has arrived.

[0092] Embodiment 4

[0093] This embodiment provides a data reporting system of an edge gateway, including an edge gateway and a cloud server; the edge gateway is used to connect to a smart pole mounting device, and the edge gateway is connected to the cloud server via a network;

[0094] The edge gateway is used to respond to the edge gateway configuration parameters preset by the user end, obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored to power and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data; determine whether the respective alarm conditions are met according to the operating status data of the power output interface and the network output interface, if so, report the corresponding interface data to the server, if not, determine whether the respective interfaces are restored to a normal state, if so, report the corresponding interface event data to the server, otherwise determine whether the status data reporting time interval has arrived;

[0095] The cloud server is used to receive the operating status data, alarm data and event data uploaded by the edge gateway.

[0096] Embodiment 5

[0097] An edge gateway comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first embodiment when executing the computer program.

[0098] Embodiment 6

[0099] This embodiment provides a program product, which is a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the method described in the first embodiment are implemented.

[0100] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0101] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0104] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0105] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A data reporting method for an edge gateway, characterized in that: Applied to edge gateway, including the following steps: Respond to the edge gateway configuration parameters preset by the smart light pole mounting device; Obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data; According to the operating status data of the power output interface and the network output interface, determine whether their respective alarm conditions are met. If so, report the corresponding interface data to the server. If not, determine whether their respective interfaces have returned to normal. If so, report the corresponding interface event data to the server. Otherwise, determine whether the status data reporting time interval has arrived.

2. A data reporting method for an edge gateway as claimed in claim 1, characterized in that: The preset edge gateway configuration parameters include whether to enable data reporting, data reporting method, data reporting server address, status reporting time interval, interface names of the power interface and network port settings of each input and output, and whether to enable alarm settings.

3. A data reporting method for an edge gateway as claimed in claim 1, characterized in that: The operating status data of the power input interface and the power output interface include the interface number, interface name, interface type, whether the alarm is enabled, whether it is dedicated to street lighting, voltage, current, power factor, energy consumption data, leakage voltage, leakage current, interface status and alarm description; The network output interface operation status data includes interface number, interface name, interface type, whether alarm is enabled, interface status, rate and total flow.

4. A data reporting method for an edge gateway as claimed in claim 1, characterized in that: The power input interface and power output interface status data are reported regularly according to the heartbeat reporting time interval in the configuration parameters.

5. A data reporting device for an edge gateway, characterized in that: Applied to an edge gateway, the device comprises: A configuration module, which is used to respond to the edge gateway configuration parameters preset by the smart light pole mounting device; A first data processing module, which is used to obtain the operating status data of the power input interface, determine whether the power input interface is powered off and enable the alarm, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored and enable the alarm, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface operating data; The second data processing module is used to determine whether the respective alarm conditions are met based on the operating status data of the power output interface and the network output interface. If met, the corresponding interface data is reported to the server. If not met, it is used to determine whether the respective interfaces have returned to normal status. If so, the corresponding interface event data is reported to the server. Otherwise, it is determined whether the status data reporting time interval has arrived.

6. A data reporting method for an edge gateway as claimed in claim 5, characterized in that: The edge gateway includes one or two AC power input interfaces. When two AC power input interfaces are used, the interfaces serve as a backup circuit, that is, when one power supply fails, the other power supply is used. Or, one of the circuits comes from the city lighting box transformer dedicated to street lamps, which is dedicated to lighting street lamps. It is powered off during the day and powered on at night. When powered on, it also supplies power to the edge gateway, but except for the dedicated output interface for lighting, other output interfaces of the edge gateway are disconnected; the other circuit comes from the normal power supply circuit to provide power for the equipment mounted on the smart pole.

7. A data reporting method for an edge gateway as claimed in claim 5, characterized in that: The edge gateway has a built-in capacitor module that works with a rechargeable battery. The rechargeable battery charges and stores energy when the input power is normal. When the input power is cut off, the battery discharges and drives the edge gateway to work normally.

8. A data reporting system for an edge gateway, characterized in that: It includes an edge gateway and a cloud server; the edge gateway is used to connect to the smart pole mounting device, and the edge gateway is connected to the cloud server through a network; The edge gateway is used to respond to the edge gateway configuration parameters preset by the smart pole mounting device, obtain the operating status data of the power input interface, determine whether the power input interface is powered off and the alarm is enabled, if so, report the power input interface power off alarm data to the server, otherwise determine whether the power input interface is restored to power and the alarm is enabled, if so, report the power restoration event data to the server, otherwise obtain the operating data of the power output interface and the network output interface; determine whether the respective alarm conditions are met according to the operating status data of the power output interface and the network output interface, if so, report the corresponding interface data to the server, if not, determine whether the respective interfaces are restored to normal status, if so, report the corresponding interface event data to the server, otherwise determine whether the status data reporting time interval has arrived; The cloud server is used to receive the operating status data, alarm data and event data uploaded by the edge gateway.

9. An edge gateway, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A program product, the program product being a computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.