LoRa-based distribution network terminal side message acquisition device and method thereof

By deploying a LoRa-based message collection device on the distribution network terminal side, local storage and processing of data is realized, the storage and decryption problems in the data transmission of the distribution network automation terminal are solved, the troubleshooting efficiency and data transmission reliability are improved, and the Data integrity and reliability.

CN118945044APending Publication Date: 2024-11-12SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410931316.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

During the transmission process, the remote signal data, telemetry data and alarm log data of existing distribution network automation terminals are inefficient in troubleshooting due to limited storage resources of the main station and encryption and decryption errors, and the data is incomplete, which affects the timeliness of the maintenance personnel to obtain data. and accuracy.

Method used

Design a distribution terminal-side message collection device based on LoRa, including an Ethernet switch chip, an Ethernet physical layer chip, an ARM processor and a LoRa module. By storing and processing data locally, the storage pressure on the main station is reduced, and The LoRa module is used to reliably transmit data in complex environments, supporting data query and classified storage.

Benefits of technology

Improves the efficiency and accuracy of troubleshooting, reduces data errors and losses, enhances the reliability of data transmission, allows on-site maintenance personnel to obtain the required data directly from the device, without relying on the main site, and improves the flexibility of data retrieval and Convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945044A_ABST
    Figure CN118945044A_ABST
Patent Text Reader

Abstract

The invention relates to a LoRa-based distribution network terminal side message acquisition device and method, and the method comprises the steps that a first network port receives a control command data stream issued by an encryption device, and transmits a terminal data stream uploaded by a distribution network automation terminal to the encryption device; the ARM processor judges whether the terminal data flow is valid or not; if the terminal data stream is valid, the terminal data stream is analyzed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in a storage medium according to the date and the type of the specific data; the first network port transparently transmits a terminal data stream uploaded by the distribution network automation terminal to the encryption device; the ARM processor is further used for responding to a data query request submitted by a requester, reading the remote control data of the date corresponding to the data query request from the storage medium, and sending the remote control data to the requester through the LoRa module. According to the invention, the efficiency and accuracy of troubleshooting can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of distribution network, and in particular to a LoRa-based distribution network terminal-side message collection device and method thereof. Background Art

[0002] At present, all the remote signaling data, telemetry data and alarm log data generated by the distribution network automation terminal must be encrypted by the encryption device and uploaded to the master station through the distribution network information exchange network (dedicated optical fiber information network). However, in actual operation, it is found that due to the limited storage resources of the master station, not all the information of the distribution network terminal can be correctly saved on the master station server. In addition, because the information sent by the distribution network automation terminal is encrypted by the encryption module and needs to be decrypted on the master station side, data errors and losses caused by encryption and decryption are inevitable. When a distribution network terminal fails, on the one hand, the on-site maintenance personnel may not be able to obtain the corresponding data from the master station in time. In addition, due to the limited storage of the master station and the encryption and decryption of the encryption module, the data may not be complete, which brings certain troubles to troubleshooting. Summary of the invention

[0003] The purpose of this application is to propose a LoRa-based distribution network terminal-side message collection device and method to improve the efficiency and accuracy of troubleshooting.

[0004] To achieve the above-mentioned purpose, according to the first aspect of the present application, a LoRa-based distribution network terminal-side message collection device is provided, comprising an Ethernet switch chip, an Ethernet physical layer chip, an ARM processor, a LoRa module and an SD card socket;

[0005] The ARM processor is communicatively connected with the Ethernet switch chip via the Ethernet physical layer chip;

[0006] The switch chip includes at least a first network port and a second network port, the first network port is connected to the network port of the encryption device, and the second network port is connected to the network port of the distribution network automation terminal; the device receives the terminal data stream uploaded by the distribution network automation terminal through the second network port, and transparently transmits the terminal data stream to the encryption device through the first network port;

[0007] The ARM processor is used to determine whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data;

[0008] The SD card socket is used to provide a pluggable storage medium for the device, and the storage medium is used to store the remote signaling data, telemetry data and alarm log data;

[0009] The ARM processor is also used to respond to a data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

[0010] According to the second aspect of the present application, a method for collecting messages on a distribution network terminal side based on LoRa is provided. The method is implemented based on the device described in the first aspect, and the method includes:

[0011] Receiving the terminal data stream uploaded by the distribution network automation terminal through the second network port;

[0012] The ARM processor determines whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data;

[0013] transparently transmitting the terminal data stream to the encryption device through the first network port;

[0014] The ARM processor is also used to respond to a data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

[0015] According to a third aspect of the present application, a distribution network automation system is provided, including:

[0016] Distribution network automation terminal;

[0017] The LoRa-based distribution network terminal side message collection device according to the second aspect;

[0018] Encryption device; and

[0019] Main station.

[0020] The LoRa-based distribution network terminal-side message collection device and method, and distribution network automation system proposed in this application have the following advantages:

[0021] (1) By deploying a LoRa-based message collection device on the distribution network terminal side, telemetry, telesignaling and other data can be stored and processed locally on the device, reducing the storage pressure on the master server and reducing the data errors and loss problems that may occur during the encryption and decryption process.

[0022] (2) Since the device can store telesignaling, telemetry, and alarm log data locally, on-site maintenance personnel can obtain the required data directly from the device without relying on the master station, thereby speeding up troubleshooting.

[0023] (3) Using the LoRa module for data transmission can, to a certain extent, ensure the reliability of data transmission in complex environments, especially when the distance between the distribution network automation terminal and the master station is far or the signal is poor.

[0024] (4) The device can respond to data query requests and provide corresponding data according to the requested date and category, thereby improving the flexibility and convenience of data retrieval. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 This is a schematic diagram of a LoRa-based distribution network terminal-side message collection device in an embodiment of the present application.

[0027] Figure 2 The present invention is a flowchart of a method for collecting messages on a distribution network terminal side based on LoRa in an embodiment of the present application.

[0028] Figure 3 This is a schematic diagram of a distribution network automation system in an embodiment of the present application. DETAILED DESCRIPTION

[0029] See also Figure 1 , an embodiment of the present application provides a LoRa-based distribution network terminal-side message collection device, including an Ethernet switch chip, an Ethernet physical layer chip, an ARM processor, a LoRa module, and an SD card socket;

[0030] The ARM processor is connected to the Ethernet switch chip through the Ethernet physical layer chip; specifically, the ARM processor is an embedded processor responsible for performing calculation and control tasks. The ARM processor selected in this embodiment is the A287 series processor of NXP (NXP), but it is not limited to this type of processor. The Ethernet physical layer chip is a component in network communication, which implements the physical layer functions defined by the Ethernet standard, such as encoding, decoding, signal transmission and reception, etc. The Ethernet switch chip is a network device that can receive data packets from multiple devices and forward them to the correct output port according to the destination address of the data packet.

[0031] In this embodiment, the ARM processor is not directly connected to the Ethernet switch chip, but is connected through an intermediate component, the Ethernet physical layer chip, because the ARM processor itself does not have a built-in Ethernet physical layer interface function. In order to realize the complete Ethernet function, an external Ethernet physical layer chip is required. The physical layer chip does not need an external Ethernet network transformer, and a capacitive coupling connection method is adopted between the physical layer chip and the Ethernet switch chip, thereby saving two Ethernet network transformers. The Ethernet physical layer chip plays the role of a bridge here, converting the signal of the ARM processor into a format that can be transmitted on the Ethernet line, and processing the sending and receiving of the signal.

[0032] The switch chip includes at least a first network port and a second network port, wherein the first network port is connected to the network port of the encryption device, and the second network port is connected to the network port of the distribution network automation terminal; the device receives the terminal data stream uploaded by the distribution network automation terminal through the second network port, and transparently transmits the terminal data stream to the encryption device through the first network port; specifically, the device receives the data stream from the distribution network automation terminal through the second network port, that is, the distribution network automation terminal sends the data (telesignaling, telemetry, alarm log, etc.) to the second network port of the device, and after receiving the data stream, the device does not make any modification, and directly transparently transmits the data stream to the encryption device through the first network port, where transparent transmission means that the data is directly forwarded inside the device without any processing. The encryption device encrypts the received data, and then sends it to the distribution network information exchange network, and finally uploads it to the master station.

[0033] The ARM processor is used to determine whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to the preset terminal data stream packaging specification to obtain the specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data; specifically, the ARM processor first checks whether the terminal data stream received through the second network port is valid, and the validity check may include confirming whether the data stream is complete, the format is correct, and whether it is within the expected data range. If the data stream is valid, the ARM processor will parse the data stream according to the preset terminal data stream packaging specification.

[0034] Terminal data stream packaging specifications refer to a set of rules that define how to organize, format, and encapsulate data generated by terminal devices. These specifications ensure the integrity and comprehensibility of data during transmission, allowing the receiving end to correctly parse and use the data.

[0035] The terminal data stream packaging specification may include the following key elements:

[0036] 1. Data format: defines the format that the data should use, such as ASCII, binary, JSON, XML, etc.

[0037] 2. Data structure: Specifies the structure of the data packet, including the order of data fields, data types (such as integer, floating point, string, etc.) and field length.

[0038] 3. Start and end flags: Define the start and end flags of the data packet so that the receiving end can identify the boundaries of the data packet.

[0039] 4. Checksum / checksum: To ensure the integrity of data during transmission, the specification may include rules for calculating and verifying checksums or checksums.

[0040] 5. Sync word: In data transmission, a sync word may be included to help the receiver synchronize with the transmitter.

[0041] 6. Protocol version: Indicates the protocol version used by the data stream so that the receiving end can interpret the data correctly.

[0042] 7. Address information: includes source address and destination address so that data can be routed correctly.

[0043] 8. Control field: may include instruction codes, function codes or commands to indicate the purpose or operation of the data packet.

[0044] 9. Data length: indicates the length of the actual data part in the data packet.

[0045] 10. Timestamp: records the time when data is generated or sent.

[0046] A simple example of a terminal data stream packetization specification could be:

[0047] Start marker: a specific character or byte sequence, such as `0x7E`.

[0048] Address information: 2 bytes, specifying the source address and destination address.

[0049] Control field: 1 byte, specifies the packet type or instruction.

[0050] Data length: 1 byte, specifies the length of the data part.

[0051] Data: N bytes, containing actual data information.

[0052] Checksum: 1 byte, used to verify the integrity of the data packet.

[0053] End marker: a specific character or byte sequence, such as `0x7E`.

[0054] These specifications are part of the communication protocol, and they are essential to ensure that information can be exchanged reliably between different devices. In implementation, the end device must follow these specifications to package the data, while the receiving end (such as the ARM processor in this case) parses the data according to the same specifications.

[0055] Through parsing, the ARM processor extracts specific data from the data stream, which may include telesignaling data (signals reflecting switch status), telemetry data (reflecting measured values ​​such as voltage, current, etc.) and alarm log data (reflecting abnormal conditions of equipment or systems).

[0056] The specific data extracted is classified according to date and type. For example, all telesignaling data collected on a specific date will be classified together. Similarly, telemetry data and alarm log data will be stored separately according to date and type. The SD card socket is used to provide a pluggable storage medium for the device, and the storage medium is used to store the telesignaling data, telemetry data and alarm log data; specifically, the classified data is stored in the storage medium, and the storage medium mentioned here is a pluggable SD card connected through the SD card socket. The data is stored for subsequent analysis, query or troubleshooting.

[0057] The ARM processor is also used to respond to a data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

[0058] Specifically, when the device receives a data query request from the requester, the ARM processor will process the request. The data query request contains two main pieces of information, namely date and classification. The date specifies the time range of the data that the requester wants to query, and the classification specifies the type of data requested (such as telesignaling data, telemetry data, or alarm log data). The ARM processor retrieves the corresponding data from the storage medium (such as an SD card) based on the date and classification information in the request, which means that the processor needs to find all data records within the specified date range and belonging to the requested classification. Once the requested data is found and read, the ARM processor will send the data to the requester through the LoRa module. The LoRa module is a wireless communication device that allows the device to transmit data over a long distance without a wired connection. Specifically, when an external requester needs to query data of a specific date and classification, the ARM processor will retrieve the data from the storage medium according to the request content and send the data to the requester wirelessly through the LoRa module. This process enables field maintenance personnel or other relevant personnel to obtain historical data when needed for fault analysis, performance evaluation, or other related work.

[0059] In some specific embodiments, the device receives the control command data stream issued by the encryption device through the first network port, and transparently transmits the control command data stream to the distribution network automation terminal through the second network port; specifically, the device receives the control command data stream from the encryption device through the first network port, where the control command data stream contains operation instructions for the distribution network automation terminal, such as switch control, parameter setting, status query, etc. After receiving these control command data streams, the device does not perform any modification or processing, and directly transparently transmits the data stream to the distribution network automation terminal through the second network port. Transparent transmission here means that the data is directly forwarded inside the device, keeping the integrity and content of the original data stream unchanged. The second network port is directly connected to the distribution network automation terminal, so the transparently transmitted control command data stream can be received by the distribution network automation terminal and perform corresponding operations. Specifically, the message collection device on the distribution network terminal side based on LoRa can not only collect and store data from the distribution network automation terminal, but also serve as a relay for control commands. When the encryption device needs to send control commands to the distribution network automation terminal, these commands are first received by the device through the first network port, and then the device forwards these command data streams intact to the distribution network automation terminal through the second network port, thereby achieving control of the terminal. This process ensures that the control commands can be reliably transmitted from the encryption device to the distribution network automation terminal.

[0060] The ARM processor is further used to determine whether the control command data stream is valid; if the control command data stream is valid, the control command data stream is parsed according to the preset control command data stream packaging specification to obtain the remote control data carried by the control command data stream, and the remote control data is stored in the storage medium according to the date of the remote control data; specifically, the ARM processor first performs a validity check on the received control command data stream, and the validity check may include confirming whether the format of the data stream is correct, whether the data is complete, whether it contains correct verification information, etc. If the control command data stream passes the validity check, the ARM processor will parse the data stream according to the preset control command data stream packaging specification. The packaging specification defines the structure and content of the control command data stream, so that the processor can extract specific remote control data (i.e., control commands) from it.

[0061] The control command data stream packaging specification is a set of rules that define how to organize, format, and encapsulate control command data to ensure correct transmission and understanding of data during communication. These specifications are critical to ensure that control commands can be sent, received, and executed correctly. The following are some key elements that the control command data stream packaging specification may contain:

[0062] 1. Frame structure: defines the format of the control command data frame, including the start bit, address field, control field, data field, check bit and end bit, etc.

[0063] 2. Address information: specifies the target address of the control command, that is, which devices or terminals should receive and execute these commands.

[0064] 3. Control code: defines different control command codes, such as turning on, turning off, setting parameters, querying status, etc.

[0065] 4. Data format: specifies the encoding method of data in the data field, such as binary, hexadecimal, ASCII code, etc.

[0066] 5. Data length: Indicates the length of the data in the data field so that the receiver can parse the data correctly.

[0067] 6. Checksum / check code: used to verify the integrity of data during transmission, which may include CRC (cyclic redundancy check), checksum or other verification mechanisms.

[0068] 7. Synchronization mechanism: defines how to achieve synchronization between the sender and the receiver to ensure the correct identification of data frames.

[0069] 8. Response format: If the control command requires the terminal device to return a response, the specification will define the format and content of the response.

[0070] A simple example of a control command data stream packetization specification might be as follows:

[0071] Start bit: A specific character or byte sequence, such as `0x02`.

[0072] Destination Address: 1 or 2 bytes, specifies the target device for the control command.

[0073] Source address: 1 or 2 bytes, specifies the device that sends the control command.

[0074] Control code: 1 byte, defines the specific control command.

[0075] Data length: 1 byte, indicating the length of the data field.

[0076] Data field: N bytes, containing the actual control data.

[0077] Checksum: 1 or 2 bytes, used for data integrity check.

[0078] End bit: A specific character or byte sequence, such as `0x03`.

[0079] The control command data stream packaging specification ensures the reliable transmission of control commands in complex network environments and can be correctly understood and executed by distribution network automation terminals.

[0080] By parsing, the ARM processor extracts specific remote control data from the control command data stream, which may include switch operation instructions, parameter adjustment instructions, etc.

[0081] The storage medium is also used to store the remote control data; specifically, the extracted remote control data is stored in a storage medium, such as an SD card, according to the date. The purpose of storing this data is to record the historical information of the control command, which is convenient for subsequent auditing, fault analysis or system optimization.

[0082] The ARM processor is further used to respond to the data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module.

[0083] Specifically, when the device receives a data query request from the requester, the ARM processor will process the request. The data query request contains two main pieces of information, namely date and category. The date specifies the time range of the data that the requester wants to query, and the category specifies the type of data requested (such as remote control data). The ARM processor retrieves the corresponding data from the storage medium (such as an SD card) based on the date and category information in the request, which means that the processor needs to find all data records within the specified date range and belonging to the requested category. Once the requested data is found and read, the ARM processor will send the data to the requester through the LoRa module. The LoRa module is a wireless communication device that allows the device to transmit data over a long distance without a wired connection. Specifically, when an external requester needs to query data of a specific date and category, the ARM processor will retrieve the data from the storage medium according to the request content and send the data to the requester wirelessly through the LoRa module. This process enables field maintenance personnel or other relevant personnel to obtain historical data when needed for fault analysis, performance evaluation or other related work.

[0084] In some specific embodiments, the device further includes an isolated RS485 interface chip, which is used to connect to the network distribution equipment. Specifically, in order to enhance the communication capability between the device and the network distribution equipment and the security of the system, the LoRa-based network distribution terminal-side message collection device additionally includes an isolated RS485 interface chip, which not only provides a standard RS485 interface connection with the network distribution equipment, but also protects the device from external electrical interference through isolation technology, thereby ensuring the reliability of data transmission and the security of the equipment.

[0085] In some specific embodiments, the ARM processor is further used to:

[0086] The ARM processor creates a special folder on the storage medium to store telemetering data. Telemetering data usually contains binary information such as switch status and equipment operation status. For telemetering data collected on the same day, the ARM processor will store the data in the first folder just created. The purpose of this is to organize the same type of data by date for subsequent query and management.

[0087] The ARM processor creates another folder on the storage medium specifically for storing telemetry data. Telemetry data usually includes analog or metering data such as voltage, current, and temperature. Telemetry data collected on the same day will be stored in the second folder, also for orderly management of data and easy query.

[0088] The ARM processor also creates a third folder on the storage medium to store alarm log data. The alarm log data records abnormal events or warning information in the system. The alarm log data generated on the same day will be stored in the third folder, which can help maintenance personnel quickly locate the time when the problem occurred and related events.

[0089] Specifically, the ARM processor creates three different folders on the storage medium, which are used to store telesignaling data, telemetry data and alarm log data respectively. Each folder organizes data by date, making data management clearer and more efficient. This organizational method makes it easy for users or maintenance personnel to query data on a specific date as needed, and also facilitates the long-term storage and maintenance of data.

[0090] In some specific embodiments, the ARM processor creates an additional folder on the storage medium (such as an SD card), which is specifically used to store remote control data. Remote control data generally refers to operation command data used to control distribution network automation terminals. For remote control data received or generated on the same day, the ARM processor will store the data in the fourth folder just created. The purpose of this is to organize the same type of data by date to facilitate subsequent query, analysis and maintenance.

[0091] Specifically, the ARM processor creates a special folder (the fourth folder) on the storage medium to store the remote control data of the same day. In this way, the remote control data is effectively classified and stored, making data management more orderly, and also convenient for users or maintenance personnel to quickly retrieve and access specific remote control data according to the date, which is helpful for system monitoring, troubleshooting or performance evaluation.

[0092] In some specific embodiments, the switch chip also includes a third network port, which is a locally reserved network port. On-site staff can use this network port to access the file directory of the FTP (File Transfer Protocol) server built in the collection device for on-site data file copying.

[0093] See also Figure 2 Another embodiment of the present application provides a method for collecting messages on a distribution network terminal side based on LoRa. The method is implemented based on the device described in the above embodiment, and the method includes the following steps:

[0094] Step S10, receiving the terminal data stream uploaded by the distribution network automation terminal through the second network port;

[0095] Step S20, the ARM processor determines whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data;

[0096] Step S30, transparently transmitting the terminal data stream to the encryption device through the first network port;

[0097] Step S40, the ARM processor is also used to respond to the data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

[0098] In some specific embodiments, the method further comprises:

[0099] Step S50, receiving a control command data stream sent by the encryption device through the first network port;

[0100] Step S60, the ARM processor determines whether the control command data stream is valid; if the control command data stream is valid, the control command data stream is parsed according to a preset control command data stream packaging specification to obtain the remote control data carried by the control command data stream, and the remote control data is stored in the storage medium according to the date of the remote control data;

[0101] Step S70, transparently transmitting the control command data stream to the distribution network automation terminal through the second network port;

[0102] Step S80, the ARM processor responds to the data query request submitted by the requester, reads the remote control data of the date corresponding to the data query request from the storage medium, and sends it to the requester through the LoRa module.

[0103] In some specific embodiments, the classifying and storing the specific data in a storage medium according to the date and type of the specific data further includes:

[0104] Creating a first folder on the storage medium, and storing the telesignaling data of the same day in the first folder;

[0105] creating a second folder on the storage medium, and storing the telemetry data of the same day in the second folder;

[0106] A third folder is created on the storage medium, and the alarm log data of the same day is stored in the third folder.

[0107] In some specific embodiments, storing the remote control data in a storage medium according to the date of the remote control data further includes:

[0108] A fourth folder is created on the storage medium, and the remote control data of the same day is stored in the fourth folder.

[0109] See also Figure 3 Another embodiment of the present application provides a distribution network automation system, including:

[0110] Distribution network automation terminal;

[0111] The LoRa-based distribution network terminal-side message collection device described in the above embodiment;

[0112] Encryption device; and

[0113] Main station.

[0114] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A LoRa-based distribution network terminal side message collection device, characterized in that: Includes Ethernet switch chip, Ethernet physical layer chip, ARM processor, LoRa module and SD card socket; The ARM processor is communicatively connected with the Ethernet switch chip via the Ethernet physical layer chip; The switch chip includes at least a first network port and a second network port, the first network port is connected to the network port of the encryption device, and the second network port is connected to the network port of the distribution network automation terminal; The device receives the terminal data stream uploaded by the distribution network automation terminal through the second network port, and transparently transmits the terminal data stream to the encryption device through the first network port; The ARM processor is used to determine whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data; The SD card socket is used to provide a pluggable storage medium for the device, and the storage medium is used to store the remote signaling data, telemetry data and alarm log data; The ARM processor is also used to respond to a data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

2. The device according to claim 1, characterized in that The device receives the control command data stream issued by the encryption device through the first network port, and transparently transmits the control command data stream to the distribution network automation terminal through the second network port; The ARM processor is further used to determine whether the control command data stream is valid; if the control command data stream is valid, the control command data stream is parsed according to a preset control command data stream packaging specification to obtain the remote control data carried by the control command data stream, and the remote control data is stored in the storage medium according to the date of the remote control data; The storage medium is also used to store the remote control data; The ARM processor is further used to respond to the data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module.

3. The device according to claim 2, characterized in that The device also includes an isolated RS485 interface chip, and the isolated RS485 interface chip is used to connect to the network distribution equipment.

4. The device according to claim 3, characterized in that The ARM processor is further used for: Creating a first folder on the storage medium, and storing the telesignaling data of the same day in the first folder; creating a second folder on the storage medium, and storing the telemetry data of the same day in the second folder; A third folder is created on the storage medium, and the alarm log data of the same day is stored in the third folder.

5. The device according to claim 4, characterized in that The ARM processor is further used to create a fourth folder on the storage medium and store the remote control data of the same day in the fourth folder.

6. A method for collecting messages on the terminal side of a distribution network based on LoRa, characterized in that: The method is implemented based on the device described in any one of claims 1 to 5, and the method includes: Receiving the terminal data stream uploaded by the distribution network automation terminal through the second network port; The ARM processor determines whether the terminal data stream is valid; if the terminal data stream is valid, the terminal data stream is parsed according to a preset terminal data stream packaging specification to obtain specific data carried by the terminal data stream, and the specific data is classified and stored in the storage medium according to the date and type of the specific data; wherein the specific data includes at least one of telesignaling data, telemetry data and alarm log data; transparently transmitting the terminal data stream to the encryption device through the first network port; The ARM processor is also used to respond to a data query request submitted by the requester, read the remote control data of the date corresponding to the data query request from the storage medium, and send it to the requester through the LoRa module; wherein the data query request includes a date and a category.

7. The method according to claim 6, characterized in that The method further comprises: receiving a control command data stream sent by the encryption device through the first network port; The ARM processor determines whether the control command data stream is valid; if the control command data stream is valid, the control command data stream is parsed according to a preset control command data stream packaging specification to obtain the remote control data carried by the control command data stream, and the remote control data is stored in the storage medium according to the date of the remote control data; Transmitting the control command data stream to the distribution network automation terminal through the second network port; The ARM processor responds to the data query request submitted by the requester, reads the remote control data of the date corresponding to the data query request from the storage medium, and sends it to the requester through the LoRa module.

8. The method according to claim 7, characterized in that The classifying and storing the specific data in a storage medium according to the date and type of the specific data further includes: Creating a first folder on the storage medium, and storing the telesignaling data of the same day in the first folder; creating a second folder on the storage medium, and storing the telemetry data of the same day in the second folder; A third folder is created on the storage medium, and the alarm log data of the same day is stored in the third folder.

9. The method according to claim 8, characterized in that The storing the remote control data to a storage medium according to the date of the remote control data further comprises: A fourth folder is created on the storage medium, and the remote control data of the same day is stored in the fourth folder.

10. A distribution network automation system, characterized in that: include: Distribution network automation terminal; The LoRa-based distribution network terminal-side message collection device according to any one of claims 1 to 5; Encryption device; as well as Main station.