CN109639520B - Computer-aided test method for network communication of reactor protection system - Google Patents

Computer-aided test method for network communication of reactor protection system Download PDF

Info

Publication number
CN109639520B
CN109639520B CN201811436647.3A CN201811436647A CN109639520B CN 109639520 B CN109639520 B CN 109639520B CN 201811436647 A CN201811436647 A CN 201811436647A CN 109639520 B CN109639520 B CN 109639520B
Authority
CN
China
Prior art keywords
item information
network
network variable
data
point
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
CN201811436647.3A
Other languages
Chinese (zh)
Other versions
CN109639520A (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 General Nuclear Power Corp
China Techenergy Co Ltd
Original Assignee
China General Nuclear Power Corp
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 General Nuclear Power Corp, China Techenergy Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201811436647.3A priority Critical patent/CN109639520B/en
Publication of CN109639520A publication Critical patent/CN109639520A/en
Application granted granted Critical
Publication of CN109639520B publication Critical patent/CN109639520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention relates to a computer-aided test method for network communication of a reactor protection system, belongs to the technical field of safety level instrument control test of a nuclear power reactor protection system, and solves the problems of low efficiency, large manpower consumption and high human error rate in the network communication test process of the nuclear power safety level instrument control system in the prior art. The method comprises the following steps: generating a data searching comparison table corresponding to the system network variable list according to the system network variable list of the reactor protection system network communication; and searching a comparison table according to the data, automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration completed, and generating a test record. The network communication test of the nuclear power safety level instrument control system is realized, the test efficiency is improved, the manpower is saved, and the human error rate is reduced.

Description

Computer-aided test method for network communication of reactor protection system
Technical Field
The invention relates to the technical field of safety level instrument control tests of nuclear power reactor protection systems, in particular to a computer-aided test method for network communication of a reactor protection system.
Background
A digital instrument control system (DCS) of a nuclear power plant is a nerve center of the nuclear power plant, controls the operation of a plurality of systems and nearly ten thousand devices of the nuclear power plant 260 and various working condition processing processes, and plays an important role in ensuring safe, reliable and stable operation of the nuclear power plant. A Reactor Protection System (RPS System for short) of a nuclear power station is used as a safety level control System of the nuclear power station, and has the main function of protecting the safety of a nuclear Reactor under an accident condition. Whether the network communication function of the reactor protection system can meet the design requirements or not directly influences the safety of the reactor; therefore, the reactor protection system network communication function must be verified to ensure that the reactor protection system can perform the protection function under the accident condition.
The existing network communication test of the reactor protection system is a manual forced test method, and the process is as follows: (1) finding out an upstream point and a downstream point of network communication according to the input file; (2) respectively connecting corresponding engineer stations; (3) the upstream engineer station enforces that the downstream engineer station performs observation to confirm whether the communication is normal. However, when the network communication test of the reactor protection system is performed, it is necessary to detect about 20000 more variables and the types of the names of the variables, the offset of the variables, and the like, and generate 1000 more test records. The method needs a large amount of manpower, and has the problems of incapability of being reused, low efficiency and human error.
Disclosure of Invention
In view of the above analysis, the present invention aims to provide a computer-aided testing method for network communication of a reactor protection system, so as to solve the problems of low efficiency, large manpower consumption and high human error rate in the network communication testing process of a nuclear power safety level instrument control system in the prior art.
The invention provides a computer-aided test method for network communication of a reactor protection system, which comprises the following steps:
generating a data searching comparison table corresponding to the system network variable list according to the system network variable list of the reactor protection system network communication;
and searching a comparison table according to the data, automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration completed, and generating a test record.
The beneficial effects of the above technical scheme are: the network communication test of the nuclear power safety level instrument control system is realized by a computer-aided method, the test efficiency is improved, the manpower is saved, and the human error rate is reduced.
Further, according to a system network variable list of the reactor protection system network communication, generating a data lookup comparison table corresponding to the system network variable list, specifically comprising: according to a system network variable list in the reactor protection system network communication, point item information needing to be checked is counted, and a data lookup comparison table corresponding to the system network variable list is generated according to the point item information needing to be checked.
The beneficial effects of the further technical scheme are as follows: the data searching comparison table is generated by the method, the integrity of the point item information needing to be checked is ensured, and the subsequent comparison and check effects are improved.
Further, according to the data lookup comparison table, automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration completed, including:
searching and comparing according to point item information in a system network variable list and corresponding point item information in engineering application software;
checking the communication parameter setting and the communication consistency between network variable lists of the data of the point-to-point communication type;
and carrying out communication consistency check between network variable lists on the data of the communication type of the ring network.
Further, the searching and comparing of the point item information in the system network variable list and the corresponding point item information in the engineering application software completed by the engineering design configuration specifically includes:
and converting the system network variable list into a standardized network variable list, converting engineering application software with the engineering design configuration into a network variable database CSV file, searching and comparing the standardized network variable list and the network variable database CSV file according to a data searching comparison table.
The beneficial effects of the further technical scheme are as follows: the method improves the efficiency of searching and comparing the system network variable list and the engineering application software finished by the engineering design configuration.
Further, the system network variable list comprises communication information of all network variables of the system and other systems in the reactor protection system.
Further, according to the data search comparison table, searching and comparing the standardized network variable list with the network variable database CSV file, specifically comprising: and searching and comparing point item information of the same point variable name in a standardized network variable list and a network variable database CSV file according to the data searching comparison table, wherein the point variable name is the name of communication content in network communication.
Further, the checking of communication parameter setting and the checking of communication consistency between network variable lists for the "point-to-point" communication type data specifically includes: and for point-to-point communication type data, sequencing according to 'source/destination of signals', checking communication parameter setting, searching point item information of each network variable list in a network variable list different from the point item information, extracting point item information data, and performing comparison check on the data searching comparison table to obtain a corresponding check result.
The beneficial effects of the further technical scheme are as follows: the accuracy and efficiency of checking the data communication parameter setting of the point-to-point communication type and checking the communication consistency among the network variable lists are improved.
Further, the checking of the communication consistency among the network variable lists is carried out on the communication type data of the 'ring network', and the checking specifically comprises the following steps: and for the looped network communication type data, sequencing according to 'source/destination of signals', searching the point item information of each network variable list in a different network variable list, extracting the point item information data, and comparing and checking the data searching comparison table to obtain a corresponding checking result.
The beneficial effects of the further technical scheme are as follows: the accuracy and efficiency of the communication consistency check between the looped network communication type data network variable lists are improved.
Further, the point item information specifically includes a roll call, a station number, a cabinet number, a communication type, an interface type, a source, a destination, a cabinet number, a slot number, and a network card number.
Further, obtaining a corresponding checking result, specifically including displaying correctly if the extracted point item information data is consistent with the data lookup comparison table, or displaying incorrectly.
In the invention, the technical schemes can be combined with each other 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 will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a test record of the method according to the embodiment of the present invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
Examples
The invention discloses a computer-aided testing method for network communication of a reactor protection system, wherein the flow schematic diagram of the method is shown in figure 1, and the method comprises the following steps:
step S1, generating a data lookup comparison table corresponding to the system network variable list according to the system network variable list of the reactor protection system network communication;
specifically, according to a system network variable list of the reactor protection system network communication, point item information needing to be checked is counted, and a data search comparison table corresponding to the system network variable list is generated according to the point item information needing to be checked;
it should be noted that each system network wiring diagram describes a specific implementation manner and hardware layout (such as information of channel number, slot number, board card type, wiring manner, etc.) of the system in network communication with other systems; each system network variable list counts the communication information (such as roll call, point description, communication type and other information) of other systems in the reactor protection system and all network variables of the system; the point item information comprises information such as a roll call, a station number, a cabinet number, a communication type, an interface type, a source, a destination, a cabinet number, a slot number, a network card number and the like;
illustratively, according to A system network variable list of A certain variable point, it is known that A hardware channel number of A cabinet with number 29, A chassis with number 2, A slot with number 5, and network cards with numbers 3 and 4 are provided, where A signal received by the corresponding-side CCNS-A is A network signal with A communication type of SN3 from the local-side CCMS-B; in such A way, A datA lookup comparison table is formed, as shown in table 1, the communication mode with the serial number of 1 in table 1 is CCMS-A → CCMS-B, the communication type is SN3, the hardware channel number is 29 cabinet, 2 cabinet, 5 slot, and 3, 4 network card; wherein, the variable point is the specific communication content of the network communication.
TABLE 1
Serial number Type (B) Cabinet number Case number Groove number Network card number Origin/destination Station number Interface type
1 RECV 29 2 5 3,4 CCMS-B CCMS-A SN3
2 SEND 29 2 5 1,2 CCMS-B CCMS-A SN3
3 RECV 58 2 5 3,4 CCMS-A CCMS-B SN3
4 SEND 58 2 5 1,2 CCMS-A CCMS-B SN3
5 RECV 30 2 4 1,2 P1C1 DTC-A1 SN3
6 SEND 30 2 4 5,6 P1C1 DTC-A1 SN3
7 RECV 30 2 11 1,2 P1C1 DTC-A2 SN3
8 SEND 30 2 11 5,6 P1C1 DTC-A2 SN3
Step S2, according to the data searching comparison table, automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration completed, and generating a test record;
and searching a comparison table according to the data, and automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration, wherein the automatic testing comprises the following steps: searching and comparing according to point item information in a system network variable list and corresponding point item information in an engineering database; checking the communication parameter setting and the communication consistency among the network variable lists of the data of the point-to-point communication type; carrying out communication consistency check between network variable lists on data of a communication type of the ring network;
the searching and comparing of the point item information in the system network variable list and the corresponding point item information in the engineering application software completed by the engineering design configuration specifically comprises the following steps: converting a network variable list (input file) into a standardized network variable list (namely manually deleting formats, rules, formulas and the like in an Excel table of the network variable list and only keeping text information); manually converting engineering application software (output files) with the engineering design configuration into (engineering application software exported) network variable database CSV files; then, searching and comparing the standardized network variable list with a network variable database CSV file; specifically, according to a data searching comparison table, searching and comparing point item information of the same point variable name in a standardized network variable list and a network variable database CSV file;
it should be noted that the engineering application software configured by the engineering design is automatically completed by a developer according to a network variable list and is used as an input file, and the network communication point item information of the engineering application software may be inconsistent with the network communication point item information of the input file, so that a consistency test needs to be performed on the network communication point item information and the input file;
in the specific embodiment, the columns named _DBare used for extracting corresponding point item information of the same variable point in the database, so that the input point item value of the same variable point and the configuration value in the CSV file of the database network variable database are arranged in adjacent columns in the same row, and the comparison after data search and extraction is convenient;
comparing the upstream file-network variable list with the downstream file-engineering database (network variable database CSV file), in order to ensure the consistency of the upstream file and the downstream file, searching the point item information of each network variable list in the different network variable lists, and extracting the corresponding point item information data as follows: the information such as roll call, station number, cabinet number, communication type, interface type, source, destination, case number, slot number, network card number and the like is compared and checked in a data searching comparison table;
in a specific embodiment, the project database home page is used as a current operation page, point item information (specifically, a communication type) to be searched and compared is inquired in a current sheet header row of a database, whether the current sheet page of the database has the point item information to be searched and compared is judged, if not, the operation is stopped, and if yes, a network variable list and a comparison check of a network variable database CSV file are carried out.
It should be noted that, according to different network communication diagrams, communication types are divided into two major types, which are respectively a peer-to-peer network communication type and a ring network communication type, and different types of network variables need to be checked respectively;
the method for checking the communication parameter setting and the communication consistency among network variable lists of the data of the point-to-point communication type specifically comprises the following steps:
in order to reduce the calculation amount and improve the searching efficiency, the same type of communication points are put together for searching; ordering the point-to-point communication type data according to the source/destination of the signal; checking the network variable communication parameter setting (such as serial number 1, communication mode is CCMS-A → CCMS-B, communication type is SN3, hardware channel number is 29 cabinet 2 cabinet 5 slot 3, 4 network card), searching the point information of each network variable list in the network variable list different from the point information, and extracting corresponding point information datA such as: the method comprises the steps that information such as roll call, station number, cabinet number, communication type, interface type, source, destination, case number, slot number, network card number and the like is put into a data searching comparison table, and comparison check is carried out on the point item information to obtain a corresponding check result;
in specific implementation, a current sheet page of the database is used as a search range to search for a variable name, and in specific search, an input function is INDEX (lookup _ value, lookup _ array, [ match _ type ])); the method comprises the steps that array and lookup _ array designate the range of a point variable name list to be searched in a sheet page for a database, lookup _ value designates the point variable name list to be searched in a system network variable list, match _ type is set to be 0 (namely accurate matching), and the point variable name is the name of specific communication content of network communication;
the method for checking the communication consistency among network variable lists of the data of the communication type of the ring network specifically comprises the following steps:
sequencing the communication type data of the ring network according to signal source/destination (putting the same type of communication points together for searching so as to reduce the calculated amount and improve the searching efficiency); searching the point item information of each network variable list in different network variable lists (for example, the communication mode of serial number 1 is CCMS-A → CCMS-B, the communication type is SN3, the hardware channel number is No. 29, No. 2 cabinet, No. 5 slot, No. 3 and No. 4 network card) and extracting corresponding point information, wherein the corresponding point item information comprises: the method comprises the steps that information such as roll call, station number, cabinet number, communication type, interface type, source, destination, case number, slot number, network card number and the like is put into a data searching comparison table, and relevant point item information is compared and checked to obtain a corresponding checking result;
in the specific search, the input function is also called INDEX (lookup _ value, lookup _ array, [ match _ type ]) to perform the search.
If the extracted point item information data is consistent with the data search comparison table, a correct check result is displayed (v), and if the extracted point item information data is not consistent with the data search comparison table, an error is displayed (x), and a test record is automatically generated by the aid of a computer, wherein the test record is schematically shown in fig. 2.
The invention provides a computer-aided test method for network communication of a reactor protection system, which can realize quick search and comparison of a safety-level network variable list and corresponding data in an engineering database; checking the setting of network variable parameters; and checking the consistency of communication among the network variable lists and the like. Once the data lookup comparison table is modeled, similar software projects of different versions can be rapidly calculated within a period of time, and compared with manual inspection, the method has the characteristics of high efficiency, accuracy, high automation degree and the like, greatly saves the testing time, and improves the testing efficiency.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium, to instruct related hardware. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.

Claims (4)

1. A computer aided test method for network communication of a reactor protection system is characterized by comprising the following steps:
according to a system network variable list in the network communication of the reactor protection system, counting point item information needing to be checked, and generating a data search comparison table corresponding to the system network variable list according to the point item information needing to be checked;
searching a comparison table according to the data, automatically testing the point item information in the system network variable list and the corresponding point item information in the engineering application software with the engineering design configuration completed, and generating a test record; the point item information specifically comprises a roll call, a station number, a cabinet number, a communication type, an interface type, a source, a destination, a case number, a slot number and a network card number;
the automatic testing comprises the following steps:
searching and comparing the point item information in the system network variable list with the corresponding point item information in the engineering application software;
checking the communication parameter setting of the point-to-point communication type data and checking the communication consistency among network variable lists; the method specifically comprises the following steps: for point-to-point communication type data, sequencing according to 'source/destination of signals', checking communication parameter setting, searching point item information of each network variable list in a network variable list different from the point item information, extracting point item information data, and performing comparison check on the data searching comparison table to obtain a corresponding check result;
carrying out communication consistency check between network variable lists on the communication type data of the ring network; the method specifically comprises the following steps: and for the looped network communication type data, sequencing according to 'source/destination of signals', searching the point item information of each network variable list in a different network variable list, extracting the point item information data, and comparing and checking the data searching comparison table to obtain a corresponding checking result.
2. The method of claim 1, wherein the searching and comparing of the point item information in the system network variable list and the corresponding point item information in the engineering application software completed according to the engineering design configuration specifically comprises:
and converting the system network variable list into a standardized network variable list, converting engineering application software with the engineering design configuration into a network variable database CSV file, searching and comparing the standardized network variable list and the network variable database CSV file according to a data searching comparison table.
3. The method of claim 2, wherein searching and comparing the standardized network variable list with a network variable database (CSV) file according to a data search comparison table comprises: and searching and comparing point item information of the same point variable name in a standardized network variable list and a network variable database CSV file according to the data searching comparison table, wherein the point variable name is the name of communication content in network communication.
4. The method according to claim 1, wherein obtaining the corresponding checking result specifically includes displaying correctly if the extracted point item information data is consistent with the data lookup comparison table, or displaying incorrectly.
CN201811436647.3A 2018-11-28 2018-11-28 Computer-aided test method for network communication of reactor protection system Active CN109639520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811436647.3A CN109639520B (en) 2018-11-28 2018-11-28 Computer-aided test method for network communication of reactor protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811436647.3A CN109639520B (en) 2018-11-28 2018-11-28 Computer-aided test method for network communication of reactor protection system

Publications (2)

Publication Number Publication Date
CN109639520A CN109639520A (en) 2019-04-16
CN109639520B true CN109639520B (en) 2020-12-04

Family

ID=66070093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811436647.3A Active CN109639520B (en) 2018-11-28 2018-11-28 Computer-aided test method for network communication of reactor protection system

Country Status (1)

Country Link
CN (1) CN109639520B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995314A (en) * 2022-06-15 2022-09-02 中国核动力研究设计院 Automatic statistical method and system for variable use information in nuclear power plant DCS (distributed control System)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024504A (en) * 2010-10-21 2011-04-20 中广核工程有限公司 Logic test method and device suitable for reactor protection system
CN104200397A (en) * 2014-08-27 2014-12-10 北京广利核系统工程有限公司 Method for verifying consistence of designed input file and variable information database of DCS (Distributed Control System) of nuclear power station
CN105159275A (en) * 2015-08-16 2015-12-16 中国科学院合肥物质科学研究院 Closed-loop test platform used for instrument and control system of nuclear reactor and driven by real-time simulation data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024504A (en) * 2010-10-21 2011-04-20 中广核工程有限公司 Logic test method and device suitable for reactor protection system
CN104200397A (en) * 2014-08-27 2014-12-10 北京广利核系统工程有限公司 Method for verifying consistence of designed input file and variable information database of DCS (Distributed Control System) of nuclear power station
CN105159275A (en) * 2015-08-16 2015-12-16 中国科学院合肥物质科学研究院 Closed-loop test platform used for instrument and control system of nuclear reactor and driven by real-time simulation data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
反应堆保护系统应用软件集成测试方法;康礼鸿等;《核电子学与探测技术》;20170720;第37卷(第07期);第673-677页 *

Also Published As

Publication number Publication date
CN109639520A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN108090567B (en) Fault diagnosis method and device for power communication system
CN111382070B (en) Compatibility testing method and device, storage medium and computer equipment
CN105956410B (en) A kind of Universal-purpose quick detection method of IEC61850 full models
CN104111885A (en) Method and device for verifying interface test results
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
CN111522741A (en) Interface test code generation method and device, electronic equipment and readable storage medium
CN113094029A (en) Automatic CAPL code generation method and system and automobile
CN112181854A (en) Method, device, equipment and storage medium for generating flow automation script
CN109639520B (en) Computer-aided test method for network communication of reactor protection system
CN111339231A (en) Method and device for processing crowdsourcing update result
CN111475494A (en) Mass data processing method, system, terminal and storage medium
CN111427582B (en) RTL code management method, device, equipment and computer readable storage medium
CN109474822B (en) Android television multi-language automatic testing method and device
CN112486841A (en) Method and device for checking data collected by buried point
CN114461193B (en) Method, device, equipment and storage medium for generating communication protocol code
CN111767213A (en) Method and device for testing database check points, electronic equipment and storage medium
CN109543316B (en) Method for extracting connection relation of different modules of layout
CN115576831A (en) Test case recommendation method, device, equipment and storage medium
CN115357494A (en) Automatic generation method and device of function coverage rate code
CN104536897A (en) Automatic testing method and system based on keyword
CN112347723B (en) Layout-based ROM code extraction verification method and device
CN113868137A (en) Method, device and system for processing buried point data and server
CN113742213A (en) Method, system, and medium for data analysis
CN107169294A (en) The secondary judgement processing method of Excel forms in a kind of ATS for Environmental Test
CN116107971A (en) Model data processing method and device, electronic equipment and storage medium

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