Substation message decoupling method, device and equipment under DL / T860 protocol and medium
By introducing a decoupling device in the substation to receive and analyze SV and GOOSE common port messages, the problem of message conflicts caused by common port transmission is solved, the efficiency and accuracy of message processing is achieved, and the difficulty of debugging and maintenance is reduced. and cost.
Patent Information
- Application Number
- CN202411458017.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-21
AI Technical Summary
In substations, SV and GOOSE messages may be sent in the same port on the Hezhi integrated device, which makes it impossible to realize actual switching transmission tests during protection debugging, increasing the difficulty and efficiency of debugging and maintenance of relay protection devices.
Receive SV and GOOSE common port messages sent by the Hezhi integrated device and tester through the SFP optical module, analyze the header information of the message, identify the message and extract basic attributes, sampling value data and control commands, and verify the integrity of the message and correctness, forwarded to the corresponding recipient based on preset rules.
It effectively avoids message conflict and confusion problems, significantly improves the efficiency and accuracy of message processing, and reduces the difficulty and cost of debugging and maintenance.
Smart Images

Figure CN119342124A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of message decoupling, and in particular to a substation message decoupling method, device, equipment and medium under the DL / T860 protocol. Background Art
[0002] At present, the new generation of substation secondary devices have unified the DL / T860 communication message standard, clarified the communication data structure, service parameters, encoding and decoding rules and interaction requirements, including sampled value SV messages and general substation event GOOSE messages, etc., realizing the information modeling, standardization and interoperability between various devices in the substation.
[0003] However, in actual operation, SV and GOOSE messages may be sent through the same port on relay protection devices such as the integrated intelligent device, which brings challenges to the processing of messages during maintenance and debugging and the maintenance of the device. In particular, the SV for collecting analog quantities such as current and voltage, as well as the protection tripping, reclosing, remote control and other commands and various state quantity information collection GOOSE are all sent to the protection and measurement and control device through an optical fiber. When the protection is debugged, when the optical fiber access tester is disconnected to add analog SV information, the optical fiber path of GOOSE information such as the tripping and reclosing commands of the protection and measurement and control device and the remote control operation commands of the measurement and control device is disconnected at the same time, resulting in the inability to realize the actual switch transmission test, which greatly increases the difficulty and efficiency of debugging and maintenance of relay protection devices. The decoupling and forwarding of SV and GOOSE common port messages usually requires modification at the hardware level. Commonly used testers are expensive, which increases the complexity and cost of the modification. Therefore, it is imperative to develop a new decoupling method. Summary of the invention
[0004] The present application provides a substation message decoupling method, device, equipment and medium under the DL / T860 protocol to solve the above technical problems.
[0005] On the one hand, the present application provides a substation message decoupling method under the DL / T860 protocol, the method comprising the following steps:
[0006] Step S1: Receive SV and GOOSE common port messages sent by the integrated device and the tester through the SFP optical module.
[0007] Step S2: parse the header information of the message, identify the message, and extract the basic attributes, sample value data and control commands of the message.
[0008] Step S3: Verify the integrity and correctness of the message, and pass the verification.
[0009] Step S4: Based on preset rules, the SV and GOOSE common port messages are forwarded to the corresponding receivers.
[0010] In one implementation of the present application, the header information includes: source MAC address, multicast address, message type, Tag, APPID, and message length.
[0011] In one implementation of the present application, the method also includes: parsing the timestamp information in the message; specifically including: determining the specific location of the timestamp information in the message according to the DL / T860 protocol specification; reading the timestamp value from the field; and converting the format of the read timestamp value.
[0012] In one implementation of the present application, the message is checked based on a CRC check method.
[0013] In one implementation of the present application, the method also includes: defining an information model for a substation based on the DL / T860 protocol, wherein the information model includes logical nodes; allocating the logical nodes to actual dedicated equipment, assigning an instance-specific value to each logical node, and forming a specific application functional unit.
[0014] The present application also provides a substation message decoupling device under the DL / T860 protocol, which is applied to the substation message decoupling method under the DL / T860 protocol mentioned above, and the device includes:
[0015] SFP optical module is used to realize the physical connection and data transmission of optical fiber interface, and realize the optical signal transmission between integrated device, protection device and tester.
[0016] The message receiving module is used to monitor the data flow on the optical fiber interface in real time, receive the SV and GOOSE common port messages transmitted through the SFP optical module, and pass the received messages to the subsequent parsing module.
[0017] The message parsing module is used to identify SV or GOOSE messages according to the message header information, and parse the messages according to the DL / T 860 protocol specification to extract the sampling value data and control commands.
[0018] The message storage module is used to store the parsed SV and GOOSE messages.
[0019] The message forwarding module is used to forward the parsed SV and GOOSE messages to the corresponding receiver according to preset rules.
[0020] The present application also provides a substation message decoupling device under the DL / T860 protocol, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can complete the aforementioned substation message decoupling method under the DL / T860 protocol.
[0021] The present application also provides a non-volatile computer storage medium for substation message decoupling under the DL / T860 protocol, which stores computer executable instructions. The computer executable instructions are executed by a processor to implement the aforementioned substation message decoupling method under the DL / T860 protocol.
[0022] The present application provides a substation message decoupling method, device, equipment and medium under the DL / T860 protocol, which has the following beneficial effects:
[0023] (1) By introducing a specially designed decoupling device, SV and GOOSE messages can be accurately distinguished and processed. The direct effect of this technical feature is to effectively avoid the message conflicts and confusion problems caused by co-port transmission in traditional methods, thereby significantly improving the efficiency and accuracy of message processing;
[0024] (2) Designed based on DL / T 860 protocol, it is suitable for a variety of smart substation environments, has good adaptability and compatibility, and can meet the message processing requirements in different scenarios;
[0025] (3) A variety of message verification mechanisms, such as CRC verification, are introduced to ensure the integrity and correctness of data during transmission. This technical feature effectively prevents data loss or damage during transmission and ensures data reliability and stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0027] Figure 1 A flow chart of a substation message decoupling method under the DL / T860 protocol provided in an embodiment of the present application;
[0028] Figure 2 A composition diagram of a substation message decoupling device under the DL / T860 protocol provided in an embodiment of the present application;
[0029] Figure 3A schematic diagram of a substation message decoupling device under the DL / T860 protocol provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0031] The embodiment of the present application provides a substation message decoupling method, device, equipment and medium under the DL / T860 protocol. The technical solution proposed in the embodiment of the present application is described in detail below with the help of the accompanying drawings.
[0032] Figure 1 A flow chart of a substation message decoupling method under the DL / T860 protocol provided in an embodiment of the present application. Figure 1 As shown, the method mainly includes the following steps:
[0033] Step S1: Receive SV and GOOSE common port messages sent by the integrated device and the tester through the SFP optical module.
[0034] Step S2: parse the header information of the message, identify the message, and extract the basic attributes, sample value data and control commands of the message.
[0035] Step S3: Verify the integrity and correctness of the message, and pass the verification.
[0036] Step S4: Based on preset rules, the SV and GOOSE common port messages are forwarded to the corresponding receivers.
[0037] In an embodiment of the present application, the header information includes: source MAC address, multicast address, message type, Tag, APPID, and message length.
[0038] In an embodiment of the present application, the method also includes: parsing the timestamp information in the message; specifically including: determining the specific location of the timestamp information in the message according to the DL / T860 protocol specification; reading the timestamp value from the field; and formatting the read timestamp value.
[0039] Specifically, according to the DL / T860 protocol specification, the specific location of the timestamp information in the message is from the 10th byte to the 17th byte of the message header. First, you need to read the timestamp value starting from the 10th byte of the message header. An example of a message header: 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x080x09 0x0A 0x0B 0x0C 0x0D 0x0E0x0F 0x10. In this example, the timestamp value is located from the 10th byte to the 17th byte, that is, 0x0A0x0B 0x0C 0x0D0x0E 0x0F 0x10.
[0040] Next, you need to convert the format of the timestamp value you read out. Assuming the timestamp value is in hexadecimal, you can convert it to decimal. For example, if the timestamp value is 0x0A 0x0B 0x0C 0x0D0x0E 0x0F 0x10, then its corresponding decimal value is 10, 11, 12, 13, 14, 15, 16.
[0041] Finally, we can combine these data to get a complete description: According to the DL / T860 protocol specification, the specific location of the timestamp information in the message is from the tenth byte to the thirteenth byte of the message header. The timestamp value is read from this field and converted to decimal form. For example, the message header example is 0x01 0x02 0x03 0x04 0x050x06 0x07 0x08 0x09 0x0A 0x0B 0x0C0x0D 0x0E 0x0F 0x10, and the timestamp values read from it are 10, 11, 12, 13, 14, 15, 16.
[0042] In the embodiment of the present application, the message is checked based on the CRC check method. The parsed SV and GOOSE messages are checked, and the check process includes CRC check, message length check, etc., to ensure that the received message has no errors or damages, and to ensure the integrity and correctness of the data.
[0043] Taking CRC-16 as an example, its verification process is as follows: (1) Select a suitable generator polynomial. Select the corresponding generator polynomial according to your needs. For example, the commonly used generator polynomial for CRC-16 is x16+x15+x2+1, and the corresponding binary number is 11000000000000101. (2) Determine the number of additional bits. Add the same number of 0s as the number of bits in the generator polynomial minus one after the data to be verified. For CRC-16, the number of bits in the generator polynomial is 17, so 16 bits of 0 need to be added. (3) Perform modulo 2 division. Use modulo 2 division to process the data with 0s added to obtain the remainder. This remainder is the required CRC check value. (4) Optimize the performance of the algorithm. In practical applications, the error detection rate can be improved by adding four concepts: the initial value of the remainder, the result XOR value, the input data inversion, and the output data inversion. (5) Receiving the verification data. After the receiver receives the complete data with the CRC check value, it will calculate the CRC value again and compare it with the transmitted CRC value to verify the correctness of the data.
[0044] In addition, when performing CRC verification, the two parameters of the initial value and the XOR value of the result can further increase the accuracy of error detection. High-order polynomial selection, it is crucial to choose the generating polynomial properly to improve the error detection capability. Input and output data reversal, in some cases, reversing the input data or output data can improve the error detection effect.
[0045] In an embodiment of the present application, the method also includes: defining an information model for a substation based on the DL / T860 protocol, wherein the information model includes logical nodes; allocating the logical nodes to actual dedicated equipment, assigning an instance-specific value to each logical node, and forming a specific application functional unit.
[0046] The above is a substation message decoupling method under the DL / T860 protocol provided by an embodiment of the present application. Based on the same inventive concept, an embodiment of the present application also provides a substation message decoupling device under the DL / T860 protocol. Figure 2 A diagram showing the composition of a substation message decoupling device under the DL / T860 protocol provided in an embodiment of the present application, such as Figure 2As shown, the device mainly includes: an SFP optical module 201, which is used to realize the physical connection and data transmission of the optical fiber interface, and realize the optical signal transmission between the integrated device, the protection device and the tester. A message receiving module 202 is used to monitor the data flow on the optical fiber interface in real time, receive the SV and GOOSE common port messages transmitted through the SFP optical module, and pass the received messages to the subsequent parsing module. A message parsing module 203 is used to identify the SV or GOOSE message according to the message header information, and parse the message according to the DL / T860 protocol specification to extract the sampling value data and control commands. A message storage module 204 is used to store the parsed SV and GOOSE messages, and can select cache, database and other methods to facilitate the subsequent playback, analysis or troubleshooting of the messages. A message forwarding module 205 is used to forward the parsed SV and GOOSE messages to the corresponding recipient according to preset rules.
[0047] The above is a substation message decoupling device under the DL / T860 protocol provided by an embodiment of the present application. Based on the same inventive concept, an embodiment of the present application also provides a substation message decoupling device under the DL / T860 protocol. Figure 3 A schematic diagram of a substation message decoupling device under the DL / T860 protocol provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the device mainly includes: at least one processor 301; and a memory 302 communicatively connected to the at least one processor; wherein the memory 302 stores instructions that can be executed by the at least one processor 301, and the instructions are executed by the at least one processor 301 so that the at least one processor 301 can complete the aforementioned substation message decoupling method under the DL / T860 protocol.
[0048] In addition, an embodiment of the present application also provides a non-volatile computer storage medium for substation message decoupling under the DL / T860 protocol, which stores computer executable instructions, and the computer executable instructions are executed by a processor to implement the aforementioned substation message decoupling method under the DL / T860 protocol.
[0049] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0050] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0051] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0052] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0053] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0054] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0055] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A substation message decoupling method under DL / T860 protocol, characterized in that: The method comprises the following steps: Step S1: Receive SV and GOOSE common port messages sent by the integrated device and the tester through the SFP optical module; Step S2: parsing the header information of the message, identifying the message, and extracting the basic attributes, sampled value data and control commands of the message; Step S3: Verify the integrity and correctness of the message, and pass the verification; Step S4: Based on preset rules, the SV and GOOSE common port messages are forwarded to the corresponding receivers.
2. According to a method for decoupling substation messages under the DL / T860 protocol according to claim 1, it is characterized in that: The header information includes: source MAC address, multicast address, message type, Tag, APPID, and message length.
3. According to a method for decoupling substation messages under the DL / T860 protocol according to claim 1, it is characterized in that: The method also includes: parsing the timestamp information in the message; specifically including: determining the specific location of the timestamp information in the message according to the DL / T860 protocol specification; reading the timestamp value from the field; and converting the format of the read timestamp value.
4. The substation message decoupling method under the DL / T860 protocol according to claim 1 is characterized in that: Verify the message based on the CRC verification method.
5. The substation message decoupling method under the DL / T860 protocol according to claim 1 is characterized in that: The method further comprises: An information model for a substation is defined based on the DL / T860 protocol, wherein the information model includes logical nodes; The logical nodes are allocated to actual dedicated devices, and each logical node is given an instance-specific value to form a specific application function unit.
6. A substation message decoupling device under DL / T860 protocol, applied to a substation message decoupling method under DL / T860 protocol according to any one of claims 1 to 5, characterized in that: The device comprises: SFP optical module, used to realize the physical connection and data transmission of optical fiber interface, and realize the optical signal transmission between the integrated device, protection device and tester; The message receiving module is used to monitor the data flow on the optical fiber interface in real time, receive the SV and GOOSE common port messages transmitted through the SFP optical module, and pass the received messages to the subsequent parsing module; The message parsing module is used to identify SV or GOOSE messages according to the message header information, and parse the messages according to the DL / T 860 protocol specification to extract the sample value data and control commands; A message storage module is used to store the parsed SV and GOOSE messages; The message forwarding module is used to forward the parsed SV and GOOSE messages to the corresponding receiver according to preset rules.
7. A substation message decoupling device under DL / T860 protocol, characterized in that: The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can complete the substation message decoupling method under the DL / T860 protocol described in any one of claims 1-5.
8. A non-volatile computer storage medium for substation message decoupling under DL / T860 protocol, storing computer executable instructions, characterized in that: The computer executable instructions are executed by a processor to implement a substation message decoupling method under a DL / T860 protocol as described in any one of claims 1-5.