CN110750461B - Nuclear power plant software alarm system based on high-speed serial communication - Google Patents
Nuclear power plant software alarm system based on high-speed serial communication Download PDFInfo
- Publication number
- CN110750461B CN110750461B CN201911027487.1A CN201911027487A CN110750461B CN 110750461 B CN110750461 B CN 110750461B CN 201911027487 A CN201911027487 A CN 201911027487A CN 110750461 B CN110750461 B CN 110750461B
- Authority
- CN
- China
- Prior art keywords
- alarm
- information
- layer
- data
- sound
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 35
- 230000006870 function Effects 0.000 claims abstract description 45
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000008569 process Effects 0.000 claims abstract description 20
- 230000003993 interaction Effects 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 claims abstract description 12
- 230000002159 abnormal effect Effects 0.000 claims abstract description 4
- 238000013500 data storage Methods 0.000 claims abstract description 4
- 238000012544 monitoring process Methods 0.000 claims abstract description 4
- 238000007726 management method Methods 0.000 claims description 22
- XLYOFNOQVPJJNP-ZSJDYOACSA-N Heavy water Chemical compound [2H]O[2H] XLYOFNOQVPJJNP-ZSJDYOACSA-N 0.000 claims description 10
- 230000030279 gene silencing Effects 0.000 claims description 9
- 230000001360 synchronised effect Effects 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 7
- 230000004048 modification Effects 0.000 claims description 7
- 239000003086 colorant Substances 0.000 claims description 5
- 239000000446 fuel Substances 0.000 claims description 5
- 239000002915 spent fuel radioactive waste Substances 0.000 claims description 5
- 230000010365 information processing Effects 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 238000012384 transportation and delivery Methods 0.000 claims description 2
- 230000003442 weekly effect Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000009795 derivation Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Testing And Monitoring For Control Systems (AREA)
- Alarm Systems (AREA)
Abstract
The invention belongs to the technical field of information, and particularly relates to a nuclear power plant software alarm system based on high-speed serial communication; the main structure of the system comprises a data access layer DAL, a business logic layer BLL, a man-machine interaction layer HMI, a software watchdog module and a data source layer; the data source layer is the bottommost layer and is used for data storage; the software watchdog module is positioned between the data source layer and the data access layer DAL, is a monitoring program and is responsible for monitoring the communication interface process and the database operation process, and when the process is abnormal, the software watchdog restarts the process to ensure the stability of the system; the data access layer DAL is used for processing the data of the lower layer and providing the processed data to the upper layer; the business logic layer BLL is positioned at the upper layer of the data access layer DAL and is used for receiving the data of the lower layer, processing the data and outputting and displaying the processed data; the human-machine interaction layer HMI is positioned at the upper layer of the business logic layer BLL and is used for human-machine interaction; the invention has more perfect functions and better application prospect.
Description
Technical Field
The invention belongs to the technical field of information, and particularly relates to a nuclear power plant software alarm system based on high-speed serial communication.
Background
With the improvement of the requirements of the nuclear power station on the software alarm system, the current system for alarming and displaying the alarm by the indicator lamp of the nuclear power station cannot meet the current requirements, and the problems of the system are as follows: 1. only a limited number of alarm information are displayed on each side of the system, the alarms displayed on the display are all the alarms which occur recently, and the alarms which occur earlier are covered along with the generation of new alarms; 2. if no new alarm is generated, the information that the alarm is restored to be normal is still displayed on the display, and occupies the position displayed on the display, so that unnecessary interference is caused to the attention of a refueling operator to the alarm information. The problems of historical alarm information persistence and timely alarm information clearing in the prior art of a nuclear power plant software alarm system are not yet solved effectively. Therefore, the design of the nuclear power plant software alarm system with multiple functions and based on high-speed serial communication has a great application prospect.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and proposes a nuclear power plant software alarm system based on high-speed serial communication, which can display an alarm interface in real time; switching on and off alarm sounds as required; the alarm information is displayed, and can be silenced, flash removed, historical information checked and alarm cleared as required; any alarm record can be deleted, and a history record can be exported to an excel table; historical information inquiry about alarm time, alarm serial number, alarm content and alarm state can be realized.
The invention relates to a nuclear power plant software alarm system based on high-speed serial communication, which mainly comprises a data access layer DAL, a business logic layer BLL, a man-machine interaction layer HMI, a software watchdog module and a data source layer; the data source layer is the bottommost layer and is used for acquiring, storing alarm data and storing an alarm database; the software watchdog module is positioned between the data source layer and the data access layer DAL, is a monitoring program and is responsible for monitoring the communication interface process and the operation of the database operation process, and when the process is abnormal, the software watchdog restarts the process to ensure the stability of the system; the data access layer DAL is used for processing the data of the lower layer and providing the processed data to the upper layer; the business logic layer BLL is positioned at the upper layer of the data access layer DAL and is used for receiving the data of the lower layer, processing the data and outputting and displaying the processed data; the human-machine interaction layer HMI is positioned at the upper layer of the business logic layer BLL and is used for human-machine interaction.
Further, the data source layer comprises an alarm information database; the data access layer DAL comprises a communication interface module and a database engine; the business logic layer BLL comprises a sound output module, an alarm information display module, an alarm information inquiry module, a permission management module and an information backup and restoration module; the man-machine interaction layer comprises a display interface.
Further, the alarm information database is a preset database and is used for data storage, the data acquired by the system are compared with the data of the alarm information database, and when the acquired data accords with certain data in the alarm information database, corresponding alarm information is output.
Further, the communication interface module receives alarm information sent by the detected equipment through a serial port on a PCI communication board card connected with the side of the alarm PC; the communication interface module is mainly responsible for reading serial port information, is used as input of a system to be provided for other functional modules after being analyzed and processed, reads serial ports by using independent processes, has a serial port reading refresh rate of 100ms, and realizes the reading of serial port data by configuring the drive of the IOserver.
Further, the database used is MySQL, the database engine is a core service for storing, processing and protecting data, and it uses different technologies, i.e. different engines, to store the data of the database in the memory and the hard disk; reasonable selection and utilization of the database engine may lead to good performance for the service. MySQL of the system is a version of MySQL-insulator-community-5.6.33.0.msi, and can be used for manually or automatically backing up data by using a database manager.
Further, the sound output module is used for turning on or off system sound, and defaults to an on state; when responding to the sound alarm, the sound alarm is output through an alarm output device on the alarm PC, different alarm sounds can be defined, important alarms appear, and the alarm information is displayed in a flashing mode and simultaneously gives out the sound alarm, namely the sound and light alarm; an audible alarm is issued when the alarm state changes (i.e., A (alarm) -N (normal), or N (normal) -A (alarm)). Important alarm information and alarm sounds are different when the alarm state is changed so as to distinguish two different alarms; the user can carry out silencing and flashing through the keys, and only the alarm sound corresponding to the alarm information is eliminated through each key. By means of a manual switch, the sound can be turned off when the system is out of service; the alarm system can respond to different alarms differently, and the response modes comprise sound alarm, flashing alarm and the like.
Further, the alarm information display module is used for displaying alarm information on a screen, and different alarm contents are marked by different colors according to states and serial numbers. The background color of the alarm window information display column is black and is not editable. The a (alarm) state is shown in red and the N (normal) state is shown in green. Each time the alarm system operates, the initial interface displays all current alarm information; the software is divided into two screens for displaying alarm information; the alarm information is classified, formed and acquired, and displayed as follows: the alarm information is displayed in four columns, which are respectively: alarm state, number, alarm content and alarm time. There are two alarm states, a (alarm) and N (normal), respectively, with alarm numbers in the form AXXX. The alarm time is the actual receiving time; when the alarm information in the alarm list appears, an audible alarm and an alarm state flash are sent out. When the program loop alarm with sound is generated, the alarm state and the alarm content are red, and when the other program loops without sound are generated, the alarm state and the alarm content are white. Alarm information is displayed on a screen, and different alarm contents are marked by different colors according to states and serial numbers.
Furthermore, the alarm information inquiry module provides an inquiry function for the alarm system, and solves the problem that the stored historical alarm information is too much and is not easy to inquire. The alarm system provides two functions of classification recognition and condition inquiry, the classification recognition function is quick and simple, and the condition inquiry function is more accurate. The user can quickly find the alarm information wanted by the user by clicking the corresponding button according to the quick classification conditions such as alarm sound, NO alarm sound, safety alarm, main alarm, secondary alarm, synchronous alarm loss, NO CRT alarm and the like; the software provides a condition query function, and a user can query accurate alarm information by setting a query condition expression, and can query all alarm information conforming to the condition according to the alarm number, the alarm state, the alarm time and the like. The query result can be exported to the EXCEL file or printed, and the alarm information can be automatically and periodically exported to the EXCEL file according to the set time. The inquiry interface is divided into two screens for display, namely F/H supervision program (FHSUP) alarm (alarm with alarm number) and program alarm (loop alarm); aiming at the alarm generated by the F/H supervision program (FHSUP), the alarm is automatically cleared from the screen after the alarm is recovered to be normal, and if the alarm is generated by the program alarm (loop alarm), the alarm does not have the function of recovering to the normal state, so the function of clearing from the screen one by one and the function of automatically clearing the next day are realized; historical alert information on the query interface cannot be subject to a delete operation.
Furthermore, the authority management module is used for providing a system administrator account, and logging in the system administrator account can perform corresponding authority control on the software. The software has the function of updating important alarms, an administrator can add important alarms by himself, the function can be operated only by having corresponding authorities, and when the function is used, the software can perform authority authentication first and can be operated after the authentication is successful.
Furthermore, the alarm information backup and restore module is used for backing up data, and a user can set up the data through a database manager to carry out manual backup or automatic backup by adopting the backup and restore functions of the database.
Furthermore, the display interface is a UI of the display software of the uppermost layer of the system, and comprises a plurality of setting interfaces such as a real-time alarm display interface, a history record interface and the like, and is used for performing man-machine interaction, and displaying information which needs to be displayed to a user by the software, including alarm information, history record information, an operation interface and the like.
The beneficial effects of the invention are as follows: compared with the prior art, the nuclear power plant software alarm system based on high-speed serial communication has an audible and visual alarm function, adopts a three-layer architecture, reads and analyzes an alarm information log file generated by FHprint. Exe through a DAL (data access layer) to obtain required data, performs relevant service operation processing through a BLL (service logic layer), and writes the required data into a database or outputs and displays; by displaying the alarm information, silencing, flashing, checking the history information and clearing the alarm as required, the problems that the alarm information displayed by the system is too little, the history information cannot be reserved and the existing alarm information is covered by the new alarm information can be effectively solved; the problem that the existing alarm information cannot be cleared in time, and unnecessary interference is brought to operators is effectively solved; on the other hand, the historical alarm information can be exported, so that data loss is prevented, and the method is convenient to review; in order to improve the reliability of a software system, the safety and the reliability of the system are fully considered in the software design and the data architecture design, and once the software fails in the test operation process, the software has the capability of troubleshooting the failure.
Drawings
FIG. 1 is an organizational chart of the present invention;
FIG. 2 is a main interface diagram of the present invention.
Description of the embodiments
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The invention will now be further illustrated by means of specific examples in connection with the accompanying drawings.
Examples
The main structure of the nuclear power plant software alarm system based on high-speed serial communication comprises a data access layer DAL, a business logic layer BLL, a man-machine interaction layer HMI, a software watchdog module and a data source layer; the data source layer is the bottommost layer and is used for acquiring, storing alarm data and storing an alarm database; the software watchdog module is positioned between the data source layer and the data access layer DAL, is a monitoring program and is responsible for monitoring the communication interface process and the operation of the database operation process, and when the process is abnormal, the software watchdog restarts the process to ensure the stability of the system; the data access layer DAL is used for processing the data of the lower layer and providing the processed data to the upper layer; the business logic layer BLL is positioned at the upper layer of the data access layer DAL and is used for receiving the data of the lower layer, processing the data and outputting and displaying the processed data; the human-machine interaction layer HMI is positioned at the upper layer of the business logic layer BLL and is used for human-machine interaction.
The data source layer in this embodiment includes an alarm information database; the data access layer DAL comprises a communication interface module and a database engine; the business logic layer BLL comprises a sound output module, an alarm information display module, an alarm information inquiry module, a permission management module and an information backup and restoration module; the man-machine interaction layer comprises a display interface.
The alarm information database is a preset database and is used for data storage, data acquired by the system are compared with the data of the alarm information database, and when the acquired data accords with certain data in the alarm information database, corresponding alarm information is output.
The communication interface module in this embodiment receives alarm information sent by the detected device through a serial port on a PCI communication board card connected to the side of the alarm PC; the communication interface module is mainly responsible for reading serial port information, is used as input of a system to be provided for other functional modules after being analyzed and processed, reads serial ports by using independent processes, has a serial port reading refresh rate of 100ms, and realizes the reading of serial port data by configuring the drive of the IOserver.
The database used in this embodiment is MySQL, the database engine is a core service for storing, processing and protecting data, and it uses different technologies, that is, different engines, to store the data of the database in the memory and the hard disk; reasonable selection and utilization of the database engine may lead to good performance for the service. MySQL of the system is a version of MySQL-insulator-community-5.6.33.0.msi, and can be used for manually or automatically backing up data by using a database manager.
The sound output module is used for turning on or off system sound and defaults to an on state; when responding to the sound alarm, the sound alarm is output through an alarm output device on the alarm PC, different alarm sounds can be defined, important alarms appear, and the alarm information is displayed in a flashing mode and simultaneously gives out the sound alarm, namely the sound and light alarm; an audible alarm is issued when the alarm state changes (i.e., A (alarm) -N (normal), or N (normal) -A (alarm)). Important alarm information and alarm sounds are different when the alarm state is changed so as to distinguish two different alarms; the user can carry out silencing and flashing through the keys, and only the alarm sound corresponding to the alarm information is eliminated through each key. By means of a manual switch, the sound can be turned off when the system is out of service; the alarm system can respond to different alarms differently, and the response modes comprise sound alarm, flashing alarm and the like.
The alarm information display module in this embodiment is configured to display alarm information on a screen, where different alarm contents are marked by different colors according to states and serial numbers. The background color of the alarm window information display column is black and is not editable. The a (alarm) state is shown in red and the N (normal) state is shown in green. Each time the alarm system operates, the initial interface displays all current alarm information; the software is divided into two screens for displaying alarm information; the alarm information is classified, formed and acquired, and displayed as follows: the alarm information is displayed in four columns, which are respectively: alarm state, number, alarm content and alarm time. There are two alarm states, a (alarm) and N (normal), respectively, with alarm numbers in the form AXXX. The alarm time is the actual receiving time; when the alarm information in the alarm list appears, an audible alarm and an alarm state flash are sent out. When the program loop alarm with sound is generated, the alarm state and the alarm content are red, and when the other program loops without sound are generated, the alarm state and the alarm content are white. The alarm information is displayed on a screen, and different alarm contents are marked by different colors according to states and serial numbers, and the specific representation is as follows:
whether an alarm sound exists or not: the alarm sound is provided, and the color of the alarm serial number is set to be red; no alarm sound is generated, and the alarm serial number is set to be white.
Alarm level: safety alarm, wherein the alarm state is red; the main alarm is yellow in alarm state; secondary alarm, wherein the alarm state is blue-green; the NO CRT alarms, and the alarm state is light blue.
Alarm category: oil, heavy water, air, shielding door, bridge frame and other systems, and the alarm content is blue-green; the power supply and A/I, D/I synchronous alarm, the alarm content is white; new fuel is transmitted, and the alarm content is green; spent fuel is transmitted, and the alarm content is yellow.
The alarm information inquiry module of the embodiment provides an inquiry function for an alarm system and solves the problem that the stored historical alarm information is too much and is not easy to inquire. The alarm system provides two functions of classification recognition and condition inquiry, the classification recognition function is quick and simple, and the condition inquiry function is more accurate. The user can quickly find the alarm information wanted by the user by clicking the corresponding button according to the quick classification conditions such as alarm sound, NO alarm sound, safety alarm, main alarm, secondary alarm, synchronous alarm loss, NO CRT alarm and the like; the software provides a condition query function, and a user can query accurate alarm information by setting a query condition expression, and can query all alarm information conforming to the condition according to the alarm number, the alarm state, the alarm time and the like. The query result can be exported to the EXCEL file or printed, and the alarm information can be automatically and periodically exported to the EXCEL file according to the set time. The inquiry interface is divided into two screens for display, namely F/H supervision program (FHSUP) alarm (alarm with alarm number) and program alarm (loop alarm); aiming at the alarm generated by the F/H supervision program (FHSUP), the alarm is automatically cleared from the screen after the alarm is recovered to be normal, and if the alarm is generated by the program alarm (loop alarm), the alarm does not have the function of recovering to the normal state, so the function of clearing from the screen one by one and the function of automatically clearing the next day are realized; historical alert information on the query interface cannot be subject to a delete operation.
The rights management module in this embodiment is configured to provide a system administrator account, and log in the system administrator account to perform corresponding rights control on software. The software has the function of updating important alarms, an administrator can add important alarms by himself, the function can be operated only by having corresponding authorities, and when the function is used, the software can perform authority authentication first and can be operated after the authentication is successful.
The alarm information backup and restore module in this embodiment is used to backup data, and the user can set up the database manager to perform manual backup or automatic backup by adopting the backup and restore functions of the database.
The display interface in this embodiment is a UI of a display software of the uppermost layer of the system, and includes a plurality of setting interfaces such as a real-time alarm display interface and a history interface, and is used for performing man-machine interaction, and displaying information that needs to be displayed to a user by the software, including alarm information, history information, and an operation interface.
Examples
The working principle of the nuclear power plant software alarm system based on high-speed serial communication in the embodiment is as follows:
alarm information display:
as shown in FIG. 1, the real-time alarm interface mainly comprises a title bar, a calendar clock, an alarm information display area and an alarm information operation area, wherein an alarm sound total switch is positioned at the upper right corner of the implementation interface, the alarm sound can be controlled by a sound switch button, defaults to an on state, and changes to an off state after clicking; the information display area is divided into two screens FHC and FHA, and the black background area is an alarm information real-time display area, and comprises an alarm state, an alarm time, an alarm serial number and alarm content: the white background area is an operation prompt information display area; the alarm information real-time display area only displays alarm with serial numbers and program loop alarm, wherein an alarm serial number column of the program loop alarm is empty; when the alarm information in the alarm list appears, the alarm state and the alarm state flash, when the program loop alarm with sound appears, the alarm state and the alarm content are red, and when the other program loop alarms without sound appear, the alarm state and the alarm content are white.
(2) Alarm information processing operation:
alarm information processing operation area: the method mainly comprises silencing, flashing, historical information, program loop alarm clearing and normal alarm clearing; silencing: if the alarm with alarm sound appears at present, the noise can be reduced by clicking the button; flash removal: if the alarm of the state flashing currently appears, the flash can be removed by clicking the button; clearing program loop alarm: and clearing all program loop alarms on the current screen. Clearing normal alarm: clearing all alarms with the alarm state N on the current screen; history information: and opening a history information interface.
(3) History information query:
the history information interface provides an alarm inquiry function, and can inquire the required alarm information from the database through alarm time, alarm serial number, inquiry content, alarm state, alarm sound, alarm level and alarm category; the alarm time inquiry is carried out, wherein the alarm time inquiry is carried out by setting the starting time and the expiration time of the alarm information, inquiring all history information in the time period, wherein the expiration time defaults to the current time, and the starting time defaults to the current time and is backed up for 2 days; the alarm information is classified into 5 classes: safety alarm, primary alarm, secondary alarm, out of sync alarm, NO CRT alarm; the alarm categories are divided into 4 categories: oil, heavy water, air pressure, shielding door, bridge frame and other systems; the power supply and A/I, D/I synchronous alarm; new fuel delivery; spent fuel transport. The user can automatically export file setting according to the requirement, and the timing export is divided into three types: timing daily derivation (deriving history information for one day), timing weekly derivation (deriving history information for one week), and timing monthly derivation (deriving history information for one month).
Important alarm management:
the system provides an important alarm management function which is only operable by a user with operation authority, for example, an administrator account and a common account have operation authority; all kinds of alarm information are listed in the important alarm management, and in addition, the user can modify, add and delete the alarm information; the details of the alarm information are shown in fig. 2, and whether an alarm sound exists or not: the alarm sound is provided, and the color of the alarm serial number is set to be red; no alarm sound is generated, and the alarm serial number is set to be white; alarm level: safety alarm, wherein the alarm state is red; the main alarm is yellow in alarm state; secondary alarm, wherein the alarm state is blue-green; the NO CRT alarms, and the alarm state is light blue; alarm category: oil, heavy water, air, shielding door, bridge frame and other systems, and the alarm content is blue-green; the power supply and A/I, D/I synchronous alarm, the alarm content is white; new fuel is transmitted, and the alarm content is green; spent fuel is transmitted, and the alarm content is yellow.
(5) And (3) account management:
the account management has the functions of common user information table, registered user, common user password modification and administrator password modification; the general user information table is used for displaying all general accounts, and lists information of all general accounts, including user name ID, user name, user group, user description, creation time and final modification time, wherein the user description can be empty.
(6) Database management:
the database management function is only operable by users with operation authorities, for example, an administrator account and a common account have operation authorities, and the database management can manually back up the database and cut the database so as to avoid overlarge database files and influence the software operation efficiency.
Examples
The specific method for realizing the serial port data reading by the communication interface module in the embodiment is as follows:
a: a mounting driver and a serial port driver;
b: configuring serial ports, and configuring parameters such as baud rate, data bits, stop bits, check bits and the like according to specific requirements;
c: establishing serial device register association;
d: configuring a server in a network configuration;
e: and adding a serial device register associated variable in the data word library, and enabling a program to access a serial port through the associated variable.
The database in this embodiment mainly includes two tables, an alarm information table (alminfo) and a history alarm information table (histalinfo):
alarm information table
Sequence number | Fields | Type(s) | Maximum length of | Remarks |
1 | alm_id | AutoNumber | N/A | Numbering device |
2 | alm_num | Date/Time | 10 | Alarm serial number |
3 | num_color | Text | 10 | Alarm serial number color |
4 | alm_status | Text | 10 | Alarm state |
5 | status_color | Text | 10 | Alarm state color |
6 | alm_content | Text | 255 | Alarm content |
7 | content_color | Text | 10 | Alarm content color |
Historical alarm information table
Sequence number | Fields | Type(s) | Maximum length of | Remarks |
1 | alm_id | AutoNumber | N/A | Numbering device |
2 | alm_datetime | Date/Time | N/A | The time for the alarm is set to be equal to the time for the alarm, |
3 | alm_num | Text | 10 | alarm serial number |
4 | alm_status | Text | 10 | Alarm state |
5 | alm_content | Text | 255 | Alarm content |
6 | alm_sound | Yes/No | N/A | Alarm sound classification |
7 | alm_level | Text | 10 | Alarm class classification |
8 | alm_source | Text | 10 | Alarm source classification |
9 | alm_side | Text | 1 | Alarm information side (A side or C side) |
The foregoing embodiments are merely examples of the present invention, and the scope of the present invention includes, but is not limited to, the forms and styles of the foregoing embodiments, and any suitable changes or modifications made by those skilled in the art, which are consistent with the claims of the present invention, shall fall within the scope of the present invention.
Claims (8)
1. A nuclear power plant software alarm system based on high-speed serial communication is characterized in that: the main structure comprises a data access layer DAL, a business logic layer BLL, a man-machine interaction layer HMI, a software watchdog module and a data source layer; the data source layer is the bottommost layer and is used for acquiring, storing alarm data and storing an alarm database; the software watchdog module is positioned between the data source layer and the data access layer DAL, is a monitoring program and is responsible for monitoring the communication interface process and the operation of the database operation process, and when the process is abnormal, the software watchdog restarts the process to ensure the stability of the system; the data access layer DAL is used for processing the data of the lower layer and providing the processed data to the upper layer; the business logic layer BLL is positioned at the upper layer of the data access layer DAL and is used for receiving the data of the lower layer, processing the data and outputting and displaying the processed data; the human-machine interaction layer HMI is positioned at the upper layer of the business logic layer BLL and is used for human-machine interaction;
the data source layer comprises an alarm information database; the data access layer DAL comprises a communication interface module and a database engine; the business logic layer BLL comprises a sound output module, an alarm information display module, an alarm information inquiry module, a permission management module and an information backup and restoration module; the man-machine interaction layer comprises a display interface;
the working principle is as follows:
(1) Alarm information display:
the real-time alarm interface mainly comprises a title bar, a calendar clock, an alarm information display area and an alarm information operation area, wherein an alarm sound main switch is positioned at the upper right corner of the implementation interface, alarm sound can be controlled by a sound switch button, defaults to be in an on state, and changes to be in an off state after clicking; the information display area is divided into two screens FHC and FHA, and the black background area is an alarm information real-time display area, and comprises an alarm state, an alarm time, an alarm serial number and alarm content: the white background area is an operation prompt information display area; the alarm information real-time display area only displays alarm with serial numbers and program loop alarm, wherein an alarm serial number column of the program loop alarm is empty; when the alarm information in the alarm list appears, the alarm state and the alarm state flash, when the program loop alarm with sound appears, the alarm state and the alarm content are red, and when the other program loop alarms without sound appear, the alarm state and the alarm content are white;
(2) Alarm information processing operation:
alarm information processing operation area: the method mainly comprises silencing, flashing, historical information, program loop alarm clearing and normal alarm clearing; silencing: if the alarm with alarm sound appears at present, the silencing can be performed by clicking the button; flash removal: if the alarm of the state flashing currently appears, the flash can be removed by clicking the button; clearing program loop alarm: clearing all program loop alarms on the current screen; clearing normal alarm: clearing all alarms with the alarm state N on the current screen; history information: opening a history information interface;
(3) History information query:
the history information interface provides an alarm inquiry function, and can inquire the required alarm information from the database through alarm time, alarm serial number, inquiry content, alarm state, alarm sound, alarm level and alarm category; the alarm time inquiry is carried out, wherein the alarm time inquiry is carried out by setting the starting time and the expiration time of the alarm information, inquiring all historical information in the time period, wherein the expiration time defaults to the current time, and the starting time defaults to the current time and is backed up for 2 days; the alarm information is classified into 5 classes: safety alarm, primary alarm, secondary alarm, out of sync alarm, NO CRT alarm; the alarm categories are divided into 4 categories: oil, heavy water, air, shield door and bridge system; the power supply and A/I, D/I synchronous alarm; new fuel delivery; spent fuel transmission; the user carries out automatic export file setting according to the requirement, and the timing export is divided into three types: timing is derived daily, timing is derived weekly, and timing is derived monthly;
(4) Important alarm management:
the system provides an important alarm management function, the function only has the user operation of operation authority, and an administrator account and a common account have operation authority; all kinds of alarm information are listed in the important alarm management, and in addition, the user modifies, adds and deletes the alarm information; the details of the alarm information are as follows: whether an alarm sound exists or not: the alarm sound is provided, and the color of the alarm serial number is set to be red; no alarm sound is generated, and the alarm serial number is set to be white; alarm level: safety alarm, wherein the alarm state is red; the main alarm is yellow in alarm state; secondary alarm, wherein the alarm state is blue-green; the NO CRT alarms, and the alarm state is light blue; alarm category: the alarm content of the oil, heavy water, air pressure, shielding door and bridge system is blue-green; the power supply and A/I, D/I synchronous alarm, the alarm content is white; new fuel is transmitted, and the alarm content is green; spent fuel is transmitted, and the alarm content is yellow;
(5) And (3) account management:
the account management has the functions of common user information table, registered user, common user password modification and administrator password modification; the common user information table is used for displaying all common accounts, and lists the information of all the common accounts, including user name ID, user name, user group, user description, creation time and final modification time;
(6) Database management:
the database management function only has the user operation of operation authority, the manager account and the common account have operation authority, and the database management can manually back up the database and cut the database so as to avoid overlarge database files and influence the corresponding efficiency of software.
2. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the alarm information database is a preset database and is used for data storage, the data acquired by the system are compared with the data of the alarm information database, and when the acquired data accords with certain data in the alarm information database, corresponding alarm information is output.
3. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the communication interface module receives alarm information sent by the detected equipment through a serial port on a PCI communication board card connected with the side of the alarm PC; the communication interface module is mainly responsible for reading serial port information, and is used as input of a system to other functional modules after analysis and processing, and the serial port is read by an independent process.
4. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the sound output module is used for starting or closing system sound and defaults to an on state; when responding to the sound alarm, the sound alarm is output through an alarm output device on the alarm PC, different alarm sounds can be defined, important alarms appear, and the alarm information is displayed in a flashing mode and simultaneously gives out the sound alarm, namely the sound and light alarm; the alarm state is changed, namely, when A-N or N-A is changed, an audible alarm is given, A represents alarm, and N represents normal; important alarm information and alarm sounds are different when the alarm state is changed so as to distinguish two different alarms; the user can carry out silencing and flashing through the keys, and each time the keys only eliminate the alarm sound corresponding to the alarm information; by means of a manual switch, the sound can be turned off when the system is out of service; the alarm system can respond to different alarms differently, and the response modes comprise sound alarm and flashing alarm.
5. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the alarm information display module is used for displaying alarm information on a screen, and different alarm contents are marked by different colors according to states and serial numbers; the background color of the alarm window information display column is black and cannot be edited; the A state is shown in red, the N state is shown in green, A represents alarm, and N represents normal; each time the alarm system operates, the initial interface displays all current alarm information; the software is divided into two screens for displaying alarm information; the alarm information is classified, formed and acquired, and displayed as follows: the alarm information is displayed in four columns, which are respectively: alarm state, number, alarm content and alarm time.
6. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the alarm information inquiry module provides an inquiry function for an alarm system and solves the problem that the stored historical alarm information is too much and is not easy to inquire; the alarm system provides two functions of classification recognition and condition inquiry, the classification recognition function is quick and simple, and the condition inquiry function is more accurate; the user can quickly find the alarm information wanted by the user by clicking the corresponding button according to the quick classification conditions of alarm sound, NO alarm sound, safety alarm, main alarm, secondary alarm, synchronous alarm loss and NO CRT alarm; the software provides a condition query function, and a user can query accurate alarm information by setting a query condition expression, and query all alarm information conforming to the condition according to the alarm number, the alarm state and the alarm time condition respectively.
7. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the authority management module is used for providing a system administrator account, logging in the system administrator account to perform corresponding authority control on the software; the software has the function of updating important alarms, an administrator increases the important alarms by himself, the function can be operated only by having corresponding authorities, and when the function is used, the software can perform authority authentication first and then operate after the authentication is successful.
8. The high-speed serial communication-based nuclear power plant software alarm system according to claim 1, wherein: the alarm information backup and restore module is used for backing up the data, adopts the backup and restore functions of the database, and the user performs manual backup or automatic backup through the setting of the database manager.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911027487.1A CN110750461B (en) | 2019-10-28 | 2019-10-28 | Nuclear power plant software alarm system based on high-speed serial communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911027487.1A CN110750461B (en) | 2019-10-28 | 2019-10-28 | Nuclear power plant software alarm system based on high-speed serial communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110750461A CN110750461A (en) | 2020-02-04 |
CN110750461B true CN110750461B (en) | 2023-05-23 |
Family
ID=69280194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911027487.1A Active CN110750461B (en) | 2019-10-28 | 2019-10-28 | Nuclear power plant software alarm system based on high-speed serial communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110750461B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112564284A (en) * | 2020-12-04 | 2021-03-26 | 中广核工程有限公司 | Alarm prompting method and device, computer equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970017705A (en) * | 1995-09-13 | 1997-04-30 | 윤덕용 | Operator working group of nuclear power plant |
CN101685679A (en) * | 2008-09-27 | 2010-03-31 | 中国核动力研究设计院 | System for monitoring loosening part of nuclear reactor and coolant system |
CN105449846A (en) * | 2014-08-29 | 2016-03-30 | 国家电网公司 | DC online monitoring and management system and management method |
WO2016101638A1 (en) * | 2014-12-23 | 2016-06-30 | 国家电网公司 | Operation management method for electric power system cloud simulation platform |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050154734A1 (en) * | 2003-12-19 | 2005-07-14 | International Business Machines Corporation | Method and system for monitoring and reporting backup results |
CN101894428B (en) * | 2010-05-12 | 2014-04-23 | 北京海鑫智圣技术有限公司 | ATM (Automated Teller Machine) intelligent monitoring system |
US20140181145A1 (en) * | 2012-12-26 | 2014-06-26 | Jafer S. KAMSAMOHIDEEN | Modular Software System for Use in an Integration Software Technology and Method of Use |
CN105740101A (en) * | 2016-01-29 | 2016-07-06 | 青岛海尔智能家电科技有限公司 | Automatic backup and automatic restoration method and apparatus for MySQL database |
CN105913226B (en) * | 2016-04-12 | 2018-01-16 | 中国人民解放军海军工程大学 | Nuclear power plant's operation support system based on intelligent voice prompt |
CN107046481B (en) * | 2017-04-18 | 2019-12-03 | 国网福建省电力有限公司 | A kind of information system integrated network management system comprehensive analysis platform |
CN108197261A (en) * | 2017-12-30 | 2018-06-22 | 北京通途永久科技有限公司 | A kind of wisdom traffic operating system |
-
2019
- 2019-10-28 CN CN201911027487.1A patent/CN110750461B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970017705A (en) * | 1995-09-13 | 1997-04-30 | 윤덕용 | Operator working group of nuclear power plant |
CN101685679A (en) * | 2008-09-27 | 2010-03-31 | 中国核动力研究设计院 | System for monitoring loosening part of nuclear reactor and coolant system |
CN105449846A (en) * | 2014-08-29 | 2016-03-30 | 国家电网公司 | DC online monitoring and management system and management method |
WO2016101638A1 (en) * | 2014-12-23 | 2016-06-30 | 国家电网公司 | Operation management method for electric power system cloud simulation platform |
Also Published As
Publication number | Publication date |
---|---|
CN110750461A (en) | 2020-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106157167B (en) | Secondary equipment remote control operation ticket system and implementation method of secondary equipment remote control operation ticket | |
CN102436473B (en) | Menu management device and menu managing method | |
CN108600148B (en) | Transaction message processing method and device | |
CN103529707B (en) | The method for designing of full Object-oriented Intelligent alarm model in a kind of subway comprehensive monitoring system | |
CN110427307A (en) | Log analytic method, device, computer equipment and storage medium | |
CN101976316B (en) | Information access authority control method | |
CN104700304A (en) | Method and system for supervising enterprise tax evasion through values of plain invoices of value-added tax | |
CN111815290B (en) | Territorial space planning system based on GIS | |
CN100433647C (en) | Warning managing method and system | |
US20120254337A1 (en) | Mainframe Management Console Monitoring | |
CN112764737B (en) | Intelligent low-code technology platform system | |
CN105893016A (en) | Log recording system and method based on MVC (Model View Controller) framework | |
CN110750461B (en) | Nuclear power plant software alarm system based on high-speed serial communication | |
CN109165121A (en) | Restore the method and system for the data being misused | |
CN110457529A (en) | Post data processing method, device, computer equipment and storage medium | |
CN115576950A (en) | Report generation method based on JSON configuration file | |
CN114880670A (en) | Terminal safety data index visualization system | |
CN113901093A (en) | Service call log relation analysis method and system based on memory cache | |
CN114172921A (en) | Log auditing method and device for scheduling recording system | |
CN112596711A (en) | Personalized authority management setting method and system based on Web system | |
CN117972704A (en) | Blockchain ecological safety collaborative supervision method | |
CN111767299A (en) | Database operation method, device and system, storage medium and electronic equipment | |
CN112613069A (en) | Automatic desensitization method based on negative list data resources | |
CN113434366A (en) | Event processing method and system | |
CN103177330A (en) | Operation order management system aiming at production and maintenance of thermodynamic system equipment |
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 |