Relay protection device printing action data stream analysis and electronic document generation method

Through the data acquisition, analysis and report generation methods of the relay device, the problem of insufficient action data flow analysis and information management is solved, efficient data processing and report generation is realized, and data utilization and report practicality are improved.

CN118981285APending Publication Date: 2024-11-19SHENZHEN FUHUA ARTIFICIAL INTELLIGENCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411002561.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The operation data flow analysis and information management of the prior art relay protection devices are insufficient, resulting in low data usage efficiency, delayed information transmission, and difficult to follow-up analysis and processing of the generated reports.

Method used

Provide a method for printing action data flow analysis and electronic document generation of relay devices, including data acquisition, formatting processing, statistical analysis, electronic report generation and data storage and management, by setting up a data acquisition module, a data analysis algorithm unit, and a monitoring unit and document generation tools to automate data processing processes and improve data availability and accessibility.

Benefits of technology

It realizes automated data processing processes, improves work efficiency, improves data utilization, provides a foundation for subsequent data mining and intelligent decision-making, and improves the practicality and readability of reports.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981285A_ABST
    Figure CN118981285A_ABST
Patent Text Reader

Abstract

The invention discloses a relay protection device printing action data stream analysis and electronic document generation method, and relates to the technical field of power system relay protection, and the method comprises the following steps: S1, data collection: presetting a data stream collection module, and generating action data stream information; s2, data analysis: converting the data into an analyzable structured format; s3, performing data analysis to form a periodic operation report and fault statistics; s4, document generation: automatically generating an electronic report according to an analysis result and a user demand; and S5, data storage and management: the generated electronic document and associated data thereof are stored in a cloud or a local storage, so that later viewing, management and transmission are facilitated. According to the relay protection device printing action data stream analysis and electronic document generation method, the steps of data acquisition, analysis and document generation are integrated, so that an automatic data processing flow is realized, and the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of relay protection of electric power system, and in particular to a method for analyzing printing action data stream of relay protection device and generating electronic documents. Background Art

[0002] In the power system, relay protection devices are key equipment to ensure the safe operation of the power grid. When a fault occurs in the power grid, the relay protection device can act quickly to cut off the faulty part and protect the stability of the power grid.

[0003] In power systems and other industrial automation fields, relay protection devices play a vital role in monitoring and protecting electrical equipment. These devices can generate a large amount of action data streams, which are important basis for system operation.

[0004] However, there are still deficiencies in the analysis and information management of action data streams, which leads to low data utilization efficiency, delayed information transmission, and the generated reports are often difficult to analyze and process later. Therefore, it is necessary to provide a method for parsing the print action data stream of a relay protection device and generating electronic documents to improve the availability and accessibility of data. Summary of the invention

[0005] The main purpose of the present invention is to provide a method for parsing the printing action data stream of a relay protection device and generating an electronic document. By setting steps S1-S5, it is possible to solve the problems that the current analysis and information management of the action data stream are still insufficient, resulting in low data utilization efficiency, delayed information transmission, and the generated reports are often difficult to conduct subsequent analysis and processing.

[0006] To achieve the above object, the present invention provides the following technical solutions: A method for analyzing a relay protection device printing action data stream and generating an electronic document, comprising the following steps: S1, data collection, preset data stream collection module, used to collect the printing action data of the relay protection device in real time and generate action data stream information; S2, data parsing, formatting the action data stream information and converting the data into a parsable structured format; S3, data analysis, statistical analysis of the parsed structured data to form periodic operation reports and fault statistics; S4. Document generation: Automatically generate electronic reports based on analysis results and user needs. The reports should include detailed analysis, charts and suggestions of action data. S5. Data storage and management: Save the generated electronic documents and their associated data in the cloud or local storage for future viewing, management and transmission.

[0007] Preferably, the data stream acquisition module includes hardware, a hardware interface, data acquisition software, a data analysis algorithm unit, a data storage unit, a monitoring unit and a parsing unit.

[0008] Preferably, the generation of the action data stream information in step S1 includes the following steps: S11. Analyze requirements, determine the data type and format to be collected, and determine the frequency and real-time requirements of data collection; S12. Hardware selection: select data acquisition cards or dedicated data acquisition equipment to ensure that they are compatible with the relay protection device and meet the data acquisition requirements; S13, software development, developing the data acquisition software to control the hardware equipment and realize real-time data acquisition; S14, data analysis, converting the collected raw data into useful information through the data analysis algorithm unit; S15, data storage, selecting a data storage solution, and ensuring that the collected data can be stored safely and effectively through the data storage unit; S16, real-time monitoring, displaying the currently collected printing action data through the real-time monitoring interface in the monitoring unit; S17, data stream generation, the parsing unit parses the printing action data to generate data stream information.

[0009] Preferably, the useful information in step S14 includes timestamp, action type, and action parameters; The real-time monitoring interface in step S16 should provide real-time data viewing and historical data query functions.

[0010] Preferably, the step S2 of converting the data into a parsable structured format comprises the following steps: S21, the action data stream information is transmitted in original text, binary data or a specific protocol format through a preset transmission unit; S22, preprocessing the collected raw data, including removing redundant blank characters and line break format issues; S23, converting the pre-processed raw data into a structured format; S24, parsing the formatted data to extract important information, including event type, occurrence time, and related parameters; S25. Storing the extracted important information in a database to ensure data persistence and queryability.

[0011] Preferably, when performing statistical analysis on the parsed structured data in step S3, analysis indicators need to be defined, including: Operation indicators: Total print volume: the total number of prints within a specified period; Success rate: the ratio of successful printing times to total printing times; Average printing time: the average time to complete an operation; Fault statistics indicators: Number of faults: the number of faults that occurred within a specified period; Fault Type: Number of faults classified by type; Fault recovery time: The average recovery time for each fault.

[0012] Preferably, the generation of the electronic report in step S4 includes the following steps: S41. Determine the report structure, define the basic structure and components of the report, and the electronic report may include the following parts: report title, report date and generation time, summary and introduction, detailed analysis of action data, chart display, suggestions and improvement measures, and appendix; S42. Collect analysis results, organize various statistical data and conclusions obtained during the analysis process, and prepare relevant data sets and information, including constructed indicators and chart data; S43, generating a chart using a preset tool; S44, automatic document generation, select the preset document generation tool, and select the supported format according to user needs; S45. Fill in data and charts. Fill the collected analysis results, charts and related suggestions into the document template to ensure the logic and consistency of the information; S46. Proofreading and review. After automatic generation, proofreading and review are carried out to ensure the accuracy and completeness of the data, the absence of spelling errors and irregular formats, and to determine whether the report content meets user needs and specific specifications.

[0013] Preferably, the data storage and management in step S5 specifically includes the following steps: S51, selecting a storage solution, collecting cloud storage and local storage to store the electronic document; S52, creating a storage structure, presetting the storage structure to facilitate data organization and retrieval; S53, data upload and storage. After the electronic document is successfully generated, it is uploaded to the selected storage solution: For cloud storage: Use API or SDK to automatically upload documents and related data to the cloud; Make sure to use secure authentication methods; For local storage: Copy the generated documents and data to the specified local directory; Use secure storage to ensure data security during storage; S54, managing the associated data, storing the original data, analysis results, and chart materials related to the electronic document together, and creating a data index file in a corresponding directory to record the relationship between the document and the related data; S55. Permission management: Set access permissions for the storage environment to ensure that only authorized users or roles can access sensitive or important data.

[0014] Compared with the prior art, the present invention has the following beneficial effects: The present invention realizes an automated data processing flow and improves work efficiency by integrating the steps of data collection, parsing, analysis and document generation; The use of structured data storage and analysis methods not only improves data utilization, but also provides a basis for subsequent data mining and intelligent decision-making; The document generation method provided combines user needs with customized templates to improve the practicality and readability of the report. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is the overall flow chart of the present invention; Figure 2 Generate a flow chart for the action data flow information of the present invention; Figure 3 Convert the data of the present invention into a parsable structured format flow chart; Figure 4 A flow chart for generating electronic reports of the present invention. DETAILED DESCRIPTION

[0016] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0017] Example: Figure 1-4 As shown, a method for parsing a relay protection device printing action data stream and generating an electronic document comprises the following steps: S1, data collection, preset data stream collection module, used to collect the printing action data of the relay protection device in real time and generate action data stream information; S2, data parsing, formatting the action data stream information and converting the data into a parsable structured format; S3, data analysis, statistical analysis of the parsed structured data to form periodic operation reports and fault statistics; S4. Document generation: Automatically generate electronic reports based on analysis results and user needs. The reports should include detailed analysis, charts and suggestions of action data. S5. Data storage and management: Save the generated electronic documents and their associated data in the cloud or local storage for future viewing, management and transmission.

[0018] Among them, the data stream acquisition module includes hardware, hardware interface, data acquisition software, data analysis algorithm unit, data storage unit, monitoring unit and analysis unit.

[0019] The generation of the action data stream information in step S1 includes the following steps: S11. Analyze requirements, determine the data type and format to be collected, and determine the frequency and real-time requirements of data collection; S12. Hardware selection: select data acquisition cards or dedicated data acquisition equipment to ensure that they are compatible with the relay protection device and meet the data acquisition requirements; S13, software development, development of data acquisition software to control hardware equipment and achieve real-time data acquisition; S14, data analysis, converting the collected raw data into useful information through the data analysis algorithm unit; S15, data storage, selecting a data storage solution, and ensuring that the collected data can be stored safely and effectively through a data storage unit; S16, real-time monitoring, displaying the currently collected printing action data through the real-time monitoring interface in the monitoring unit; S17, data stream generation, the printing action data is parsed by the parsing unit to generate data stream information, which may include encapsulating the data into a specific data packet or message format for subsequent processing.

[0020] The generation of action data stream information also includes the following steps: Tested and verified: Test the data acquisition module to ensure that it can operate stably and collect data accurately; Verify the accuracy of data parsing and the integrity of data flows; User Interaction: Design a user interface that allows users to configure data collection parameters, such as collection frequency, data type, etc. Provide user feedback mechanisms to facilitate adjustments during the data collection process; Documentation and Training: Write operation manuals and maintenance guides to ensure users can use the data acquisition module correctly; Provide training to relevant personnel to ensure they understand the working principle and operation methods of the system; Deployment and maintenance: Deploy the data acquisition module into the actual working environment; Regularly check and maintain hardware and software to ensure long-term stable operation of the system.

[0021] Among them, the useful information in step S14 includes timestamp, action type, and action parameters; The real-time monitoring interface in step S16 should provide real-time view of data and historical data query function.

[0022] The step S2 of converting the data into a parsable structured format includes the following steps: S21, the action data stream information is transmitted in the form of original text, binary data or a specific protocol format through a preset transmission unit; S22. Preprocess the collected raw data, including removing extra blank characters and line break format issues, and ensuring that the data conforms to the specified format standard (such as JSON or XML) to facilitate subsequent parsing and processing; S23, converting the preprocessed raw data into a structured format; S24, parsing the formatted data to extract important information, including event type, occurrence time, and related parameters; The event type refers to the type of action, such as printing, copying, scanning, etc. Occurrence time refers to the specific time when the event is recorded; Related parameters include additional context information, such as: documentId: the document identifier being printed or processed; userId: the user ID that performs the operation; printerId: the device ID that performs printing; status: The result status of the operation (such as success or failure).

[0023] S25. Store the extracted important information in the database to ensure the persistence and queryability of the data.

[0024] Among them, data verification is implemented during the parsing process to check the integrity and validity of the data, such as checking the format of the timestamp and whether the parameters are complete.

[0025] For records with incorrect formats or missing key data, perform appropriate error handling or log recording for subsequent analysis.

[0026] In step S3, when performing statistical analysis on the parsed structured data, it is necessary to define analysis indicators, including: Operation indicators: Total print volume: the total number of prints within a specified period; Success rate: the ratio of successful printing times to total printing times; Average printing time: the average time to complete an operation; Fault statistics indicators: Number of faults: the number of faults that occurred within a specified period; Fault type: the number of faults classified by type (such as equipment failure, network failure, etc.); Fault recovery time: average recovery time for each fault; Also included are statistical analyses: Running statistics: Use appropriate statistical methods (such as sum, mean, standard deviation, etc.) to calculate operating indicators and compile periodic operating reports; Failure analysis: Classify and summarize fault data, analyze the frequency of faults and related factors, and identify the main fault types and their time distribution.

[0027] The generation of the electronic report in step S4 includes the following steps: S41. Determine the report structure and define the basic structure and components of the report. The electronic report may include the following parts: report title, report date and generation time, summary and introduction, detailed analysis of action data, chart display, suggestions and improvement measures, and appendix; S42. Collect analysis results, organize various statistical data and conclusions obtained during the analysis process, and prepare relevant data sets and information, including constructed indicators and chart data; S43, generating a chart using a preset tool; Among them, the preset tools can use Python's Matplotlib, Pandas, or other data visualization libraries; S44, automatic document generation, select the preset document generation tool, select the supported format according to user needs, and write the template: Create an electronic report template that uses placeholders to identify where data and charts will be populated; Flexible document generation can be achieved using LaTeX, Markdown, HTML and other formats; S45. Fill in data and charts. Fill the collected analysis results, charts and related suggestions into the document template to ensure the logic and consistency of the information; S46. Proofreading and review. After automatic generation, proofreading and review are carried out to ensure the accuracy and completeness of the data, the absence of spelling errors and irregular formats, and to determine whether the report content meets user needs and specific specifications.

[0028] The data storage and management in step S5 specifically includes the following steps: S51. Select a storage solution. Collect and store electronic documents in a combination of cloud storage and local storage. Common cloud storage service providers include AWS S3, Google Cloud Storage, Azure Blob Storage, etc., while local storage can be NAS devices, servers, etc.; S52, creating a storage structure, presetting the storage structure to facilitate data organization and retrieval; The storage structure can consider the following hierarchy: Root directory: The root directory containing all electronic documents and data; Subdirectories: Create subdirectories by date, event type, project or user for quick and easy search; File naming convention: Develop a consistent file naming convention with easily recognizable names and duty meanings (e.g., report_incident_type_date.pdf); S53, data upload and storage, after successfully generating the electronic document, upload it to the selected storage solution: For cloud storage: Use API or SDK to automatically upload documents and related data to the cloud; Make sure to use secure authentication methods (such as OAuth, API keys, etc.); For local storage: Copy the generated documents and data to the specified local directory; Use secure storage (such as encrypted storage) to ensure data security during storage; S54, managing related data, storing the original data, analysis results, and chart materials related to the electronic document together, and creating a data index file (such as CSV, database, etc.) in the corresponding directory to record the relationship between the document and related data; S55. Permission management: set access rights for the storage environment to ensure that only authorized users or roles can access sensitive or important data, define permissions for different users, and control their read, write, modify, delete and other operations.

Claims

1. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document, It is characterized in that The following steps are involved: S1, data collection, preset data stream collection module, used to collect the printing action data of the relay protection device in real time and generate action data stream information; S2, data parsing, formatting the action data stream information and converting the data into a parsable structured format; S3, data analysis, statistical analysis of the parsed structured data to form periodic operation reports and fault statistics; S4. Document generation: Automatically generate electronic reports based on analysis results and user needs. The reports should include detailed analysis, charts and suggestions of action data. S5. Data storage and management: Save the generated electronic documents and their associated data in the cloud or local storage for future viewing, management and transmission.

2. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 1, Features: The data stream acquisition module includes hardware, hardware interface, data acquisition software, data analysis algorithm unit, data storage unit, monitoring unit and analysis unit.

3. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 2, Features: The generation of the action data stream information in step S1 comprises the following steps: S11. Analyze requirements, determine the data type and format to be collected, and determine the frequency and real-time requirements of data collection; S12. Hardware selection: select data acquisition cards or dedicated data acquisition equipment to ensure that they are compatible with the relay protection device and meet the data acquisition requirements; S13, software development, developing the data acquisition software to control the hardware equipment and realize real-time data acquisition; S14, data analysis, converting the collected raw data into useful information through the data analysis algorithm unit; S15, data storage, selecting a data storage solution, and ensuring that the collected data can be stored safely and effectively through the data storage unit; S16, real-time monitoring, displaying the currently collected printing action data through the real-time monitoring interface in the monitoring unit; S17, data stream generation, the parsing unit parses the printing action data to generate data stream information.

4. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 3, Features: The useful information in step S14 includes timestamp, action type, and action parameters; The real-time monitoring interface in step S16 should provide real-time data viewing and historical data query functions.

5. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 4, Features: The step S2 of converting the data into a parsable structured format comprises the following steps: S21, the action data stream information is transmitted in original text, binary data or a specific protocol format through a preset transmission unit; S22, preprocessing the collected raw data, including removing redundant blank characters and line break format issues; S23, converting the pre-processed raw data into a structured format; S24, parsing the formatted data to extract important information, including event type, occurrence time, and related parameters; S25. Storing the extracted important information in a database to ensure data persistence and queryability.

6. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 5, Features: When performing statistical analysis on the parsed structured data in step S3, analysis indicators need to be defined, including: Operation indicators: Total print volume: the total number of prints within a specified period; Success rate: the ratio of successful printing times to total printing times; Average printing time: the average time to complete an operation; Fault statistics indicators: Number of faults: the number of faults that occurred within a specified period; Fault Type: Number of faults classified by type; Fault recovery time: The average recovery time for each fault.

7. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 6, Features: The electronic report generation in step S4 includes the following steps: S41. Determine the report structure, define the basic structure and components of the report, and the electronic report may include the following parts: report title, report date and generation time, summary and introduction, detailed analysis of action data, chart display, suggestions and improvement measures, and appendix; S42. Collect analysis results, organize various statistical data and conclusions obtained during the analysis process, and prepare relevant data sets and information, including constructed indicators and chart data; S43, generating a chart using a preset tool; S44, automatic document generation, select the preset document generation tool, and select the supported format according to user needs; S45. Fill in data and charts. Fill the collected analysis results, charts and related suggestions into the document template to ensure the logic and consistency of the information; S46. Proofreading and review. After automatic generation, proofreading and review are carried out to ensure the accuracy and completeness of the data, the absence of spelling errors and irregular formats, and to determine whether the report content meets user needs and specific specifications.

8. A method for analyzing the printing action data stream of a relay protection device and generating an electronic document according to claim 7, Features: The data storage and management in step S5 specifically includes the following steps: S51, selecting a storage solution, collecting cloud storage and local storage to store the electronic document; S52, creating a storage structure, presetting the storage structure to facilitate data organization and retrieval; S53, data upload and storage. After the electronic document is successfully generated, it is uploaded to the selected storage solution: For cloud storage: Use API or SDK to automatically upload documents and related data to the cloud; Make sure to use secure authentication methods; For local storage: Copy the generated documents and data to the specified local directory; Use secure storage to ensure data security during storage; S54, managing the associated data, storing the original data, analysis results, and chart materials related to the electronic document together, and creating a data index file in a corresponding directory to record the relationship between the document and the related data; S55. Permission management: Set access permissions for the storage environment to ensure that only authorized users or roles can access sensitive or important data.