Fault recording data processing method and computer equipment

By aligning the time tags of the fault recording data and sending it to the message queue, the data interoperability problem between different control and security hosts is solved, and efficient parallel analysis of fault recording data is achieved.

CN120295980APending Publication Date: 2025-07-11XUCHANG XJ SOFTWARE TECHNOLOGIES LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510219542.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In ultra-high voltage transmission systems, fault recording data cannot be communicated between different control and security hosts, resulting in inability to analyze in parallel, and the existing technology is inefficient.

Method used

By obtaining the fault recording data of each control and security host and aligning the time tags, the aligned data is sent to the message queue, and the characteristics of the message queue are used for collaborative parallel analysis to ensure that the data time scale is consistent.

Benefits of technology

It realizes efficient coordinated parallel analysis of fault recording data of different control and security hosts, and improves the efficiency of automatic analysis of fault recording data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120295980A_ABST
    Figure CN120295980A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of converter station fault recording data processing, and particularly relates to a fault recording data processing method and computer equipment. Comprising the following steps: acquiring fault recording data of each control and protection host when the same fault occurs, and aligning the acquired fault recording data according to a time label; and sending the aligned fault recording data to a message queue, so that a fault recording analysis module obtains the aligned fault recording data from the message queue for analysis. According to the method, the time scales of all the fault recording data can be ensured to be the same, and fault recording analysis is ensured not to have errors, so that the fault recording analysis module can obtain the aligned fault recording data of each control and protection host from the message queue for collaborative parallel analysis, and the efficiency of automatic analysis of the fault recording data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of fault recording data processing in converter stations, and specifically relates to a fault recording data processing method and a computer device. Background Art

[0002] In the UHV power transmission system, the DC control and protection system is the core of the entire converter station operation safety guarantee. The fault recording analysis after the control and protection logic in the DC control and protection is triggered is a major difficulty. Currently, in the UHV DC power transmission system, the most conventional operation and maintenance and monitoring means are still mainly based on the DC system OWS (Operator Monitoring System). The manual review of various data in the OWS system by operation and maintenance personnel is still the main means of current in-station operation personnel. To solve this problem, technical means for automatic analysis of fault recording have been proposed in the prior art. However, since after a fault occurs, the fault recording data of different control and protection hosts are not interoperable, only the control and protection logics of each control and protection host can be analyzed one by one, and it is impossible to perform parallel analysis of each protection logic by combining the fault recording files of each control and protection host, resulting in low efficiency of automatic analysis of fault recording. Summary of the Invention

[0003] The purpose of the present invention is to provide a fault recording data processing method and a computer device, so as to solve the technical problem that the fault recording file in the prior art cannot perform parallel analysis of the protection logic by combining the fault recording data of each control and protection host.

[0004] To solve the above technical problem, the present invention provides a fault recording data processing method, including the following steps:

[0005] Obtain the fault recording data of each control and protection host when the same fault occurs, and align the obtained fault recording data according to the time tag; send the aligned fault recording data to the message queue for the fault recording analysis module to obtain the aligned fault recording data from the message queue for analysis.

[0006] Further, the method of aligning the obtained fault recording data according to the time tag is to write the fault recording data into a table for alignment: write the data with the same time tag in the obtained fault recording data into the same row of the table to complete the alignment of the fault recording data with this time tag; after all the fault recording data are aligned according to the time tag, sort each row of the table in the order of the time tag to complete the alignment of all the fault recording data.

[0007] Further, the process of obtaining the fault recording data of each control and protection host when the same fault occurs includes: reading the fault recording data of each control and protection host under a certain working condition. If the difference in the starting recording time of the fault recording data of any two control and protection hosts is less than the set time difference threshold and the difference is an integer multiple of the recording period, it is determined that the read fault recording data is the fault recording data of the same fault.

[0008] Further, when sending the aligned fault recording data to the message queue, it is sent in the order of the time tags.

[0009] Further, the process of sending the aligned fault recording data to the message queue includes: using the channel name and host name of the aligned fault recording data as the topic name of the message queue and sending it to the corresponding topic of the message queue.

[0010] Further, before sending the aligned fault recording data to the message queue, first clear the message queue and reset the cursors of all topics in the message queue.

[0011] The present invention is an improved invention creation, and its beneficial effects are as follows: By sending the fault recording data of each control and protection host belonging to the same fault to the message queue, and utilizing the characteristic that the message queue can combine the data of different devices, the fault recording data of each control and protection host is combined to jointly and parallelly analyze each control and protection logic. At the same time, since the starting times of the fault recordings of different control and protection hosts are different, before jointly analyzing the data of different control and protection hosts, it is necessary to first align the fault recording data of different control and protection hosts according to the time tags, and send the aligned data to the message queue to ensure that the time scales of all fault recording data are the same, ensuring that the fault recording analysis will not go wrong, so that the fault recording analysis module can obtain the aligned fault recording data of each control and protection host from the message queue for joint and parallel analysis to improve the efficiency of automatic analysis of fault recording data.

[0012] To solve the above technical problems, the present invention also provides a computer device, including a processor, and the processor implements the method steps described in the fault recording data processing method of the present invention when executing a computer program.

[0013] The present invention is an improved invention creation, and its beneficial effects are the same as those of the fault recording data processing method of the present invention. Description of the Drawings

[0014] Figure 1 is the flowchart of the fault recording data processing method in the method embodiment of the present invention;

[0015] Figure 2 is the schematic diagram of forming a CSV file by fusion in the method embodiment of the present invention. Detailed implementation mode

[0016] A method for processing fault recording data and a computer device according to the present invention send the fault recording data of each control and protection host belonging to the same fault to a message queue. By utilizing the characteristic of the message queue that can combine data from different devices, the fault recording data of each control and protection host are combined to jointly and parallelly analyze each control and protection logic. At the same time, since the starting times of the fault recordings of different control and protection hosts are different, before jointly analyzing the data of different control and protection hosts, it is necessary to align the fault recording data of different control and protection hosts according to time tags, and send the aligned data to the message queue to ensure that the time scales of all fault recording data are the same, ensuring that the fault recording analysis is error-free, so that the fault recording analysis module can obtain the fault recording data of each control and protection host after alignment from the message queue for joint and parallel analysis to improve the efficiency of automatic analysis of fault recording data.

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.

[0018] Method embodiment:

[0019] As Figure 1 shown, the method for processing fault recording data of the present invention includes the following steps:

[0020] Step 1: Read the fault recording data of all control and protection hosts under a certain working condition.

[0021] Step 2: Determine whether the read fault recording data belong to the same fault.

[0022] In this embodiment, the difference in the starting time of the fault recording is used to determine whether the range of the time tags is consistent; if the difference in the starting time of the fault recording of any two control and protection hosts is less than the set time difference threshold (generally the total duration of the recording), and the difference is an integer multiple of the recording period (the standard frame length time scale in the figure), it means that the time tags of the fault recording data of all control and protection hosts are consistent, and all fault recording data belong to the same fault. Otherwise, the fault recording data of different control and protection hosts do not belong to the same fault, and the entire process of processing the fault recording data ends.

[0023] Step 3: Align the time scales of the fault recording data of all control and protection hosts and generate a CSV file.

[0024] Align the obtained fault recording data of all control and protection hosts according to the time tags. In this embodiment, the alignment method includes: forming the obtained fault recording data into the form of a CSV file, aligning it in the CSV file table, writing the data with the same time tag into the same row of the table file, arranging all the row data in the order of the time tags, and at the same time rewriting the channel name list of all the fault recording data in the table, and filling the original control and protection host name and channel name as the content filled in the rewritten channel name list.

[0025] In this embodiment, the file content mainly includes the substation list, the host list, the channel list re-compiled with the host + channel name, the corresponding data measurement units, the core data content, etc. The important data content of the CSV file is as Figure 2 shown. It covers the channel data corresponding to all the fault recording data after alignment.

[0026] Step Four: Initialize the message queue.

[0027] To ensure the correct reception of the message queue data, in this embodiment, it is necessary to initialize the message queue first. The initialization content includes clearing the message queue and resetting the cursors of all topics in the message queue.

[0028] Step Five: Send the fault recording file to the message queue in chronological order.

[0029] In this embodiment, in the order of the time stamps of the fault recording file, using the host name and channel name as the topic names, send the fault recording file to the message queue. As another implementation method, it is also possible to send the fault recording file to each channel of the message queue according to the order of the fault recording file cursors according to the channel name.

[0030] Step Six: The fault recording analysis module obtains the aligned fault recording file from the message queue and analyzes each protection logic in parallel.

[0031] Utilizing the data support of the message bus for multiple consumers to consume the same topic simultaneously, it is possible to analyze multiple protection logics and control logics in parallel. During the analysis process, the fault recording analysis module can batch listen to messages of different topics and use the offset submission cursor to ensure the analysis synchronization of each frame of data. Similarly, provide an interface analysis tool. After consuming the data frame by frame, display the channel data of all hosts after alignment on the same analysis interface. The specific analysis method can refer to Figure 1 the protection logic determination method on the right side in

[0032] Embodiment of computer equipment:

[0033] A computer device of the present invention includes a processor, and when the processor executes a computer program, it implements the steps of the fault recording data processing method described in the method embodiment. The specific process, principle, beneficial effects, etc. of this method have been described in detail in the method embodiment, and will not be repeated in this embodiment.

[0034] Among them, the processor can be a processing device such as a microprocessor MCU or a field programmable gate array FPGA.

[0035] For the fault recording data processing method and computer device of the present invention, the fault recording data of each control and protection host belonging to the same fault are aligned according to the time tags, ensuring that the time scales of all fault recording data are the same, and then the aligned fault recording data are sent to the message queue. By utilizing the characteristics of the message queue, the fault recording analysis module can jointly analyze the control and protection logic in parallel with the fault recording data of each control and protection host, thereby improving the efficiency of fault recording data analysis.

[0036] Further, when aligning the fault recording data of the present invention, in the form of a table, the fault recording data with the same time tag are written into the same row of the table to complete the alignment of the fault recording data with this time tag. The aligned data in each row are sorted according to the order of the time tags to complete the alignment of all fault recording data. In the form of a table, the alignment process is made more intuitive, and it can be directly seen from the table which fault recording data have been aligned and which have not, facilitating the alignment operation.

[0037] Further, in the present invention, the start time of the fault recording is used to determine whether the fault recordings of different control and protection hosts are fault recordings of the same fault. If the start recording times of any two fault recording data are both less than the set time difference threshold, it is determined that the fault recording data of each control and protection host are fault recordings of the same fault. It can be determined whether the range of the time tags is consistent only based on the start recording time, and the judgment is simple and effective.

[0038] Further, when sending the aligned fault recording data to the message queue, it is sent in the order of the time tags to ensure that there is no order error in the aligned fault recording data received by the message queue. Further, before sending the aligned fault recording data to the message queue, it is necessary to clear the message queue and reset the cursors of each channel of the message queue to ensure that there is no error in receiving the fault recording data. By initializing the message queue first and sending the fault recording data in the order of the aligned time tags, it is ensured that the fault recording data are always aligned fault recording data during the sending process. In the subsequent analysis process, the data with the same cursor value are the channel data of the aligned time, and there will be no timing error and order error during the analysis process.

Claims

1. A method for processing fault recording data, characterized in that, Including the following steps: Obtain the fault recording data of each control and protection host when the same fault occurs, align the obtained fault recording data according to the time tags; send the aligned fault recording data to the message queue for the fault recording analysis module to obtain the aligned fault recording data from the message queue for analysis.

2. The fault recording data processing method according to claim 1, wherein The method of aligning the obtained fault recording data according to the time tags is to write the fault recording data into a table for alignment: write the data with the same time tag in the obtained fault recording data into the same row of the table to complete the alignment of the fault recording data with this time tag; after aligning all the fault recording data according to the time tags, sort each row of the table in the order of the time tags to complete the alignment of all the fault recording data.

3. The fault recording data processing method according to claim 1, wherein The process of obtaining the fault recording data of each control and protection host when the same fault occurs includes: read the fault recording data of each control and protection host under a certain working condition, if the difference between the start recording times of the fault recording data of any two control and protection hosts is less than the set time difference threshold and the difference is an integer multiple of the recording period, it is determined that the read fault recording data is the fault recording data of the same fault.

4. The fault recording data processing method according to claim 2, wherein When sending the aligned fault recording data to the message queue, it is sent in the order of the time tags.

5. The fault recording data processing method according to any one of claims 1-4, characterized in that The process of sending the aligned fault recording data to the message queue includes: sending the channel name and host name of the aligned fault recording data as the topic name of the message queue to the corresponding topic of the message queue.

6. The fault recording data processing method according to any one of claims 1-4, characterized in that Before sending the aligned fault recording data to the message queue, first empty the message queue and reset the cursors of all topics in the message queue.

7. A computer device, comprising a processor, characterized in that, When the processor executes the computer program, it implements the steps of the fault recording data processing method described in any one of claims 1-6.