A dynamic circulation method suitable for single network touch screen

By using a dynamic cycle method to determine the active and standby status of the controller and dynamically link the IP address, the information interaction problem of the touch screen in the hydropower station monitoring system when the active controller fails over is solved, ensuring the normal display and operation of telesignaling and telemetry, and improving the reliability of human-computer interaction.

CN115857720BActive Publication Date: 2025-09-26XIAN THERMAL POWER RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211408172.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-10
Publication Date
2025-09-26
Estimated Expiration
2042-11-10

AI Technical Summary

Technical Problem

In the monitoring system of a hydropower station, when the main controller fails and switches to the backup controller, the touch screen cannot exchange information with the backup controller, resulting in abnormal display.

Method used

The active/standby status of the controller is determined through a dynamic cycle method, and the IP address of the touch screen is dynamically linked to the standby controller to ensure the continuity of information interaction.

Benefits of technology

The touch screen can communicate with the backup controller in time after the main controller fails, ensuring the normal display and operation of telesignaling and telemetry, and improving the reliability of human-computer interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115857720B_ABST
    Figure CN115857720B_ABST
Patent Text Reader

Abstract

The present invention discloses a dynamic circulation method applicable to a single-network touch screen, comprising the following steps: 1) initializing main parameters and reading the IP addresses and real-time status values ​​of the left / right controllers; 2) judging the master / standby status of the left / right controllers according to the real-time values ​​of the current status; 3) dynamically linking the touch screen network to the IP address of the master controller; 4) cyclically judging the communication status between the touch screen and the master controller, and maintaining the current link when the communication status is normal; 5) if the communication status is abnormal, the touch screen network is dynamically linked to the IP address of the standby controller, and cyclically judging the communication status with the standby controller; 6) if the communication status between the touch screen network and the master and standby controllers is abnormal within 40 seconds, the system alarms a communication failure, and ends the dynamic circulation process. The method can solve the problem that when the master controller fails and switches to the standby controller, the touch screen cannot exchange information with the standby controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of automatic control information technology and relates to a dynamic circulation method suitable for a single network touch screen. Background Art

[0002] With the widespread adoption of computer technology, the continuous advancement of internet technology, and the rapid development of multimedia information technology, touch screens have emerged as an emerging human-computer interaction input device, offering advantages such as reliability, durability, space-saving, ease of operation, and fast response time. The lower-level computer in hydropower station computer monitoring systems uses touch screens, replacing the traditional industrial computers in the local control unit cabinet. This makes operation more convenient, the interface design more aesthetically pleasing, and the functionality more comprehensive, adapting to the needs of diverse users. In hydropower station automation processes, different workstations—such as operator stations, engineer stations, servers, touch screens, PLC controllers, and intelligent sensors—exchange information via serial ports, Ethernet, and other Internet Protocol-supported networks, using standard industrial communication protocols. This enables monitoring, control, early warning, and protection of key hydropower station equipment. To save costs, some hydropower monitoring systems use only a single network card in the local control cabinet, binding the touch screen to the fixed IP address of the primary controller. If the primary controller fails and the backup controller is switched, the touch screen loses communication with the backup controller, resulting in abnormal feedback status and command output. Summary of the Invention

[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a dynamic circulation method suitable for a single network touch screen, which can solve the problem that when the main controller fails and switches to the backup controller, the touch screen cannot exchange information with the backup controller.

[0004] To achieve the above-mentioned object, the dynamic circulation method applicable to a single network touch screen of the present invention comprises the following steps:

[0005] 1) Parameter initialization;

[0006] 2) Read the IP address and current status real-time value of the left / right controller;

[0007] 3) Determine whether the left controller DPU_TXZT1 is the primary controller within the first preset time;

[0008] 4) Determine whether the right controller DPU_TXZT2 is the primary controller within the first preset time;

[0009] 5) Determine whether DPU_TXZT1 and DPU_TXZT2 are both 0 or 1. If DPU_TXZT1 and DPU_TXZT2 are both 0 or 1, go to step 14); otherwise, go to step 6);

[0010] 6) When DPU_TXZT1=1 and DPU_TXZT2=0, it is determined that the left controller is the primary controller and the right controller is the backup controller, then go to step 7); otherwise, go to step 10);

[0011] 7) The touch screen network is dynamically linked to the IP address of the left controller;

[0012] 8) Determine whether the communication status PLC_TXZT1 between the touch screen and the left controller is equal to 1. If PLC_TXZT1 = 1 within the second preset time, it means that the touch screen is communicating normally with the left controller. Otherwise, it means that the touch screen cannot communicate with the left controller, and then go to step 9);

[0013] 9) The touch screen network is dynamically linked to the IP address of the right controller. At this time, the right controller is the main controller and the left controller is the backup controller, then go to step 12);

[0014] 10) The right controller is considered as the primary controller and the left controller is the backup controller;

[0015] 11) The touch screen network is dynamically linked to the IP address of the right controller;

[0016] 12) Determine whether the communication status PLC_TXZT2 between the touch screen and the right controller is equal to 1. If PLC_TXZT2 = 1 within the second preset time, it means that the touch screen is communicating normally with the right controller. Otherwise, it means that the touch screen cannot communicate with the right controller, and then go to step 13);

[0017] 13) The touch screen network is dynamically linked to the IP address of the left controller. At this time, the left controller is the main controller and the right controller is the backup controller, then go to step 8);

[0018] 14) Determine whether PLC_TXZT1 and PLC_TXZT2 are always 0 within the third preset time. If the determination result is no, go to step 6). If the determination result is yes, it is considered that a touch screen communication failure has occurred.

[0019] In step 1), the parameters that need to be initialized include the master / slave status DPU_TXZT1 and DPU_TXZT2 of the left / right controller, the IP address of the touch screen to the left / right controller, and the communication status PLC_TXZT1 and PLC_TXZT2 of the touch screen to the left / right controller.

[0020] The first preset time is 5s.

[0021] The second preset time is 10s.

[0022] The third preset time is 40s.

[0023] Step 14) also includes: when a touch screen communication failure occurs, issuing a controller failure and touch screen communication failure alarm.

[0024] In step 3), when DPU_TXZT1=1, the left controller is determined to be the active controller; when DPU_TXZT1=0, the left controller is determined to be the standby controller.

[0025] In step 4), when DPU_TXZT2=1, the right controller is determined to be the primary controller; when DPU_TXZT2=0, the right controller is determined to be the backup controller.

[0026] The present invention has the following beneficial effects:

[0027] The dynamic circulation method applicable to a single network touch screen described in the present invention is used in specific operation. When a main controller fails and switches to a backup controller, the communication status of the single network touch screen is determined through dynamic circulation, and the dynamic IP address of the touch screen is immediately linked to the backup controller, ensuring that the telesignaling and telemetry of the touch screen can be displayed and operated normally, thereby improving the reliability of the human-computer interaction control of the touch screen, solving the problem that the touch screen cannot exchange information with the backup controller when the main controller fails and switches to the backup controller, and making the touch screen more widely used in on-site control of hydropower stations. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of the network structure of the present invention;

[0029] Figure 2 This is a diagram showing the operation and display principles of the touch screen of the present invention;

[0030] Figure 3 Flowchart of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments, and are not intended to limit the scope of the present invention. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts disclosed in the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0032] The accompanying drawings illustrate schematic diagrams of the structures of the disclosed embodiments of the present invention. These figures are not drawn to scale; for the purpose of clarity, some details are exaggerated and some details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.

[0033] refer to Figure 1 、 Figure 2 and Figure 3 The dynamic circulation method applicable to a single network touch screen of the present invention comprises the following steps:

[0034] 1) Parameter initialization, where the parameters that need to be initialized include the active / standby status of the left / right controller (DPU_TXZT1, DPU_TXZT2), the IP address of the touch screen to the left / right controller, and the communication status of the touch screen to the left / right controller (PLC_TXZT1, PLC_TXZT2);

[0035] 2) Read the IP address and current status real-time value of the left / right controller;

[0036] 3) Determine within 5 seconds whether the left controller DPU_TXZT1 is the active controller. If DPU_TXZT1 = 1, the left controller is the active controller; if DPU_TXZT1 = 0, the left controller is the standby controller.

[0037] 4) Determine within 5 seconds whether the right controller DPU_TXZT2 is the primary controller. If DPU_TXZT2 = 1, the right controller is determined to be the primary controller; if DPU_TXZT2 = 0, the right controller is determined to be the backup controller.

[0038] 5) Determine whether DPU_TXZT1 and DPU_TXZT2 are both 0 or 1. If DPU_TXZT1 and DPU_TXZT2 are both 0 or 1, go to step 14); otherwise, go to step 6);

[0039] 6) When DPU_TXZT1=1 and DPU_TXZT2=0, it is determined that the left controller is the primary controller and the right controller is the backup controller, then go to step 7); otherwise, go to step 10);

[0040] 7) The touch screen network is dynamically linked to the IP address of the left controller;

[0041] 8) Determine whether the communication status PLC_TXZT1 between the touch screen and the left controller is equal to 1. If PLC_TXZT1 = 1 within 10 seconds, it means that the touch screen is communicating normally with the left controller. Otherwise, it means that the touch screen cannot communicate with the left controller, then go to step 9);

[0042] 9) The touch screen network is dynamically linked to the IP address of the right controller. At this time, the right controller is the main controller and the left controller is the backup controller, then go to step 12);

[0043] 10) The right controller is considered as the primary controller and the left controller is the backup controller;

[0044] 11) The touch screen network is dynamically linked to the IP address of the right controller;

[0045] 12) Determine whether the communication status PLC_TXZT2 between the touch screen and the right controller is equal to 1. If PLC_TXZT2 = 1 within 10 seconds, it means that the touch screen is communicating normally with the right controller. Otherwise, it means that the touch screen cannot communicate with the right controller, and then go to step 13);

[0046] 13) The touch screen network is dynamically linked to the IP address of the left controller. At this time, the left controller is the main controller and the right controller is the backup controller, then go to step 8);

[0047] 14) Determine whether PLC_TXZT1 and PLC_TXZT2 have been 0 for 40 seconds. If the judgment result is no, go to step 6). If the judgment result is yes, it is considered that a touch screen communication failure has occurred, and a controller failure and touch screen communication failure alarm will be issued.

[0048] In the network structure of the single-network touch screen, the input and output I / O modules and the controllers A / B are connected in a redundant A / B network star shape, the switches A / B and the controllers A / B are connected in a redundant A / B network star shape, and the single-network-port touch screen is connected to the switch A or the switch B.

[0049] The present invention can act on scripts within a touch screen, and the specific process is as follows: 1a) Touch screen operation process, the touch screen human-computer interaction input instructions, follow the standard industrial communication protocol through Ethernet communication, the PLC performs calculation control after receiving the information, and the calculation results are directly applied to the local actuator through the PLC output module and drive circuit; 2a) Touch screen display process, local sensors measure equipment operating parameters, the PLC input module collects the measured data, completes signal processing through the PLC controller, and then communicates through Ethernet, and finally the changes in the parameters are fed back on the touch screen human-computer display.

[0050] The present invention overcomes the disadvantage that when the main controller corresponding to a single network touch screen fails, the touch screen cannot normally display the telesignaling and telemetry measurements in the backup controller. It can dynamically link the target IP address of the current working controller and solve the problem that the touch screen cannot exchange information with the backup controller.

Claims

1. A dynamic circulation method suitable for a single network touch screen, characterized in that: include: 1) Determine whether the left controller DPU_TXZT1 and the right controller DPU_TXZT2 are both 0 or 1. If DPU_TXZT1 and DPU_TXZT2 are both 0 or 1, go to step 10); otherwise, go to step 2); 2) When DPU_TXZT1=1 and DPU_TXZT2=0, it is determined that the left controller is the active controller and the right controller is the standby controller, then go to step 3); otherwise, go to step 6; 3) The touch screen network is dynamically linked to the IP address of the left controller; 4) Determine whether the communication status PLC_TXZT1 between the touch screen and the left controller is equal to 1. If PLC_TXZT1 = 1 within the second preset time, it means that the touch screen is communicating normally with the left controller. Otherwise, it means that the touch screen cannot communicate with the left controller, and then go to step 5); 5) The touch screen network is dynamically linked to the IP address of the right controller. At this time, the right controller is the main controller and the left controller is the backup controller. Then go to step 8); 6) The right controller is considered to be the primary controller and the left controller is the backup controller; 7) The touch screen network is dynamically linked to the IP address of the right controller; 8) Determine whether the communication status PLC_TXZT2 between the touch screen and the right controller is equal to 1. If PLC_TXZT2=1 within the second preset time, it means that the touch screen is communicating normally with the right controller. Otherwise, it means that the touch screen cannot communicate with the right controller, and then go to step 9); 9) The touch screen network is dynamically linked to the IP address of the left controller. At this time, the left controller is the main controller and the right controller is the backup controller. Then go to step 4); 10) Determine whether PLC_TXZT1 and PLC_TXZT2 are always 0 within the third preset time. If the determination result is no, go to step 2). If the determination result is yes, it is considered that a touch screen communication failure has occurred.

2. The dynamic circulation method applicable to a single network touch screen according to claim 1, characterized in that: Before step 1), it also includes: 11) Parameter initialization; 12) Read the IP address and current status real-time value of the left / right controller; 13) Determine whether the left controller DPU_TXZT1 is the primary controller within the first preset time; 14) Determine whether the right controller DPU_TXZT2 is the primary controller within the first preset time.

3. The dynamic circulation method applicable to a single network touch screen according to claim 1, characterized in that: In step 11), the parameters that need to be initialized include the master / slave status DPU_TXZT1 and DPU_TXZT2 of the left / right controller, the IP address of the touch screen to the left / right controller, and the communication status PLC_TXZT1 and PLC_TXZT2 of the touch screen to the left / right controller.

4. The dynamic circulation method applicable to a single network touch screen according to claim 2, characterized in that: The first preset time is 5s.

5. The dynamic circulation method applicable to a single network touch screen according to claim 1, characterized in that: The second preset time is 10s.

6. The dynamic circulation method applicable to a single network touch screen according to claim 1, characterized in that: The third preset time is 40s.

7. The dynamic circulation method applicable to a single network touch screen according to claim 1, characterized in that: Step 10) also includes: when a touch screen communication failure occurs, issuing a controller failure and touch screen communication failure alarm.

8. The dynamic circulation method applicable to a single network touch screen according to claim 2, characterized in that: In step 13), when DPU_TXZT1=1, the left controller is determined to be the active controller; when DPU_TXZT1=0, the left controller is determined to be the standby controller.

9. The dynamic circulation method applicable to a single network touch screen according to claim 2, characterized in that: In step 14), when DPU_TXZT2=1, the right controller is determined to be the primary controller; when DPU_TXZT2=0, the right controller is determined to be the backup controller.

Citation Information

Patent Citations

  • Method for user machine for automatically identifying switch between active director and standby director

    CN104317208A

  • Host and standby machine IP resource switching method and device, computer equipment and storage medium

    CN111934909A