Automatic setting method, device and equipment based on DCS system mandatory data

By realizing automatic connection and data interaction between the engineering station and the control station/transmission station in the nuclear power plant DCS platform, the problem of high step repetition rate in forced data setting is solved, variable forcing and data verification are automatically processed, and the operation is improved. efficiency and reduce human errors, achieving efficient maintenance and stable operation of the system.

CN115202299BActive Publication Date: 2024-09-24NUCLEAR POWER INSTITUTE OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210809796.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-11
Publication Date
2024-09-24
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

When the existing technology forces data setting in the DCS platform of a nuclear power plant, the high repetition rate of steps leads to low operating efficiency, increases labor costs and introduces human errors, affecting the safety of system operations.

Method used

By establishing an automated connection between the engineering station and the control station/transmission station, real-time data interaction and analysis verification are realized, variable forcing and data verification are automatically processed, and the MVC model is used to separate the interface and data processing end to reduce the interference of subjective factors and Adopt strict data filtering and detection mechanisms, combined with scene saving and loading technology.

Benefits of technology

It realizes the automation of batch operations on the nuclear power plant DCS platform, reduces system maintenance costs, reduces the occurrence of human errors, and improves operating efficiency and system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115202299B
    Figure CN115202299B
Patent Text Reader

Abstract

The present invention discloses an automated setting method, device and equipment based on DCS system forced data, including: establishing a connection between the background of the engineer station and the control station / transmission station according to a signal for establishing a connection; after the connection is established, the control station / transmission station sends all data to the engineer station in real time, the engineer station performs parsing and verification on the received data, and sends the parsed and verified data to the front-end interface of the engineer station; obtaining the user's variable forced command, performing variable forced according to the variable forced command, and the forced data and the control station / transmission station perform data interaction, the background of the engineer station sends the forced variables concerned by the user from all the data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time; setting the variable data of the forced variables and saving the variable forced scenes. The present invention automatically realizes batch operation of the variable forced process, reducing the maintenance cost of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of safety-level DCS for nuclear power plants, and in particular to an automatic setting method, device and equipment based on mandatory data of a DCS system. Background Art

[0002] The logic configuration software used in nuclear power plants is a high-security software that provides developers with a complete model-based embedded development solution to reduce development costs, reduce development risks, and shorten verification time.

[0003] In order to verify the correctness of the logic completed by the configuration software in a specific environment and locate the abnormal situation during operation, it is necessary to force the algorithm logic in the controller. As the core software of the nuclear power plant DCS platform to realize the online logic forcing function, the variable forcing plug-in has a high frequency of use and is directly related to the high frequency interaction between the computer and the operator.

[0004] In a common usage environment, variable forcing is generally used to set data, and after rigorous verification of the data, the data is forced into the controller. There are two points to focus on:

[0005] 1. When the software is forcing data, there will be application scenarios where a large amount of data is set in batches at the same time;

[0006] 2. A large number of repeated operations occur when the software performs batch data verification, which increases the system load;

[0007] When the engineer station software of the current nuclear power plant DCS platform processes batch data, the high repetition rate of steps causes the operator to have a lot of mechanical labor, resulting in low efficiency. In this case, the management and setting of mandatory data has become a very time-consuming and laborious operation, which not only increases labor costs, but also introduces human errors due to the high repetition rate of operations, bringing unexpected risks to the operation of the entire system. Summary of the invention

[0008] The technical problem to be solved by the present invention is that the existing technology uses manual operation to set mandatory data. When processing batch data, the operator has to do a lot of mechanical labor due to the extremely high repetition rate of steps, resulting in low efficiency. In this case, the management and setting of mandatory data becomes a very time-consuming and labor-intensive operation, which not only increases labor costs, but also introduces human errors due to the high repetition rate of operations, bringing unexpected risks to the operation of the entire system.

[0009] The present invention forces the analysis of the core functional variables of the engineer station software of the DCS platform of a nuclear power plant, based on the current situation that batch data operations and repeated operations during verification need to be processed, and a good user experience should be obtained under the condition of processing data and improving work efficiency. The purpose of the present invention is to provide an automated setting method, device and equipment based on DCS system forced data. On the one hand, the present invention can automatically realize batch operations of the entire forced process in the engineer station software of the DCS platform of a nuclear power plant, solve the problem of frequent operations and high costs of operators, and greatly reduce the maintenance cost of the system; on the other hand, it shields the intervention of subjective factors of operators in the processing logic process, and solves the problem of easy introduction of errors.

[0010] The present invention is achieved through the following technical solutions:

[0011] In a first aspect, the present invention provides an automatic setting method for mandatory data based on a DCS system, which is applied to an engineer station of a DCS platform of a nuclear power plant to automatically set mandatory data; the method comprises:

[0012] Acquire a signal for establishing a connection between the engineer station and the control station / transmission station, and establish a connection between the background of the engineer station and the control station / transmission station according to the signal for establishing a connection;

[0013] After the connection is established, the control station / transmission station sends all data to the engineer station in real time. The engineer station parses and verifies the received data to obtain parsed and verified data; and sends the parsed and verified data to the front-end interface of the engineer station;

[0014] Obtain the user's variable forcing command, perform variable forcing according to the variable forcing command, force data to interact with the control station / transmission station, and the background of the engineer station sends the forced variables that the user is concerned about from all data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time;

[0015] The variable data of the mandatory variables are set, and the variable data after setting is verified, and the variable data after data verification is updated to the monitoring table; the above variable mandatory scenario is saved, and the mandatory variable data at a certain moment is saved by exporting the specified path.

[0016] Furthermore, a connection is established between the background of the engineer station and the control station / transmission station according to the connection establishment signal. If the connection establishment is abnormal, a pop-up window is displayed to prompt an error message.

[0017] Furthermore, before establishing a connection between the background of the engineer station and the control station / transmission station, the engineer station adopts the MVC model, separates the engineer station interface and the engineer station data by rewriting the Qt model and view components, and updates the data seen in the view component. Data that does not exist in the range seen by the view will not be updated.

[0018] Furthermore, the interface of the engineer station is reflected by the interface display end, and the data of the engineer station is reflected by the data processing end, and the two ends do not interfere with each other; the interface display end is responsible for displaying the data on the engineer interface and completing all interactive operations between the data and the user; the data processing end is responsible for data parsing, storage, analysis and instruction distribution data processing operations;

[0019] The interface display end and the data processing end form a working mode that does not interfere with each other but cooperates with each other, which improves the efficiency and stability of system operation.

[0020] Furthermore, the analysis and verification includes:

[0021] Check whether the first four bytes in the data packet header are consistent with the preset letters;

[0022] Check whether the cyclic redundancy calculation value CRC of the actual content after data parsing is consistent with the cyclic redundancy check value CRC in the data;

[0023] Check whether the data content length is consistent with the record length in the data header;

[0024] Check whether the station number and station type recorded in the data are consistent with the station number and station type of the current station.

[0025] Furthermore, the step of forcing the variables includes:

[0026] Obtaining a user's variable forcing command, selecting a variable range to be forced according to the variable forcing command, and writing data of the variable range to be forced into a data storage area;

[0027] The compiling module of the engineering station compiles the data in the range of the variables to be forced and the operation logic thereof to generate an executable program; wherein the compiling process is to allocate a forced storage area for the variables to be forced;

[0028] The mandatory module of the engineer station batch inputs mandatory data values, and sends the mandatory data values ​​and the executable program to the running program data entry of the control station / transmission station through the communication module;

[0029] According to the mandatory data value inputted into the running program data entry, the control station / transmission station writes the mandatory data value into the mandatory storage area accordingly;

[0030] According to the executable program inputted by the running program data entry, the control station / transmission station runs the executable program, calls different assignment drivers according to the mandatory flag of the variable to be mandatory, and assigns a value to the variable to be mandatory as an output value;

[0031] The control station / transmission station feeds back the output value to the engineering station through the communication module, thereby realizing batch forcing of the variables to be forced.

[0032] Further, the variables to be forced are variables in the variable configuration group except for the intermediate variables to be forced;

[0033] The attributes of the intermediate variable to be forced include the intermediate variable name, the variable name to be forced, the data type (the data type includes analog type with quality bit, binary type with quality bit and enumeration type with quality bit) and the forced flag (kcg_bool);

[0034] The names of the intermediate variable name, the variable name to be forced and the forced flag are by default the same name with different suffixes; when modifying, only the intermediate variable name can be modified, and the names of the variable name to be forced and the forced flag will be automatically modified.

[0035] Furthermore, the method also includes importing forced variable data, selecting a variable forcing scenario at a certain moment under a specified path, performing calculation extraction and data verification on the forced variable data under the variable forcing scenario, and loading the verified data into a display table.

[0036] Furthermore, the variable data of the forced variable is set, and the variable data after setting is verified, and the variable data after data verification is updated to the monitoring table; wherein, the variable data after data verification is encrypted and packaged and then downloaded to the lower computer (i.e., the control station).

[0037] Specifically, data encryption is performed using the national secret algorithm SM4 for encrypted storage; the encrypted data is decrypted and judged during downloading, and the data is sent to the communication package after verification; the communication package is encrypted using the national secret algorithm SM2+openssl+SM3, and the lower computer decrypts and executes forced actions after receiving the data.

[0038] In a second aspect, the present invention further provides an automatic setting device based on DCS system mandatory data, the device supports the automatic setting method based on DCS system mandatory data; the device comprises:

[0039] The inter-station connection unit in the DCD system is used to obtain a signal for establishing a connection between the engineer station and the control station / transmission station, and to establish a connection between the background of the engineer station and the control station / transmission station according to the signal for establishing a connection;

[0040] The real-time data interaction and analysis verification unit is used for, after the connection is established, the control station / transmission station sends all data to the engineer station in real time, and the engineer station analyzes and verifies the received data to obtain the analyzed and verified data; and sends the analyzed and verified data to the front-end interface of the engineer station;

[0041] The variable forcing unit is used to obtain the user's variable forcing command, and according to the variable forcing command, the variable is forced, and the forced data is interacted with the control station / transmission station. The background of the engineer station sends the forced variables that the user is concerned about from all the data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time;

[0042] A variable data setting and verification unit, used for setting variable data for the mandatory variable, and performing data verification on the variable data after setting, and updating the variable data after data verification to the monitoring table;

[0043] The mandatory scene saving unit is used to save the variable mandatory scene set by the variable data setting and verification unit, and save the mandatory variable data at a certain moment by exporting the specified path.

[0044] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the automated setting method based on DCS system mandatory data when executing the computer program.

[0045] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the automatic setting method based on the forced data of the DCS system is implemented.

[0046] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0047] 1. The present invention forces the analysis of the core functional variables of the engineer station software of the DCS platform of a nuclear power plant, based on the current situation that batch data operations and repeated operations during verification need to be processed, and a good user experience should be obtained under the condition of both processing data and improving work efficiency. On the one hand, the present invention can automatically realize the batch operation of the entire forced process in the engineer station software of the DCS platform of a nuclear power plant, solve the problem of frequent operations and high costs of operators, and greatly reduce the maintenance cost of the system; on the other hand, it shields the intervention of subjective factors of operators in the processing logic process, and solves the problem of easy introduction of errors.

[0048] 2. The present invention utilizes the data interaction between the engineer station and the control station / transmission station, and the mandatory interface automatically displays the real mandatory data in the control station / transmission station, instead of reading offline data from the local to display, thereby ensuring the value of data availability; the MVC mode is introduced in the software of the nuclear power plant DCS system, so that the software interface design of the mandatory function has high maintainability; in combination with the characteristics of the nuclear power plant DCS system, the deterministic mandatory data format is strictly defined to ensure the consistency of data in the entire design process; a strict data filtering and detection mechanism is adopted, starting from the data source, and the correctness of the mandatory data downloaded to the control station / transmission station is ensured from all links; the scene saving and loading technology is adopted in the variable mandatory software of the nuclear power plant DCS system, providing a quick mandatory scene recording and loading function, improving the value of the software in the application of nuclear power plants, and greatly saving the maintenance cost of the DCS system. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:

[0050] Figure 1 The present invention is a flow chart of the automatic setting method based on the forced data of the DCS system.

[0051] Figure 2 The figure is a schematic diagram of the structure of the automatic setting device based on the forced data of the DCS system according to the present invention.

[0052] Figure 3 The flowchart of the variable forcing between the engineering station and the control station / transmission station of the present invention is shown.

[0053] Figure 4 This is a schematic diagram of starting variable forcing according to an embodiment of the present invention.

[0054] Figure 5 A schematic diagram of selecting variables to be forced according to an embodiment of the present invention.

[0055] Figure 6 A schematic diagram of setting variable data for an embodiment of the present invention.

[0056] Figure 7 A schematic diagram of a mandatory scenario is saved for an embodiment of the present invention.

[0057] Figure 8 A schematic diagram of a mandatory scenario is loaded for an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0059] Example 1

[0060] Based on the existing technology, mandatory data is set manually. When processing batch data, the operator has to do a lot of mechanical labor due to the extremely high repetition rate of steps, resulting in low efficiency. In this case, the management and setting of mandatory data becomes a very time-consuming and labor-intensive operation, which not only increases labor costs, but also introduces human errors due to the high repetition rate of operations, bringing unexpected risks to the operation of the entire system.

[0061] The present invention forces the analysis of the core functional variables of the engineer station software of the DCS platform of a nuclear power plant, based on the current situation that batch data operations and repeated operations during verification need to be processed, and a good user experience should be obtained under the condition of both processing data and improving work efficiency. On the one hand, the present invention can automatically realize the batch operation of the entire forced process in the engineer station software of the DCS platform of a nuclear power plant, solve the problem of frequent operations and high costs of operators, and greatly reduce the maintenance cost of the system; on the other hand, it shields the intervention of subjective factors of operators in the processing logic process, and solves the problem of easy introduction of errors.

[0062] like Figure 1 , Figures 3 to 8 As shown, the present invention is based on the automatic setting method of the forced data of the DCS system, and the method is applied to the engineer station of the DCS platform of the nuclear power plant to automatically set the forced data; the method comprises:

[0063] Acquire the signal for establishing a connection between the engineer station and the control station / transmission station, and perform a control operation on the background of the engineer station (i.e. Figure 1 mid-backend) and control station / transmission station (i.e. Figure 1 Establish a connection between the middle and lower computers;

[0064] After the connection is established, the control station / transmission station sends all data to the engineer station in real time. The engineer station parses and verifies the received data to obtain parsed and verified data; and sends the parsed and verified data to the front-end interface of the engineer station;

[0065] Obtain the user's variable forcing command, and perform variable forcing according to the variable forcing command, forcing data and control station / transmission station (i.e. Figure 1 The backend of the engineer station sends the mandatory variables that the user is concerned about from all the data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time;

[0066] The variable data of the mandatory variables are set, and the variable data after setting is verified, and the variable data after data verification is updated to the monitoring table; the above variable mandatory scenario is saved, and the mandatory variable data at a certain moment is saved by exporting the specified path.

[0067] In this embodiment, the background (i.e., Figure 1 mid-backend) and control station / transmission station (i.e. Figure 1 If the connection is abnormal, a window will pop up to prompt an error message.

[0068] In this embodiment, the background of the engineer station (i.e. Figure 1 mid-backend) and control station / transmission station (i.e. Figure 1 Before establishing a connection between the middle and lower computers, the engineer station adopts the MVC model, separates the engineer station interface and the engineer station data by rewriting the Qt model and view components, updates the data seen in the view component, and does not update the data within the range seen by the view.

[0069] In this embodiment, the engineer station interface is reflected by the interface display end, and the engineer station data is reflected by the data processing end, and the two ends do not interfere with each other; the interface display end is responsible for displaying the data on the engineer interface and completing all data and user interaction operations; the data processing end is responsible for data parsing, storage, analysis and instruction distribution data processing operations;

[0070] The interface display end and the data processing end form a working mode that does not interfere with each other but cooperates with each other, which improves the efficiency and stability of system operation.

[0071] In this embodiment, the analysis and verification includes:

[0072] Check whether the first four bytes in the data packet header are consistent with the preset letters;

[0073] Check whether the cyclic redundancy calculation value CRC of the actual content after data parsing is consistent with the cyclic redundancy check value CRC in the data;

[0074] Check whether the data content length is consistent with the record length in the data header;

[0075] Check whether the station number and station type recorded in the data are consistent with the station number and station type of the current station.

[0076] In this embodiment, the step of forcing the variables includes:

[0077] Obtaining a user's variable forcing command, selecting a variable range to be forced according to the variable forcing command, and writing data of the variable range to be forced into a data storage area;

[0078] The compiling module of the engineering station compiles the data in the range of the variables to be forced and the operation logic thereof to generate an executable program; wherein the compiling process is to allocate a forced storage area for the variables to be forced;

[0079] The mandatory module of the engineer station batch inputs mandatory data values, and sends the mandatory data values ​​and the executable program to the running program data entry of the control station / transmission station through the communication module;

[0080] According to the mandatory data value inputted into the running program data entry, the control station / transmission station writes the mandatory data value into the mandatory storage area accordingly;

[0081] According to the executable program inputted by the running program data entry, the control station / transmission station runs the executable program, calls different assignment drivers according to the mandatory flag of the variable to be mandatory, and assigns a value to the variable to be mandatory as an output value;

[0082] The control station / transmission station feeds back the output value to the engineering station through the communication module, thereby realizing batch forcing of the variables to be forced.

[0083] The flow chart of variable forcing between the engineering station and the control station / transmission station is as follows: Figure 3 shown.

[0084] In this embodiment, the variables to be forced are variables in the variable configuration group except the intermediate variables to be forced;

[0085] The attributes of the intermediate variable to be forced include the intermediate variable name, the variable name to be forced, the data type (the data type includes analog type with quality bit, binary type with quality bit and enumeration type with quality bit) and the forced flag (kcg_bool);

[0086] The names of the intermediate variable name, the variable name to be forced and the forced flag are by default the same name with different suffixes; when modifying, only the intermediate variable name can be modified, and the names of the variable name to be forced and the forced flag will be automatically modified.

[0087] In this embodiment, the method also includes importing forced variable data, selecting a variable forcing scenario at a certain moment under a specified path, performing calculation extraction and data verification on the forced variable data under the variable forcing scenario, and loading the verified data into a display table.

[0088] In this embodiment, the variable data of the forced variable is set, and the variable data after setting is verified, and the variable data after data verification is updated to the monitoring table; wherein, the variable data after data verification is encrypted and packaged and then downloaded to the lower computer (i.e., the control station).

[0089] Specifically, data encryption is performed using the national secret algorithm SM4 for encrypted storage; the encrypted data is decrypted and judged during downloading, and the data is sent to the communication package after verification; the communication package is encrypted using the national secret algorithm SM2+openssl+SM3, and the lower computer decrypts and executes forced actions after receiving the data.

[0090] The above method of the present invention has been used in the engineer station software of the DCS platform of a nuclear power plant, and the specific implementation is as follows:

[0091] Figure 4 To start the variable forcing diagram, Figure 5 To select the variable to be forced, Figure 6 To set the variable data diagram, Figure 7 To save the mandatory scene diagram, Figure 8 A schematic diagram for loading a mandatory scene.

[0092] The present invention realizes the automatic setting function of the mandatory data of the engineer station maintenance module. Through this function, the user can quickly and effectively perform mandatory maintenance on the data in the system, can conveniently view the mandatory status of the data in the system, analyze the system, and can quickly record and load the mandatory scene at a certain moment in the system, which plays a role in debugging and locating problems, and meets the maintenance function of the nuclear power plant site staff during the power plant maintenance stage. It greatly saves the operating cost of the nuclear power plant and improves the reliability and convenience of the power plant system operation. The innovative points of the method of the present invention are:

[0093] 1. By using the data interaction between the engineer station and the control station / transmission station, the mandatory interface automatically displays the real mandatory data in the control station / transmission station instead of reading offline data from the local computer for display, thus ensuring the value of data availability;

[0094] 2. Introduce the MVC model into the software of the DCS system of nuclear power plants to make the software interface design of mandatory functions highly maintainable;

[0095] 3. Combined with the characteristics of the nuclear power plant DCS system, the deterministic mandatory data format is strictly defined to ensure the consistency of data in the entire design process;

[0096] 4. Adopt strict data filtering and detection mechanism, starting from the source of data, and ensuring the correctness of the mandatory data downloaded to the control station / transmission station from every link;

[0097] 5. The scene saving and loading technology is used in the variable forcing software of the DCS system of the nuclear power plant to provide fast forced scene recording and loading functions, improve the value of the software in the application of nuclear power plants, and greatly save the maintenance cost of the DCS system.

[0098] Example 2

[0099] like Figure 2 As shown, the difference between this embodiment and embodiment 1 is that this embodiment provides an automatic setting device based on DCS system mandatory data, and the device supports the automatic setting method based on DCS system mandatory data described in embodiment 1; the device includes:

[0100] The inter-station connection unit in the DCD system is used to obtain a signal for establishing a connection between the engineer station and the control station / transmission station, and to establish a connection between the background of the engineer station and the control station / transmission station according to the signal for establishing a connection;

[0101] The real-time data interaction and analysis verification unit is used for, after the connection is established, the control station / transmission station sends all data to the engineer station in real time, and the engineer station analyzes and verifies the received data to obtain the analyzed and verified data; and sends the analyzed and verified data to the front-end interface of the engineer station;

[0102] The variable forcing unit is used to obtain the user's variable forcing command, and according to the variable forcing command, the variable is forced, and the forced data is interacted with the control station / transmission station. The background of the engineer station sends the forced variables that the user is concerned about from all the data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time;

[0103] A variable data setting and verification unit, used for setting variable data for the mandatory variable, and performing data verification on the variable data after setting, and updating the variable data after data verification to the monitoring table;

[0104] The mandatory scene saving unit is used to save the variable mandatory scene set by the variable data setting and verification unit, and save the mandatory variable data at a certain moment by exporting the specified path.

[0105] The execution process of each unit can be performed according to the process steps of the automatic setting method based on the DCS system mandatory data described in Example 1, and will not be described in detail in this embodiment.

[0106] At the same time, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the automatic setting method based on DCS system mandatory data when executing the computer program.

[0107] At the same time, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the automatic setting method based on the forced data of the DCS system is implemented.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. The automatic setting method based on the forced data of the DCS system is characterized by: The method is applied to the engineer station of the DCS platform of a nuclear power plant to automatically set mandatory data; including: Acquire a signal for establishing a connection between the engineer station and the control station / transmission station, and establish a connection between the background of the engineer station and the control station / transmission station according to the signal for establishing a connection; After the connection is established, the control station / transmission station sends all data to the engineer station in real time. The engineer station parses and verifies the received data to obtain parsed and verified data; and sends the parsed and verified data to the front-end interface of the engineer station; Obtain the user's variable forcing command, perform variable forcing according to the variable forcing command, force data to interact with the control station / transmission station, and the background of the engineer station sends the forced variables that the user is concerned about from all data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time; Setting variable data for the mandatory variables, and performing data verification on the variable data after setting, and updating the variable data after data verification to the monitoring table; saving the above mandatory variable scenarios, and saving the mandatory variable data at a certain moment by exporting the specified path; Before establishing a connection between the background of the engineer station and the control station / transmission station, the engineer station adopts the MVC model, separates the engineer station interface and the engineer station data by rewriting the Qt model and view components, updates the data seen in the view component, and does not update the data that does not exist within the range of the view; The step of variable forcing includes: Obtaining a user's variable forcing command, selecting a variable range to be forced according to the variable forcing command, and writing data of the variable range to be forced into a data storage area; The compiling module of the engineering station compiles the data in the range of the variables to be forced and the operation logic thereof to generate an executable program; wherein the compiling process is to allocate a forced storage area for the variables to be forced; The mandatory module of the engineer station batch inputs mandatory data values, and sends the mandatory data values ​​and the executable program to the running program data entry of the control station / transmission station through the communication module; According to the mandatory data value inputted into the running program data entry, the control station / transmission station writes the mandatory data value into the mandatory storage area accordingly; According to the executable program inputted by the running program data entry, the control station / transmission station runs the executable program, calls different assignment drivers according to the mandatory flag of the variable to be mandatory, and assigns a value to the variable to be mandatory as an output value; The control station / transmission station feeds back the output value to the engineer station through the communication module, so as to realize batch forcing of the variables to be forced; The variables to be forced are variables in the variable configuration group except the intermediate variables to be forced; The attributes of the intermediate variable to be forced include the intermediate variable name, the variable name to be forced, the data type and the force flag; The names of the intermediate variable name, the variable name to be forced and the forced flag are by default the same name with different suffixes; when modifying, only the intermediate variable name can be modified, and the names of the variable name to be forced and the forced flag will be automatically modified.

2. The automatic setting method based on DCS system mandatory data according to claim 1 is characterized in that: A connection is established between the background of the engineer station and the control station / transmission station according to the signal for establishing the connection. If the connection is abnormal, a window pops up to prompt an error message.

3. The automatic setting method based on DCS system mandatory data according to claim 1 is characterized in that: The engineer station interface is reflected by the interface display end, and the engineer station data is reflected by the data processing end, and the two ends do not interfere with each other; the interface display end is responsible for displaying data on the engineer station interface and completing all data and user interaction operations; the data processing end is responsible for data parsing, storage, analysis and instruction distribution data processing operations.

4. The automatic setting method based on DCS system mandatory data according to claim 1 is characterized in that: The analysis verification includes: Check whether the first four bytes in the data packet header are consistent with the preset letters; Check whether the cyclic redundancy calculation value CRC of the actual content after data parsing is consistent with the cyclic redundancy check value CRC in the data; Check whether the data content length is consistent with the record length in the data packet header; Check whether the station number and station type recorded in the data are consistent with the station number and station type of the current station.

5. The automatic setting method based on DCS system mandatory data according to claim 1 is characterized in that: The method also includes importing forced variable data, selecting a variable force scenario at a certain moment under a specified path, performing calculation extraction and data verification on the forced variable data under the variable force scenario, and loading the verified data into a monitoring table.

6. The automatic setting device based on the forced data of the DCS system is characterized by: The device supports the automatic setting method based on DCS system mandatory data as described in any one of claims 1 to 5; the device includes: The inter-station connection unit in the DCD system is used to obtain a signal for establishing a connection between the engineer station and the control station / transmission station, and to establish a connection between the background of the engineer station and the control station / transmission station according to the signal for establishing a connection; The real-time data interaction and analysis verification unit is used for, after the connection is established, the control station / transmission station sends all data to the engineer station in real time, and the engineer station analyzes and verifies the received data to obtain the analyzed and verified data; and sends the analyzed and verified data to the front-end interface of the engineer station; The variable forcing unit is used to obtain the user's variable forcing command, and according to the variable forcing command, the variable is forced, and the forced data is interacted with the control station / transmission station. The background of the engineer station sends the forced variables that the user is concerned about from all the data to the front-end interface of the engineer station; the front-end of the engineer station updates the received data to the monitoring table in real time; A variable data setting and verification unit, used for setting variable data for the mandatory variable, and performing data verification on the variable data after setting, and updating the variable data after data verification to the monitoring table; The mandatory scene saving unit is used to save the variable mandatory scene set by the variable data setting and verification unit, and save the mandatory variable data at a certain moment by exporting the specified path.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the automatic setting method based on DCS system mandatory data according to any one of claims 1 to 5 is implemented.