A method and system for processing printing data of multiple relay protection screens
Through the collaborative work of computer equipment and collection devices and the verification of label database, the inconsistency and broken item problems of printed data of multiple relay protection screens were solved, the synchronization and integrity verification of data were achieved, and the accuracy and reliability of printed data were ensured.
Patent Information
- Application Number
- CN202110973433.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-24
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2041-08-24
AI Technical Summary
When processing printing data of multiple relay protection screens, the existing technology has problems such as printing data may be blocked, delayed, lost, omitted, garbled and wrong, resulting in inconsistent data, affecting subsequent analysis, and may cause broken items, missing item content, wrong items and crashes.
Through the coordinated work of computer equipment and multiple acquisition devices, the preset label database is used to perform consistency verification and data item identification on the printed data to ensure that all data are sent synchronously before executing the synchronous printing instruction, including the identification and synchronous printing of data items such as the fixed value list, action report, self-test report, pressure plate displacement, protection status and program version.
The consistency of printed data of multiple relay protection screens is achieved, which avoids data interruption, omission, error and system crash, and ensures the integrity and consistency of data.
Smart Images

Figure CN113625978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of relay protection, and in particular to a method and system for processing printing data of multiple relay protection screens. Background Art
[0002] With the rapid development of information technology, networking, and data transmission, power grids can more effectively implement relay protection network data printing technology. Compared with conventional manual on-site printing technology, this relay protection network data printing technology is not only environmentally friendly and can save a lot of paper, ink, and other resources, but also facilitates the electronic archiving and transmission of printed data.
[0003] However, this relay protection network data printing technology still has shortcomings. When processing print data from multiple relay protection screens simultaneously, the print data may be blocked, delayed, lost, omitted, garbled, or incorrectly encoded. This can lead to inconsistent print data, severely impacting subsequent data analysis. Furthermore, since the print data contains multiple items, the simultaneous processing of multiple relay protection screen print data can make it difficult to distinguish between the items, leading to broken items, missing items, or even incorrect items, and in severe cases, system crashes. Summary of the Invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a method and system for processing printing data of multiple relay protection screens, which can not only overcome the problem of inconsistency of printed data in traditional relay protection network printing data technology, but also distinguish printing data items, and solve the problems of broken printing data items, missing item content, wrong items and crashes in traditional relay protection network printing data technology.
[0005] To solve the above technical problems, an embodiment of the present invention provides a method for processing print data of multiple relay protection screens. The method is implemented on a computer device and multiple acquisition devices connected thereto, wherein each acquisition device is connected to a corresponding relay protection screen. The method includes the following steps:
[0006] The computer device sends a synchronous printing instruction to all acquisition devices;
[0007] After receiving the synchronous printing instruction, each collection device collects the printing data of the corresponding connected relay protection screen, combines the printing data with the respective pre-specified identification tags, to form printing data with the respective pre-specified identification tags, and further sends the printing data to the computer device;
[0008] The computer device checks the designated identification tags in the print data sent by each acquisition device through a preset tag database to determine whether the print data sent by all acquisition devices has been received. After determining that the print data sent by all acquisition devices has been received, the computer device performs a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. When it is further determined that the print data sent by all acquisition devices is consistent, the computer device executes the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices.
[0009] Wherein, the method further comprises:
[0010] When executing the synchronous printing instruction, the computer device obtains each printing data item involved in the synchronous printing instruction, and further identifies the data associated with each printing data item in the printing data sent by each acquisition device and realizes synchronous printing based on each printing data item.
[0011] The print data items include a fixed value list, an action report, a self-test report, a platen displacement, a protection status and a program version.
[0012] The synchronous printing is achieved through virtual network printing or a physical printer.
[0013] Among them, each collection device has its own pre-assigned identification tag which is its own network IP address.
[0014] The data consistency check includes whether the data is lost, whether the data is omitted, whether the data is garbled, and whether the data is erroneous.
[0015] The embodiment of the present invention also provides a system for processing printing data of multiple relay protection screens, including a computer device and multiple acquisition devices; wherein,
[0016] The computer device is connected to each acquisition device and includes a synchronous printing instruction issuing unit and a printing data processing and synchronous printing unit;
[0017] The synchronous printing instruction issuing unit is used to send synchronous printing instructions to all acquisition devices;
[0018] The print data processing and synchronous printing unit is used to verify the designated identification tag in the print data sent by each acquisition device through a preset tag database to determine whether the print data sent by all acquisition devices has been received, and after determining that the print data sent by all acquisition devices has been received, perform a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. If it is further determined that the print data sent by all acquisition devices is consistent, execute the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices;
[0019] Each acquisition device is connected to a corresponding relay protection screen, and is used to collect the printing data of the corresponding connected relay protection screen after receiving the synchronous printing instruction, and combine it with its own pre-designated identification tag to form printing data with its own designated identification tag, and further send it to the computer device.
[0020] Wherein, the computer device further comprises a print data item distinguishing and printing unit; wherein,
[0021] The print data item distinguishing and printing unit is used to obtain each print data item involved in the synchronous printing instruction when executing the synchronous printing instruction, and further identify the data associated with each print data item in the print data sent by each acquisition device and realize synchronous printing based on each print data item.
[0022] The print data items include a fixed value list, an action report, a self-test report, a platen displacement, a protection status and a program version.
[0023] Among them, each collection device has its own pre-assigned identification tag which is its own network IP address.
[0024] The implementation of the embodiments of the present invention has the following beneficial effects:
[0025] 1. The computer device of the present invention verifies the designated identification tag in the print data sent by each acquisition device using a preset tag database to determine whether the print data sent by all acquisition devices has been received. After determining that the print data sent by all acquisition devices has been received, the computer device performs a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. If the print data sent by all acquisition devices is determined to be consistent, the computer device executes a synchronous printing instruction to perform synchronous printing. This overcomes the problem of inconsistent print data in conventional relay protection network printing data technology.
[0026] 2. When the computer device in the present invention executes a synchronous printing instruction, it obtains each printing data item involved in the synchronous printing instruction, and identifies the data associated with each printing data item in the printing data sent by each acquisition device and realizes synchronous printing, thereby solving the problems of broken printing data items, missing item content, wrong items and crashes in traditional relay protection network printing data technology by distinguishing printing data items. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying any creative work, other drawings obtained based on these drawings still fall within the scope of the present invention.
[0028] Figure 1 A flowchart of a method for processing print data of multiple relay protection screens provided by an embodiment of the present invention;
[0029] Figure 2 A network topology diagram formed by computer equipment and a collection device in a method for processing printed data of multiple relay protection screens provided by an embodiment of the present invention;
[0030] Figure 3 A diagram of an application scenario in which a collection device pre-assigns identification tags in a method for processing printed data of multiple relay protection screens provided by an embodiment of the present invention;
[0031] Figure 4 A diagram illustrating an application scenario of distinguishing print data items in a method for processing print data of multiple relay protection screens provided by an embodiment of the present invention;
[0032] Figure 5 A schematic structural diagram of a system for processing printing data of multiple relay protection screens provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be described in further detail below with reference to the accompanying drawings.
[0034] like Figure 1 As shown in the figure, a method for processing printing data of multiple relay protection screens is provided in an embodiment of the present invention. The method is implemented on a computer device and multiple collection devices connected to the computer device through a network interconnection device (such as a network switch, etc.) (such as Figure 2 shown), and in Figure 2 Each acquisition device is connected to a corresponding relay protection screen.
[0035] At this point, the provided method includes the following steps:
[0036] Step S1: the computer device sends a synchronous printing instruction to all acquisition devices;
[0037] The specific process is as follows: after receiving a synchronous print command input by the user, the computer device forwards the synchronous print command as a send synchronous print instruction, which is then distributed to all data collection devices via the network. At this point, the synchronous print instruction is designed based on the type of printout data of the relay protection panel, and can specify one or multiple print data items. These print data items include, but are not limited to, a list of fixed values (including intelligent fixed value verification), an action report (intelligently identifying action waveforms), a self-test report (automatically generated), platen displacement (automatically displayed), protection status (automatically traced), program version (automatically recorded), and other reports (automatically generated).
[0038] It should be noted that the computer device can be a computer or other smart device physically connected to a printer, or it can be a computer or other smart device that implements local virtual network printing, that is, synchronous printing on the computer device can be achieved through virtual network printing or a physical printer.
[0039] Step S2: After receiving the synchronous printing instruction, each collection device collects the printing data of the corresponding connected relay protection screen, combines the data with the respective pre-designated identification tags, to form printing data with the respective designated identification tags, and further sends the printing data to the computer device;
[0040] The specific process is as follows: after receiving the synchronous printing command, each collection device collects the print data (such as the setting list data and / or the action report data) corresponding to the connected relay protection panel, combines it with its own pre-specified identification tag, and generates print data with its own specified identification tag, which is then sent to the computer device. The pre-specified identification tag of each collection device is its own network IP address or other flag.
[0041] In one embodiment, Figure 3 As shown in the figure, the IP address of the computer device is 192.168.1.xxx, the IP address of the acquisition device 1 is 192.168.1.yyy, and the IP address of the acquisition device 2 is 192.168.1.zzz. And so on, the IP addresses of the acquisition devices 3 to n are obtained. At this time, the IP addresses of the acquisition devices 1 to n are all carried in the print data of their corresponding connected relay protection screens and sent to the computer device.
[0042] Step S3: The computer device checks the designated identification tags in the print data sent by each acquisition device through a preset tag database to determine whether the print data sent by all acquisition devices has been received. After determining that the print data sent by all acquisition devices has been received, the computer device performs a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. When it is determined that the print data sent by all acquisition devices is consistent, the computer device executes the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices.
[0043] The specific process is as follows: first, a label database is pre-set. The labels pre-stored in the label database should include as many pre-specified identification labels as possible for all acquisition devices, so that whether the printing data is received normally can be identified by comparing whether the labels match, thereby avoiding data loss caused by data congestion or delay during transmission.
[0044] Secondly, after verifying the print data received from all acquisition devices, a data consistency check is performed to determine whether all print data is consistent. The data consistency check includes whether there is data loss, data omission, data garbled, data error, etc.
[0045] Finally, after verifying that the print data sent by all acquisition devices are consistent, a synchronous printing instruction is executed to achieve synchronous printing of the print data sent by all acquisition devices.
[0046] That is, the computer equipment first uses database technology to check and completely save the printing data received, and then takes it out one by one to analyze and process whether the printing data is consistent, so as to realize the simultaneous printing and output data of multiple relay protection screens, and finally execute the synchronous printing instruction to realize synchronous printing.
[0047] In an embodiment of the present invention, in order to solve the problems of broken items, missing items, wrong items, and system crashes in conventional relay protection network printing data technology, the printing data items are distinguished. In this case, the method further includes:
[0048] When executing a synchronous printing instruction, the computer device obtains each printing data item involved in the synchronous printing instruction, and further identifies the data associated with each printing data item in the printing data sent by each acquisition device and realizes synchronous printing based on each printing data item.
[0049] In one embodiment, different printout results are processed and identified by correctly reading the key field "header information" in the print data sent by each acquisition device. Figure 4As shown in Figure 4a, the key field "Header Information" is "Settings List"; the "Header Information" of Figure 4b is "Action Report". Their "Header Information" key fields are different. By identifying this "Header Information", the system automatically processes and identifies that the power grid relay protection print data contains multiple contents such as setting lists, action reports, self-test reports, pressure plate displacement, protection status, program version, and other reports.
[0050] like Figure 5 As shown in the figure, a system for processing printing data of multiple relay protection screens is provided in an embodiment of the present invention, comprising a computer device 1 and multiple acquisition devices 2; wherein,
[0051] The computer device 1 is connected to each acquisition device 2 and includes a synchronous printing instruction issuing unit and a print data processing and synchronous printing unit;
[0052] The synchronous printing instruction issuing unit is used to send synchronous printing instructions to all acquisition devices 2;
[0053] The print data processing and synchronous printing unit is used to verify the designated identification tag in the print data sent by each acquisition device 2 through a preset tag database to determine whether the print data sent by all acquisition devices 2 has been received, and after determining that the print data sent by all acquisition devices 2 has been received, perform data consistency verification on the print data sent by all acquisition devices 2 to determine whether the print data is consistent. If it is further determined that the print data sent by all acquisition devices is consistent, execute the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices 2;
[0054] Each acquisition device 2 is connected to a corresponding relay protection screen P, and is used to collect the printing data of the corresponding connected relay protection screen P after receiving the synchronous printing instruction, and combine it with its own pre-designated identification tag to form printing data with its own designated identification tag, and further send it to the computer device.
[0055] The computer device 1 further includes a print data item distinguishing and printing unit;
[0056] The print data item distinguishing and printing unit is used to obtain each print data item involved in the synchronous printing instruction when executing the synchronous printing instruction, and further identify the data associated with each print data item in the print data sent by each acquisition device and realize synchronous printing based on each print data item.
[0057] The print data items include a fixed value list, an action report, a self-test report, a platen displacement, a protection status and a program version.
[0058] The pre-assigned identification tag of each collection device 2 is its own network IP address.
[0059] The implementation of the embodiments of the present invention has the following beneficial effects:
[0060] 1. The computer device of the present invention verifies the designated identification tag in the print data sent by each acquisition device using a preset tag database to determine whether the print data sent by all acquisition devices has been received. After determining that the print data sent by all acquisition devices has been received, the computer device performs a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. If the print data sent by all acquisition devices is determined to be consistent, the computer device executes a synchronous printing instruction to perform synchronous printing. This overcomes the problem of inconsistent print data in conventional relay protection network printing data technology.
[0061] 2. When the computer device in the present invention executes a synchronous printing instruction, it obtains each printing data item involved in the synchronous printing instruction, and identifies the data associated with each printing data item in the printing data sent by each acquisition device and realizes synchronous printing, thereby solving the problems of broken printing data items, missing item content, wrong items and crashes in traditional relay protection network printing data technology by distinguishing printing data items.
[0062] It is worth noting that in the above system embodiment, the various units included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0063] Those skilled in the art will understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc.
[0064] The above disclosure is merely a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A method for processing printing data of multiple relay protection screens, characterized in that: The method is implemented on a computer device and multiple collection devices connected thereto, and each collection device is connected to a corresponding relay protection screen. The method includes the following steps: The computer device sends a synchronous printing instruction to all acquisition devices; After receiving the synchronous printing instruction, each collection device collects the printing data of the corresponding connected relay protection screen, combines the printing data with the respective pre-specified identification tags, to form printing data with the respective pre-specified identification tags, and further sends the printing data to the computer device; The computer device verifies the designated identification tag in the print data sent by each acquisition device through a preset tag database to determine whether the print data sent by all acquisition devices has been received. After determining that the print data sent by all acquisition devices has been received, the computer device performs a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. If it is further determined that the print data sent by all acquisition devices is consistent, the computer device executes the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices. Wherein, the method further comprises: When executing the synchronous printing instruction, the computer device obtains each printing data item involved in the synchronous printing instruction, and further identifies the data associated with each printing data item in the printing data sent by each acquisition device and realizes synchronous printing based on each printing data item.
2. The method for processing a plurality of relay protection screen print data according to claim 1, wherein: The print data items include a fixed value list, an action report, a self-test report, a pressure plate displacement, a protection status and a program version.
3. The method for processing a plurality of relay protection screen print data according to claim 1, wherein: The synchronous printing is achieved through virtual network printing or a physical printer.
4. The method for processing a plurality of relay protection screen print data according to claim 1, wherein: Each collection device has its own pre-assigned identification tag which is its own network IP address.
5. The method for processing a plurality of relay protection screen print data according to claim 1, wherein: The content of the data consistency check includes whether the data is lost, whether the data is omitted, whether the data is garbled, and whether the data is wrong.
6. A system for processing printing data of multiple relay protection screens, characterized in that: It includes computer equipment and multiple collection devices; wherein, The computer device is connected to each acquisition device and includes a synchronous printing instruction issuing unit and a printing data processing and synchronous printing unit; The synchronous printing instruction issuing unit is used to send synchronous printing instructions to all acquisition devices; The print data processing and synchronous printing unit is used to verify the designated identification tag in the print data sent by each acquisition device through a preset tag database to determine whether the print data sent by all acquisition devices has been received, and after determining that the print data sent by all acquisition devices has been received, perform a data consistency check on the print data sent by all acquisition devices to determine whether the print data is consistent. If it is further determined that the print data sent by all acquisition devices is consistent, execute the synchronous printing instruction to achieve synchronous printing of the print data sent by all acquisition devices; Each collection device is connected to a corresponding relay protection screen, and is used to collect the printing data of the corresponding relay protection screen after receiving the synchronous printing instruction, and combine the printing data with the respective pre-specified identification tags to form printing data with the respective specified identification tags, and further send the printing data to the computer device; Wherein, the computer device further comprises a print data item distinguishing and printing unit; wherein, The print data item distinguishing and printing unit is used to obtain each print data item involved in the synchronous printing instruction when executing the synchronous printing instruction, and further identify the data associated with each print data item in the print data sent by each acquisition device and realize synchronous printing based on each print data item.
7. The system for processing printing data of a plurality of relay protection screens according to claim 6, wherein: The print data items include a fixed value list, an action report, a self-test report, a pressure plate displacement, a protection status and a program version.
8. The system for processing printing data of a plurality of relay protection screens according to claim 6, wherein: Each collection device has its own pre-assigned identification tag which is its own network IP address.
Citation Information
Patent Citations
Method and system of printing device-sharing between intelligent electronic devices in substations
CN106354440A
Image forming apparatus and data consistency determination method
CN112527703A