A method, system and device for quickly accessing equipment at the distribution network terminal

By real-time analysis and matching feature codes in the device management of low-voltage distribution network station area, converting data protocols and adopting frame buffer pools and dynamic discovery mechanisms, the problems of high data transmission delay and terminal debugging cost are solved, and fast access and efficient communication are achieved.

CN120263881BActive Publication Date: 2025-08-26湖南省湘电试验研究院有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510751442.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-06
Publication Date
2025-08-26
Estimated Expiration
2045-06-06

AI Technical Summary

Technical Problem

There are problems in the management of low-voltage distribution network station area equipment, which is mainly because data transmission requires multiple protocol conversions and terminal debugging configuration.

Method used

By monitoring uplink data frames in real time, analyzing the feature codes and matching them with the pre-stored device communication archive. If the match is successful, a communication connection will be established. If it fails, it will be converted to standardized data and a connection will be established. The communication process is optimized by using the frame buffer pool and dynamic discovery mechanism to reduce the number of protocol conversions and terminal debugging configuration.

Benefits of technology

It reduces data transmission delay, reduces terminal installation and debugging costs, improves system throughput and controls packet loss rate, and realizes fast access and efficient communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263881B_ABST
    Figure CN120263881B_ABST
Patent Text Reader

Abstract

The present application discloses a method, system and device for rapid access to terminal equipment in a distribution network area. The method includes the following steps: real-time monitoring of uplink data frames from a terminal; when receiving an uplink data frame, parsing a feature code from the uplink data frame, and matching the feature code with a pre-stored device communication archive; if the feature code successfully matches the device communication archive, then establishing a communication connection between the terminal and the terminal device based on the existing communication feature parameters in the device communication archive; if the feature code fails to match the device communication archive, then converting the uplink data frame into standardized data, distributing the standardized data to the terminal device, establishing a communication connection between the terminal and the terminal device that returns a valid handshake signal, and establishing a communication archive including the communication feature parameters of the terminal device in the device communication archive. This connection method can reduce the delay in data transmission and reduce the debugging cost of the terminal device during installation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power distribution technology, and in particular to a method, system and device for rapid access of equipment at the distribution network substation end. Background Art

[0002] The low-voltage distribution network is a key component of the power distribution system. It generally refers to the power supply area consisting of the distribution transformer and the low-voltage lines within its power supply range, user meters, and electrical equipment. The low-voltage distribution network generally provides electricity directly to end users.

[0003] Managing terminal equipment resources in low-voltage distribution network substations has become a significant challenge and a significant challenge in the current power industry. Low-voltage distribution substations contain a wide variety of terminal equipment, including intelligent circuit breakers, reactive power compensation capacitors, oil temperature sensors, temperature and humidity sensors, on-load tap changers, and electric vehicle charging stations. These devices utilize a variety of communication protocols, with some utilizing the DL / T645-2007 protocol, while others utilize Modbus. On-site management of these terminal devices is primarily accomplished through intelligent convergence terminals or other similar data acquisition terminal devices. These devices are typically connected to the weak-point terminals of the intelligent convergence terminals via RS-485 differential cables.

[0004] In some related technologies, the management methods for low-voltage distribution network substation terminal devices have the following major shortcomings. First, data transmission requires multiple protocol conversions, which inevitably increases data transmission latency and makes it difficult for communication rates to meet real-time requirements. Third, the management terminal must support the communication protocol and specific configuration of each terminal device. During installation, the terminal must be debugged and configured on-site by professional technicians to accurately operate the terminal device, which significantly increases the installation and debugging costs of the terminal. Summary of the Invention

[0005] Based on this, it is necessary to provide a method, system and communication aggregation device for rapid access to distribution network substation terminal equipment. The method can shorten the data transmission delay of terminal equipment and reduce the installation and debugging costs of the terminal.

[0006] An embodiment of the present application provides a method for quickly accessing a distribution network terminal device, which includes the following steps:

[0007] Real-time monitoring of uplink data frames from the terminal; when receiving the uplink data frames, parsing feature codes from the uplink data frames and matching the feature codes with pre-stored device communication archives;

[0008] If the feature code successfully matches the device communication archive, a communication connection is established between the terminal and the end device based on the existing communication feature parameters in the device communication archive;

[0009] If the feature code fails to match the device communication archive, the uplink data frame is converted into standardized data, the standardized data is distributed to the end device, a communication connection is established between the terminal and the end device that returns a valid handshake signal, and a communication archive including the communication feature parameters of the end device is established in the device communication archive.

[0010] In some embodiments of the present application, in the step of distributing the standardized data to the end device, if a valid handshake signal is received back within a preset response window period, the steps of establishing a communication connection and establishing a communication file are executed; if no valid handshake signal is received back within the preset response window period, the downstream port is marked as a dormant state and removed from the distribution queue.

[0011] In some embodiments of the present application, the following steps are also included: all response frames generated by all communication interactions within a period of time are stored in a frame buffer pool; for the terminal device that has established the communication file, during the data return phase, the current frame is compared with the response frame cached in the frame buffer pool in real time. If the current frame completely matches the cached response frame, the cached response frame is directly sent.

[0012] In some embodiments of the present application, the frame buffer pool includes a preload buffer area and a frame storage area, both of which are used to cache the response frames in a recent period of time, and the frequency of occurrence of the response frames cached in the preload buffer area is higher than the frequency of occurrence of the response frames cached in the frame storage area; and the time period to which the response frames cached in the preload buffer area belong is shorter than the time period to which the response frames cached in the frame storage area belong.

[0013] In some embodiments of the present application, when the uplink data frame is not received, a step of dynamically discovering an end device is performed;

[0014] The step of dynamically discovering the end device includes: attempting to call existing communication characteristic parameters from the device communication archive to establish a communication connection between the terminal and the end device; if the communication connection fails to be established, performing full protocol polling on the end device connected to the downstream port to establish a communication connection between the terminal and the end device, and establishing a communication archive including the communication characteristic parameters of the end device in the device communication archive.

[0015] In some embodiments of the present application, the step of performing full-protocol polling includes: sequentially scanning based on the DL / T communication protocol and the non-DL / T communication protocol;

[0016] The step of scanning based on the DL / T communication protocol includes: broadcasting a full network coverage instruction through the downlink port to wake up the end device that complies with the protocol specification, and receiving a response data packet from the end device;

[0017] The steps of scanning based on a non-DL / T communication protocol include: sending a broadcast instruction through the downstream port; if the end device connected to the downstream port supports a broadcast response, receiving a device type code from the end device; if the end device connected to the downstream port does not support a broadcast response, identifying the end device by sending a query instruction.

[0018] In some embodiments of the present application, the DL / T communication protocol is the DL / T 645.07 communication protocol. In the step of scanning based on the DL / T communication protocol, the full network coverage instruction with different baud rates is broadcasted multiple times through the downlink port, and a communication quality evaluation is performed after each sending of the full network coverage instruction.

[0019] In some embodiments of the present application, the non-DL / T communication protocol includes a Modbus communication protocol;

[0020] The step of identifying the end device by sending a query instruction includes: selecting a scanning interval containing some addresses in the entire address space, and alternately sending different types of device query instructions within the scanning interval; if the device query instructions sent within the current scanning interval are not responded to, then increasing the addresses contained in the scanning interval, that is, expanding the scanning interval, and again alternately sending different types of device query instructions; and so on, repeating the steps of expanding the scanning interval and sending the device query instruction until the device query instruction is responded to.

[0021] An embodiment of the present application provides a communication aggregation device, which is applied to a distribution network station area, connected between a terminal and an end device in the distribution network station area, and is used to monitor uplink data frames from the terminal in real time;

[0022] The communication aggregation device is configured to, in response to the uplink data frame received by the uplink port, parse a feature code from the uplink data frame and match the feature code with a pre-stored device communication archive;

[0023] If the characteristic code successfully matches the device communication archive, the communication aggregation device is configured to establish a communication connection between the terminal and the end device based on the existing communication characteristic parameters in the device communication archive;

[0024] If the feature code fails to match the device communication archive, the communication aggregation device is configured to convert the uplink data frame into standardized data, distribute the standardized data to the end device connected to the downlink port, establish a communication connection between the terminal and the end device that returns a valid handshake signal, and establish a communication archive including the communication feature parameters of the end device in the device communication archive.

[0025] An embodiment of the present application provides a distribution network substation terminal device rapid access system, which includes a terminal, a terminal device and a communication aggregation device as described in the above embodiment, and the communication aggregation device is signal-connected to the terminal and the terminal device.

[0026] In the method for rapid access of the terminal equipment in the distribution network area of ​​the embodiment of the present application, when the uplink data frame is received, the feature code is first parsed from the uplink data frame. If the feature code successfully matches the device communication archive, a communication connection is directly established between the terminal and the terminal device based on the existing communication feature parameters in the device communication archive. If the feature code fails to match the device communication archive, the uplink data frame is converted into standardized data, the standardized data is distributed to the terminal device, and then a communication connection is established between the terminal and the terminal device that returns a valid handshake signal. The connection method of this embodiment adopts different connection strategies according to whether the feature code of the uplink data frame matches the database, so as to realize self-parsing of the communication protocol between the terminal device and the terminal when connecting, which can reduce the number of protocol conversions required during data transmission, reduce the data transmission delay, and the terminal does not need to undergo on-site debugging and configuration during installation, so it can also reduce the debugging cost of the terminal device during installation. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of a flow chart of a method for quickly accessing a distribution network terminal device in an embodiment;

[0028] Figure 2 1 is a flow chart of establishing a communication connection when receiving an uplink data frame in one embodiment;

[0029] Figure 3 A schematic diagram of a process for establishing a communication connection when no uplink data frame is received in one embodiment;

[0030] Figure 4 Schematic diagram of the module structure of a communication aggregation device in one embodiment;

[0031] Figure 5It is a structural diagram of a distribution network substation terminal equipment rapid access system in one embodiment. DETAILED DESCRIPTION

[0032] To facilitate understanding of the present application, a more comprehensive description of the present application will be provided below with reference to the accompanying drawings. The accompanying drawings illustrate preferred embodiments of the present application. However, the present application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and comprehensive understanding of the present disclosure.

[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The term "and / or" as used herein includes any and all combinations of one or more of the relevant listed items.

[0034] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present application. When used herein, the singular forms "a", "an", and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "including", when used in this specification, identify the presence of features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0035] Figure 1 This is a flow chart of a method for quickly accessing distribution network substation equipment in one embodiment of the present application. Figure 2 Schematic diagram of the process of establishing a communication connection when receiving an uplink data frame in an embodiment of the present application. Figure 1 and Figure 2 As shown, an embodiment of the present application provides a method for rapid access of terminal equipment in a distribution network substation, and the connection includes the following steps: real-time monitoring of uplink data frames from the terminal; when receiving an uplink data frame, parsing a feature code from the uplink data frame, and matching the feature code with a pre-stored device communication archive; if the feature code successfully matches the device communication archive, establishing a communication connection between the terminal and the terminal device based on the existing communication feature parameters in the device communication archive; if the feature code fails to match the device communication archive, converting the uplink data frame into standardized data, distributing the standardized data to the terminal device, establishing a communication connection between the terminal and the terminal device that returns a valid handshake signal, and establishing a communication archive including the communication feature parameters of the terminal device in the device communication archive.

[0036] It is understood that standardized data refers to data that complies with a specific communication protocol, which can be pre-selected by a technician. Because uplink data frames from terminals are heterogeneous protocol data streams, the protocols they comply with are not fixed. Directly distributing uplink data frames to downlink ports makes them difficult for the connected devices to recognize. Pre-converting uplink data frames to standardized data can avoid the problem of uplink data frames being unrecognizable. Before monitoring uplink data frames from terminals, a system initialization step may also be included.

[0037] In the method for rapid access of the terminal equipment in the distribution network area of ​​the embodiment of the present application, when the uplink data frame is received, the feature code is first parsed from the uplink data frame. If the feature code successfully matches the device communication archive, a communication connection is directly established between the terminal and the terminal device based on the existing communication feature parameters in the device communication archive. If the feature code fails to match the device communication archive, the uplink data frame is converted into standardized data, the standardized data is distributed to the terminal device, and then a communication connection is established between the terminal and the terminal device that returns a valid handshake signal. The connection method of this embodiment adopts different connection strategies according to whether the feature code of the uplink data frame matches the database, so as to realize self-parsing of the communication protocol between the terminal device and the terminal when connecting, which can reduce the number of protocol conversions required during data transmission, reduce the data transmission delay, and the terminal does not need to undergo on-site debugging and configuration during installation, so it can also reduce the debugging cost of the terminal device during installation.

[0038] In some embodiments of the present application, there may be multiple downlink ports capable of communication connection with the terminal, and similarly, there may be multiple end devices capable of communication connection with the terminal. In the step of distributing standardized data to the end devices, the standardized data is distributed to the multiple end devices in sequence, and a communication connection is established between the terminal and the end device that first returns a valid handshake signal, and a communication archive is created in the device communication archive library.

[0039] In some embodiments of the present application, the step of converting the uplink data frame into standardized data includes: using a protocol parsing engine and implementing decoding and semantic conversion of the uplink data frame based on a preset extensible protocol library.

[0040] It will be understood that in the above embodiments, the feature code is used to determine the communication method between the end device and the terminal. The device communication archive may contain communication feature parameters associated with the feature code, including but not limited to one or more of address code, communication protocol type, and communication parameters. The communication feature parameters are configured to be used to establish a communication path. Matching the feature code with the device communication archive refers to determining the associated communication feature parameters from the device communication archive using the feature code. If the feature code successfully matches the device communication archive, directed forwarding of the communication data is implemented based on the associated communication feature parameters, ensuring that the data packet can be delivered to the end device connected to the downstream port. If the feature code does not successfully match the device communication archive, the associated communication feature parameters do not exist, and a communication path cannot be directly established. In this case, a new communication path can be established between the terminal and the end device by initiating a broadcast probe. When establishing communication, a communication profile including the communication feature parameters is also created in the device communication archive so that the feature codes of subsequent end devices of the same type or the same device can be successfully matched with the device communication archive. This avoids the repeated establishment of the same communication path, shortens the time it takes to establish a communication connection, and optimizes resource allocation.

[0041] Reference Figure 1 and Figure 2 As shown, in some embodiments of the present application, during the step of distributing standardized data to an end device, if a valid handshake signal is received back within a preset response window (i.e., an acknowledgment is received), the steps of establishing a communication connection and creating a communication profile are executed. If a valid handshake signal is not received back within the preset response window, the downstream port is marked as dormant and removed from the distribution queue. By marking unresponsive downstream ports as dormant and removing them from the distribution queue, resource allocation efficiency can be effectively optimized.

[0042] Reference Figure 1 and Figure 2 As shown, some embodiments of the present application further include the following steps: storing all response frames generated by all communication interactions within a period of time in a frame buffer pool; for end devices that have already established a communication profile, during the data return phase, comparing the current frame with the response frames cached in the frame buffer pool in real time. If the current frame completely matches the cached response frame, the cached response frame is directly sent. The data processing flow can then be restarted. It is understood that for an end device that has just established a communication profile, after the process of forwarding and caching the response frames has been completed, the process is restarted. In the restarted data processing flow, the end device is treated as an end device that has already established a communication profile.

[0043] In this embodiment, by caching the response frame into the frame buffer pool, if the current frame completely matches a cached response frame during the data return phase, it is determined that there are instructions that are repeated with the current frame within a period of time. At this time, the response frame is directly called to respond, which can achieve a microsecond response. In the actual working process, compared with the processing mode that does not adopt the cached response frame, the method of calling the response frame for response can reduce the delay by about 78%. The method of this embodiment shows significant advantages in the power distribution Internet of Things scenario by establishing a dual reuse mechanism of communication archives and response frame caches. It can effectively cope with the impact of high-frequency repeated instructions and maintain communication reliability during network fluctuations. According to the measured results, compared with the system without communication archives and response frame caches, the system throughput of the method using this embodiment is increased by 215%, and the packet loss rate can be controlled below 0.03%.

[0044] In some embodiments of the present application, the frame buffer pool includes a preload buffer and a frame storage area. Both the preload buffer and the frame storage area are used to cache response frames from a recent period. The response frames cached in the preload buffer appear more frequently than the response frames cached in the frame storage area. Furthermore, the time period to which the response frames cached in the preload buffer belong is shorter than the time period to which the response frames cached in the frame storage area belong. For example, the preload buffer is used to cache high-frequency response frames from the last 500 ms to achieve a rapid response to high-frequency response frames, while the frame storage area is used to cache response frames from the last 3 seconds.

[0045] In some embodiments of the present application, when receiving an uplink data frame, if the signature fails to match the device's communication archive, the standardized data is distributed to the end device using Direct Memory Access (DMA). Direct Memory Access can accelerate concurrency on downstream ports, reducing processor resource usage and increasing downstream port access speeds.

[0046] Reference Figure 1 As shown, in some embodiments of the present application, when no uplink data frame is received, the step of dynamically discovering the end device is executed, and the step of dynamically discovering the end device includes: attempting to call existing communication characteristic parameters from the device communication archive to establish a communication connection between the terminal and the end device; if the communication connection fails to be established, performing full protocol polling on the end device connected to the downstream port to establish a communication connection between the terminal and the end device, and establishing a communication archive including the communication characteristic parameters of the end device in the device communication archive.

[0047] Among them, in the process of trying to call existing communication characteristic parameters from the device communication archive, the total number of times the communication characteristic parameters are called does not exceed the preset number. If the communication connection cannot be established when the total number of times the communication characteristic parameters are called reaches the preset number, it is determined that the communication connection has failed to be established.

[0048] Figure 3 This is a flow chart of establishing a communication connection when no uplink data frame is received in one embodiment of the present application. Figures 1 to 3 As shown, in some embodiments of the present application, the step of performing full-protocol polling includes: scanning in sequence based on the DL / T communication protocol and the non-DL / T communication protocol; wherein, the step of scanning based on the DL / T communication protocol includes: broadcasting a full-network coverage instruction through the downstream port to wake up the end device that complies with the protocol specification, and receiving a response data packet from the end device; the step of scanning based on the non-DL / T communication protocol includes: sending a broadcast instruction through the downstream port, and if the end device connected to the downstream port supports a broadcast response, receiving a device type code from the end device; if the end device connected to the downstream port does not support a broadcast response, identifying the end device by sending a query instruction.

[0049] In this embodiment, during the full-protocol polling process, the end devices connected to the downstream port are divided into two categories: DL / T communication protocol and non-DL / T communication protocol according to the protocol type, and differentiated intelligent search strategies are executed respectively. The DL / T communication protocol and the non-DL / T communication protocol are scanned in sequence, which can realize the rapid profiling and resource optimization of unarchived devices.

[0050] In some embodiments of the present application, the DL / T communication protocol may be the DL / T 645.07 communication protocol. The full network coverage command is a special broadcast command within the power industry communication protocol (e.g., DL / T 645.07). It is used to send operation instructions to all compatible devices on the network at once, eliminating the need to individually address each device. This is suitable for scenarios where a large number of terminal devices need to be operated simultaneously. Within the command structure of the full network coverage command, the address field may be a wildcard address (e.g., AA AA AA AA AAAA). The full network coverage command may include an embedded device type query function code (e.g., function field code 93H). End devices that meet the DL / T communication protocol standard must return a response packet within a preset response window. In some embodiments of the present application, the response packet includes a 12-digit decimal address (e.g., 123546789012) and a device type identifier (e.g., B0 - frame circuit breaker, Q3 smart capacitor compensation device).

[0051] In a further embodiment of the present application, in the step of scanning based on the DL / T communication protocol, multiple full network coverage instructions with different baud rates are broadcasted via the downlink port, and a communication quality assessment is performed after each full network coverage instruction is sent. In some embodiments, the communication quality assessment includes: based on the CRC-16 check failure rate and packet loss rate, when the failure rate and packet loss rate meet the preset conditions, the corresponding baud rate is locked as the communication parameter of the end device. Among them, the preset conditions can be: failure rate ≤ 0.01%, packet loss rate ≤ 0.1%. In some embodiments, when sending multiple full network coverage instructions with different baud rates, the full network coverage instructions can be sent in the order of gradually increasing baud rates. For example, the full network coverage instructions are sent in the order of baud rates of 1200bps, 2400bps, 4800bps, 9600bps, and 115200bps to match the communication parameters.

[0052] In a further embodiment of the present application, after a communication connection is established between a terminal and an end device, a communication profile of the end device is established. For an end device that meets the DL / T communication protocol, the communication characteristic parameters in the communication profile include a 12-bit decimal address, a serial port communication configuration, and a device type code. The serial port communication configuration may include one or more of a baud rate, 8N1 data bits, and an even parity check mode. After the communication profile is established, it may also include generating device communication quality baseline data to provide a benchmark reference for subsequent communication quality monitoring. The baseline data includes one or more of signal strength, response delay, and bit error rate.

[0053] In the scanning method based on the DL / T communication protocol in the above embodiment, the communication establishment process can be completed within 150ms, and supports an automatic resynchronization mechanism in the hot-plug state of the device.

[0054] In some embodiments of the present application, during scanning based on the DL / T communication protocol, if a communication connection is successfully established between the end device and the terminal, the full protocol polling step may be terminated, or scanning may continue based on a non-DL / T communication protocol. If a communication connection is not successfully established between the end device and the terminal, scanning may continue based on a non-DL / T communication protocol.

[0055] In some embodiments of the present application, the non-DL / T communication protocol may include the Modbus communication protocol. The Modbus communication protocol is a serial communication protocol that transmits data via a serial line between devices and supports serial devices using the RS232 / RS485 / RS422 protocols. When a broadcast instruction is sent via a downstream port, the address of the broadcast instruction is 00, and the broadcast instruction is used by the terminal to send instructions to all end devices. Among end devices that meet the Modbus communication protocol, some end devices (e.g., S0 class devices) can support broadcast responses and return response data including a device type code upon receiving a broadcast instruction.

[0056] In some embodiments of the present application, for the end device returning the response data, the protocol compliance of the Modbus function code of the end device is first verified, and then the integrity of the data frame is ensured through the LRC longitudinal redundancy check. Abnormal frames that fail the check will be discarded in real time.

[0057] Some end devices (such as standard devices that fully comply with the Modbus specification) do not support broadcast responses and cannot return response data. For end devices that fail to return response data (or do not respond) within the timeout window, a query command is sent to identify the end device. The timeout window can be a preset duration, such as 50ms.

[0058] In some embodiments of the present application, the step of identifying the end device by sending a query instruction includes: selecting a scan interval containing some addresses in the entire address space, and sending different types of device query instructions alternately in the scan interval. If the device query instructions sent in the current scan interval are not responded to, then the addresses contained in the scan interval are increased, that is, the scan interval is expanded, and different types of device query instructions are sent alternately again. Similarly, the steps of expanding the scan interval and sending the device query instruction are repeated until the device query instruction is responded to. In some embodiments, the entire address space can be address 1 to address 255. The selected initial scan interval can contain 10 addresses, such as address 1 to address 10, address 11 to address 20, etc. This embodiment adopts a device type cross-query algorithm, which can support multiple devices at the same time and improve recognition efficiency.

[0059] In some embodiments of the present application, when alternately sending query commands for different types of devices, the scanning interval for high-frequency devices (e.g., circuit breakers) is shorter than the scanning interval for low-frequency devices (e.g., energy storage BMSs). For example, the scanning interval for high-frequency devices may be 50ms, while the scanning interval for low-frequency devices may be 200ms. This embodiment adopts a weighted priority scanning strategy, adjusting the scanning interval based on device type, to balance scanning efficiency and channel load.

[0060] In some embodiments of the present application, a retry interval is set before each scan interval expansion, and the retry interval increases with the number of scan interval expansions. The increase in the retry interval can be implemented using an exponential backoff algorithm. For example, the retry interval before the first scan interval expansion is 5 seconds, the retry interval before the second scan interval expansion is 10 seconds, and the retry interval before the third scan interval expansion is 20 seconds. Furthermore, the number of scan interval expansions can be set, for example, limiting the number of retries (i.e., the number of scan interval expansions) to less than three to avoid network congestion.

[0061] In a further embodiment of the present application, after establishing communication with an end device, a communication profile for the end device is automatically created. For end devices establishing communication during scanning based on the Modbus communication protocol, communication characteristic parameters include the device address, communication port number, Modbus subprotocol type, and timeout parameters. After communication is established, signal quality indicators are continuously monitored, and an incremental retry mechanism is triggered when the differential voltage of the interface falls below a preset value or the CRC error rate exceeds a preset value.

[0062] In some embodiments of the present application, when performing full-protocol polling, the dynamic task scheduler can monitor the port load in real time and perform real-time scheduling so that the CPU occupancy of a single port does not exceed 70% of the safety threshold.

[0063] In the above embodiment, scanning is performed alternately based on the DL / T communication protocol and based on the non-DL / T communication protocol, and channel conflicts are avoided through a time slice rotation mechanism.

[0064] In some embodiments of the present application, during full-protocol polling, if multiple responses are detected from an end device connected to the same downstream port, a secondary verification step is triggered. The secondary verification step includes sending a specific query instruction containing a random number and filtering out abnormally responding devices.

[0065] An embodiment of the present application also provides a communication aggregation device, which is applied to a distribution network area, and the communication aggregation device is connected between the terminal and the end device in the distribution network area, and the communication aggregation device is used to monitor the uplink data frames from the terminal in real time; the communication aggregation device is configured to respond to the uplink data frame received by the uplink port, parse the feature code from the uplink data frame, and match the feature code with a pre-stored device communication archive; if the feature code successfully matches the device communication archive, the communication aggregation device is configured to establish a communication connection between the terminal and the end device based on the existing communication feature parameters in the device communication archive; if the feature code fails to match the device communication archive, the communication aggregation device is configured to convert the uplink data frame into standardized data, distribute the standardized data to the end device connected to the downlink port, establish a communication connection between the terminal and the end device that returns a valid handshake signal, and establish a communication archive including the communication feature parameters of the end device in the device communication archive.

[0066] In this embodiment, the uplink port of the communication aggregation device is connected to a terminal, and the downlink port is connected to an end device. In some embodiments of the present application, the communication aggregation device may have one uplink port and multiple downlink ports. Both the uplink port and the downlink port of the communication aggregation device may include RJ11 connectors connected to RS-485 circuits. The number of downlink ports may be no less than eight, and isolation design is employed between the multiple RS-485 circuits.

[0067] In some embodiments of the present application, when the uplink port of the communication aggregation device does not receive an uplink data frame, the communication aggregation device performs the step of dynamically discovering the end device. The step of dynamically discovering the end device includes: attempting to call existing communication characteristic parameters from the device communication archive to establish a communication connection between the terminal and the end device; if the communication connection fails to be established, performing full protocol polling on the end device connected to the downlink port to establish a communication connection between the terminal and the end device, and establishing a communication archive including the communication characteristic parameters of the end device in the device communication archive.

[0068] It can be understood that the communication aggregation device can be used to execute and implement the distribution network substation terminal equipment rapid access method in the aforementioned embodiment. The specific details can be understood in conjunction with the aforementioned embodiments and will not be repeated here.

[0069] Figure 4The figure is a schematic diagram of the module structure of a communication aggregation device in one embodiment. In some embodiments of the present application, the communication aggregation device includes a main control chip and a flash memory chip. The main control chip can be used to control the communication aggregation device to execute various steps of the aforementioned embodiments, such as, but not limited to, parsing feature codes from uplink data frames, converting uplink data frames into standardized data, and distributing the standardized data. The flash memory chip is used to store an extensible protocol library, and the main control chip is used to schedule the protocol parsing engine and, in conjunction with the extensible protocol library, perform decoding and semantic conversion of uplink data frames. In some embodiments, the main control chip can be a microcontroller unit (MCU).

[0070] In some embodiments of the present application, the communication aggregation device further includes a wireless communication module that can be used to enable the flash memory chip to communicate with the outside world, thereby enabling upgrades, maintenance, real-time data reading, and control of the communication aggregation device. In some embodiments, the wireless communication module can be a Bluetooth module.

[0071] The present application also provides a system for quickly accessing equipment at the distribution network terminal. Figure 5 This is a schematic diagram of the system structure. Figure 5 As shown, the system includes a terminal, an end device, and the communication aggregation device of the above embodiment, which is signal-connected to the terminal and the end device. The communication aggregation device has an uplink port and a downlink port, the uplink port is connected to the terminal, and the downlink port is connected to the end device.

[0072] The above detailed description is a specific description of a feasible embodiment of the present application. The embodiment is not intended to limit the patent scope of the present application. Any equivalent implementation or modification that does not depart from the scope of the present application should be included in the patent scope of this case.

Claims

1. A method for quickly accessing equipment at the distribution network area, characterized in that: The steps include: Real-time monitoring of uplink data frames from the terminal; when receiving the uplink data frames, parsing feature codes from the uplink data frames and matching the feature codes with pre-stored device communication archives; If the feature code successfully matches the device communication archive, a communication connection is established between the terminal and the end device based on the existing communication feature parameters in the device communication archive; If the feature code fails to match the device communication archive, converting the uplink data frame into standardized data, distributing the standardized data to the end device, establishing a communication connection between the terminal and the end device that returns a valid handshake signal, and creating a communication archive including the communication feature parameters of the end device in the device communication archive; When the uplink data frame is not received, executing a step of dynamically discovering an end device; The step of dynamically discovering the end device includes: attempting to call existing communication characteristic parameters from the device communication archive to establish a communication connection between the terminal and the end device; If the communication connection fails to be established, full protocol polling is performed on the end device connected to the downstream port to establish a communication connection between the terminal and the end device, and a communication archive including the communication characteristic parameters of the end device is established in the device communication archive library.

2. The method for rapid access to distribution network terminal equipment according to claim 1, characterized in that: In the step of distributing the standardized data to the terminal device, if a valid handshake signal is received within a preset response window, the steps of establishing a communication connection and creating a communication file are executed; If no valid handshake signal is received within the preset response window, the downstream port is marked as dormant and removed from the distribution queue.

3. The method for rapid access to distribution network terminal equipment according to claim 1, characterized in that: The method further includes the following steps: storing all response frames generated by all communication interactions within a period of time in a frame buffer pool; for the terminal device that has established the communication file, in the data return phase, comparing the current frame with the response frame cached in the frame buffer pool in real time; if the current frame completely matches the cached response frame, directly sending the cached response frame.

4. The method for rapid access to distribution network terminal equipment according to claim 3, characterized in that: The frame buffer pool includes a preload buffer area and a frame storage area, both of which are used to cache the response frames within a recent period of time. The frequency of occurrence of the response frames cached in the preload buffer area is higher than the frequency of occurrence of the response frames cached in the frame storage area; and the time period to which the response frames cached in the preload buffer area belong is shorter than the time period to which the response frames cached in the frame storage area belong.

5. The method for quickly accessing distribution network terminal equipment according to any one of claims 1 to 4, characterized in that: The steps of performing full protocol polling include: scanning in sequence based on the DL / T communication protocol and the non-DL / T communication protocol; The step of scanning based on the DL / T communication protocol includes: broadcasting a full network coverage instruction through the downlink port to wake up the end device that complies with the protocol specification, and receiving a response data packet from the end device; The steps of scanning based on a non-DL / T communication protocol include: sending a broadcast instruction through the downstream port; if the end device connected to the downstream port supports a broadcast response, receiving a device type code from the end device; if the end device connected to the downstream port does not support a broadcast response, identifying the end device by sending a query instruction.

6. The method for rapid access to distribution network terminal equipment according to claim 5, characterized in that: The DL / T communication protocol is the DL / T 645.07 communication protocol. In the step of scanning based on the DL / T communication protocol, the full network coverage instruction with different baud rates is broadcasted multiple times through the downlink port, and a communication quality assessment is performed each time the full network coverage instruction is sent.

7. The method for rapid access to distribution network terminal equipment according to claim 5, characterized in that: The non-DL / T communication protocol includes a Modbus communication protocol; The step of identifying the end device by sending a query instruction includes: selecting a scanning interval containing some addresses in the entire address space, and alternately sending different types of device query instructions within the scanning interval; if the device query instructions sent within the current scanning interval are not responded to, then increasing the addresses contained in the scanning interval, that is, expanding the scanning interval, and again alternately sending different types of device query instructions; and so on, repeating the steps of expanding the scanning interval and sending the device query instruction until the device query instruction is responded to.

8. The method for rapid access to distribution network terminal equipment according to any one of claims 1 to 4, characterized in that: In the process of attempting to call existing communication characteristic parameters from the device communication archive, the total number of times the communication characteristic parameters are called does not exceed a preset number. If a communication connection cannot be established when the total number of times the communication characteristic parameters are called reaches the preset number, it is determined that the communication connection has failed to be established.

9. A communication aggregation device, characterized in that: The communication collection device is used in the distribution network area, and is configured to be connected between the terminal and the end device in the distribution network area. The communication collection device includes a main control chip; The main control chip is used to monitor the uplink data frames from the terminal in real time; The main control chip is further configured to, in response to the uplink data frame received by the uplink port, parse a feature code from the uplink data frame and match the feature code with a pre-stored device communication archive; The main control chip is further configured to, if the feature code successfully matches the device communication archive, configure the communication aggregation device to establish a communication connection between the terminal and the end device based on the existing communication feature parameters in the device communication archive; The main control chip is further configured to, if the feature code fails to match the device communication archive, configure the communication aggregation device to convert the uplink data frame into standardized data, distribute the standardized data to the end device connected to the downlink port, establish a communication connection between the terminal and the end device that returns a valid handshake signal, and create a communication archive including the communication feature parameters of the end device in the device communication archive; The main control chip is further configured to execute a step of dynamically discovering an end device when the uplink data frame is not received; The main control chip is further used in the step of dynamically discovering the end device, including: attempting to call existing communication characteristic parameters from the device communication archive to establish a communication connection between the terminal and the end device; If the communication connection fails to be established, full protocol polling is performed on the end device connected to the downstream port to establish a communication connection between the terminal and the end device, and a communication archive including the communication characteristic parameters of the end device is established in the device communication archive library.

10. A distribution network terminal equipment rapid access system, characterized in that: It comprises a terminal, an end device and the communication aggregation device as claimed in claim 9, wherein the communication aggregation device is signal-connected with the terminal and the end device.

Citation Information

Patent Citations

  • Method and system of automatically maintaining communication parameters of centralized meter reading collector

    CN106781415A

  • WFS service-oriented space query result cache method

    CN107622115A