FT3 message data processing method and system, electronic equipment and storage medium
By performing signal quality detection and abnormal state processing on FT3 messages and generating alarm signals, the transmission problem of FT3 messages in complex electromagnetic environments is solved, and the robustness and reliability of data processing in traction substations are improved.
Patent Information
- Application Number
- CN202511674989.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-14
- Publication Date
- 2026-01-13
AI Technical Summary
Existing technologies fail to adapt to the complex electromagnetic environment of traction substations when processing FT3 messages, resulting in a decline in transmission quality, an inability to distinguish the degree and cause of message failure, and a lack of refined perception of the communication link status, which affects the safety and stability of the power supply system.
By performing signal quality detection on multiple consecutive FT3 messages, abnormal states are identified, and data processing is performed according to different abnormal states to generate alarm signals, which are then stored in a specific storage space for the CPU to read.
Maximize the use of effective data under harsh operating conditions to improve the robustness and reliability of protection devices and provide data support for condition monitoring.
Smart Images

Figure CN121333876A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of relay protection technology for traction substations, and particularly relates to an FT3 message data processing method, system, electronic equipment and storage medium. Background Technology
[0002] In traction substation automation systems, relay protection devices are core equipment ensuring the safety and reliability of railway power supply. With the development of digitalization and intelligence, process-level network communication based on international standards such as IEC 61850 has been widely used. However, in many existing and some newly built traction substations in my country, the FT3 format serial message remains a very important and common communication protocol for transmitting sampled current and voltage values (SMV) between protection and control devices and merging units (MUs). The FT3 format holds an important position in the industry due to its simple hardware implementation and strong deterministic transmission characteristics.
[0003] FT3 messages use Manchester encoding and are transmitted serially over optical fiber, theoretically providing strong anti-interference capabilities. However, in actual traction substation operation, the electromagnetic environment is extremely complex and harsh. Frequent start-ups and shutdowns of high-power power electronic equipment, as well as the operation of circuit breakers and disconnectors, generate strong electromagnetic interference (EMT). Furthermore, physical damage to the fiber optic link itself, aging or contamination of connectors, and abnormalities in the interface boards of merging units or protection devices can all lead to a deterioration in the transmission quality of FT3 messages.
[0004] Currently, the standard processing method for FT3 messages at the receiving end is to perform strict frame verification. This typically includes: ① Manchester encoding / decoding verification: checking whether each bit transition is valid to determine if symbol synchronization has been lost. ② CRC (Cyclic Redundancy Check) verification: verifying the integrity and accuracy of the message data. ③ Frame header, frame trailer, and timing verification: ensuring the message structure is correct and arrives at the expected time.
[0005] Traditional processing strategies are essentially a binary "either / or" approach: if any of the above checks fails, the frame is deemed invalid and discarded. Subsequently, protection devices typically employ interpolation algorithms or directly use the previous valid sample value to maintain data continuity.
[0006] However, this simplistic approach to processing FT3 messages is too simplistic and crude, failing to meet the actual needs of the complex electromagnetic environment of traction substations. It fails to differentiate between different degrees and causes of message failures, fails to fully utilize the effective information in flawed messages, and lacks a refined perception of the communication link status. This undoubtedly poses a potential risk to the safe and stable operation of the traction power supply system. Summary of the Invention
[0007] In view of this, this application aims to provide an FT3 message data processing method, system, electronic device, and storage medium to solve at least one of the above-mentioned problems.
[0008] To achieve the above objectives, the technical solution of this application is implemented as follows: Firstly, this application provides an FT3 message data processing method, including: The system enables the reception of FT3 messages based on message reception and performs signal quality detection based on multiple consecutive FT3 frames to identify abnormal signal states. Based on the abnormal signal status, the message data under different abnormal statuses is processed according to the preset data processing strategy, and corresponding alarm signals are generated. The processed message data and its alarm signals are stored in a specific storage space for the CPU to read.
[0009] Secondly, based on the same inventive concept, this application also provides an FT3 message data processing system, including: The data receiving module is configured to receive FT3 messages according to the message receiving enable, and to perform signal quality detection based on multiple consecutive frames of FT3 messages to identify abnormal signal states. The data processing module is configured to process message data under different abnormal states according to a preset data processing strategy, and generate corresponding alarm signals. The data storage module is configured to store the processed message data and its alarm signals to a specific storage space for the CPU to read.
[0010] Thirdly, based on the same inventive concept, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method described in the first aspect.
[0011] Fourthly, based on the same inventive concept, this application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions for causing the computer to perform the method as described in the first aspect.
[0012] Compared with the prior art, the FT3 message data processing method, system, electronic device and storage medium described in this application have the following advantages: The FT3 message data processing method described in this application can detect the signal quality of messages and, based on different data processing strategies for different signal anomalies, maximize the use of effective data under harsh operating conditions, improve the robustness and reliability of protection devices, and provide data support for condition monitoring. Attached Figure Description
[0013] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart of an FT3 message data processing method according to an embodiment of this application; Figure 2 This is a schematic diagram of the structure of an FT3 message data processing system according to an embodiment of this application; Figure 3 This is a schematic diagram of the hardware structure of the electronic device described in an embodiment of this application. Detailed Implementation
[0014] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.
[0015] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0016] The embodiments of this application are described in detail below with reference to the accompanying drawings.
[0017] Please see Figure 1 As shown, this embodiment provides an FT3 message data processing method, which specifically includes the following steps: Step S101: Enable FT3 message reception according to message reception, and perform signal quality detection based on multiple consecutive FT3 message frames to identify abnormal signal states.
[0018] Specifically, in this embodiment, FT3 message reception is enabled to prepare for receiving FT3 messages, and the received data is stored in a fixed storage space; the FT3 messages are decoded, and the signal quality detection results are output based on multiple consecutive frames of messages to be used for the identification and judgment of subsequent signal abnormalities.
[0019] Step S102: Based on the abnormal signal status, process the message data under different abnormal statuses using a preset data processing strategy, and generate corresponding alarm signals.
[0020] Specifically, in this embodiment, after waiting for the amount of message data to meet the condition, the received message data and message signal anomaly detection results are cached into a set of data and data processing begins. The message signal anomaly detection results of the cached multi-frame data are analyzed and identified (including CRC check, message integrity detection, and message anomaly detection) to determine whether there are any abnormalities such as frame loss, bit error, signal interruption, or sending device failure in the message.
[0021] Furthermore, based on the abnormality of the signal, a set of multi-frame data is processed. When the signal is normal, the maximum and minimum values in the multi-frame data are removed and the average value is taken. The purpose is to filter the data and remove glitches during transmission.
[0022] When frame loss occurs, the number of frame loss is determined. If it is less than or equal to half of the data in the group (indicating that the signal has credibility), the average value of the remaining data in the group is taken. If it is more than half of the data in the group, the remaining data is combined with the last ten data from the previous group to obtain an approximate curve. The median value of the approximate curve is then taken as the data processing result (the purpose is to increase the credibility of the data) and a frame loss alarm is generated.
[0023] When bit errors occur, the erroneous data is treated as lost frames, but no alarm signal is generated; when signal interruption occurs, the data in the group is directly set to the default value and an interruption alarm is generated; when the transmitting device fails, the data is treated as normal data and a device failure alarm is generated.
[0024] Step S103: Store the processed message data and its alarm signals in a specific storage space for the CPU to read.
[0025] Specifically, in this embodiment, the processed data and alarm signal results are stored in a fixed area for the CPU to read; by sending an interrupt signal to the CPU, the CPU is required to read the data and the corresponding alarm at the same time, and start waiting for the next waiting message data volume to meet the condition in order to carry out the next cycle of data processing.
[0026] The FT3 message data processing method described in this embodiment can detect the signal quality of the message and, based on different data processing strategies for different signal anomalies, maximize the use of effective data under harsh operating conditions, improve the robustness and reliability of the protection device, and provide data support for condition monitoring.
[0027] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0028] Based on the same inventive concept, and corresponding to the methods of any of the above embodiments, the embodiments of this application also provide an FT3 message data processing system.
[0029] like Figure 2 As shown, the FT3 message data processing system includes: The data receiving module 11 is configured to receive FT3 messages according to the message receiving enable, and to perform signal quality detection based on multiple consecutive frames of FT3 messages to identify abnormal signal states. The data processing module 12 is configured to process message data under different abnormal states according to the signal abnormal state and generate corresponding alarm signals by using a preset data processing strategy. The data storage module 13 is configured to store the processed message data and its alarm signals to a specific storage space for the CPU to read.
[0030] For ease of description, the above system is described by dividing it into various modules based on their functions. Of course, in implementing the embodiments of this application, the functions of each module can be implemented in one or more software and / or hardware.
[0031] The system described in the above embodiments is used to implement the corresponding method in any of the foregoing embodiments and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0032] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, embodiments of this application also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the methods described in any of the above embodiments.
[0033] Figure 3This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.
[0034] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0035] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.
[0036] The input / output interface 1030 is used to connect input / output modules to realize information input and output. The input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touch screens, microphones, various sensors, etc., and output devices may include displays, speakers, vibrators, indicator lights, etc.
[0037] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0038] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.
[0039] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.
[0040] The electronic devices described above are used to implement the corresponding methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0041] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to perform the methods described in any of the above embodiments.
[0042] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0043] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to perform the methods described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0044] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.
[0045] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0046] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0047] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.
Claims
1. A method for processing FT3 message data, characterized in that, include: The system enables the reception of FT3 messages based on message reception and performs signal quality detection based on multiple consecutive FT3 frames to identify abnormal signal states. Based on the abnormal signal status, the message data under different abnormal statuses is processed according to the preset data processing strategy, and corresponding alarm signals are generated. The processed message data and its alarm signals are stored in a specific storage space for the CPU to read.
2. The method according to claim 1, characterized in that: Each received FT3 message is subjected to CRC check, message integrity check, and message anomaly check, and the results are stored in a fixed storage area corresponding to the received data.
3. The method according to claim 2, characterized in that: Once the message data volume is sufficient, the signal quality detection results of multiple frames of messages are cached into a set of data for unified data processing.
4. The method according to claim 1, characterized in that, The data processing strategy includes: Multiple frames of signal anomaly information are cached into a set of data, and the anomaly information of the cached multiple frames of signal is identified. In response to frame drops, the number of dropped frames is determined. If it is less than or equal to the preset data volume in the group, the average value of the remaining data in the group is taken. If it is more than the preset data volume in the group, the remaining data is combined with specific data in the previous group to form an approximate curve. The median value of the approximate curve is taken as the data processing result, and a frame drop alarm signal is generated.
5. The method according to claim 4, characterized in that, Also includes: In response to the presence of bit errors, the erroneous data is processed as dropped frames, but no alarm signal is generated.
6. The method according to claim 4, characterized in that, Also includes: In response to a signal interruption, the data within the group is set to the default value and an interruption alarm signal is generated.
7. The method according to claim 4, characterized in that, Also includes: In response to a fault in the transmitting device, the data is processed as normal data, and a device fault alarm signal is generated simultaneously.
8. An FT3 message data processing system, characterized in that, include: The data receiving module is configured to receive FT3 messages according to the message receiving enable, and to perform signal quality detection based on multiple consecutive frames of FT3 messages to identify abnormal signal states. The data processing module is configured to process message data under different abnormal states according to a preset data processing strategy, and generate corresponding alarm signals. The data storage module is configured to store the processed message data and its alarm signals to a specific storage space for the CPU to read.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the method as claimed in any one of claims 1-7.
10. A non-transitory computer-readable storage medium, characterized in that, in, The non-transitory computer-readable storage medium stores computer instructions for causing a computer to perform the method described in any one of claims 1-7.