Method and system for online testing of dcs network load and dual network switching performance

By generating temporary test points in the DCS controller to simulate peak network load and force switching, and collecting traffic data to analyze performance indicators, the accuracy of network communication switching performance measurement during thermal power unit operation is solved, standardized reports are provided, and the impact on field equipment is avoided.

CN122293550APending Publication Date: 2026-06-26HUADIAN ELECTRIC POWER SCI INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUADIAN ELECTRIC POWER SCI INST CO LTD
Filing Date
2026-02-12
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies cannot accurately measure network communication switching performance during the operation of thermal power units, leading to potential safety hazards in the control system. Furthermore, the results of traditional manual testing are inconsistent and cannot meet acceptance and archiving requirements.

Method used

By generating temporary test points in the DCS controller to simulate peak network load, and forcibly triggering the switch between network A and network B when the unit is shut down, traffic data is collected to analyze performance indicators. Service data is recorded using switch port mirroring to avoid impacting on-site equipment.

Benefits of technology

It enables accurate measurement of network performance when the unit is out of service, conforms to actual operating scenarios, provides standardized reports, and solves the inconsistencies and hidden dangers of traditional testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122293550A_ABST
    Figure CN122293550A_ABST
Patent Text Reader

Abstract

This application relates to an online testing method for DCS network load and dual-network switching performance. The method includes: responding to a unit shutdown and a signal where field I / O signals are securely isolated, generating and activating a batch of temporary test points in at least one pair of controllers in the DCS for network-wide broadcasting to simulate peak network load; when the peak network load exceeds a preset load threshold, forcibly triggering a primary / backup switching operation between the DCS's A and B networks; collecting traffic data from the A and B networks via switch port mirroring; recording application layer service data within the DCS; and analyzing network switching performance indicators based on the traffic and service data. This application solves the problem of inaccurately measuring the operating status of thermal power generating units, and the network-wide broadcasting of batch temporary test points can reproduce the communication characteristics of the DCS under full load or even overload conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial equipment testing technology, and in particular to online testing methods and systems for DCS network load and dual-network switching performance. Background Technology

[0002] Existing distributed control system (DCS) network load rate testing for thermal power units involves inserting a network tester into the network port after the unit is shut down, and then reading the current network load. Since DCS data remains largely unchanged after unit shutdown, and the data states of the DCS controllers do not change, the measured network load rate cannot accurately represent the actual operating status of the unit. Furthermore, in the shutdown state, there is a lack of time comparison between network communication signals before and after switching; only changes in communication stations are measured, which cannot accurately measure the network communication switching time.

[0003] Zero packet loss and seamless handover between A / B dual networks are the most critical safety indicators for DCS. However, during operation, it is not permissible to disconnect fiber optic cables or shut down ports for destructive testing. Furthermore, during idle operation, the low traffic volume makes it impossible to verify the actual handover performance under high load conditions, leading to a potential safety hazard in the control system network: "appearing to be dual-network, but actually a single network paralyzed despite health." Traditional manual triggering of small amounts of SOE or trend updates is highly susceptible to human error, resulting in significant deviations in peak values ​​measured by different personnel on the same unit. This makes it impossible to generate standardized reports and meet the requirements for four-party acceptance and archiving. Summary of the Invention

[0004] This application provides a method, system, electronic device, and storage medium for online testing of DCS network load and dual-network switching performance, in order to at least solve the problem in the related art that the operating status of thermal power generating units cannot be accurately measured when they are out of service.

[0005] In a first aspect, embodiments of this application provide an online testing method for DCS network load and dual-network handover performance, the method comprising: In response to a unit shutdown and a signal that field I / O signals are securely isolated, a set of temporary test points are generated and activated in batches in at least one pair of controllers in the DCS. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate peak network load. If the peak network load exceeds a preset load threshold, a primary / backup switchover operation between network A and network B of the DCS will be forcibly triggered. Traffic data of network A and network B are collected by mirroring the switch ports, and service data of the application layer within the DCS are recorded. Based on the traffic data and the service data, network switching performance indicators are analyzed.

[0006] In some embodiments, the temporary test points include at least two combinations of the following types of points: Digital input points with periodic state reversal are used to simulate the periodic changes of ordinary switching devices; The alarm points that trigger both high and low alarms are used to simulate the highest priority alarm signal generated by the system when process parameters exceed limits. Analog input points with dead-zone control disabled and periodically forced to be assigned values ​​are used to simulate continuously changing process parameters.

[0007] In some embodiments, the step of batch generating and activating a set of temporary test points in at least one pair of controllers in the DCS includes: In response to the user's selection command, the target template is determined from a number of preset high-load scenario templates. Different high-load scenario templates define different test point types and combinations of behavioral parameters. Based on the selected target template, a set of temporary test points with a total quantity within a preset range is automatically generated with one click, and a specified number of operator stations are started to perform high-frequency trend refresh to collaboratively generate the network peak load.

[0008] In some embodiments, the preset high-load scenario templates include at least: a first template simulating daily full-load steady-state operating conditions, a second template simulating main fuel trip or auxiliary machine failure trip disturbance conditions, a third template simulating over-design network load, and a fourth template simulating extreme pressure network load.

[0009] In some embodiments, the forced triggering of the primary / backup switchover operation between the DCS's A network and B network includes: Physically disconnect the core fiber optic connection of network A or network B; or The logical ports of network A or network B on the core switch are shut down via software commands; or Simultaneously interrupt the communication connection between network A and network B to simulate a simultaneous failure of both networks.

[0010] In some embodiments, recording the application layer business data within the DCS includes: In the case of simultaneous failure of two networks, the system status data is monitored and recorded. The system status data includes the peak CPU utilization of the controller, the loss of alarm signals and event sequence records, the refresh status of the operator station screen, the controller disconnection and recovery status, and whether communication variables have undergone abnormal changes.

[0011] In some embodiments, the performance metrics include network performance metrics and application service performance metrics; The network performance metrics include: peak network load rate, dual-network handover time, and the number of data packets lost during the handover process; The application service performance indicators include: data continuity detected based on the incremental sequence number carried by the digital input point, timestamp deviation of multiple events triggered in a concentrated manner under high load recorded in the A / B network, and the maximum fluctuation value of the waveform of the analog input point before and after switching.

[0012] Secondly, embodiments of this application provide an online testing system for DCS network load and dual-network handover performance, the system comprising: The simulation module is used to generate and activate a set of temporary test points in batches in at least one pair of controllers in the DCS in response to a unit shutdown and a signal where field I / O signals are securely isolated. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate the generation of network peak load. The switching module is used to forcibly trigger the primary / backup switching operation between the DCS's A network and B network when the network peak load exceeds a preset load threshold. The analysis module is used to collect traffic data of network A and network B through switch port mirroring, record service data of application layer in DCS, and analyze network switching performance indicators based on the traffic data and service data.

[0013] Thirdly, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the online testing method for DCS network load and dual-network switching performance as described in the first aspect above.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the online testing method for DCS network load and dual-network switching performance as described in the first aspect above.

[0015] Compared to related technologies, the online testing method for DCS network load and dual-network switching performance provided in this application simulates peak network load by broadcasting batch temporary test points across the entire network. This method can reproduce the communication characteristics of DCS under full load or even overload conditions, which is consistent with the multi-controller data interaction scenario during normal unit operation. The test triggering condition is clearly defined as unit shutdown + field I / O signal safety isolation, which avoids the impact of misoperation on field equipment and production systems during the test. It can also be tested in a DCS hardware architecture and network topology environment consistent with actual operation. The test results can directly guide engineering practice and solve the problem that the unit operating status cannot be accurately measured when the thermal power generating unit is shut down. Attached Figure Description

[0016] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 This is a flowchart of an online testing method for DCS network load and dual-network handover performance according to an embodiment of this application; Figure 2 This is a structural block diagram of an online testing system for DCS network load and dual-network switching performance according to an embodiment of this application; Figure 3 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0018] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.

[0019] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0020] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.

[0021] This embodiment provides an online testing method for DCS network load and dual-network switching performance. Figure 1 This is a flowchart of an online testing method for DCS network load and dual-network handover performance according to an embodiment of this application, such as... Figure 1 As shown, the process includes the following steps: In step S101, in response to a unit shutdown and a signal that field I / O signals (input / output signals) are safely isolated, a set of temporary test points are generated and activated in batches in at least one pair of controllers in the DCS. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate the generation of network peak load.

[0022] When the unit is in a cold standby state after shutdown, only all controllers and network equipment are powered on, and all I / O hardwires are disconnected or short-circuited to a safe state, which will not cause local equipment to malfunction.

[0023] In some embodiments, temporary test points include at least two combinations of the following types of points: A digital input point with periodic state reversal, used to simulate the periodic changes of ordinary switching devices.

[0024] Simultaneously triggering both high and low alarm points is used to simulate the highest priority alarm signal generated by the system when process parameters exceed limits.

[0025] Analog input points with dead-zone control disabled and periodically forced to be assigned values ​​are used to simulate continuously changing process parameters.

[0026] Batch generation of network-wide broadcast test points. For example, quickly generate a temporary set of test points (totaling 5,000 to 25,000) containing three types of points in a single pair or a small number of controllers. All point attributes are forcibly set to "network-wide broadcast / global publication" to ensure that a change in one point is pushed to each of the 30 to 80 pairs of controllers across the network once.

[0027] Digital input points (ordinary DI cycle inversion points), 50-100 per pair of controllers, inverted every 250-300ms cycle (time is set according to the current controller's scan cycle).

[0028] There are 400 to 1000 alarm points in total, which can be triggered simultaneously with high-high or low-low alarms.

[0029] Analog input points (analog AI forced change points), totaling 3000 to 8000, with dead time disabled, and forced assignment every 250ms (time set according to the current controller's scan cycle).

[0030] By combining digital input points, alarm points, and analog input points, the communication load of three typical services—"routine process status interaction," "emergency alarm triggering," and "continuous parameter acquisition"—can be simulated simultaneously. The generated network peak load is highly consistent with the traffic composition during normal unit operation, solving the problems of one-sided load type and low reference value of test results in traditional single-point tests.

[0031] In some embodiments, step S101, which involves batch generating and activating a set of temporary test points in at least one pair of controllers in the DCS, includes: Step S1011: In response to the user's selection instruction, determine the target template from multiple preset high-load scenario templates. Different high-load scenario templates define the number of different test point types and combinations of behavioral parameters.

[0032] Step S1012: Based on the selected target template, a set of temporary test points with a total quantity within a preset range is automatically generated with one click, and a specified number of operator stations are started to refresh the high-frequency trend in order to collaboratively generate network peak load.

[0033] In some embodiments, the pre-set high-load scenario templates include at least: a first template simulating daily full-load steady-state operating conditions, a second template simulating main fuel trip or auxiliary machine failure trip disturbance conditions, a third template simulating over-design network load, and a fourth template simulating extreme pressure network load.

[0034] For example, the system has four built-in standardized templates: daily full-load steady-state operation (template 1), MFT / RB (main fuel trip / auxiliary machine failure rapid load reduction, i.e., template 2), current 120% over-design load operation (template 3), and current 180% extreme pressure operation (template 4). A single click can initiate a corresponding number of test point combinations, coupled with 10-20 operator stations updating the trend every 500ms.

[0035] The four pre-defined templates cover typical operating conditions throughout the entire DCS lifecycle: from normal steady-state operation to fault disturbance conditions, and then to extreme scenarios of exceeding design load and extreme pressure load. Different templates correspond to different testing purposes: the first template is used for performance baseline testing in daily operation and maintenance; the second template is used to assess the network's resilience under fault conditions; and the third and fourth templates are used to verify the redundancy design margin and ultimate carrying capacity of the DCS network, solving the problem of traditional test scenarios being too limited and unable to adapt to diverse testing needs.

[0036] With 10-20 operator stations refreshing the trend at a high frequency of 500ms, the communication load of the human-machine interaction layer can be superimposed, forming a two-layer traffic superposition of "controller-operator station" with the network broadcast load of the controller test point. The generated peak load is closer to the extreme traffic state in the actual operation of DCS.

[0037] Continue to refer to Figure 1 After generating and activating a set of temporary test points in batches, S102 is not performed.

[0038] Step S102: When the peak network load exceeds the preset load threshold, the primary / backup switchover operation between the DCS's A network and B network is forcibly triggered.

[0039] In some embodiments, the forced triggering of the primary / backup switch operation between network A and network B of the DCS includes: physically disconnecting the core fiber optic connection of network A or network B; or programmatically shutting down the logical ports of network A or network B on the core switch via software commands; or simultaneously interrupting the communication connection between network A and network B to simulate a simultaneous failure of both networks.

[0040] When the peak network load exceeds the preset load threshold (preferably within the 3-5 second window when the load peak is most concentrated), a forced switch is performed by any of the following methods: manually / automatically disconnecting the core fiber of network A or network B; programmatically shutting down the A / B network ports of the core switch; or simultaneously disconnecting the fiber of both networks (simulating the worst-case scenario of simultaneous failure of both networks).

[0041] Physical fiber breakage simulates hardware failures such as fiber wear and external damage; software-controlled port shutdown simulates logical failures such as switch configuration errors and port failures; simultaneous interruption of both networks simulates extremely severe network paralysis scenarios (such as overall failure of the core switch).

[0042] Verify whether the DCS will experience the following after both networks go offline simultaneously: controller CPU spikes; alarm / SOE loss; screen goes completely black; controller disconnection; and whether the control system can successfully recover after the network is restored. Verify the system's stability under the worst-case scenario of simultaneous failure of both networks, and check and test whether communication variables change.

[0043] Step S103: Collect traffic data of network A and network B through switch port mirroring, and record application layer service data in DCS. Analyze network switching performance indicators based on traffic data and service data.

[0044] In some embodiments, recording application layer business data within the DCS includes: monitoring and recording system status data under the condition of simultaneous failure of two networks. The system status data includes the peak CPU utilization of the controller, the loss of alarm signals and sequence records (SOE), the refresh status of the operator station screen, the controller disconnection and recovery status, and whether communication variables have undergone abnormal changes.

[0045] In some embodiments, performance metrics include network performance metrics and application service performance metrics. Network performance metrics include: peak network load rate, dual-network handover time, and the number of data packets lost during the handover process; application service performance metrics include: data continuity detected based on the incremental sequence number carried by digital input points, timestamp deviation of multiple event sequence records (SOEs) triggered centrally under high load in the A / B network, and the maximum fluctuation value of the waveform of analog input points before and after handover.

[0046] For example, during the entire execution of steps S101-S102, the full traffic of the A / B dual networks is mirrored to a dedicated recorder (1μs-level hardware clock) through the SPAN port of the switch; each DI test point carries an incrementing sequence number, and the continuity is automatically detected after switching; under high load, 1000-1500 SOEs are triggered centrally (configured according to the number of points in the control system), and the timestamp deviation of the A / B networks is statistically analyzed; the analog AI points are plotted with a 100ms resolution waveform (set according to the periodic characteristics of the control system), and the maximum fluctuation before and after switching is calculated.

[0047] Mirroring the full traffic of both A and B networks to a dedicated logger via the switch's SPAN port requires no modification to the existing DCS network topology or service configuration, does not consume core processing resources of the controller or switch, and avoids interference with normal control logic and data transmission. The dedicated logger, employing a 1μs-level hardware clock, ensures high synchronization between traffic data and application service data timestamps, providing a precise benchmark for timing correlation analysis of "network behavior - application response" during handover and avoiding data analysis bias caused by software clock drift. Mirroring the full traffic of both A and B networks completely records the packet transmission trajectory before and after the handover, including network layer routing changes, transport layer connection status changes, and application layer service data interactions, providing end-to-end data support for locating packet loss, latency anomalies, and other issues during the handover process.

[0048] In response to severe scenarios where both networks fail simultaneously, key indicators such as peak CPU utilization of the controller, alarm / SOE loss, operator station screen refresh status, controller disconnection and recovery status, and abnormal changes in communication variables are monitored to accurately pinpoint the core risk points affecting unit safety and verify the fallback capability of the DCS redundancy design.

[0049] The DI test points carry incremental sequence numbers, which can automatically detect data continuity after switching and quickly locate data loss or out-of-order problems without manual verification. The AI ​​points draw 100ms resolution waveforms, which can intuitively present the parameter fluctuations before and after switching and quantitatively evaluate the impact of switching on the accuracy of analog control. Under high load, 1000-1500 SOEs are triggered in a concentrated manner, and the consistency and real-time performance of event sequence records are verified by A / B network timestamp deviation statistics.

[0050] Optionally, a standardized report can be generated with one click based on the performance index analysis results: automatically outputting a PDF report containing all indicators such as peak load rate, switching time, packet loss, sequence number continuity, SOE deviation, and analog quantity fluctuation.

[0051] Through the above steps, the peak network load is simulated by broadcasting batch temporary test points across the entire network. This can reproduce the communication characteristics of DCS under full load or even overload conditions, which is consistent with the multi-controller data interaction scenario during normal unit operation. The test triggering conditions are clearly defined as unit shutdown + field I / O signal safety isolation, which not only avoids the impact of misoperation on field equipment and production systems during the test, but also allows the test to be carried out in a DCS hardware architecture and network topology environment consistent with actual operation. The test results can directly guide engineering practice and solve the problem that the unit operating status cannot be accurately measured when the thermal power generating unit is shut down.

[0052] It should be noted that the steps shown in the above process or in the flowchart of the accompanying figures can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0053] This embodiment also provides an online testing system for DCS network load and dual-network switching performance. This system is used to implement the above embodiments and preferred embodiments, and details already described will not be repeated. As used below, the terms "module," "unit," "subunit," etc., can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0054] Figure 2 This is a structural block diagram of the DCS network load and dual-network handover performance online testing system according to an embodiment of this application, as shown below. Figure 2 As shown, the system includes: The simulation module 21 is used to generate and activate a set of temporary test points in batches in at least one pair of controllers in the DCS in response to a unit shutdown and a signal where field I / O signals are safely isolated. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate the generation of network peak load. The switching module 22 is used to forcibly trigger the primary / backup switching operation between the DCS's A network and B network when the network peak load exceeds a preset load threshold. Analysis module 23 is used to collect traffic data of network A and network B through switch port mirroring, and record application layer service data in DCS. Based on traffic data and service data, it analyzes network switching performance indicators.

[0055] In some embodiments, simulation module 21 includes: The first test point generation module is used to generate digital input points with periodic state reversals to simulate the periodic changes of ordinary switching devices.

[0056] The second test point generation module is used to generate alarm points that simultaneously trigger both high and low alarms, in order to simulate the highest priority alarm signal generated by the system when process parameters exceed limits.

[0057] The third test point generation module is used to generate analog input points with dead zone control disabled and periodically forced to be assigned values ​​to simulate continuously changing process parameters.

[0058] In some embodiments, simulation module 21 includes: The template selection module is used to respond to the user's selection command and determine the target template from multiple preset high-load scenario templates. Different high-load scenario templates define the number of different test point types and the combination of behavioral parameters.

[0059] The execution module is used to automatically generate a set of temporary test points within a preset range based on the selected target template, and to start a specified number of operator stations to perform high-frequency trend refresh in order to collaboratively generate network peak load.

[0060] In some embodiments, the pre-set high-load scenario templates include at least: a first template simulating daily full-load steady-state operating conditions, a second template simulating main fuel trip or auxiliary machine failure trip disturbance conditions, a third template simulating over-design network load, and a fourth template simulating extreme pressure network load.

[0061] In some embodiments, the switching module 22 includes: The first switching module is used to physically disconnect the core fiber optic connection of network A or network B.

[0062] The second switching module is used to programmatically shut down the logical ports of network A or network B on the core switch via software commands.

[0063] The third switching module is used to simultaneously interrupt the communication connection between network A and network B to simulate a simultaneous failure of both networks.

[0064] In some embodiments, the analysis module 23 includes a system status monitoring module, used to monitor and record system status data under the condition of simultaneous failure of dual networks. The system status data includes the peak CPU utilization of the controller, the loss of alarm signals and event sequence records, the refresh status of the operator station screen, the controller disconnection and recovery status, and whether communication variables have undergone abnormal changes.

[0065] In some embodiments, performance metrics include network performance metrics and application service performance metrics.

[0066] Network performance metrics include: peak network load rate, dual-network handover time, and the number of data packets lost during the handover process.

[0067] Application performance metrics include: data continuity based on the incremental sequence number carried by the digital input point, timestamp deviation of multiple events triggered in a concentrated manner under high load recorded in the A / B network, and the maximum fluctuation value of the waveform of the analog input point before and after switching.

[0068] The system simulates peak network load by broadcasting batch temporary test points across the network, which can reproduce the communication characteristics of DCS under full load or even overload conditions, conforming to the multi-controller data interaction scenario during normal unit operation. The test triggering conditions are clearly defined as unit shutdown + field I / O signal safety isolation, which avoids the impact of misoperation on field equipment and production systems during the test, and allows the test to be carried out in a DCS hardware architecture and network topology environment consistent with actual operation. The test results can directly guide engineering practice, solving the problem that the unit operating status cannot be accurately measured when the thermal power generating unit is shut down.

[0069] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.

[0070] This embodiment also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0071] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0072] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program: S1, in response to a unit shutdown and a signal that field I / O signals are securely isolated, generates and activates a set of temporary test points in batches in at least one pair of controllers in the DCS. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate peak network load.

[0073] S2, when the network peak load exceeds the preset load threshold, forcibly triggers the primary / backup switchover operation between DCS network A and network B.

[0074] S3 collects traffic data from network A and network B via switch port mirroring and records application layer service data within the DCS. Based on the traffic data and service data, it analyzes network switching performance metrics.

[0075] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0076] In one embodiment, Figure 3 This is a schematic diagram of the internal structure of an electronic device according to an embodiment of this application, such as... Figure 3 As shown, an electronic device is provided, which can be a server, and its internal structure diagram can be as follows. Figure 3 As shown, this electronic device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements an online testing method for DCS network load and dual-network switching performance.

[0077] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electronic device to which the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0078] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0079] Those skilled in the art should understand that the technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments have been described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0080] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for online testing of DCS network load and dual network switching performance, characterized in that, The method includes: In response to a unit shutdown and a signal that field I / O signals are securely isolated, a set of temporary test points are generated and activated in batches in at least one pair of controllers in the DCS. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate peak network load. If the peak network load exceeds a preset load threshold, a primary / backup switchover operation between network A and network B of the DCS will be forcibly triggered. Traffic data of network A and network B are collected by mirroring the switch ports, and service data of the application layer within the DCS are recorded. Based on the traffic data and the service data, network switching performance indicators are analyzed.

2. The method of claim 1, wherein, The temporary test points include at least two combinations of the following types of points: Digital input points with periodic state reversal are used to simulate the periodic changes of ordinary switching devices; The alarm points that trigger both high and low alarms are used to simulate the highest priority alarm signal generated by the system when process parameters exceed limits. Analog input points with dead-zone control disabled and periodically forced to be assigned values ​​are used to simulate continuously changing process parameters.

3. The method of claim 2, wherein, The process of batch generating and activating a set of temporary test points in at least one pair of controllers in the DCS includes: In response to the user's selection command, the target template is determined from a number of preset high-load scenario templates. Different high-load scenario templates define different test point types and combinations of behavioral parameters. Based on the selected target template, a set of temporary test points with a total quantity within a preset range is automatically generated with one click, and a specified number of operator stations are started to perform high-frequency trend refresh to collaboratively generate the network peak load.

4. The method of claim 3, wherein, The pre-set high-load scenario templates include at least: a first template simulating daily full-load steady-state operating conditions, a second template simulating main fuel trip or auxiliary machine failure trip disturbance conditions, a third template simulating over-design network load, and a fourth template simulating extreme pressure network load.

5. The method of claim 1, wherein, The forced triggering of the primary / standby switchover operation between network A and network B of the DCS includes: Physically disconnect the core fiber optic connection of network A or network B; or The logical ports of network A or network B on the core switch are shut down via software commands; or Simultaneously interrupt the communication connection between network A and network B to simulate a simultaneous failure of both networks.

6. The method of claim 5, wherein, The recorded application layer business data within the DCS includes: In the case of simultaneous failure of two networks, the system status data is monitored and recorded. The system status data includes the peak CPU utilization of the controller, the loss of alarm signals and event sequence records, the refresh status of the operator station screen, the controller disconnection and recovery status, and whether communication variables have undergone abnormal changes.

7. The method of claim 2, wherein, The performance metrics include network performance metrics and application service performance metrics; The network performance metrics include: peak network load rate, dual-network handover time, and the number of data packets lost during the handover process; The application service performance indicators include: data continuity detected based on the incremental sequence number carried by the digital input point, timestamp deviation of multiple events triggered in a concentrated manner under high load recorded in the A / B network, and the maximum fluctuation value of the waveform of the analog input point before and after switching.

8. A DCS network load and dual network switching performance online test system, characterized in that, The system includes: The simulation module is used to generate and activate a set of temporary test points in batches in at least one pair of controllers in the DCS in response to a unit shutdown and a signal where field I / O signals are securely isolated. The communication attributes of the temporary test points are configured to be broadcast to all controllers in the DCS network to simulate the generation of network peak load. The switching module is used to forcibly trigger the primary / backup switching operation between the DCS's A network and B network when the network peak load exceeds a preset load threshold. The analysis module is used to collect traffic data of network A and network B through switch port mirroring, record service data of application layer in DCS, and analyze network switching performance indicators based on the traffic data and service data.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the online testing method for DCS network load and dual-network switching performance as described in any one of claims 1 to 7.

10. A storage medium having stored thereon a computer program, characterized in that When executed by the processor, the program implements the online testing method for DCS network load and dual-network switching performance as described in any one of claims 1 to 7.