CN111401028B - Automatic comparison method and device for RPS software versions of nuclear power station - Google Patents

Automatic comparison method and device for RPS software versions of nuclear power station Download PDF

Info

Publication number
CN111401028B
CN111401028B CN202010195255.3A CN202010195255A CN111401028B CN 111401028 B CN111401028 B CN 111401028B CN 202010195255 A CN202010195255 A CN 202010195255A CN 111401028 B CN111401028 B CN 111401028B
Authority
CN
China
Prior art keywords
variable
configuration information
equipment
algorithm
name
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.)
Active
Application number
CN202010195255.3A
Other languages
Chinese (zh)
Other versions
CN111401028A (en
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 CN202010195255.3A priority Critical patent/CN111401028B/en
Publication of CN111401028A publication Critical patent/CN111401028A/en
Application granted granted Critical
Publication of CN111401028B publication Critical patent/CN111401028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Abstract

The invention relates to an automatic comparison method and device for RPS software versions of a nuclear power station, belongs to the technical field of industrial control software configuration, and solves the problems of low comparison efficiency and poor accuracy of the existing method. Obtaining engineering files of two different versions to be compared; respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information; and respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, generating a report according to a comparison result, and outputting the report to a corresponding position. The comparison efficiency and accuracy between engineering files of different versions are improved.

Description

Automatic comparison method and device for RPS software versions of nuclear power station
Technical Field
The invention relates to the technical field of industrial control software configuration, in particular to an automatic comparison method and device for RPS software versions of a nuclear power station.
Background
The control system is a central nervous system for operation, operation and monitoring of the nuclear power station, is important equipment for ensuring safe and reliable operation of the nuclear power station, and helps to adjust and cope with the requirements of the operation and maintenance of the nuclear power station. Currently, about 40% of operating reactors worldwide have been fully updated or include a portion of digital instrumentation systems. The currently under construction nuclear power plant or the nuclear power plant to be constructed will use a digital instrumentation system.
In DCS (digital instrumentation control system) engineering design of RPS (nuclear power station protection system), development of large engineering projects is often involved, and product change and edition lifting are often involved due to upstream change. And framing engineering configuration differences between two different versions, wherein the engineering configuration comprises variable configuration, hardware equipment configuration, algorithm configuration, graphic configuration and the like, and the storage forms of the data are diversified, so that huge workload is brought to personnel comparing different versions of engineering, and the problems of low working efficiency, poor accuracy and the like are caused.
Disclosure of Invention
In view of the above analysis, the embodiment of the invention aims to provide an automatic comparison method and an automatic comparison device for RPS software versions of a nuclear power station, which are used for solving the problems of low working efficiency, poor accuracy and the like of the existing method.
In one aspect, the embodiment of the invention provides an automated comparison method for RPS software versions of a nuclear power station, which comprises the following steps:
obtaining engineering files of two different versions to be compared;
respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information;
and respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, generating a report according to a comparison result, and outputting the report to a corresponding position.
Further, the analyzing the two engineering files respectively to obtain corresponding engineering information includes the following steps:
identifying the engineering file to obtain a device list, algorithm information, parameter variables and human-computer interface information;
classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models;
identifying a graphic element in algorithm information to obtain a functional algorithm block, reading the algorithm block to obtain an algorithm block name and an algorithm block type, and obtaining algorithm configuration information based on the algorithm block name, the algorithm block type and an algorithm block identifier included in the algorithm block name;
classifying parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading variable names and variable values of each variable, wherein each variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable names;
and respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information.
Further, comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent respectively, specifically comprising the following steps:
respectively obtaining the equipment name and the equipment model corresponding to the same equipment identifier, comparing whether the equipment name and the equipment model are corresponding to each other, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the algorithm block names and the algorithm block types corresponding to the same algorithm block identifiers, comparing whether the algorithm block names and the algorithm block types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on the Hash searching mode, respectively obtaining the variable names and variable values corresponding to the same variable identification, judging whether the variable names and the variable values are corresponding to the same,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
Further, for algorithm configuration information, generating sub-tables according to the comparison results of each type of variables according to the new addition, deletion and modification, and summarizing all sub-tables to generate a variable configuration comparison report.
Further, summarizing the equipment configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report and the picture configuration comparison report to obtain a total report.
Another embodiment of the present invention provides an automated comparison apparatus for RPS software versions of a nuclear power plant, the apparatus comprising:
the file obtaining module is used for obtaining engineering files of two different versions to be compared;
the file analysis module is used for respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises station numbers, equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information;
and the configuration information comparison module is used for respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent or not, and generating a report according to the comparison result and outputting the report to the corresponding position.
Further, the file parsing module includes:
identifying the engineering file to obtain a device list, algorithm information, parameter variables and human-computer interface information;
classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models;
identifying a graphic element in algorithm information to obtain a functional algorithm block, reading the algorithm block to obtain an algorithm block name and an algorithm block type, and obtaining algorithm configuration information based on the algorithm block name, the algorithm block type and an algorithm block identifier included in the algorithm block name;
classifying parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading variable names and variable values of each variable, wherein each variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable names;
and respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information.
Further, the configuration information comparing module includes:
respectively obtaining the equipment name and the equipment model corresponding to the same equipment identifier, comparing whether the equipment name and the equipment model are corresponding to each other, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the algorithm block names and the algorithm block types corresponding to the same algorithm block identifiers, comparing whether the algorithm block names and the algorithm block types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on the Hash searching mode, respectively obtaining the variable names and variable values corresponding to the same variable identification, judging whether the variable names and the variable values are corresponding to the same,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
Further, for the comparison result of the algorithm configuration information, generating sub-tables according to the comparison result of each type of variable according to the new addition, deletion and modification, and summarizing all sub-tables to generate a variable configuration comparison report.
Further, the system also comprises a comparison result summarizing module, which is used for summarizing the equipment configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report and the picture configuration comparison report to obtain a total report.
Compared with the prior art, the invention has at least one of the following beneficial effects:
1. the automatic comparison method for the RPS software version of the nuclear power station solves the problems of low efficiency and poor accuracy of the existing comparison method, achieves automatic comparison of different versions of application software of a protection system of the nuclear power station, improves comparison efficiency, and ensures accuracy of comparison quality.
2. By comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, the comparison of various configurations among different versions of engineering files is realized, and meanwhile, the comparison result is completely, accurately and intuitively presented by the comparison method, so that the satisfaction degree of users is improved.
3. By summarizing all the independent reports to generate a total report, the summarization of the comparison result is realized, the total report can more quickly position the change position and change range without manual intervention, and the working efficiency of staff is improved.
In the invention, the technical schemes can be mutually combined to realize more preferable combination schemes. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, like reference numerals being used to refer to like parts throughout the several views.
FIG. 1 is a flow chart of a method for implementing automated comparison of RPS software versions of a nuclear power plant in accordance with one embodiment of the present invention;
fig. 2 is a block diagram of an automated comparison apparatus for implementing RPS software version of a nuclear power plant according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof, and together with the description serve to explain the principles of the invention, and are not intended to limit the scope of the invention.
The digital instrument control system of the nuclear power station protection system relates to development of large engineering projects, and changes and edition rising of products are often related to upstream changes. The digital instrument control system relates to engineering configuration, wherein the engineering configuration comprises variable configuration, equipment configuration, algorithm configuration and picture configuration, and the engineering configuration difference between two different versions is framed, so that the safety of the digital instrument control system and the quality of products are influenced, and therefore, the configuration difference of engineering files of the two different versions needs to be compared.
The invention discloses an automatic comparison method of RPS software versions of a nuclear power station, which is shown in FIG. 1 and comprises the following steps:
s1, obtaining engineering files of two different versions to be compared.
The engineer station is a source of large-scale project development of the nuclear power station, and the engineer station is provided with engineering files of different versions, including equipment configuration, algorithm configuration, variable configuration and picture configuration. Besides all functions of the operation station, the engineer station can upload, download, modify and the like the configuration of the digital instrument control system, and can configure the control station. In this embodiment, two engineering files with ENP formats of different versions are selected, and configuration difference items of the two engineering files of different versions are compared in the following manner.
S2, respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information.
Analyzing two different versions of engineering files is a premise and a basis for comparing equipment configuration, algorithm configuration, variable configuration and picture configuration in the later period. According to different parts of the configuration module content, the configuration module content is analyzed into corresponding configuration data, and comparison between configuration variables can be realized.
Specifically, two engineering files are respectively analyzed to obtain respective corresponding engineering information, and the method comprises the following steps:
s201, identifying the engineering file to obtain a device list, algorithm information, parameter variables and man-machine interface information, wherein the method specifically comprises the following steps of:
acquiring the same station number and station type based on two engineering files of different versions;
reading file contents under the same station number and station type according to the station number and the station type;
classifying the obtained file content according to the configuration category to obtain and store equipment information, algorithm information, parameter variables and human-computer interface information;
and saving the device information in a list form to obtain a device list.
S202, respectively classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models. Specifically, the device types include a cabinet, a chassis, a board type, and a network card type. The classification of the equipment list in the engineering file is to classify the content in the equipment list into four major categories of a cabinet, a case, a board card type and a network card type, wherein each equipment has corresponding identification, name and model.
Identifying the graphic elements in the algorithm information to obtain functional algorithm blocks, reading the algorithm blocks to obtain algorithm block names and algorithm block types, wherein the algorithm block names comprise algorithm block identifiers, and obtaining algorithm configuration information. Specifically, the algorithm information in the engineering file is presented in the form of an algorithm configuration diagram in an XML format, and the functional algorithm block can be obtained by identifying the graphic units in the algorithm configuration diagram, wherein the identification of the graphic units in the algorithm configuration diagram is a common method and can be realized through computer programming.
And classifying the parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading the variable name and variable value of each variable, wherein the variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable name. Among them, the hash table is a data structure that can store various types of data. The hash table can realize the corresponding relation between the key words and the storage positions, in this embodiment, variable names are used as key words, variable configuration information of different variable names is stored in the hash table, and each different variable name has a one-to-one corresponding relation with the storage position. Specifically, the variable categories include analog input AI, analog output AO, digital input DI, and digital output DO. Classifying the parameter variables by the variable categories to obtain four types of variables with different types; based on each type of variable, reading the variable name, the variable type and the variable value, and meanwhile, the variable name contains the variable identification, so that the variable configuration information is obtained.
And respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information.
S3, respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, generating a report according to a comparison result, and outputting the report to a corresponding position.
Specifically, when two different versions of engineering files to be compared are obtained, storage paths of comparison RESULTs of equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information under each station number are set, namely DEV_result, ALG_result and SAGE_result in sequence, after all the configuration information under each station number is compared, an equipment configuration comparison report, algorithm configuration comparison report, variable configuration comparison report and picture configuration comparison report are generated, and the configuration comparison RESULTs are output to corresponding positions (DEV_result, ALG_result and SAGE_result) according to the station numbers and stored until all the configuration information under all the station numbers is compared. The storage path of the comparison result of the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information under each station number can be set according to the actual hardware storage equipment structure.
Compared with the prior art, the automatic comparison method for the RPS software version of the nuclear power station solves the problems of low efficiency and poor accuracy of the existing comparison method, achieves automatic comparison of different versions of application software of a protection system of the nuclear power station, improves comparison efficiency, and ensures accuracy of comparison quality.
Preferably, whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent is compared respectively, and the method specifically comprises the following steps:
respectively obtaining the equipment name and the equipment type corresponding to the same equipment identifier, comparing whether the equipment name and the equipment type are corresponding and consistent, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the primitive names and primitive types corresponding to the same primitive identifiers, comparing whether the primitive names and the primitive types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on a hash searching mode, respectively obtaining variable names, variable types and variable values corresponding to the same variable identification, judging whether the variable names, the variable types and the variable values are corresponding and consistent,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
Specifically, in the engineering configuration of the protection system of the nuclear power plant, the content to be compared is comprehensive, the content to be compared comprises variable configuration, hardware equipment configuration, algorithm configuration, picture configuration and the like, the storage form of the data is diversified, huge workload is brought to people comparing different versions of engineering, and an accurate and unique visual report is lacked.
The comparison of the four types of configuration information can be realized in a parallel mode, namely, the four types of configuration information can be compared at the same time, and the comparison can also be realized in a sequential mode. After the comparison is completed, the method saves the generated equipment configuration comparison report, algorithm configuration comparison report, variable configuration comparison report and picture configuration comparison report to corresponding positions (DEV_result, ALG_result and SAGE_result) according to the station numbers.
After the algorithm configuration information comparison is completed, the comparison difference item is framed in an algorithm configuration comparison report (ALG_Result) according to the modification category (adding, deleting and modifying), wherein the adding item and the modification item are framed by solid line rectangle boxes, and the deleting item is framed by dotted line rectangle boxes.
By comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, the comparison of various configurations among different versions of engineering files is realized, and meanwhile, the comparison result is completely, accurately and intuitively presented by the comparison method, so that the satisfaction degree of users is improved.
Preferably, for algorithm configuration information, generating sub-tables according to the comparison results of each type of variables, namely adding, deleting and modifying the sub-tables, summarizing all the sub-tables to generate variable configuration comparison reports, and summarizing all the sub-tables to generate variable configuration comparison reports.
Specifically, all kinds of sub-tables generated by variable comparison are summarized to generate a variable configuration comparison report, and the variable configuration comparison report is stored in a corresponding intermediate file VAR_RESULT.
Preferably, the equipment configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report and the picture configuration comparison report are summarized to obtain a total report.
Specifically, after each single comparison report is generated, the system gathers all the reports to generate a total report, so that engineers can more conveniently check the change condition of all the configuration information. Illustratively, in this embodiment, DEV_Result, ALG_Result, VAR_Result, and SAGE_Result are aggregated to generate a total report Result. Meanwhile, the report can be output in various formats of files, such as excel, pdf and the like, so that later viewing and editing are facilitated.
By summarizing all the independent reports to generate a total report, the summarization of the comparison result is realized, the total report can more quickly position the change position and change range without manual intervention, and the working efficiency of staff is improved.
In another embodiment of the present invention, an automated comparing device for RPS software version of a nuclear power station is disclosed, as shown in fig. 2, including:
the file obtaining module is used for obtaining engineering files of two different versions to be compared;
the file analysis module is used for respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises station numbers, equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information;
and the configuration information comparison module is used for respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent or not, and generating a report according to the comparison result and outputting the report to the corresponding position.
By the automatic comparison device of the RPS software version of the nuclear power station, the problems of low efficiency and poor accuracy of the existing comparison method are solved, automatic comparison of different versions of application software of a protection system of the nuclear power station is realized, the comparison efficiency is improved, and the accuracy of comparison quality is ensured.
Preferably, the file parsing module includes:
identifying the engineering file to obtain a device list, algorithm information, parameter variables and human-computer interface information;
classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models;
identifying a graphic element in algorithm information to obtain a functional algorithm block, reading the algorithm block to obtain an algorithm block name and an algorithm block type, and obtaining algorithm configuration information based on the algorithm block name, the algorithm block type and an algorithm block identifier included in the algorithm block name;
classifying parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading variable names and variable values of each variable, wherein each variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable names;
and respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information.
Through the file analysis module, the conversion from text data to configuration data is realized, support and foundation are provided for comparison of later-stage configuration, and the comparison accuracy is improved.
Preferably, the configuration information comparing module includes:
respectively obtaining the equipment name and the equipment model corresponding to the same equipment identifier, comparing whether the equipment name and the equipment model are corresponding to each other, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the algorithm block names and the algorithm block types corresponding to the same algorithm block identifiers, comparing whether the algorithm block names and the algorithm block types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on the Hash searching mode, respectively obtaining the variable names and variable values corresponding to the same variable identification, judging whether the variable names and the variable values are corresponding to the same,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
By comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, the comparison of various configurations among different versions of engineering files is realized, and meanwhile, the comparison result is completely, accurately and intuitively presented by the comparison method, so that the satisfaction degree of users is improved.
Preferably, for the comparison result of the algorithm configuration information, generating sub-tables according to the comparison result of each type of variable, and summarizing all sub-tables to generate a variable configuration comparison report.
Preferably, the system further comprises a comparison result summarizing module, configured to summarize the equipment configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report and the picture configuration comparison report, so as to obtain a total report.
By summarizing all the independent reports to generate a total report, the summarization of the comparison result is realized, the total report can more quickly position the change position and change range without manual intervention, and the working efficiency of staff is improved.
Those skilled in the art will appreciate that all or part of the flow of the methods of the embodiments described above may be accomplished by way of a computer program to instruct associated hardware, where the program may be stored on a computer readable storage medium. Wherein the computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention.

Claims (6)

1. An automated comparison method of nuclear power station RPS software versions is characterized by comprising the following steps:
obtaining engineering files of two different versions to be compared;
respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information;
respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, generating a report according to a comparison result, and outputting the report to a corresponding position;
the step of respectively analyzing the two engineering files to obtain corresponding engineering information comprises the following steps:
identifying the engineering file to obtain a device list, algorithm information, parameter variables and human-computer interface information;
classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models;
identifying a graphic element in algorithm information to obtain a functional algorithm block, reading the algorithm block to obtain an algorithm block name and an algorithm block type, and obtaining algorithm configuration information based on the algorithm block name, the algorithm block type and an algorithm block identifier included in the algorithm block name;
classifying parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading variable names and variable values of each variable, wherein each variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable names;
respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information;
and respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent, wherein the method specifically comprises the following steps of:
respectively obtaining the equipment name and the equipment model corresponding to the same equipment identifier, comparing whether the equipment name and the equipment model are corresponding to each other, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the algorithm block names and the algorithm block types corresponding to the same algorithm block identifiers, comparing whether the algorithm block names and the algorithm block types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on the Hash searching mode, respectively obtaining the variable names and variable values corresponding to the same variable identification, judging whether the variable names and the variable values are corresponding to the same,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
2. The method of claim 1, wherein for the algorithm configuration information, sub-tables are generated from the comparison results of each type of variable according to the additions, deletions and modifications, and all sub-tables are summarized to generate the variable configuration comparison report.
3. The method of claim 2, wherein the device configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report, and the picture configuration comparison report are summarized to obtain a total report.
4. An automated comparison device for RPS software versions of a nuclear power plant, the device comprising:
the file obtaining module is used for obtaining engineering files of two different versions to be compared;
the file analysis module is used for respectively analyzing the two engineering files to obtain corresponding engineering information, wherein the engineering information comprises equipment configuration information, algorithm configuration information, variable configuration information and picture configuration information;
the configuration information comparison module is used for respectively comparing whether the equipment configuration information, the algorithm configuration information, the variable configuration information and the picture configuration information are corresponding and consistent or not, and generating a report according to a comparison result and outputting the report to a corresponding position;
the file parsing module comprises:
identifying the engineering file to obtain a device list, algorithm information, parameter variables and human-computer interface information;
classifying the equipment list in the engineering file according to equipment types to obtain equipment configuration information of equipment of different types, wherein the equipment configuration information comprises equipment identifiers, equipment names and equipment models;
identifying a graphic element in algorithm information to obtain a functional algorithm block, reading the algorithm block to obtain an algorithm block name and an algorithm block type, and obtaining algorithm configuration information based on the algorithm block name, the algorithm block type and an algorithm block identifier included in the algorithm block name;
classifying parameter variables in the engineering file according to variable categories to obtain a plurality of different types of variables, reading variable names and variable values of each variable, wherein each variable name comprises a variable identifier to obtain variable configuration information, and storing the variable configuration information into a hash table according to the variable names;
respectively classifying the man-machine interface information in the engineering file according to the attribute to obtain a line and a button, and obtaining a line name, a line type, a button name and a button type, wherein the line name comprises a line identifier, and the button name comprises a button identifier to obtain picture configuration information;
the configuration information comparison module comprises:
respectively obtaining the equipment name and the equipment model corresponding to the same equipment identifier, comparing whether the equipment name and the equipment model are corresponding to each other, and generating an equipment configuration comparison report according to a comparison result;
respectively obtaining the algorithm block names and the algorithm block types corresponding to the same algorithm block identifiers, comparing whether the algorithm block names and the algorithm block types are corresponding and consistent, and generating an algorithm configuration comparison report according to a comparison result;
based on the Hash searching mode, respectively obtaining the variable names and variable values corresponding to the same variable identification, judging whether the variable names and the variable values are corresponding to the same,
respectively obtaining a corresponding line name and a line type based on the same line identifier, and comparing whether the line name and the line type are corresponding and consistent; meanwhile, the button name and the button type corresponding to the same button identifier are obtained, whether the button name and the button type are corresponding to the same is judged, and a picture configuration comparison report is generated according to a comparison result.
5. The apparatus of claim 4, wherein for the algorithm configuration information, sub-tables are generated from the comparison results of each type of variable according to the additions, deletions and modifications, and all sub-tables are summarized to generate the variable configuration comparison report.
6. The apparatus of claim 5, wherein the system further comprises a comparison result summarizing module for summarizing the device configuration comparison report, the algorithm configuration comparison report, the variable configuration comparison report, and the visual configuration comparison report to obtain a total report.
CN202010195255.3A 2020-03-19 2020-03-19 Automatic comparison method and device for RPS software versions of nuclear power station Active CN111401028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010195255.3A CN111401028B (en) 2020-03-19 2020-03-19 Automatic comparison method and device for RPS software versions of nuclear power station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010195255.3A CN111401028B (en) 2020-03-19 2020-03-19 Automatic comparison method and device for RPS software versions of nuclear power station

Publications (2)

Publication Number Publication Date
CN111401028A CN111401028A (en) 2020-07-10
CN111401028B true CN111401028B (en) 2023-12-26

Family

ID=71428877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010195255.3A Active CN111401028B (en) 2020-03-19 2020-03-19 Automatic comparison method and device for RPS software versions of nuclear power station

Country Status (1)

Country Link
CN (1) CN111401028B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112596770B (en) * 2020-12-24 2023-08-18 潍柴动力股份有限公司 Data processing method and device, electronic equipment and storage medium
CN113156902B (en) * 2021-04-13 2023-01-31 西安热工研究院有限公司 Configuration consistency checking and processing method of DCS (distributed control system)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341646A (en) * 2017-05-31 2017-11-10 北京广利核系统工程有限公司 Configuration software coordination management system and method
CN109558163A (en) * 2018-11-09 2019-04-02 中国核动力研究设计院 A kind of version generation and management method based on operating file in controller
CN109634854A (en) * 2018-12-04 2019-04-16 北京广利核系统工程有限公司 A kind of method of inspection software Engineering Algorithm configuration exception
CN110244936A (en) * 2019-04-28 2019-09-17 北京广利核系统工程有限公司 Method and apparatus for supporting VISIO flow chart to be automatically imported DCS algorithm configuration software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180119857A (en) * 2017-04-26 2018-11-05 현대자동차주식회사 Method and apparatus for software change impact analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107341646A (en) * 2017-05-31 2017-11-10 北京广利核系统工程有限公司 Configuration software coordination management system and method
CN109558163A (en) * 2018-11-09 2019-04-02 中国核动力研究设计院 A kind of version generation and management method based on operating file in controller
CN109634854A (en) * 2018-12-04 2019-04-16 北京广利核系统工程有限公司 A kind of method of inspection software Engineering Algorithm configuration exception
CN110244936A (en) * 2019-04-28 2019-09-17 北京广利核系统工程有限公司 Method and apparatus for supporting VISIO flow chart to be automatically imported DCS algorithm configuration software

Also Published As

Publication number Publication date
CN111401028A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109359950B (en) Method for overall process control of power grid monitoring information
CN105915381B (en) A kind of realization monitoring system service logic online modification system
CN111401028B (en) Automatic comparison method and device for RPS software versions of nuclear power station
CN109389326B (en) Monitoring event-oriented object modeling method, device and system
JP6805832B2 (en) Generate multiple worksheet exports
CN109871406B (en) Design method of general monitoring report platform
CN112579563B (en) Power grid big data-based warehouse visualization modeling system and method
CN115576950A (en) Report generation method based on JSON configuration file
CN115857886A (en) Low code development platform for basic government affair application
CN111881579B (en) Complex dynamic data model management method
CN112949018A (en) System and method for establishing direct current power transmission control and protection platform model and testing and verifying direct current power transmission control and protection platform model
CN109614143B (en) Development method for automatically generating fault flow chart in IETM browser
CN115016902B (en) Industrial flow digital management system and method
CN116362443A (en) Data management method and device for enterprise information platform
CN116126443A (en) Method and system for dynamically configuring electronic experiment record and report
CN111414440B (en) Method and system for verifying control system algorithm configuration diagram by utilizing data flow isomorphism
CN114915634A (en) Industrial data acquisition and storage system and method based on data lake
CN112416367A (en) Application resource change influence analysis system based on software reverse disassembly and analysis
CN113515603A (en) Method, system and equipment for processing operation and maintenance monitoring data of machine room
CN102310950B (en) Experiment intelligent interpretation system and method
CN112764396B (en) Configuration method and device
KR101926165B1 (en) The document editing system of web-based hmi solution and document editing method by the system
CN116737698B (en) Distributed database configuration comparison method, device, equipment and storage medium
CN113489148A (en) Equipment fault information statistical method, system, storage medium and computing equipment
CN117522336A (en) Full-dynamic information security evaluation management system and method

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
GR01 Patent grant
GR01 Patent grant