Method and device for automatically generating graphic configuration for safety-level DCS system of nuclear power plant

Through the automated automatic graphic configuration generation method, the problem of low manual configuration of graphics configuration in nuclear power DCS systems is solved, efficient and accurate graphic configuration generation is achieved, and manual errors are reduced.

CN114201158BActive Publication Date: 2025-03-25CHINA TECHENERGY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111503144.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-09
Publication Date
2025-03-25
Estimated Expiration
2041-12-09

AI Technical Summary

Technical Problem

In the prior art, graphical configurations require manual configuration and inspection in nuclear power DCS systems, resulting in low configuration efficiency and inspection efficiency, and prone to human errors.

Method used

A method for automatic generation of graph configuration for safety-level DCS systems in nuclear power plants is proposed. By obtaining graph configuration table files based on configuration database, combining, compiling and correcting with graph configuration screens, the graph configuration screens that meet design requirements are automatically generated.

Benefits of technology

It effectively improves the graphics configuration efficiency of the nuclear power DCS system, improves the configuration accuracy, and reduces the occurrence of manual errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114201158B_ABST
    Figure CN114201158B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for automatically generating a graphic configuration of a safety-level DCS system of a nuclear power plant, wherein the method comprises: obtaining a graphic configuration table file determined based on a configuration database; combining the graphic configuration table file with a graphic configuration screen to generate a graphic configuration screen file; compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file; and correcting the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file until the graphic configuration export file and the graphic configuration table file are consistent, thereby determining that the graphic configuration operation of the safety-level DCS system of the nuclear power plant is completed, being able to automatically generate the graphic configuration of the safety-level DCS system of the nuclear power plant, effectively improving the graphic configuration efficiency of the nuclear power DCS system, and improving the configuration accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital instrumentation and control systems, and in particular to a method and device for automatically generating graphic configurations for a safety-level DCS system of a nuclear power plant. Background Art

[0002] Graphic configuration is to use graphic configuration software, also known as configuration monitoring system software SCADA (Supervisory Control And Data Acquisition, data acquisition and monitoring control system), to configure the configuration logic, and to build various graphic screens and system monitoring functions corresponding to the site through flexible configuration. It is fundamentally to configure the objects to be monitored in the nuclear power DCS system through human-computer interaction. When the graphic configuration is in operation, it can reflect the status of each monitored object in real time through the configuration logic diagram.

[0003] The field objects that need to be configured by graphic configuration are complex and diverse, and the data interaction methods with the objects also vary greatly. However, in related technologies, they can only be configured and checked manually. Due to the cumbersome configuration and inspection content, the configuration efficiency and inspection efficiency are low, and it is difficult to avoid human errors. Summary of the invention

[0004] The purpose of this application is to solve one of the above-mentioned technical problems at least to a certain extent.

[0005] To this end, the first purpose of this application is to propose a method for automatically generating graphic configuration for a nuclear power plant safety-level DCS system, which can automatically generate graphic configuration for a nuclear power plant safety-level DCS system, effectively improve the graphic configuration efficiency of the nuclear power DCS system, and improve the configuration accuracy.

[0006] The second objective of the present application is to provide a device for automatically generating graphic configuration for a safety-level DCS system of a nuclear power plant.

[0007] The third objective of the present application is to provide a computer device.

[0008] A fourth object of the present application is to provide a non-transitory computer-readable storage medium.

[0009] In order to achieve the above-mentioned purpose, the first embodiment of the present application proposes a method for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant, comprising:

[0010] Obtaining a graphic configuration table file determined based on a configuration database;

[0011] Combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file;

[0012] Compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file;

[0013] According to the graphic configuration export file and the graphic configuration table file, the graphic configuration screen file is modified until the graphic configuration export file and the graphic configuration table file are consistent, and it is determined that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed.

[0014] Optionally, the graphic configuration screen includes a system menu screen, a device menu screen and a device operation screen, and the graphic configuration table file is combined with the graphic configuration screen to generate a graphic configuration screen file, including:

[0015] Identify the screen type corresponding to the graphic configuration table file, and respectively determine a system menu table file for generating the system menu screen, a device menu table file for generating the device menu screen, and a device operation table file for generating the device operation screen;

[0016] The system menu table file is combined with the system menu screen to obtain a system menu screen file, the device menu table file is combined with the device menu screen to obtain a device menu screen file, and the device operation table file is combined with the device operation screen to obtain a device operation screen file.

[0017] Optionally, the combining the system menu table file with the system menu screen to obtain a system menu screen file includes:

[0018] Identify the menu level corresponding to the system menu screen;

[0019] Splitting the system menu table file content into system menu sub-table files corresponding to each of the menu levels;

[0020] The system menu sub-table file is combined with the system menu screen of the corresponding menu level to obtain the system menu sub-screen file of each menu level.

[0021] Optionally, the combining the device menu table file with the device menu screen to obtain a device menu screen file includes:

[0022] Identify the menu level corresponding to the device menu table file;

[0023] Splitting the device menu table file content into device menu sub-table files corresponding to each of the menu levels;

[0024] The device menu sub-table file is combined with the device menu screen of the corresponding menu level to obtain the device menu sub-screen file of each menu level.

[0025] Optionally, the method further includes:

[0026] Obtaining a platform characteristic configuration table for configuring the device operation screen;

[0027] The combining the device operation table file with the device operation screen to obtain a device operation screen file includes:

[0028] Splitting the device operation table file into an analog hand operator table file, a switch quantity hand operator table file and a digital hand operator table file;

[0029] Splitting the platform characteristic configuration table into an analog hand operator configuration table, a switch hand operator configuration table and a digital hand operator configuration table;

[0030] The analog hand operator table file, the analog hand operator configuration table and the analog hand operator screen are combined to obtain an analog hand operator screen file, the switch quantity hand operator table file, the switch quantity hand operator configuration table and the switch quantity hand operator screen are combined to obtain a switch quantity hand operator screen file, and the digital hand operator table file, the digital hand operator configuration table and the digital hand operator screen are combined to obtain a digital hand operator screen file.

[0031] Optionally, the step of modifying the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file comprises:

[0032] When the graphic configuration export file is inconsistent with the graphic configuration table file, a graphic configuration screen file is regenerated according to the graphic configuration table file.

[0033] Optionally, the graphic configuration table file includes the size, position and identification information of each graphic in the graphic screen.

[0034] The method for automatically generating graphic configuration for a nuclear power plant safety-level DCS system proposed in the embodiment of the present application can automatically generate a graphic configuration screen according to design requirements, and can correct anomalies in the automatically generated graphic configuration screen, so that the final graphic configuration screen meets the design requirements, effectively improves the graphic configuration efficiency of the nuclear power safety-level DCS system, and improves the accuracy of the graphic configuration.

[0035] In order to achieve the above-mentioned purpose, the second embodiment of the present application proposes a device for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant, comprising:

[0036] An acquisition module is used to acquire a graphic configuration table file determined based on a configuration database;

[0037] A combination module, used for combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file;

[0038] A compiling module, used for compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file;

[0039] The comparison module is used to modify the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file until the graphic configuration export file and the graphic configuration table file are consistent, thereby determining that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed.

[0040] Optionally, the graphic configuration screen includes a system menu screen, a device menu screen and a device operation screen, and the combination module is used to:

[0041] Identify the screen type corresponding to the graphic configuration table file, and respectively determine a system menu table file for generating the system menu screen, a device menu table file for generating the device menu screen, and a device operation table file for generating the device operation screen;

[0042] The system menu table file is combined with the system menu screen to obtain a system menu screen file, the device menu table file is combined with the device menu screen to obtain a device menu screen file, and the device operation table file is combined with the device operation screen to obtain a device operation screen file.

[0043] Optionally, the combined module is used to:

[0044] Identify the menu level corresponding to the system menu screen;

[0045] Splitting the system menu table file content into system menu sub-table files corresponding to each of the menu levels;

[0046] The system menu sub-table file is combined with the system menu screen of the corresponding menu level to obtain the system menu sub-screen file of each menu level.

[0047] Optionally, the combined module is used to:

[0048] Identify the menu level corresponding to the device menu table file;

[0049] Splitting the device menu table file content into device menu sub-table files corresponding to each of the menu levels;

[0050] The device menu sub-table file is combined with the device menu screen of the corresponding menu level to obtain the device menu sub-screen file of each menu level.

[0051] Optionally, the acquisition module is further used to:

[0052] Obtaining a platform characteristic configuration table for configuring the device operation screen;

[0053] The combined module is also used for:

[0054] Splitting the device operation table file into an analog hand operator table file, a switch quantity hand operator table file and a digital hand operator table file;

[0055] Splitting the platform characteristic configuration table into an analog hand operator configuration table, a switch hand operator configuration table and a digital hand operator configuration table;

[0056] The analog hand operator table file, the analog hand operator configuration table and the analog hand operator screen are combined to obtain an analog hand operator screen file, the switch quantity hand operator table file, the switch quantity hand operator configuration table and the switch quantity hand operator screen are combined to obtain a switch quantity hand operator screen file, and the digital hand operator table file, the digital hand operator configuration table and the digital hand operator screen are combined to obtain a digital hand operator screen file.

[0057] Optionally, the comparison module is used to:

[0058] When the graphic configuration export file is inconsistent with the graphic configuration table file, a graphic configuration screen file is regenerated according to the graphic configuration table file.

[0059] The graphic configuration automatic generation device for a nuclear power plant safety-level DCS system proposed in the embodiment of the present application can automatically generate a graphic configuration screen according to design requirements, and can correct anomalies in the automatically generated graphic configuration screen, so that the final graphic configuration screen meets the design requirements, effectively improves the graphic configuration efficiency of the nuclear power safety-level DCS system, and improves the accuracy of the graphic configuration.

[0060] In order to achieve the above-mentioned objectives, the third aspect embodiment of the present application proposes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method described in the first aspect embodiment is implemented.

[0061] In order to achieve the above-mentioned objectives, the fourth aspect embodiment of the present application also proposes a non-temporary computer-readable storage medium, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the method described in the first aspect embodiment is implemented.

[0062] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0064] Figure 1 It is a flow chart of a method for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant according to an embodiment of the present application;

[0065] Figure 2 It is a schematic diagram of the principle of a method for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant according to an embodiment of the present application;

[0066] Figure 3 This is a schematic diagram of a system menu screen of a specific embodiment of the present application;

[0067] Figure 4 This is a schematic diagram of a device menu screen of a specific embodiment of the present application;

[0068] Figure 5 This is a schematic diagram of a device operation screen of a specific embodiment of the present application;

[0069] Figure 6 This is a schematic diagram of a system menu table file of a specific embodiment of the present application;

[0070] Figure 7 This is a schematic diagram of a device menu table file of a specific embodiment of the present application;

[0071] Figure 8 This is a schematic diagram of a device operation table file of a specific embodiment of the present application;

[0072] Fig. 9 It is a schematic diagram of importing a graphic configuration table file of a specific embodiment of the present application;

[0073] Fig.10 is based on Fig. 9 Schematic diagram of the pop-up path editing interactive interface;

[0074] Fig.11It is a list of graphic configuration export files of a specific embodiment of the present application.

[0075] Fig.12 It is a schematic diagram of an interactive interface for selecting a graphic configuration export file and a graphic configuration table file in a specific embodiment of the present application;

[0076] Fig.13 It is a schematic diagram of the comparison result between a graphic configuration export file and a graphic configuration table file of a specific embodiment of the present application;

[0077] Fig.14 is a flow chart of a method for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant according to another embodiment of the present application;

[0078] Fig.15 It is a structural schematic diagram of a device for automatically generating graphic configuration for a safety-level DCS system of a nuclear power plant according to an embodiment of the present application. DETAILED DESCRIPTION

[0079] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0080] The present application is further described in detail below in conjunction with specific embodiments. These embodiments should not be construed as limiting the scope of protection claimed in the present application.

[0081] The safety-level DCS graphic configuration of nuclear power plants is an important interactive means for operators to obtain information about monitored objects, monitor system operating conditions, and control system operating modes in nuclear power plant monitoring systems. In related technologies, the data acquisition and monitoring control systems SCADA used are mostly general products that cannot meet the high safety and special requirements of the nuclear power industry.

[0082] Specifically, the image objects that constitute the on-site process in the graphic configuration can be divided into three types of simple objects: lines, graphics and texts. Each simple object has attributes that affect its appearance, such as line color, height, width, orientation, position movement, etc. The lines, graphics and texts in the screen are manually configured through the corresponding property windows. The data acquisition and supervisory control system SCADA then translates the content of the graphic configuration into files required for the operation of the safety display device, which includes the screen information required by the operation station.

[0083] Configuration personnel need to manually configure the position and attributes of each screen and each graphic element. The configuration process is complicated and needs to be completed manually. The correctness of the configuration content cannot be guaranteed and needs to be manually reviewed, resulting in a cumbersome configuration process, low configuration efficiency, and many errors caused by manual errors. In particular, the same variables need to be set repeatedly in different screens of the nuclear power plant safety-level DCS system, which further increases the complexity of the configuration and leads to low configuration efficiency.

[0084] For example, a single unit of a certain project has about 10,000 graphic configuration screens, with more than 330 man-hours per day, and human errors accounting for more than 70%. Therefore, the efficiency problem of graphic configuration needs to be solved urgently.

[0085] Based on this, the present application proposes a method and device for automatically generating graphic configuration of a safety-level DCS system for a nuclear power plant, which can automatically generate graphic configuration of a safety-level DCS system for a nuclear power plant, effectively improve the graphic configuration efficiency of the nuclear power DCS system, and improve the configuration accuracy.

[0086] The method and apparatus of the embodiments of the present application are described below with reference to the accompanying drawings.

[0087] Figure 1 FIG. 1 is a flowchart of a method for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant according to an embodiment of the present application. Figure 1-Figure 14 As shown, the method comprises the following steps:

[0088] S1, obtain a graphic configuration table file determined based on a configuration database.

[0089] It should be noted that the configuration database data can be written by the nuclear power plant safety-level DCS system designer, that is, when designing the nuclear power safety-level DCS system, the designer inputs the scale and specific type of the equipment into the configuration database according to the design requirements. Among them, the configuration database is a storage device that stores configuration setting data.

[0090] The contents recorded in the configuration database can be exported in the form of table text to obtain a graphic configuration table file. Optionally, the designer can directly use a table to write the configuration setting data for storage in the configuration database, and the table configured by the designer is the graphic configuration table file.

[0091] In one or more embodiments, the graphic configuration table file includes the size, position and identification information of each graphic in the graphic screen, wherein the identification information includes but is not limited to the name identification and the position identification of the jump connection.

[0092] S2, combines the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file.

[0093] It should be noted that the safety-level DCS graphic configuration of a nuclear power plant mainly provides an interface for the Level 1 layer (instrumentation and control interface layer) of the safety-level DCS system to realize the control and monitoring functions of the safety-level equipment. The specific screen types are divided into: initial screen, system menu screen, device menu screen, device operation screen, system status screen, and screen cleaning screen, etc. Among them, the initial screen, system status screen, and screen cleaning screen are all single-frame screens, and generally do not require adjustment after the solidified design, while the system menu screen, device menu screen, and device operation screen usually need to determine the scale and specific type of the controlled equipment according to the design requirements. Therefore, in an embodiment of the present application, the system menu screen, device menu screen, and device operation screen can be combined with a graphic configuration table file in order to generate a graphic configuration screen file that meets the design requirements.

[0094] For example, Figure 3 This is a specific embodiment of the system menu screen of the present application. The system menu screen generally includes a fixed page up button, a page down button, a screen cleaning jump button, a system status jump button, and a menu button that needs to be configured. Figure 3 In the corresponding embodiment, the system menu screen contains 25 system menu buttons in 5 columns and 7 rows. Each button can open a device menu screen. When the graphic configuration table file is combined with the graphic configuration screen, each system menu button can be set according to the button name, size and position recorded in the graphic configuration table file. The set system menu button can jump to the device menu screen linked to the button when triggered.

[0095] Figure 4 This is a specific embodiment of the menu screen of the device of this application, wherein: Figure 4 Reason Figure 3 The device menu screen that is triggered by a certain system menu button in the device menu screen. The device menu screen usually includes a fixed button for returning to the upper system menu screen, a page up button, a page down button, a screen cleaning jump button, a system status jump button, and a device menu button that needs to be configured. Figure 4 In the corresponding embodiment, the device menu screen contains 15 device menu buttons in 3 columns and 5 rows. Each device menu button can open a device operation screen. When the graphic configuration table file is combined with the graphic configuration screen, each system menu button can be set according to the button name, size and position recorded in the graphic configuration table file. The set device menu button can jump to the device operation screen connected to the button when triggered.

[0096] Figure 5 This is a specific embodiment of the device operation screen of this application, wherein: Figure 5 Reason Figure 4The device operation screen corresponding to the simulated handheld operator that is triggered by a certain device operation button in the simulation. The device operation screen corresponding to the simulated handheld operator usually includes a fixed button for returning to the top-level system menu screen, a button for returning to the previous device menu screen, a page up button, a page down button, a screen cleaning jump button, system status, and device operation buttons that need to be configured, including but not limited to the screen name identification of the device operation screen, variable information associated with each button label text or icon device status, and text and background color information after the variables associated with AUTO (automatic) and MANU (manual button).

[0097] S3, compile and export the graphic configuration screen file to obtain a graphic configuration export file.

[0098] It should be understood that the screen combined by the graphic configuration file is a user interaction interface that matches the equipment scale and type of the design requirements, and the interface is used to show the operator the graphic configuration effect automatically generated based on the configuration database set by the designer. Therefore, if the scale and type of the equipment in the graphic configuration screen file are directly verified, the designer needs to manually verify each screen, which is time-consuming and laborious. Therefore, the present application exports the graphic configuration screen file by compiling the graphic configuration screen file to obtain a graphic configuration export file, and then effectively verifies the graphic configuration screen by comparing the graphic configuration export file with the graphic configuration table file.

[0099] S4, according to the graphic configuration export file and the graphic configuration table file, the graphic configuration screen file is modified until the graphic configuration export file and the graphic configuration table file are consistent, and it is determined that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed.

[0100] Specifically, when automatically generating graphic configuration for the safety-level DCS system of a nuclear power plant, the designer inputs the scale and specific type of the equipment into the configuration database according to the design requirements, and then obtains the graphic configuration table file determined based on the configuration database by exporting or directly obtaining the graphic configuration table file, and combines the graphic configuration table file with the graphic configuration screen in the system in order to generate a graphic configuration screen file that meets the design requirements, and then compiles and exports the obtained graphic configuration screen file to obtain the graphic configuration export file corresponding to the actual graphic configuration screen, and compares the exported graphic configuration export file with the graphic configuration table file used for combination. If the graphic configuration export file and the graphic configuration table file are If the contents are consistent, it means that the automatically generated graphic configuration screen is correct and meets the design requirements. If the graphic configuration export file and the graphic configuration table file are inconsistent, it means that there is an error in the automatic generation and correction is required. At this time, the graphic configuration screen file is regenerated according to the graphic configuration table file in order to correct the graphic configuration screen. The correction operation is performed cyclically until the contents of the graphic configuration export file and the graphic configuration table file are consistent, and it is determined that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed, or the number of corrections reaches a preset number, for example 5 times, an automatic graphic configuration exception reminder is issued to remind designers to correct the design content that cannot be automatically generated and to handle the exceptions that cannot be automatically generated.

[0101] Therefore, the method for automatically generating graphic configuration for a nuclear power plant safety-level DCS system proposed in the embodiment of the present application can automatically generate a graphic configuration screen according to design requirements, and can correct anomalies in the automatically generated graphic configuration screen, so that the final graphic configuration screen meets the design requirements, effectively improves the graphic configuration efficiency of the nuclear power safety-level DCS system, and improves the accuracy of the graphic configuration.

[0102] Furthermore, since the graphic configuration screen includes the system menu screen, the device menu screen and the device operation screen, the graphic configuration table file is combined with the graphic configuration screen to generate a graphic configuration screen file, including: identifying the screen type corresponding to the graphic configuration table file, respectively determining the system menu table file for generating the system menu screen, the device menu table file for generating the device menu screen and the device operation table file for generating the device operation screen, combining the system menu table file with the system menu screen to obtain the system menu screen file, combining the device menu table file with the device menu screen to obtain the device menu screen file, and combining the device operation table file with the device operation screen to obtain the device operation screen file.

[0103] That is to say, since the graphic configuration screen includes multiple types, in order to be able to automatically generate the graphic configuration screen better, the graphic configuration table file can be first identified by type, and the graphic configuration table file exported from the configuration database can be divided into multiple sub-files corresponding to multiple screens according to the type, so that each screen can automatically generate a graphic screen based on the graphic configuration table file that matches its content.

[0104] Optionally, when exporting the graphic configuration table file from the configuration database, multiple graphic configuration table files are divided according to the content of the stored configuration data or the type corresponding to the content, for example Figure 6-Figure 8 As shown, the configuration data is divided into a system menu table file corresponding to the system menu screen, a device menu table file corresponding to the device menu screen, and a device operation screen table file corresponding to the device operation screen according to the content of the configuration data or the type (label) corresponding to the content.

[0105] In one or more embodiments, the system menu table file is combined with the system menu screen to obtain the system menu screen file, including: identifying the menu level corresponding to the system menu screen; splitting the content of the system menu table file into system menu sub-table files corresponding to each menu level; combining the system menu sub-table file with the system menu screen of the corresponding menu level to obtain the system menu sub-screen file of each menu level.

[0106] It should be noted that the method for automatically generating graphic configurations for a safety-level DCS system for a nuclear power plant according to an embodiment of the present application can be applied to complex systems with multi-level system menus, thereby effectively improving the universality of the method for automatically generating graphic configurations for a safety-level DCS system for a nuclear power plant.

[0107] Specifically, when combining the system menu table file with the system menu screen to obtain the system menu screen file, it is necessary to first generate at least one system menu initial screen corresponding to the system menu level according to the system menu level recorded in the system menu table file, and then combine the system menu table file corresponding to each level with the system menu initial screen according to the system menu level to obtain the system menu sub-screen file for each menu level.

[0108] In one or more embodiments, a device menu table file is combined with a device menu screen to obtain a device menu screen file, including: identifying the menu level corresponding to the device menu table file; splitting the content of the device menu table file into device menu sub-table files corresponding to each menu level; combining the device menu sub-table file with the device menu screen of the corresponding menu level to obtain a device menu sub-screen file for each menu level.

[0109] It should be noted that the method for automatically generating graphic configurations for a safety-level DCS system for a nuclear power plant according to an embodiment of the present application can be applied to complex systems with multi-level device menus, thereby effectively improving the universality of the method for automatically generating graphic configurations for a safety-level DCS system for a nuclear power plant.

[0110] Specifically, when combining the device menu table file with the device menu screen to obtain the device menu screen file, it is necessary to first generate at least one device menu initial screen corresponding to the device menu level according to the device menu level recorded in the device menu table file, and then combine the device menu table file corresponding to each level with the device menu initial screen according to the device menu level to obtain the device menu sub-screen file of each menu level.

[0111] In one or more embodiments, the method also includes: obtaining a platform characteristic configuration table for configuring the device operation screen; combining the device operation table file with the device operation screen to obtain the device operation screen file, including: splitting the device operation table file into an analog hand operator table file, a switch hand operator table file and a digital hand operator table file; splitting the platform characteristic configuration table into an analog hand operator configuration table, a switch hand operator configuration table and a digital hand operator configuration table; combining the analog hand operator table file and the analog hand operator configuration table with the analog hand operator screen to obtain an analog hand operator screen file, combining the switch hand operator table file and the switch hand operator configuration table with the switch hand operator screen to obtain a switch hand operator screen file, and combining the digital hand operator table file and the digital hand operator configuration table with the digital hand operator screen to obtain a digital hand operator screen file.

[0112] It should be noted that, unlike the menu screen (including the system menu screen and the device menu screen), the device operation screen, based on the complexity of its screen, in addition to obtaining the graphic configuration table file from the configuration database, also needs to obtain the platform characteristic configuration table for configuring the device operation screen from the system, and then combine the device operation screen according to the graphic configuration table file and the platform characteristic configuration table to obtain the device operation screen file.

[0113] Specifically, the graphic configuration table file and the platform characteristic configuration table are split according to the type of device operation screen, i.e., analog hand operator, switch hand operator and digital hand operator, to obtain analog hand operator table file, switch hand operator table file and digital hand operator table file as well as analog hand operator configuration table, switch hand operator configuration table and digital hand operator configuration table; then the analog hand operator table file and the analog hand operator configuration table are combined with the analog hand operator screen to obtain the analog hand operator screen file; the switch hand operator table file and the switch hand operator configuration table are combined with the switch hand operator screen to obtain the switch hand operator screen file; the digital hand operator table file and the digital hand operator configuration table are combined with the digital hand operator screen to obtain the digital hand operator screen file, thereby obtaining the device operation screen of the entire system.

[0114] Furthermore, before combining the graphic configuration table file with the graphic configuration screen, the graphic configuration table file needs to be imported into the graphic configuration automatic generation system. Fig. 9 As shown in the figure, you can import the graphic configuration table file into the system according to the "Import Database" function in the right-click menu to combine the graphic configuration screen. After selecting the "Import Database" function, the following pop-up window will appear: Fig.10 In the import database page shown, the designer can set the import database path through the dialog box to import the graphic configuration table file determined based on the configuration database into the system, where the platform configuration table is in the same path by default.

[0115] Further, in the embodiment of the present application, the graphic configuration export file can be an XML format file, for example, in a specific embodiment, by compiling and exporting Fig.11 A list of graphic configuration export files is shown.

[0116] Furthermore, before modifying the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file, Fig.12 The interface shown is used to select the file to be compared, that is, in the embodiment of the present application, the graphic configuration export file and the graphic configuration table file to be compared and modified can be selected. For example, the system menu screen, the device menu screen and the device operation screen can be compared in sequence, etc., thereby speeding up the comparison efficiency and facilitating the designer to modify the abnormal content in a local and unified manner. Among them, Fig.13 A schematic diagram of the comparison results between a graphic configuration export file and a graphic configuration table file according to an embodiment of the present application is given.

[0117] As a specific example, Fig.14As shown, after the screen configuration begins, the configuration database and dynamic attribute configuration table written by the nuclear power plant safety-level DCS system designer are obtained, and then each graphic configuration screen interface combines the graphic configuration table file with the graphic configuration screen according to the graphic configuration function executed by itself. For example, a new graphic configuration interface is created to determine whether a new graphic screen is needed. If so, the initial screen, system status screen, screen cleaning screen and screen test screen are generated at the same time. If not, no action is taken or the interface is used to determine the file in the configuration database, wherein the next interface of the new graphic configuration interface is the system menu screen interface. Among them, the initial screen, system status screen, screen cleaning screen and screen test screen are all screens with fixed content. After the initial screen, system status screen, screen cleaning screen and screen test screen are generated, the graphic configuration screen file of each graphic configuration screen is generated accordingly.

[0118] The system menu screen interface determines whether to establish a system menu screen according to the system menu table file in the configuration database table. If yes, the system menu table file is imported. If no, no action is taken or the next interface determines the file in the configuration database. The next interface component of the system menu screen interface is the device menu screen interface. After importing the system menu table file, it further determines whether it is a multi-system menu according to the system menu table file. If yes, a multi-system menu screen is generated. If not, a single system menu screen is generated. Then, the multi-system menu screen and the single system menu screen are respectively combined with the system menu table file to generate the graphic configuration screen file corresponding to the system menu screen.

[0119] The device menu screen interface determines whether to establish a device menu screen according to the device menu table file in the configuration database. If yes, the device menu table file is imported. If no, no action is taken or the next interface determines the file in the configuration database. The next interface component of the device menu screen interface is the device control page interface. After importing the device menu table file, it further determines whether it is a multi-device menu according to the device menu table file. If yes, a multi-device menu page is generated. If not, a single-device menu screen is generated. Then, the multi-device menu screen and the single-device menu screen are respectively combined with the device menu table file to generate the graphic configuration screen file corresponding to the device menu screen.

[0120] The device operation screen interface determines whether to establish the device operation screen according to the device operation screen table file in the configuration database and the dynamic attribute configuration table. If yes, the device operation screen table file is imported. If not, no action is taken. After importing the device operation screen table file, the analog hand operator screen, the switch hand operator screen and the digital hand operator screen are generated respectively. Then, the generated analog hand operator screen, the switch hand operator screen and the digital hand operator screen are combined with the device operation screen table file in the configuration database and the dynamic attribute configuration table respectively to generate the graphic configuration screen file corresponding to the device operation screen.

[0121] Finally, the graphic configuration screen files are exported separately to obtain graphic configuration export files, and the graphic configuration export files are compared with the graphic configuration table files to determine whether the graphic configuration export files are inconsistent with the graphic configuration table files. If they are consistent, the screen configuration is completed. If they are inconsistent, return to reconfigure according to the configuration database and dynamic attribute configuration table.

[0122] In summary, the method for automatically generating graphic configuration for a nuclear power plant safety-level DCS system proposed in the embodiment of the present application can automatically generate a graphic configuration screen according to design requirements, and can correct anomalies in the automatically generated graphic configuration screen, so that the final graphic configuration screen meets the design requirements, effectively improves the graphic configuration efficiency of the nuclear power safety-level DCS system, and improves the accuracy of the graphic configuration.

[0123] In order to implement the above-mentioned embodiment, the present application also proposes a device for automatically generating a graphic configuration for a safety-level DCS system of a nuclear power plant.

[0124] Fig.15 It is a structural schematic diagram of a device for automatically generating graphic configuration for a safety-level DCS system of a nuclear power plant according to an embodiment of the present application.

[0125] like Fig.15 As shown, a graphic configuration automatic generation device 10 for a safety-level DCS system of a nuclear power plant comprises:

[0126] An acquisition module 11 is used to acquire a graphic configuration table file determined based on a configuration database;

[0127] A combination module 12, used for combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file;

[0128] Compilation module 13, used for compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file;

[0129] The comparison module 14 is used to modify the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file until the graphic configuration export file and the graphic configuration table file are consistent, and determine that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed.

[0130] Optionally, the graphic configuration screen includes a system menu screen, a device menu screen and a device operation screen, and the combination module 12 is used to:

[0131] Identify the screen type corresponding to the graphic configuration table file, and respectively determine the system menu table file for generating the system menu screen, the device menu table file for generating the device menu screen, and the device operation table file for generating the device operation screen;

[0132] The system menu table file is combined with the system menu screen to obtain the system menu screen file, the device menu table file is combined with the device menu screen to obtain the device menu screen file, and the device operation table file is combined with the device operation screen to obtain the device operation screen file.

[0133] Optionally, the combined module 12 is used to:

[0134] Identify the menu level corresponding to the system menu screen;

[0135] Split the system menu table file content into system menu sub-table files corresponding to each menu level;

[0136] The system menu sub-table file is combined with the system menu screen of the corresponding menu level to obtain the system menu sub-screen file of each menu level.

[0137] Optionally, the combined module 12 is used to:

[0138] Identify the menu level corresponding to the device menu table file;

[0139] Split the device menu table file content into device menu sub-table files corresponding to each menu level;

[0140] The device menu sub-table file is combined with the device menu screen of the corresponding menu level to obtain the device menu sub-screen file of each menu level.

[0141] Optionally, the acquisition module 11 is further used for:

[0142] Get the platform feature configuration table for configuring the device operation screen;

[0143] The combined module 12 is further used for:

[0144] Split the equipment operation table file into an analog hand operator table file, a switch hand operator table file and a digital hand operator table file;

[0145] The platform feature configuration table is divided into the analog hand operator configuration table, the switch hand operator configuration table and the digital hand operator configuration table;

[0146] Combine the analog hand operator table file, the analog hand operator configuration table and the analog hand operator screen to obtain the analog hand operator screen file, combine the switch quantity hand operator table file, the switch quantity hand operator configuration table and the switch quantity hand operator screen to obtain the switch quantity hand operator screen file, and combine the digital hand operator table file, the digital hand operator configuration table and the digital hand operator screen to obtain the digital hand operator screen file.

[0147] Optionally, the comparison module 14 is used to:

[0148] When the graphic configuration export file and the graphic configuration table file are inconsistent, the graphic configuration screen file is regenerated according to the graphic configuration table file.

[0149] The graphic configuration automatic generation device for a nuclear power plant safety-level DCS system proposed in the embodiment of the present application can automatically generate a graphic configuration screen according to design requirements, and can correct anomalies in the automatically generated graphic configuration screen, so that the final graphic configuration screen meets the design requirements, effectively improves the graphic configuration efficiency of the nuclear power safety-level DCS system, and improves the accuracy of the graphic configuration.

[0150] In order to implement the above embodiments, the present application also proposes a computer device.

[0151] The computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method of the first aspect embodiment is implemented.

[0152] In order to implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium.

[0153] The non-temporary computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the method of the first aspect embodiment is implemented.

[0154] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0155] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0156] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0157] It should be noted that, in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

Claims

1. A method for automatically generating graphic configuration for a safety-level DCS system of a nuclear power plant, characterized in that: The following steps are involved: Obtaining a graphic configuration table file determined based on a configuration database; Combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file; Compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file; According to the graphic configuration export file and the graphic configuration table file, the graphic configuration screen file is modified until the graphic configuration export file and the graphic configuration table file are consistent, and the graphic configuration operation of the nuclear power plant safety-level DCS system is determined to be completed; When designing a nuclear power safety-level DCS system, the scale and specific type of the equipment are input into a configuration database according to design requirements; the configuration database is a storage device for storing configuration setting data; Exporting the contents recorded in the configuration database in the form of a table text to obtain the graphic configuration table file; The graphic configuration screen includes a system menu screen, a device menu screen and a device operation screen. The system menu screen, the device menu screen and the device operation screen determine the scale and specific type of the controlled device according to the design requirements; The system menu screen, the device menu screen and the device operation screen are combined with the graphic configuration table file to generate a graphic configuration screen file that meets the design requirements.

2. The method according to claim 1, characterized in that The step of combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file comprises: Identify the screen type corresponding to the graphic configuration table file, and respectively determine a system menu table file for generating the system menu screen, a device menu table file for generating the device menu screen, and a device operation table file for generating the device operation screen; The system menu table file is combined with the system menu screen to obtain a system menu screen file, the device menu table file is combined with the device menu screen to obtain a device menu screen file, and the device operation table file is combined with the device operation screen to obtain a device operation screen file.

3. The method according to claim 2, characterized in that The step of combining the system menu table file with the system menu screen to obtain a system menu screen file includes: Identify the menu level corresponding to the system menu screen; Splitting the system menu table file content into system menu sub-table files corresponding to each of the menu levels; The system menu sub-table file is combined with the system menu screen of the corresponding menu level to obtain a system menu sub-screen file of each menu level.

4. The method according to claim 2, characterized in that: The step of combining the device menu table file with the device menu screen to obtain a device menu screen file includes: Identify the menu level corresponding to the device menu table file; Splitting the device menu table file content into device menu sub-table files corresponding to each of the menu levels; The device menu sub-table file is combined with the device menu screen of the corresponding menu level to obtain a device menu sub-screen file of each menu level.

5. The method according to claim 2, characterized in that: The method further comprises: Obtaining a platform characteristic configuration table for configuring the device operation screen; The combining the device operation table file with the device operation screen to obtain a device operation screen file includes: Splitting the device operation table file into an analog hand operator table file, a switch quantity hand operator table file and a digital hand operator table file; Splitting the platform characteristic configuration table into an analog hand operator configuration table, a switch hand operator configuration table and a digital hand operator configuration table; The analog hand operator table file, the analog hand operator configuration table and the analog hand operator screen are combined to obtain an analog hand operator screen file, the switch quantity hand operator table file, the switch quantity hand operator configuration table and the switch quantity hand operator screen are combined to obtain a switch quantity hand operator screen file, and the digital hand operator table file, the digital hand operator configuration table and the digital hand operator screen are combined to obtain a digital hand operator screen file.

6. The method according to claim 1, characterized in that The step of modifying the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file comprises: When the graphic configuration export file is inconsistent with the graphic configuration table file, a graphic configuration screen file is regenerated according to the graphic configuration table file.

7. The method according to any one of claims 1 to 6, characterized in that: The graphic configuration table file includes the size, position and identification information of each graphic in the graphic picture.

8. A device for automatically generating graphic configuration for a safety-level DCS system of a nuclear power plant, characterized in that: include: An acquisition module is used to acquire a graphic configuration table file determined based on a configuration database; A combination module, used for combining the graphic configuration table file with the graphic configuration screen to generate a graphic configuration screen file; A compiling module, used for compiling and exporting the graphic configuration screen file to obtain a graphic configuration export file; A comparison module, used for modifying the graphic configuration screen file according to the graphic configuration export file and the graphic configuration table file, until the graphic configuration export file and the graphic configuration table file are consistent, and determining that the graphic configuration operation of the nuclear power plant safety-level DCS system is completed; When designing a nuclear power safety-level DCS system, the scale and specific type of the equipment are input into a configuration database according to design requirements; the configuration database is a storage device for storing configuration setting data; Exporting the contents recorded in the configuration database in the form of a table text to obtain the graphic configuration table file; The graphic configuration screen includes a system menu screen, a device menu screen and a device operation screen. The system menu screen, the device menu screen and the device operation screen determine the scale and specific type of the controlled device according to the design requirements; The system menu screen, the device menu screen and the device operation screen are combined with the graphic configuration table file to generate a graphic configuration screen file that meets the design requirements.

9. The device according to claim 8, characterized in that The combined module is used for: Identify the screen type corresponding to the graphic configuration table file, and respectively determine a system menu table file for generating the system menu screen, a device menu table file for generating the device menu screen, and a device operation table file for generating the device operation screen; The system menu table file is combined with the system menu screen to obtain a system menu screen file, the device menu table file is combined with the device menu screen to obtain a device menu screen file, and the device operation table file is combined with the device operation screen to obtain a device operation screen file.

10. The device according to claim 9, characterized in that The combined module is used for: Identify the menu level corresponding to the system menu screen; Splitting the system menu table file content into system menu sub-table files corresponding to each of the menu levels; The system menu sub-table file is combined with the system menu screen of the corresponding menu level to obtain a system menu sub-screen file of each menu level.

11. The device according to claim 9, characterized in that The combined module is used for: Identify the menu level corresponding to the device menu table file; Splitting the device menu table file content into device menu sub-table files corresponding to each of the menu levels; The device menu sub-table file is combined with the device menu screen of the corresponding menu level to obtain a device menu sub-screen file of each menu level.

12. The device according to claim 9, characterized in that The acquisition module is further used for: Obtaining a platform characteristic configuration table for configuring the device operation screen; The combined module is also used for: Splitting the device operation table file into an analog hand operator table file, a switch quantity hand operator table file and a digital hand operator table file; Splitting the platform characteristic configuration table into an analog hand operator configuration table, a switch hand operator configuration table and a digital hand operator configuration table; The analog hand operator table file, the analog hand operator configuration table and the analog hand operator screen are combined to obtain an analog hand operator screen file, the switch quantity hand operator table file, the switch quantity hand operator configuration table and the switch quantity hand operator screen are combined to obtain a switch quantity hand operator screen file, and the digital hand operator table file, the digital hand operator configuration table and the digital hand operator screen are combined to obtain a digital hand operator screen file.

13. The device according to claim 8, characterized in that The comparison module is used for: When the graphic configuration export file is inconsistent with the graphic configuration table file, a graphic configuration screen file is regenerated according to the graphic configuration table file.

14. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Nuclear power DCS man-machine interface automatic generation method

    CN109933324A

  • Configuration file generation method and device, equipment and readable storage medium

    CN110989515A