CN115982121A - Method and device for generating nuclear power DCS safety control display device database - Google Patents

Method and device for generating nuclear power DCS safety control display device database Download PDF

Info

Publication number
CN115982121A
CN115982121A CN202211390898.9A CN202211390898A CN115982121A CN 115982121 A CN115982121 A CN 115982121A CN 202211390898 A CN202211390898 A CN 202211390898A CN 115982121 A CN115982121 A CN 115982121A
Authority
CN
China
Prior art keywords
display device
control display
input source
algorithm
device database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211390898.9A
Other languages
Chinese (zh)
Inventor
马聪
袁志胜
潘海波
邹国飞
杨文珍
孙仲华
王平
王志嘉
刘波
孙月亮
刘宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Techenergy Co Ltd
Original Assignee
China Techenergy Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Techenergy Co Ltd filed Critical China Techenergy Co Ltd
Priority to CN202211390898.9A priority Critical patent/CN115982121A/en
Publication of CN115982121A publication Critical patent/CN115982121A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method and a device for generating a nuclear power DCS safety control display device database, which comprises the steps of obtaining at least one of a plurality of input source files of different types, then carrying out matching analysis on the input source files of the various types based on a preset rule configuration table, and then generating the safety control display device database according to an analysis result. According to the nuclear power DCS safety control display device database generation method, the situation that the safety control display device database is complex and diverse in input source is fully considered, the generation process of the control display device database is simplified, automatic acquisition, matching and filling of a large amount of information in the input source are achieved efficiently, quickly and accurately, the efficiency of safety level picture design work in a nuclear power station protection system is improved, and high-quality data support is provided for generation of design pictures.

Description

Method and device for generating nuclear power DCS safety control display device database
Technical Field
The application relates to the technical field of nuclear power protection systems, in particular to a method and a device for generating a nuclear power DCS safety control display device database.
Background
The nuclear energy has the advantages of cleanness, stability, high utilization rate, abundant resources and the like, and is an important means for constructing a clean, low-carbon, safe and efficient energy system. However, safety of nuclear power plants is of great importance, since a nuclear power safety accident may cause serious damage to the surrounding environment. Among them, the nuclear power plant requires higher reliability in the function and performance of a Distributed Control System (DCS) for the nuclear power plant due to its particularity.
However, in the design process of the security level screen of the current nuclear power plant protection system, designers still need to browse the upstream design file, then manually fill in a database form, and then continuously add other related data based on the data of the form, so as to finally form a database form which can be used for creating the screen. However, the form is very complicated, and requires a lot of manpower and time to design, which reduces efficiency in the design work. And the database design uses many input sources, and requires manual data acquisition from various sources. Meanwhile, the matching rule is complex, and in the process of filling in data, a program cannot judge the corresponding relationship according to the position in the drawing, as shown in fig. 1, signals of a panel and an XDO in an FD drawing (functional diagram, which is a software logic diagram in a DCS system) have no direct connection relationship, the accuracy of data is ensured mainly according to personal experience, and the problem of human error occurs, thereby causing the generation error of a subsequent design picture.
Disclosure of Invention
The object of the present application is to solve at least to some extent one of the above mentioned technical problems.
Therefore, a first object of the present invention is to provide a method for generating a nuclear power DCS safety control display device database, which, by simplifying the generation process of the control display device database, realizes efficient, fast, accurate and automatic acquisition, matching and filling of information from complex and various input sources, avoids human errors, improves the efficiency of safety-level screen design work in a nuclear power plant protection system, and simultaneously guides designers to perform error checking analysis, check data, avoid the influence of human errors, and provide high-quality data support for generating design screens.
The second purpose of the application is to provide a nuclear power DCS safety control display device database generation device.
A third object of the present application is to provide an electronic device.
A fourth object of the present application is to propose a computer-readable storage medium.
In order to achieve the above object, an embodiment of the first aspect of the present application provides a method for generating a nuclear power DCS safety control display device database, including:
acquiring at least one of a plurality of different types of input source files;
performing matching analysis on various input source files based on a preset rule configuration table;
and generating a safety control display device database according to the analysis result.
Optionally, the types of the input source files include FD drawings, IO list files, set value lists, device icon lists, and operator instruction lists.
Optionally, performing matching analysis on multiple types of input source files based on a preset rule configuration table, including:
acquiring attribute information for controlling a display device in an input source file by using a script;
acquiring a corresponding rule row from a preset rule configuration table through an algorithm;
and matching the attribute information of the control display device with the corresponding cell in the rule row.
Optionally, obtaining a corresponding rule row from a preset rule configuration table through an algorithm includes:
acquiring a point name in an algorithm;
and traversing the input source file according to the roll call, and acquiring a rule row with the highest matching degree with the algorithm.
Optionally, the method includes:
according to the matching degree of the algorithm and the rule line obtained by the formula I, the formula I is as follows:
Figure SMS_1
where n represents the total number of columns, i is the number of columns, and k is 0 (cells are empty) or 1 (cells are not empty).
Optionally, generating a security control display device database according to the analysis result includes:
and writing the content in the input source file into each cell of the matched safety control display device database.
According to the nuclear power DCS safety control display device database generation method, at least one of various input source files of different types is obtained, matching analysis is conducted on various input source files based on the preset rule configuration table, the safety control display device database is generated according to the analysis result, the generation process of the control display device database is simplified, efficient, rapid and accurate automatic acquisition, matching and filling of information in complex and various input sources are achieved, upstream data can be directly acquired for a downstream, human errors are avoided, the efficiency of safety level picture design work in a nuclear power station protection system is improved, and data support is provided for generation of design pictures.
In order to achieve the above object, an embodiment of a second aspect of the present application provides a nuclear power DCS safety control display device database generation apparatus, including:
the acquisition module is used for acquiring at least one of a plurality of different types of input source files;
the matching module is used for performing matching analysis on various types of input source files based on a preset rule configuration table;
and the generating module is used for generating a safety control display device database according to the analysis result.
Optionally, the types of the input source files include FD drawings, IO list files, set value lists, device icon lists, and operator instruction lists.
Optionally, the matching module is configured to:
acquiring attribute information for controlling a display device in an input source file by using a script;
acquiring a corresponding rule row from a preset rule configuration table through an algorithm;
and matching the attribute information of the control display device with the corresponding cell in the rule row.
Optionally, the matching module is specifically configured to:
acquiring a point name in an algorithm;
and traversing the input source file according to the roll call, and acquiring a rule row with the highest matching degree with the algorithm.
Optionally, the matching module is specifically configured to:
according to the matching degree of the algorithm and the rule row obtained by the formula I, the formula I is as follows:
Figure SMS_2
wherein n represents the total number of columns, i is the number of columns, k is 0 (cell empty) or 1 (cell alone)The cell is not empty).
Optionally, the generating module is configured to:
and writing the content in the input source file into each cell of the matched safety control display device database.
The nuclear power DCS safety control display device database generation device provided by the embodiment of the application is characterized in that at least one of various different types of input source files is obtained, matching analysis is carried out on various types of input source files based on a preset rule configuration table, and then the safety control display device database is generated according to an analysis result, so that the generation process of the control display device database is simplified, high-efficiency, quick and accurate automatic acquisition, matching and filling of information in complicated and various input sources are realized, upstream data can be directly acquired for a downstream, human errors are avoided, the efficiency of safety level picture design work in a nuclear power station protection system is improved, and data support is provided for generation of design pictures.
In order to achieve the above object, an embodiment of a third aspect of the present application provides an electronic device, including: the data generating method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the data generating method of the nuclear power DCS safety control display device database is realized.
In order to achieve the above object, a fourth aspect of the present application provides a computer-readable storage medium, and when being executed by a processor, a computer program implements a method for generating a database of a nuclear power DCS security control display device according to the first aspect of the present application.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram illustrating a corresponding relationship between a panel and a database in an FD drawing in the prior art;
FIG. 2 is a flowchart illustrating a database generation method for a nuclear power DCS safety control display device according to an embodiment;
FIG. 3 illustrates a data representation intent of an IO List file of one embodiment;
FIG. 4 is a flow diagram that illustrates matching analysis of multiple types of input source files based on a preset rule configuration table, according to one embodiment;
FIG. 5 is a diagram illustrating multiple data source input rules in a rules table in accordance with one embodiment;
FIG. 6 is a diagram illustrating a rule fuzzy matching rule in a rule table, in accordance with an exemplary embodiment;
fig. 7 is a schematic diagram illustrating a data processing flow in a database generation method of a nuclear power DCS safety control display device according to an embodiment;
FIG. 8 is a flowchart illustrating a method for generating a database of a nuclear DCS safety control display device according to an embodiment;
FIG. 9 is a diagram illustrating a visualization page for configuring parameters in one particular embodiment;
FIG. 10 is a diagram illustrating a visualization page of an import source file in a particular embodiment;
FIG. 11 is a diagram illustrating data representation intent of an IO List file in an exemplary embodiment;
FIG. 12 is a diagram illustrating a data representation of a list of settings in a particular embodiment;
FIG. 13 illustrates a data representation of a device icon in accordance with an exemplary embodiment;
FIG. 14 illustrates a data representation intent of a list of operator instructions in a particular embodiment;
FIG. 15 is a diagram illustrating a data representation intent of a roll call rule file in a particular embodiment;
FIG. 16 illustrates a data representation intent of a control class template file in a particular embodiment;
FIG. 17 illustrates a data representation intent of a display class template file in a particular embodiment;
FIG. 18 is a diagram illustrating a database of security control display devices in one embodiment;
fig. 19 is a structural diagram of a nuclear power DCS safety control display device database generation device according to an embodiment.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention is described in further detail below with reference to specific examples, which are not to be construed as limiting the scope of the invention as claimed.
A method and an apparatus for generating a nuclear power DCS security control display apparatus database according to an embodiment of the present application are described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for generating a database of a nuclear power DCS safety control display device according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
s1, acquiring at least one of a plurality of different types of input source files.
In one embodiment, the type of input source file may include FD drawing, IO list file, setting value list, device icon list, operator instruction list, and the like.
Specifically, the input source file contains data information for generating a nuclear power DCS safety control display device database. As shown in fig. 3, taking an IO List file as an example, the numerical values in the "upper range limit" column and the "lower range limit" column may be used to generate a control display device database.
And S2, performing matching analysis on the input source files of various types based on a preset rule configuration table. As shown in fig. 4, S2 specifically includes the following steps:
and S21, acquiring attribute information for controlling the display device in the input source file by using the script.
In one embodiment, a specific rule row is obtained by an algorithm, each cell in the rule row corresponds to one cell information in the security control display device database, and thus, by executing a script, the attribute information of the control display device can be obtained from the input source file.
Wherein, the meaning represented by each symbol in the script is as follows:
1. the content contained in the script by the parenthesis "[ ]" indicates that it needs to be replaced.
2. Panel name: and the driving block module name corresponding to the panel. For example, "a/M mode input 1" corresponding to the driving block "MCV _ S" is displayed as "NX [ panel name ] AM" in the cell of the regular row, then if the driving block module name corresponding to the panel is "DVL1462VN", the [ panel name ] is replaced with "DVL1462VN", and the data corresponding to the cell of the regular row is "NXDVL1462VNAM";
3.V: indicating whether corresponding data needs to be searched in an input source file (e.g., FD drawing), such as the above "NXDVL1462VNAM", if not found in the input source file, the corresponding data is replaced with "null", indicating that the corresponding data is not found, and if the corresponding data is found, the corresponding data is replaced with the found data.
"PANEL: ": representing looking up data from attributes of a panel in an input source file (e.g., FD drawing). For example, "PANEL: SP" corresponds to the SP attribute of the PANEL in the FD drawing.
5, FD: indicating that data is searched from FD drawings of IComposer, and the type of data is mainly related to pages and frames.
And 6.IO: indicating a lookup of data from an IO List. The cells of the rule row generally have question mark expressions, and the specific format is as follows: [ IO: IO traversal column name = = column name in rule table? Filling the column name in the IO, wherein the 'traversal column name in the IO' is the column name traversed in the IO list, a program in the script searches which row of values in the column is consistent with the cell value corresponding to the column name in the rule configuration table, and the data corresponding to the 'filling column name in the IO' of the found row is used as a return value.
And 7, SP: indicating that data is to be looked up from a list of set points. The specific way of obtaining data is the same as the way of obtaining data from an IO List file.
And 8.OC: indicating that the data is looked up from an operator instruction list. The specific obtaining mode is the same as the way of obtaining data from the IO List file.
TF: indicating that the data is looked up from the icon list. The specific way of obtaining data is the same as the way of obtaining data from an IO List file.
10.? : firstly, judging the situation of an attribute true value before a question mark, wherein the attribute value after the question mark is filled when the true value is true, and the attribute value is filled when the false value is false. For example, "PANEL: ENBT1TXBT1", when the value of PANEL attribute ENBT1 is true, the value of PANEL attribute TXBT1 is filled; for false, fill is empty.
SPLIT (A, B, C): indicating that the character string a is divided into at most C lines by B widths per line. For populating the description information. One English occupies one width, and one Chinese occupies two widths.
Specifically, as shown in fig. 5, the MOV _ N algorithm rule behavior example in the rule configuration table is used, wherein the cell content of the "go" column is "[ FD: station ]": ": is a separator, the left side is an input source file, and the right side is attribute information of the input source file, whereby [ FD: station ] represents: and acquiring corresponding data from the Station attribute in the FD drawing.
By analogy, "[ PANEL: SP ]" indicates that corresponding data is obtained from the SP attribute of the PANEL of the FD drawing; "[ IO: device code = = ID? Upper range limit ] "indicates that data corresponding to the" upper range limit "attribute is acquired from the IO List file by matching" device code "with" ID ". In particular, the cells of the column of "panel type" in the database of the control display device are special, and there is no "[ ]" in the corresponding regular row, which means that there is no corresponding data in the input source file, so it is not necessary to obtain from the input source file.
In the acquiring process, the characteristics of various data sources and complex rules in the database of the nuclear power DCS safety control display device are considered, the attribute information of the control display device is acquired from the input source file in a script writing mode, and various writing ways of scripts can be flexibly applied, so that the attribute information of the control display device can be automatically, intelligently, accurately and quickly acquired.
And S22, acquiring a corresponding rule row from a preset rule configuration table through an algorithm.
Specifically, after the roll names in the algorithm are obtained, the input source file is traversed according to the roll names, and the rule row with the highest matching degree with the algorithm is obtained.
The priority of columns in the rule table can be preset, if the priority of a left column is higher than that of a right column, the matching degree of rule rows and the algorithm can be calculated through a formula I:
Figure SMS_3
where n represents the total number of columns, i is the number of columns, and k is 0 (cells are empty) or 1 (cells are not empty).
In one embodiment, as shown in FIG. 6, where the same algorithm has different rules, each with a different variable name, a fuzzy algorithm may be applied to match the signal names in the FD plot to determine which rule to use
Specifically, as shown in fig. 6, taking the GCM algorithm as an example, the roll name of the filling roll name is matched in the FD drawing, and the roll name of "C1 roll name 1" is "V $ NX [ panel name ] C1", and based on the rule line generated after matching, the matching degree of the rule line is calculated by formula one. As shown in fig. 6, the first rule row in the GCM algorithm C1 roll name 1, C2 roll name 2, C3 roll name 3, D1 roll name 1, D2 roll name 1, D3 roll name 1 are all matched to fill the corresponding roll name, while the second, third and fourth rule rows in the GCM algorithm C3 roll name 1 and D3 roll name 1 are not matched to the corresponding roll name. Further, the matching degrees of the three rule rows are calculated by disclosing one.
The matching degree of the first rule row of the GCM algorithm is as follows:
Figure SMS_4
the matching degree of the second rule row of the GCM algorithm is as follows:
Figure SMS_5
the matching degree of the third rule row of the GCM algorithm is as follows:
Figure SMS_6
the matching degree of the fourth rule row of the GCM algorithm is as follows:
Figure SMS_7
the calculation results in that the matching degree of the first rule row of the GCM algorithm is the highest, so that the rule row is selected for subsequent data matching.
And S23, matching the attribute information for controlling the display device with the corresponding cell in the rule row.
Specifically, according to the rule row with the highest matching degree acquired in S22, the actual information data for controlling the attribute information of the display device corresponding to the cell of the rule row is matched.
Through the matching analysis process, the preset rules can be automatically executed by compiling scripts based on the preset rule configuration table, the acquisition of attribute information in an input source file, the confirmation of a rule row with the highest matching degree and the matching of the attribute information of the rule row unit cells can be intelligently, efficiently, quickly and accurately finished, the characteristics of multi-source control of a display device database and complex corresponding rules are better adapted, various data acquisition and matching requirements are flexibly met, human errors are avoided, and the overall working efficiency is improved.
And S3, generating a safety control display device database according to the analysis result.
Specifically, the content in the input source file is written into each cell of the matched security control display device database, that is, the attribute information of the control display device acquired by the corresponding rule row cell is written into each cell corresponding to the security control display device database in a matching manner.
In one embodiment, as shown in fig. 6, the content of the "go" column of the MOV _ N algorithm is [ FD: station ] cell, after passing through the above-mentioned S1 and S2 processes, the Station attribute information is matched in the FD drawing, and thus, the attribute information is filled in the "go" cell of the corresponding device in the control display database, thereby implementing the generation process of the database. In particular, the "panel type" is special, and the "P5a" is directly filled in the "panel type" cell of the control display device database.
In addition, in the generation process of the safety control display device database, the verification function of most data can be realized, if the condition that the data do not conform to the rule is met, a prompt log is given, designers are guided to carry out error checking analysis, and the influence of human errors is avoided.
According to the writing process, the data corresponding to the acquired rule rows can be efficiently and accurately written into the cells corresponding to the database automatically, the database of the control display device is generated, the problem of errors in manual writing can be avoided, meanwhile, the data can be verified, and therefore the overall working efficiency is improved.
According to the nuclear power DCS safety control display device database generation method, at least one of various input source files of different types is obtained, matching analysis is conducted on various input source files based on the preset rule configuration table, the safety control display device database is generated according to the analysis result, the generation process of the control display device database is simplified, efficient, rapid and accurate automatic acquisition, matching and filling of information in complex and various input sources are achieved, upstream data can be directly acquired for a downstream, human errors are avoided, the efficiency of safety level picture design work in a nuclear power station protection system is improved, and data support is provided for generation of design pictures.
In a specific embodiment, as shown in fig. 7, a schematic diagram of a data processing flow in a nuclear power DCS security control display device database generation method is shown, where data in an input source file is subjected to matching analysis based on a rule configuration table, so as to generate a security control display device database. Further, as shown in fig. 8, the implementation steps of the method for generating the nuclear power DCS safety control display device database in the actual engineering are as follows:
s801: and configuring various parameters.
As shown in fig. 9, various parameters required for generating a database for controlling a display device are configured in a visualization page.
Specifically, one or more of the following configuration operations may be selected according to the database generation requirements:
selecting an import panel algorithm, such as CZMB _ KGL _ FS, selecting an import control class column type and a corresponding maintenance class column type in the column type setting, selecting an import position type in the position type setting, selecting an import signal sending algorithm, an outbound system and an exclusion system in the display class signal sending algorithm setting, selecting an import analog quantity algorithm list and a digital quantity algorithm list in the output algorithm classification, selecting an import equipment class page description keyword in the description keyword, and exporting the configuration operation for subsequent import.
The initial line number related to the data may also be set, for example, the "initial line number of existing data of the digital quantity device" may be set to 7, the "initial line number of new data of the digital quantity device" may be set to 12, the "initial line number of other new data of the digital quantity" may be set to 4, and the "initial line number of new data of the analog quantity" may be set to 4.
S802: importing a source file.
As shown in fig. 10, the input source file required for controlling the display device database is imported as a data source for generating the security control device database.
Specifically, one or more of the following input source files can be manually selected for import:
1. the input source file may be a source file of a data class that provides specific data for the generated database. For example, clicking on a selection imports an IO List file as shown in FIG. 11; clicking to select and import the set value list shown in FIG. 12; clicking to select and import the device icon list shown in FIG. 13; clicking on the selection imports an operator instruction list as shown in fig. 14.
2. The input source file may also be a format specification class source file that specifies the format in which the database is generated. For example, clicking on the selection imports the roll call rule file as shown in FIG. 15; clicking to select and import the control class template file shown in FIG. 16; clicking on the selection imports the display class template file as shown in fig. 17.
In addition, when generating the SCID security control display device database, it is possible to select the export path of the file, and select "export by split" and "export by split" as necessary.
S803: and generating a safety control display device database.
Specifically, as shown in fig. 10, clicking the "export SCID database" button automatically generates a safety control display device database as shown in fig. 18, where the safety control display device database is used to store the acquired data, and the stored data may be used to generate a safety level screen in the nuclear power plant protection system.
In the embodiment, the data in the various complex input source files can be acquired and matched through convenient and simple operation steps based on the visual interface, the accurate control display device database is finally generated quickly and efficiently, the problems that the process is complicated, table lookup is needed to correspond and the like when tables are filled manually in the past are solved, human errors are avoided, and the overall working efficiency is improved.
In order to implement the above embodiment, the present application further provides a nuclear power DCS safety control display device database generation apparatus.
Fig. 19 is a structural diagram of a database generation device of a nuclear power DCS safety control display device according to an embodiment of the present application.
As shown in fig. 19, a nuclear power DCS safety control display device database generation device includes an acquisition module 191, a matching module 192, and a generation module 193.
The obtaining module 191 is configured to obtain at least one of a plurality of different types of input source files, where the types of the input source files include an FD drawing, an IO list file, a setting value list, an equipment icon list, and an operator instruction list.
And the matching module 192 is used for performing matching analysis on the input source files of multiple types based on a preset rule configuration table.
The matching module 192 is specifically configured to: acquiring attribute information of a control display device in an input source file by using a script, acquiring a corresponding rule row from a preset rule configuration table by using an algorithm, and finally matching the attribute information of the control display device with a corresponding cell in the rule row.
The matching module 192 is further specifically configured to: and acquiring a point name in the algorithm, traversing the input source file according to the point name, and acquiring a rule row with the highest matching degree with the algorithm.
The matching module 192 is further specifically configured to: according to the matching degree of the algorithm and the rule row obtained by the formula I, the formula I is as follows:
Figure SMS_8
where n represents the total number of columns, i is the number of columns, and k is 0 (cells are empty) or 1 (cells are not empty).
And a generating module 193 for generating a security control display device database according to the analysis result.
The generating module 193 is specifically configured to: and writing the content in the input source file into each cell of the matched safety control display device database.
It should be understood that the description of the database generation device of the nuclear power DCS safety control display device and the corresponding database generation method of the nuclear power DCS safety control display device are the same, and therefore, the description thereof is omitted in this embodiment.
The nuclear power DCS safety control display device database generation device provided by the embodiment of the application is characterized in that at least one of various different types of input source files is obtained, matching analysis is carried out on various types of input source files based on a preset rule configuration table, and then the safety control display device database is generated according to an analysis result, so that the generation process of the control display device database is simplified, high-efficiency, quick and accurate automatic acquisition, matching and filling of information in complicated and various input sources are realized, upstream data can be directly acquired for a downstream, human errors are avoided, the efficiency of safety level picture design work in a nuclear power station protection system is improved, and data support is provided for generation of design pictures.
In order to implement the above embodiments, the present application also provides a computer device.
The computer device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and when the processor executes the computer program, the method for generating the nuclear power DCS safety control display device database is realized.
In order to implement the above embodiments, the present application further proposes a computer-readable storage medium.
The computer readable storage medium has a computer program stored thereon, and when executed by a processor, the computer program implements a nuclear power DCS security control display device database generation method as in the first aspect.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It should be noted that in the description of the present specification, reference to the description of "one embodiment", "some embodiments", "an example", "a specific example", or "some examples", etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

Claims (14)

1. A nuclear power DCS safety control display device database generation method is characterized by comprising the following steps:
acquiring at least one of a plurality of different types of input source files;
performing matching analysis on the various types of input source files based on a preset rule configuration table;
and generating a safety control display device database according to the analysis result.
2. The method of claim 1, wherein the input source file types include FD drawings, IO list files, setting value lists, device icon lists, and operator instruction lists.
3. The method according to claim 1, wherein performing matching analysis on the multiple types of input source files based on a preset rule configuration table comprises:
acquiring attribute information for controlling a display device in the input source file by using a script;
acquiring a corresponding rule row from the preset rule configuration table through an algorithm;
and matching the attribute information of the control display device with the corresponding cells in the rule row.
4. The method of claim 3, wherein obtaining the corresponding rule row from the preset rule configuration table by an algorithm comprises:
acquiring a point name in the algorithm;
and traversing the input source file according to the roll call, and acquiring a rule row with the highest matching degree with the algorithm.
5. The method of claim 4, comprising:
according to the matching degree of the algorithm and the rule row obtained by the formula I, the formula I is as follows:
Figure FDA0003930254770000021
Figure FDA0003930254770000022
where n represents the total number of columns, i is the number of columns, and k is 0 (cells are empty) or 1 (cells are not empty).
6. The method of claim 1, wherein generating a security control display database based on the analysis comprises:
and writing the content in the input source file into each cell of the matched security control display device database.
7. A nuclear power DCS safety control display device database generating device is characterized by comprising:
the acquisition module is used for acquiring at least one of a plurality of different types of input source files;
the matching module is used for performing matching analysis on the various types of input source files based on a preset rule configuration table;
and the generating module is used for generating a safety control display device database according to the analysis result.
8. The apparatus of claim 7, wherein the input source file types comprise FD drawings, IO list files, setting value lists, device icon lists, and operator instruction lists.
9. The apparatus of claim 7, wherein the matching module is configured to:
acquiring attribute information for controlling a display device in the input source file by using a script;
acquiring a corresponding rule row from the preset rule configuration table through an algorithm;
and matching the attribute information of the control display device with the corresponding cells in the rule row.
10. The apparatus of claim 9, wherein the matching module is specifically configured to:
acquiring a point name in the algorithm;
and traversing the input source file according to the roll call, and acquiring a rule row with the highest matching degree with the algorithm.
11. The apparatus of claim 10, wherein the matching module is specifically configured to:
according to the matching degree of the algorithm and the rule row obtained by the formula I, the formula I is as follows:
Figure FDA0003930254770000031
Figure FDA0003930254770000032
where n represents the total number of columns, i is the number of columns, and k is 0 (cells are empty) or 1 (cells are not empty). />
12. The apparatus of claim 7, wherein the generating module is configured to:
and writing the content in the input source file into each cell of the matched safety control display device database.
13. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the nuclear DCS safety control display device database generation method of any one of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the nuclear DCS security control display device database generation method according to any one of claims 1 to 6.
CN202211390898.9A 2022-11-07 2022-11-07 Method and device for generating nuclear power DCS safety control display device database Pending CN115982121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211390898.9A CN115982121A (en) 2022-11-07 2022-11-07 Method and device for generating nuclear power DCS safety control display device database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211390898.9A CN115982121A (en) 2022-11-07 2022-11-07 Method and device for generating nuclear power DCS safety control display device database

Publications (1)

Publication Number Publication Date
CN115982121A true CN115982121A (en) 2023-04-18

Family

ID=85956868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211390898.9A Pending CN115982121A (en) 2022-11-07 2022-11-07 Method and device for generating nuclear power DCS safety control display device database

Country Status (1)

Country Link
CN (1) CN115982121A (en)

Similar Documents

Publication Publication Date Title
CN106293664A (en) Code generating method and device
CN111045645B (en) Page editing method and device, electronic equipment and storage medium
CN103136184B (en) A kind of method of automatic typesetting and device thereof
CN104123227A (en) Method for automatically generating testing cases
CN115617327A (en) Low code page building system, method and computer readable storage medium
JPH0525345B2 (en)
CN110705237B (en) Automatic document generation method, data processing device and storage medium
CN109710237A (en) A kind of online modification method of calibration and equipment based on customized two-dimentional report
CN106354483B (en) Data processing method and device and electronic equipment
CN109190326B (en) Method and device for generating process flow chart
CN108170602B (en) Test case generation method and device, terminal and computer readable medium
CN115576974B (en) Data processing method, device, equipment and medium
CN106951231A (en) A kind of computer software development approach and device
CN110765402A (en) Visual acquisition system and method based on network resources
CN111124379A (en) Page generation method and device, electronic equipment and storage medium
CN113311788A (en) Variable configuration processing method and device, computer storage medium and equipment
CN114816404A (en) Method and device for dynamically rendering view page, computer equipment and storage medium
CN104899217A (en) Method and apparatus for implementing customized function
CN115982121A (en) Method and device for generating nuclear power DCS safety control display device database
CN111506306B (en) Method and device for writing active script and electronic equipment
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN109828985B (en) Form difference query method and device
CN115510361A (en) Data chart page generation method based on visual configuration and related equipment
CN115373658A (en) Method and device for automatically generating front-end code based on Web picture
CN111124385B (en) Automatic generation method and system of power supply design software based on database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination