A method, system, medium, and device for gateway-machine merged computing visualization and dual-machine anomaly alarm.

By employing a dual-machine redundancy mode and a multiple comparison mechanism in the gateway machine, a visual graphical model is generated, which solves the problems of transparency and data consistency in the gateway machine's merging calculation process, and improves the observability and stability of the system.

CN122316933APending Publication Date: 2026-06-30GUODIAN NANJING AUTOMATION SOFTWARE ENG
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUODIAN NANJING AUTOMATION SOFTWARE ENG
Filing Date
2026-04-29
Publication Date
2026-06-30

Smart Images

  • Figure CN122316933A_ABST
    Figure CN122316933A_ABST
Patent Text Reader

Abstract

This invention discloses a method, system, medium, and device for gateway-based merging calculation visualization and dual-machine anomaly alarm in the field of power system automation technology. Applied to a merging calculation display server, the method includes: acquiring the full-station SCD file and the calculation logic file and private messages generated by the data communication gateway; parsing the full-station SCD file, the calculation logic file, and the private messages, dynamically rendering the parsed data, and generating a visual graphical model; collecting the input data of the data communication gateway, performing local calculations based on the calculation logic file, and generating a local calculation result as a baseline value; performing multiple comparisons between the parsed output data of the primary data communication gateway and the backup data communication gateway and the baseline value, evaluating the consistency of the dual-machine data based on the comparison results, and issuing prompts or alarms in the visual graphical model. This invention can improve the reliability of power system communication and operation and maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a gateway-to-device combined calculation visualization and dual-machine anomaly alarm method, system, medium and equipment, belonging to the field of power system automation technology. Background Technology

[0002] In industrial automation scenarios such as substations, power plants, and smart factories, data communication gateways serve as core hub devices between the station control layer and the process layer. They are responsible for aggregating data from various intelligent electronic devices, converting multiple communication protocols, performing necessary data processing, and uploading the processed data to the dispatch center or monitoring backend. Among these functions, merging calculations, such as arithmetic, logical, comparison, and formula calculations, are crucial. These functions are used to comprehensively process multiple input data points and generate new output data points.

[0003] Currently, the combined computing function of gateway machines is typically implemented through text configuration (manually filling in input points, output points, and calculation rules), script writing, or offline configuration using dedicated tools. Regarding redundancy architecture, to ensure reliability, a primary / backup dual-machine hot standby system is usually deployed on-site, with both gateway machines independently running the same logic.

[0004] However, existing technologies have the following drawbacks: First, the configuration process is not intuitive, failing to visually represent the logical relationship between input and output, making it prone to configuration errors and difficult to verify; second, the operational status is black-boxed, with the internal calculation process of the gateway completely invisible to the outside world after the configuration download is complete, making it impossible to quickly locate the fault when the calculation results are abnormal; third, the status of the primary and backup machines is unknown, and maintenance personnel cannot know the internal status of the backup machine. If the backup machine has a different status or inconsistent calculation results with the primary machine due to startup timing, data asynchrony, or other reasons, the output data will jump when switching to the backup machine after the primary machine fails, which may cause system disturbances or false alarms; fourth, there is a lack of independent verification methods, making it impossible to verify the correctness of the data uploaded by the gateway machine and to effectively detect faults in the gateway machine itself. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide a method, system, medium and device for gateway-based merged computing visualization and dual-machine anomaly alarm, thereby overcoming the shortcomings of the prior art which lacks an effective mechanism and cannot achieve transparent monitoring of merged computing logic and ensure data consistency between primary and backup dual machines without relying on the gateway's own status reporting.

[0006] To achieve the above objectives, the present invention employs the following technical solution:

[0007] In a first aspect, this invention proposes a method for visualization of gateway-based merged computation and dual-machine anomaly alarm, applied to a merged computation display server, the method comprising:

[0008] The process involves acquiring the entire site's SCD file, as well as the computational logic file and private messages generated by the data communication gateway. Acquiring the computational logic file and private messages generated by the data communication gateway includes: acquiring the input data of the data communication gateway; running the primary and backup data communication gateways in a dual-machine redundancy mode; executing the same merging computation logic based on the input data to generate a computational logic file; encapsulating the data involved in the execution of the merging computation logic into private messages; and sending the computational logic file and the private messages to the merging computation display server. The data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data.

[0009] The system parses the full-site SCD file, the computational logic file, and the private message, dynamically renders the parsed data, and generates a visual graphical model based on the parsed data.

[0010] The system collects input data from the data communication gateway through the station's internal communication network, performs local calculations based on the calculation logic file, and generates local calculation results as a baseline value.

[0011] The output data of the primary data communication gateway and the output data of the backup data communication gateway are compared with the baseline value multiple times. The consistency of the data between the two machines is evaluated based on the comparison results, and prompts or alarms are issued in the visualization graphic model based on the comparison results.

[0012] Furthermore, the private message includes:

[0013] The message header includes a timestamp and a gateway device identifier, which is used to distinguish between the primary data communication gateway and the backup data communication gateway.

[0014] The input list includes the parameters of all input data for this calculation and their real-time values;

[0015] The intermediate results list includes the references and calculated values ​​of each intermediate calculation result in this calculation;

[0016] The output list includes the parameters and their calculated values ​​for the final output result of this calculation;

[0017] Checksums are used to verify message integrity.

[0018] Furthermore, the multiple comparisons include:

[0019] The first comparison involves comparing the output data of the primary data communication gateway with the output data of the backup data communication gateway to determine whether the two machines are operating in sync.

[0020] The second comparison involves comparing the output data of the primary data communication gateway with the benchmark value to determine whether the host calculation is correct.

[0021] The third comparison involves comparing the output data of the backup data communication gateway with the baseline value to determine whether the backup machine's calculation is correct.

[0022] Furthermore, the step of issuing prompts or alarms in the visualized graphical model based on the comparison results includes:

[0023] When the first comparison results are consistent, the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the first color; when the first comparison results are inconsistent, an early warning of inconsistent dual-machine operating status is triggered, and the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the second color.

[0024] When the second comparison results are consistent, the device visualization graphic corresponding to the primary data communication gateway displays the first color; when the second comparison results are inconsistent, an alarm for host calculation abnormality is triggered, and the device visualization graphic corresponding to the primary data communication gateway displays the second color.

[0025] When the third comparison results are consistent, the device visualization graphic corresponding to the backup data communication gateway displays the first color; when the third comparison results are inconsistent, an alarm for backup machine calculation abnormality is triggered, and the device visualization graphic corresponding to the backup data communication gateway displays the second color.

[0026] When an alarm is triggered, the merged calculation and display server reports the alarm information to the main station through the communication link; the merged calculation and display server drives its own output circuit to send an alarm trigger signal to the input circuit of the local measurement and control device, and the local measurement and control device sends the alarm information to the local monitoring system.

[0027] Furthermore, when it is necessary to switch between the primary data communication gateway and the backup data communication gateway, the merged calculation and display server, based on the results of the multiple comparisons, prompts the user to prioritize the data communication gateway that is consistent with the benchmark value as the new primary gateway.

[0028] Furthermore, when it is detected that the output data of the backup data communication gateway is inconsistent with the reference value for a certain period of time, the merged calculation and display server sends a synchronization command to the backup data communication gateway through the reverse channel, so that the backup data communication gateway performs state initialization or data reloading and attempts to align with the reference value.

[0029] Furthermore, the visualization model presents the real-time data stream status of the primary data communication gateway and the backup data communication gateway through tabs or split screens, dynamically displays the current real-time value on each input line, and dynamically displays the value at the input and output of each merged calculation logic gate; for calculation logic containing intermediate data, it supports hierarchical expansion and display of intermediate calculation results.

[0030] Secondly, this invention proposes a gateway-based merged computing visualization and dual-machine anomaly alarm system, applied to a merged computing display server, the system comprising:

[0031] The data acquisition module is used to acquire the entire site's SCD file, as well as the computational logic file and private messages generated by the data communication gateway. Acquiring the computational logic file and private messages generated by the data communication gateway includes: acquiring the input data of the data communication gateway; running the primary and backup data communication gateways in a dual-machine redundancy mode, executing the same merging computation logic based on the input data, generating a computational logic file, encapsulating the data involved in the execution of the merging computation logic into private messages, and sending the computational logic file and the private messages to the merging computation display server; the data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data.

[0032] The data parsing and model generation module is used to parse the full-site SCD file, the calculation logic file and the private message, dynamically render the parsed data, and generate a visual graphic model based on the parsed data;

[0033] The benchmark value generation module is used to collect input data from the data communication gateway through the station's communication network, perform local calculations based on the calculation logic file, and generate local calculation results as benchmark values.

[0034] The result evaluation and feedback module is used to perform multiple comparisons between the output data of the primary data communication gateway and the output data of the backup data communication gateway obtained from the parsing and the benchmark value. Based on the comparison results, the consistency of the data between the two machines is evaluated, and prompts or alarms are issued in the visualization graphic model based on the comparison results.

[0035] Thirdly, the present invention also discloses a computer-readable storage medium for storing one or more programs, said one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the method described in the first aspect.

[0036] Fourthly, the present invention also discloses a computer device comprising one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the method described in the first aspect.

[0037] The beneficial effects achieved by this invention are as follows:

[0038] (1) The calculation process data is uploaded in real time through the dual-machine redundancy mode and dynamically rendered by the visualization graphic model, making the calculation process inside the gateway machine completely transparent. Not only can the final result be seen, but also the input and intermediate results of each step can be seen, which greatly improves the observability of the system.

[0039] (2) Through multiple comparison mechanisms, it can proactively detect deviations between the primary and backup machines, as well as between the primary and backup machines and objective facts, and issue early warnings, providing quantitative basis for primary and backup switching, and fundamentally avoiding switching output jumps caused by inconsistent states of the two machines.

[0040] (3) The calculation process is dynamically presented through a visual graphical model, enabling operation and maintenance personnel to intuitively understand the logical relationship, monitor the data flow in real time, and quickly locate the fault link, thereby minimizing system downtime and ensuring the continuity and stability of power system communication and control. Attached Figure Description

[0041] Figure 1 This is a flowchart illustrating the gateway-to-device merged calculation visualization and dual-machine anomaly alarm method of the present invention;

[0042] Figure 2 This is an architecture diagram of the gateway-to-device merged calculation visualization and dual-machine anomaly alarm system of the present invention;

[0043] Figure 3 This is a schematic diagram of the data structure of the private message of the present invention;

[0044] Figure 4 This is a schematic diagram of the visual interface of the present invention;

[0045] Figure 5 This is a flowchart of the multiple comparison logic of the present invention. Detailed Implementation

[0046] The present invention will be further described below with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and should not be used to limit the scope of protection of the present invention.

[0047] Example 1, as Figure 1 As shown, this invention discloses a method for visualization of gateway-based merged computation and dual-machine anomaly alarm, applied to a merged computation display server. The method includes:

[0048] S1: Obtain the full-site SCD file, as well as the computational logic file and private messages generated by the data communication gateway; obtaining the computational logic file and private messages generated by the data communication gateway includes: obtaining the input data of the data communication gateway; running the primary data communication gateway and the backup data communication gateway in dual-machine redundancy mode, executing the same merging computation logic based on the input data, generating a computational logic file, encapsulating the data involved in the execution of the merging computation logic into private messages, and sending the computational logic file and the private messages to the merging computation display server; the data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data;

[0049] like Figure 2 As shown, the dual-machine redundancy mode system includes a primary data communication gateway, a backup data communication gateway, a merged computing and display server, and an in-station intelligent electronic device (IED device); the in-station intelligent electronic device includes protection devices, measurement and control devices, merging units, etc., used to provide the original data source;

[0050] S2: Parse the full-site SCD file, the computation logic file, and the private message; dynamically render the parsed data; and generate a visual graphical model based on the parsed data.

[0051] S3: Through the station's internal communication network, such as IEC 61850, directly communicate with the intelligent electronic devices within the station, collect the input data of the data communication gateway, perform local calculations based on the calculation logic file, and generate local calculation results as a benchmark value;

[0052] S4: Perform multiple comparisons between the parsed output data of the primary data communication gateway and the output data of the backup data communication gateway and the aforementioned benchmark value, and evaluate the data consistency between the two machines based on the comparison results.

[0053] Based on the comparison results, the status is marked with different colors in the visualization graphic model, such as green for consistency and red for alarm. At the same time, the merged calculation and display server reports the alarm information to the main station through the communication link, and when necessary, drives its own output circuit to send a trigger signal to the input circuit of the local measurement and control device, so that the local measurement and control device sends the alarm information to the local monitoring system.

[0054] like Figure 3 As shown, the private message includes:

[0055] The message header includes a timestamp and a gateway device identifier. The gateway device identifier is used to distinguish between the primary data communication gateway and the backup data communication gateway. For example, the primary data communication gateway device is identified as ID=1, and the backup data communication gateway device is identified as ID=2.

[0056] The input list includes the parameters and their real-time values ​​for all input data in this calculation, such as the parameter and value of input point 1, the parameter and value of input point 1, the parameter and value of input point 2, etc.

[0057] The intermediate results list includes the parameters and calculated values ​​of each intermediate calculation result in this calculation. The intermediate results list is an optional field used for fine-grained monitoring.

[0058] The output list includes the parameters and their calculated values ​​for the final output result of this calculation;

[0059] Checksums are used to verify message integrity.

[0060] like Figure 4 As shown, the interface of the visualized graphical model includes:

[0061] The primary / backup data communication gateway switch label is used to switch between displaying the real-time data stream status of the primary or backup data communication gateway.

[0062] The logic gate diagram, such as the comparator diagram, displays the current real-time value at the input, such as "1020A"; the output displays the calculation result, such as "1 alarm", indicating an alarm; the logic gate itself uses color to indicate its status, such as green indicating that it is consistent with the reference value, and red indicating an anomaly;

[0063] Input a connection, and the current real-time value will be dynamically displayed on the connection;

[0064] The status indicator area displays the results of multiple comparisons, such as "two machines are consistent", "primary machine is abnormal", "standby machine is abnormal", etc.

[0065] like Figure 5 As shown, the multiple comparisons include:

[0066] The first comparison involves comparing the output data of the primary data communication gateway with the output data of the backup data communication gateway to determine whether the two machines are operating in sync.

[0067] The second comparison involves comparing the output data of the primary data communication gateway with the benchmark value to determine whether the host calculation is correct.

[0068] The third comparison involves comparing the output data of the backup data communication gateway with the baseline value to determine whether the backup machine's calculation is correct.

[0069] The step of issuing prompts or alarms in the visualized graphical model based on the comparison results includes:

[0070] When the first comparison results are consistent, the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the first color; when the first comparison results are inconsistent, an early warning of inconsistent dual-machine operating status is triggered, and the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the second color.

[0071] When the second comparison results are consistent, the device visualization graphic corresponding to the primary data communication gateway displays the first color; when the second comparison results are inconsistent, an alarm for host calculation abnormality is triggered, and the device visualization graphic corresponding to the primary data communication gateway displays the second color.

[0072] When the third comparison results are consistent, the device visualization graphic corresponding to the backup data communication gateway displays the first color; when the third comparison results are inconsistent, an alarm for backup machine calculation abnormality is triggered, and the device visualization graphic corresponding to the backup data communication gateway displays the second color.

[0073] When an alarm is triggered, the merged calculation and display server reports the alarm information to the main station through the communication link; the merged calculation and display server drives its own output circuit to send an alarm trigger signal to the input circuit of the local measurement and control device, and the local measurement and control device sends the alarm information to the local monitoring system.

[0074] When switching between the primary and backup data communication gateways is required, the merged calculation and display server, based on the results of the multiple comparisons, prompts the user to prioritize the data communication gateway that maintains the same baseline value as the new primary gateway.

[0075] When the output data of the backup data communication gateway is detected to be inconsistent with the reference value for a certain period of time, the merged calculation and display server sends a synchronization command to the backup data communication gateway through the reverse channel, so that the backup data communication gateway performs state initialization or data reloading and attempts to align with the reference value.

[0076] The visualization model presents the real-time data stream status of the primary and backup data communication gateways via tabs or split screens. It dynamically displays the current real-time value on each input line and dynamically displays values ​​at the input and output of each merged calculation logic gate. For calculation logic that includes intermediate data, it supports hierarchical expansion and display of intermediate calculation results.

[0077] Example 2, based on the same inventive concept as Example 1, proposes a gateway-machine merged calculation visualization and dual-machine anomaly alarm method. Combined with the bus voltage over-limit logic of a certain 110kV substation, the present invention is described in detail.

[0078] This embodiment is based on the scenario of monitoring the voltage Uab of bus I. When Uab > 120kV, an alarm signal is generated indicating that the voltage of bus I exceeds the upper limit. The specific implementation steps are as follows.

[0079] 1. Configuration and Export: In the gateway configuration tool, create a new calculation task "Voltage Over-Limit Calculation". Select the I bus voltage Uab in SCD as the input, configure the comparator `Line Voltage Uab > 120` as the calculation rule, define the virtual point `I Bus Voltage Over-Limit Alarm` as the output, and export the logic file `calc_overlimit.xml`.

[0080] 2. Server Loading: Import the entire site's SCD file and `calc_overlimit.xml` into the merged calculation and display server. After the server parses the data, it generates a comparator graph on the canvas, with the input labeled "Voltage Uab" and the output labeled "Bus Voltage Over-Limit Alarm".

[0081] 3. Dual-machine upload: Both the primary and backup data communication gateways periodically perform the `I bus voltage Uab > 120` check. Each machine packages the I bus voltage Uab value and the I bus voltage exceeding the upper limit alarm value into a private message and sends them to the server. The private message contains a timestamp, device ID, input value, and output value.

[0082] 4. Visual Presentation: When the server receives a message from the host, the comparator input in the host view displays 122kV, and the output displays 1, indicating an alarm. Switching to the standby view, you will see that the standby input is also 122kV, and the output is also 1.

[0083] 5. Baseline Calculation: The server directly samples the I bus voltage Uab via the MMS protocol, obtaining a value of 122kV. The server locally executes `Uab> 120`, obtaining a baseline result of 1.

[0084] 6. Consistency assessment:

[0085] Under normal circumstances: the result of the primary data communication gateway is 1, the result of the backup data communication gateway is 1, and the baseline value is 1. The interface displays all green.

[0086] Anomaly 1: Backup data communication gateway out of sync: Assume that due to some fault, the backup data communication gateway's internal voltage value is incorrectly cached as 100kV. The server receives a message of 122kV / 1 from the primary data communication gateway and a message of 100kV / 0 from the backup data communication gateway, with a reference value of 122kV / 1. First comparison: 1 ≠ 0, triggering a dual-machine inconsistency warning, the status bar turns yellow; Second comparison: 1 = 1, the primary machine is normal, remaining green; Third comparison: 0 ≠ 1, triggering a calculation anomaly alarm from the backup data communication gateway, the backup machine view turns red.

[0087] Scenario 2: Primary data communication gateway failure: Assume the primary data communication gateway makes a calculation error, misinterpreting 122 > 120 as 0. The server receives 122kV / 0 from the primary data communication gateway and 122kV / 1 from the backup data communication gateway, with a baseline value of 1. First comparison: 0 ≠ 1, triggering a warning of inconsistency between the two machines; Second comparison: 0 ≠ 1, triggering a calculation anomaly alarm for the primary data communication gateway, turning its view red; Third comparison: 1 = 1, indicating the backup data communication gateway is functioning normally and remains green.

[0088] 7. Switchover Assistance: When a routine switchover is required, if the maintenance personnel see the primary data communication gateway machine marked in red (indicating a fault) and the standby data communication gateway machine marked in green (indicating normal operation), the switchover will not be performed; the faulty primary data communication gateway machine will be addressed first. If the primary data communication gateway machine is green and the standby data communication gateway machine is red, a safe switchover can proceed since a faulty standby data communication gateway machine does not affect the switch to the primary data communication gateway machine. However, the standby data communication gateway machine must be addressed immediately after the switchover. If both the primary and standby data communication gateway machines are green, the switchover can be performed with confidence.

[0089] 8. In addition to the above steps, active synchronization can also be selected: When the server detects that the standby data communication gateway is inconsistent with the reference value, the server sends a synchronization command to the standby machine through the reverse channel. After receiving the command, the standby data communication gateway re-initializes the computing context or rereads the input data to try to align with the reference value.

[0090] Example 3, based on the same inventive concept as other examples, proposes a gateway-based merged computing visualization and dual-machine anomaly alarm system, applied to a merged computing display server. The system includes:

[0091] The data acquisition module is used to acquire the entire site's SCD file, as well as the computational logic file and private messages generated by the data communication gateway. Acquiring the computational logic file and private messages generated by the data communication gateway includes: acquiring the input data of the data communication gateway; running the primary and backup data communication gateways in a dual-machine redundancy mode, executing the same merging computation logic based on the input data, generating a computational logic file, encapsulating the data involved in the execution of the merging computation logic into private messages, and sending the computational logic file and the private messages to the merging computation display server; the data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data.

[0092] The data parsing and model generation module is used to parse the full-site SCD file, the calculation logic file and the private message, dynamically render the parsed data, and generate a visual graphic model based on the parsed data;

[0093] The benchmark value generation module is used to collect input data from the data communication gateway through the station's communication network, perform local calculations based on the calculation logic file, and generate local calculation results as benchmark values.

[0094] The result evaluation and feedback module is used to perform multiple comparisons between the output data of the primary data communication gateway and the output data of the backup data communication gateway obtained from the parsing and the benchmark value. Based on the comparison results, the consistency of the data between the two machines is evaluated, and prompts or alarms are issued in the visualization graphic model based on the comparison results.

[0095] Example 4, based on the same inventive concept as other examples, discloses a computer-readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by a computing device, cause the computing device to perform the method described in Example 1.

[0096] Example 5: The present invention also discloses a computer device, including one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the method described in Example 1.

[0097] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0098] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0099] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0100] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0101] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A method for visualization of gateway-machine merged calculations and dual-machine anomaly alarms, characterized in that, The method, applied to a merged computing display server, includes: The process involves acquiring the entire site's SCD file, as well as the computational logic file and private messages generated by the data communication gateway. Acquiring the computational logic file and private messages generated by the data communication gateway includes: acquiring the input data of the data communication gateway; running the primary and backup data communication gateways in a dual-machine redundancy mode; executing the same merging computation logic based on the input data to generate a computational logic file; encapsulating the data involved in the execution of the merging computation logic into private messages; and sending the computational logic file and the private messages to the merging computation display server. The data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data. The system parses the full-site SCD file, the computational logic file, and the private message, dynamically renders the parsed data, and generates a visual graphical model based on the parsed data. The system collects input data from the data communication gateway through the station's internal communication network, performs local calculations based on the calculation logic file, and generates local calculation results as a baseline value. The output data of the primary data communication gateway and the output data of the backup data communication gateway are compared with the baseline value multiple times. The consistency of the data between the two machines is evaluated based on the comparison results, and prompts or alarms are issued in the visualization graphic model based on the comparison results.

2. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 1, characterized in that, The private message includes: The message header includes a timestamp and a gateway device identifier, which is used to distinguish between the primary data communication gateway and the backup data communication gateway. The input list includes the parameters of all input data for this calculation and their real-time values; The intermediate results list includes the references and calculated values ​​of each intermediate calculation result in this calculation; The output list includes the parameters and their calculated values ​​for the final output result of this calculation; Checksums are used to verify message integrity.

3. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 1, characterized in that, The multiple comparisons include: The first comparison involves comparing the output data of the primary data communication gateway with the output data of the backup data communication gateway to determine whether the two machines are operating in sync. The second comparison involves comparing the output data of the primary data communication gateway with the benchmark value to determine whether the host calculation is correct. The third comparison involves comparing the output data of the backup data communication gateway with the baseline value to determine whether the backup machine's calculation is correct.

4. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 3, characterized in that, The step of issuing prompts or alarms in the visualized graphical model based on the comparison results includes: When the first comparison results are consistent, the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the first color; when the first comparison results are inconsistent, an early warning of inconsistent dual-machine operating status is triggered, and the device visualization graphics corresponding to the primary data communication gateway and the backup data communication gateway display the second color. When the second comparison results are consistent, the device visualization graphic corresponding to the primary data communication gateway displays the first color; when the second comparison results are inconsistent, an alarm for host calculation abnormality is triggered, and the device visualization graphic corresponding to the primary data communication gateway displays the second color. When the third comparison results are consistent, the device visualization graphic corresponding to the backup data communication gateway displays the first color; when the third comparison results are inconsistent, an alarm for backup machine calculation abnormality is triggered, and the device visualization graphic corresponding to the backup data communication gateway displays the second color. When an alarm is triggered, the merged calculation and display server reports the alarm information to the main station through the communication link; the merged calculation and display server drives its own output circuit to send an alarm trigger signal to the input circuit of the local measurement and control device, and the local measurement and control device sends the alarm information to the local monitoring system.

5. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 3, characterized in that, When switching between the primary and backup data communication gateways is required, the merged calculation and display server, based on the results of the multiple comparisons, prompts the user to prioritize the data communication gateway that maintains the same baseline value as the new primary gateway.

6. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 3, characterized in that, When the output data of the backup data communication gateway is detected to be inconsistent with the reference value for a certain period of time, the merged calculation and display server sends a synchronization command to the backup data communication gateway through the reverse channel, so that the backup data communication gateway performs state initialization or data reloading and attempts to align with the reference value.

7. The gateway machine merged calculation visualization and dual-machine anomaly alarm method according to claim 1, characterized in that, The visualization model presents the real-time data stream status of the primary and backup data communication gateways via tabs or split screens. It dynamically displays the current real-time value on each input line and dynamically displays values ​​at the input and output of each merged calculation logic gate. For calculation logic that includes intermediate data, it supports hierarchical expansion and display of intermediate calculation results.

8. A gateway-machine merged computing visualization and dual-machine anomaly alarm system, characterized in that, The system, applied to a merged computing display server, includes: The data acquisition module is used to acquire the entire site's SCD file, as well as the computational logic file and private messages generated by the data communication gateway. Acquiring the computational logic file and private messages generated by the data communication gateway includes: acquiring the input data of the data communication gateway; running the primary and backup data communication gateways in a dual-machine redundancy mode, executing the same merging computation logic based on the input data, generating a computational logic file, encapsulating the data involved in the execution of the merging computation logic into private messages, and sending the computational logic file and the private messages to the merging computation display server; the data involved in the execution of the merging computation logic includes the input data, intermediate computation data, and output data. The data parsing and model generation module is used to parse the full-site SCD file, the calculation logic file and the private message, dynamically render the parsed data, and generate a visual graphic model based on the parsed data; The benchmark value generation module is used to collect input data from the data communication gateway through the station's communication network, perform local calculations based on the calculation logic file, and generate local calculation results as benchmark values. The result evaluation and feedback module is used to perform multiple comparisons between the output data of the primary data communication gateway and the output data of the backup data communication gateway obtained from the parsing and the benchmark value. Based on the comparison results, the consistency of the data between the two machines is evaluated, and prompts or alarms are issued in the visualization graphic model based on the comparison results.

9. A computer-readable storage medium for storing one or more programs, characterized in that, The one or more programs include instructions that, when executed by a computing device, cause the computing device to perform any of the methods of claims 1 to 7.

10. A computer device, characterized in that, include, One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the method of any of claims 1 to 7.