Method and medium for real-time business monitoring of nuclear power plant
Patent Information
- Application Number
- CN202611098603.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-22
- Publication Date
- 2026-10-30
AI Technical Summary
[0003]本发明要解决的技术问题在于,针对上述背景技术中提及的相关技术存在的至少一个缺陷:现有数据获取链路过长导致资源消耗高、延迟大,提供一种核电厂实时业务监控方法及介质
本发明通过设置同步主数据库中增量数据的从数据库,使核电设备管理平台的实时业务监控可以直接通过获取从数据库中的增量数据完成,避免数据获取链路过长导致的资源消耗和链路延迟的情况,提高了实时业务监控的效率。
Smart Images

Figure CN123012049A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of nuclear power network communication technology, and in particular to a method and medium for real-time business monitoring of nuclear power plants. Background Technology
[0002] The existing data query chain for real-time nuclear power operations is "Nuclear Equipment Management Platform -> HTTPS -> Middleware -> WebSocket -> Database". This means the nuclear equipment management platform uses HTTPS to process data in batches at the middleware, and then the processed real-time data is transmitted from the database via a WebSocket connection. In this existing data acquisition chain, the excessive length leads to high resource consumption, and the need for extensive computation and logical judgments by the middleware results in significant latency. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to address at least one defect of the related technologies mentioned in the background: the existing data acquisition links are too long, resulting in high resource consumption and large latency. The present invention provides a method and medium for real-time business monitoring of nuclear power plants.
[0004] The technical solution adopted by this invention to solve its technical problem is: to construct a real-time operational monitoring method for nuclear power plants, the method comprising the following steps: S1: Transmit the real-time business data of the nuclear power plant to the master database. The master database synchronizes the incremental data that has changed in the real-time business data to the slave database through point table driving. S2: Retrieves incremental data synchronized from the main database and stores it within a preset time period, so that the nuclear power equipment management platform can obtain incremental data from the database to monitor the real-time business operation of the nuclear power plant.
[0005] In some embodiments, in step S1, the real-time business data consists of the addresses of various measuring points in the nuclear power plant and the real-time values corresponding to each measuring point. Incremental data includes: the addresses of measurement points that have changed in real-time business data and the incremental values corresponding to the changed measurement points.
[0006] In some embodiments, the master database configures the point table configuration file of the master database; In step S1, the point table driver includes: the main database obtains the change dead zone corresponding to each measurement point address according to the point table configuration file of the main database; Determine whether the difference between the real-time value corresponding to each measuring point and the previously stored value is greater than the change dead zone corresponding to the measuring point address. If so, synchronize the incremental data to the slave database; otherwise, discard the data.
[0007] In some embodiments, the database configuration is derived from a point table configuration file of the database; Step S2 includes: receiving the changed measurement point addresses and corresponding incremental values from the real-time business data sent by the main database, converting the measurement point addresses into corresponding measurement points from the point table configuration file of the database, and saving the measurement points and corresponding incremental values within a preset time period.
[0008] In some embodiments, the method further includes: the master database synchronizing incremental data to the local database via heartbeat packets, so that the nuclear power equipment management platform can query historical data through the local database.
[0009] In some embodiments, the master database synchronizes incremental data to the local database via heartbeat packets, including: the master database sends heartbeat packets to the local database within a preset time period and waits for the local database to recover; if a response is received from the local database, the master database synchronizes the incremental data to the local database; if a response is not received from the local database after a preset number of attempts, an alarm is triggered.
[0010] In some embodiments, synchronizing incremental data to the local database includes: when the main database detects measurement point data exceeding the change dead zone, generating incremental records; and after receiving a heartbeat packet response from the local database, sending an incremental packet aggregated from the incremental records to the local database.
[0011] In some embodiments, step S1, transmitting real-time business data of the nuclear power plant to the main database, includes: setting the configuration platform of the nuclear power plant to use measurement points as the smallest unit and building a basic information database; matching the measurement point information in the basic information database with real-time business; detecting the measurement points corresponding to the real-time business when the real-time business is in progress, and transmitting the measurement point address and real-time value corresponding to the measurement point to the main database.
[0012] In some embodiments, after establishing the basic information database, the method further includes: the nuclear power equipment management platform obtaining basic information from the basic information database through an interface, so as to use the basic information for the management of nuclear power equipment in the nuclear power plant.
[0013] The present invention also constructs a computer-readable storage medium, including a master database, a slave database and a nuclear power equipment management platform, and a computer program running on the master database, the slave database and the nuclear power equipment management platform, wherein the computer program, when executed, implements the real-time business monitoring method for nuclear power plants as described in any of the above embodiments.
[0014] By implementing this invention, the following beneficial effects are achieved: This invention sets up a slave database that synchronizes incremental data with the master database, enabling the real-time business monitoring of the nuclear power equipment management platform to be completed directly by acquiring incremental data from the slave database. This avoids resource consumption and latency caused by excessively long data acquisition links, thereby improving the efficiency of real-time business monitoring. Attached Figure Description
[0015] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 A flowchart of one embodiment of the real-time business monitoring method for nuclear power plants of the present invention is shown; Figure 2 A flowchart of a point table-driven embodiment of the real-time business monitoring method for nuclear power plants of the present invention is shown; Figure 3 This invention illustrates a flowchart of an embodiment of the real-time business monitoring method for nuclear power plants, which synchronizes incremental data to a local database. Figure 4 This invention illustrates a flowchart of an embodiment of the nuclear power plant real-time business monitoring method for transmitting nuclear power plant real-time business data to a main database. Figure 5 A logical structure diagram of an embodiment of the computer-readable storage medium of the present invention is shown. Detailed Implementation
[0016] To provide a clearer understanding of the technical features, objectives, and effects of the present invention, specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0017] It should be noted that the flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0018] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0019] like Figure 1 As shown, this invention discloses a real-time operational monitoring method for nuclear power plants, which includes the following steps: S1: Transmit the real-time business data of the nuclear power plant to the master database. The master database synchronizes the incremental data that has changed in the real-time business data to the slave database through point table driving. S2: Retrieves incremental data synchronized from the main database and stores it within a preset time period, so that the nuclear power equipment management platform can obtain incremental data from the database to monitor the real-time business operation of the nuclear power plant.
[0020] For real-time operational monitoring, the nuclear power equipment management platform needs to periodically acquire real-time operational data from each nuclear power plant and use this data to monitor the nuclear power equipment. For example, the coolant outlet temperature of Unit 1 reactor needs to be collected every second, and an alarm and reactor shutdown are required if the temperature exceeds 325°C. The real-time operational data of the nuclear power plant monitored by the nuclear power equipment management platform includes information such as measurement point trend charts, early warnings, and health assessments. This information is characterized by large data volumes, high timeliness requirements, and change-driven nature.
[0021] Compared to the existing data acquisition chain of "nuclear power equipment management platform -> HTTPS -> middle platform -> WebSocket -> database", the present invention has a shorter data acquisition chain of "nuclear power equipment management platform -> database" and avoids the low data processing efficiency caused by resource contention in the middle platform, thereby improving data transmission efficiency.
[0022] In some embodiments, in step S1, the real-time service data consists of the addresses of various measuring points in the nuclear power plant and the real-time values corresponding to each measuring point; the incremental data includes: the changing measuring point addresses and the incremental values corresponding to the changing measuring points in the real-time service data.
[0023] For real-time business monitoring, the nuclear power equipment management platform only needs to acquire incremental data based on the source data. It can then determine whether an alarm or reactor shutdown is required by using the source and incremental data. During transmission, only the incremental data of the measuring points that have undergone incremental changes needs to be transmitted. This eliminates a large amount of measuring point data that has not undergone incremental changes, as well as the real-time values corresponding to the measuring points that have undergone incremental changes, further improving data transmission efficiency.
[0024] like Figure 2 As shown, in some embodiments, the master database configures the point table configuration file of the master database. In step S1, the point table driver includes: the master database obtaining the change dead zone corresponding to each measurement point address according to the point table configuration file of the master database; determining whether the difference between the real-time value corresponding to each measurement point and the previously stored value is greater than the change dead zone corresponding to the measurement point address; if so, the incremental data is synchronized to the slave database; if not, the data is discarded.
[0025] In this embodiment, for example, the measurement point address 1001 in the point table configuration file corresponds to Unit 1 reactor, and the change dead zone is 0.5, etc. The difference between the previously stored value of Unit 1 reactor and the real-time value is determined. If the difference is 0.1 and less than the change dead zone of 0.5, no incremental record is generated. If the difference is 0.6 and greater than the change dead zone of 0.5, an incremental record is generated, and the measurement point address 1001 corresponding to Unit 1 reactor and the incremental data 0.6 corresponding to the measurement point address 1001 are synchronized to the slave database.
[0026] In some embodiments, a point table configuration file is configured from the database. Step S2 includes: after receiving the changed measurement point addresses and corresponding incremental values from the real-time business data sent by the master database, the measurement point addresses are converted into corresponding measurement points through the point table configuration file from the database, and the measurement points and their corresponding incremental values are saved within a preset time period.
[0027] The point table configuration file is maintained separately in the master and slave databases. The master and slave databases only need to synchronize the measurement point addresses and their corresponding incremental values. The slave database can then query and store the measurement points corresponding to the given addresses based on the point table configuration file. Furthermore, because the incremental data obtained by the nuclear power equipment management platform from the slave database for real-time monitoring is highly time-sensitive, the slave database only stores data within a preset time period. For example, data from the slave database older than one month exceeds the monitoring timeframe for real-time services. Data synchronized from the master database to the slave database is only stored for one month in the slave database to prevent excessive data from affecting the efficiency of the nuclear power equipment management platform in obtaining incremental data from the slave database.
[0028] In some embodiments, the nuclear power equipment management platform retrieves incremental data from the database via a WebSocket channel. By establishing a WebSocket connection, the nuclear power equipment management platform can retrieve incremental data from the database at any time, eliminating the need for the platform to issue a data retrieval query and wait for a positive response from the database before retrieving the incremental data. This improves the efficiency of the platform in retrieving incremental data from the database. Furthermore, setting up an independent WebSocket channel enhances the stability and scalability of the platform's data retrieval from the database, avoiding resource contention issues.
[0029] In some embodiments, the method further includes: the master database synchronizing incremental data to the local database via heartbeat packets, so that the nuclear power equipment management platform can query historical data through the local database.
[0030] The secondary database only saves incremental data within a preset time period, therefore it is impossible to query historical data stored beyond that preset time period. The local database, however, does not delete stored data and only continuously adds incremental data. The nuclear power equipment management platform can still retrieve historical data from the local database via the path "Nuclear Power Equipment Management Platform -> HTTPS -> Middle Platform -> WebSocket -> Database". This invention sets up two different data acquisition links for the secondary and local databases. Precise, real-time measurement data is quickly obtained via the "Nuclear Power Equipment Management Platform -> Secondary Database" path, while historical data from the local database is obtained via the "Nuclear Power Equipment Management Platform -> HTTPS -> Middle Platform -> WebSocket -> Database" path. This approach addresses the characteristics of real-time and historical data, ensuring the timeliness of monitoring data acquisition while guaranteeing uninterrupted historical data retrieval.
[0031] In some embodiments, the master database synchronizes incremental data to the local database via heartbeat packets, including: the master database sends heartbeat packets to the local database within a preset time period and waits for the local database to recover; if a response is received from the local database, the master database synchronizes the incremental data to the local database; if a response is not received from the local database after a preset number of attempts, an alarm is triggered.
[0032] In this embodiment, a heartbeat monitoring daemon runs continuously in the background, triggering an alarm or automatically performing repair actions upon detecting an anomaly. Furthermore, if the heartbeat detects an anomaly, the daemon restarts according to a preset priority; for example, it restarts according to service priority, with real-time services having higher priority than historical services.
[0033] like Figure 3 As shown, in some embodiments, synchronizing incremental data to the local database includes: when the main database detects measurement point data larger than the change dead zone, it generates an incremental record; after receiving a heartbeat packet response from the local database, it sends an incremental packet aggregated from the incremental records to the local database.
[0034] The historical data query path uses the HTTPS protocol, which means that every time data is sent to the local database, a handshake interaction process of sending a query and receiving a response is required. Aggregating multiple incremental records into an incremental packet can reduce the number of handshake interactions and improve the query efficiency of historical data.
[0035] like Figure 4As shown, in some embodiments, step S1, transmitting real-time business data of the nuclear power plant to the main database, includes: setting the configuration platform of the nuclear power plant to use measurement points as the smallest unit and building a basic information database; matching the measurement point information in the basic information database with real-time business; detecting the measurement points corresponding to the real-time business when the real-time business is in progress, and transmitting the measurement point address and real-time value corresponding to the measurement point to the main database.
[0036] In some embodiments, after establishing the basic information database, the system further includes: the nuclear power equipment management platform obtaining basic information from the basic information database through an interface, so as to use the basic information for the management of nuclear power equipment in the nuclear power plant.
[0037] The configuration platform establishes a basic information database based on the nuclear power plant, unit, system, equipment, component, and measurement point. Basic information from this database is synchronized to the nuclear power equipment management platform via other interfaces, serving as the platform's foundational data. The nuclear power equipment management platform manages all actions related to monitoring and execution based on this basic information. After receiving the basic information from the database, the nuclear power equipment management platform matches the nuclear power equipment measurement points with real-time on-site operations, improving the consistency and accuracy of the measurement point information and mitigating monitoring and warning errors caused by information discrepancies.
[0038] like Figure 5 As shown, the present invention also discloses a computer-readable storage medium, including a master database, a slave database, and a nuclear power equipment management platform, as well as a computer program running on the master database, the slave database, and the nuclear power equipment management platform. When the computer program is executed, it implements the real-time business monitoring method for nuclear power plants described in any of the above embodiments.
[0039] It is understood that the above embodiments only illustrate some implementation methods of the present invention, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can freely combine the above embodiments or technical features without departing from the concept of the present invention, and can also make several modifications and improvements, all of which fall within the protection scope of the present invention. That is, the embodiments described "in some embodiments" can be freely combined with any of the preceding and following embodiments. Therefore, all equivalent transformations and modifications made within the scope of the claims of the present invention should be covered by the claims of the present invention.
Claims
1. A method for real-time operational monitoring of a nuclear power plant, characterized in that, The method includes the following steps: S1: Transmit the real-time business data of the nuclear power plant to the master database. The master database synchronizes the incremental data that has changed in the real-time business data to the slave database through point table driving. S2: Retrieves incremental data synchronized from the main database and stores it within a preset time period, so that the nuclear power equipment management platform can obtain incremental data from the database to monitor the real-time business operation of the nuclear power plant.
2. The real-time operational monitoring method for nuclear power plants according to claim 1, characterized in that, In step S1, the real-time business data consists of the addresses of various measuring points in the nuclear power plant and the corresponding real-time values for each measuring point. Incremental data includes: the addresses of measurement points that have changed in real-time business data and the incremental values corresponding to the changed measurement points.
3. The real-time operational monitoring method for nuclear power plants according to claim 2, characterized in that, The main database configuration file is the point table configuration file for the main database; In step S1, the point table driver includes: the main database obtains the change dead zone corresponding to each measurement point address according to the point table configuration file of the main database; Determine whether the difference between the real-time value corresponding to each measuring point and the previously stored value is greater than the change dead zone corresponding to the measuring point address. If so, synchronize the incremental data to the slave database; otherwise, discard the data.
4. The real-time operational monitoring method for nuclear power plants according to claim 3, characterized in that, The configuration file is a point table configuration file from the database. Step S2 includes: receiving the changed measurement point addresses and corresponding incremental values from the real-time business data sent by the main database, converting the measurement point addresses into corresponding measurement points from the point table configuration file of the database, and saving the measurement points and corresponding incremental values within a preset time period.
5. The real-time operational monitoring method for nuclear power plants according to claim 3, characterized in that, The method further includes: the master database synchronizing incremental data to the local database via heartbeat packets, so that the nuclear power equipment management platform can query historical data through the local database.
6. The real-time operational monitoring method for nuclear power plants according to claim 5, characterized in that, The master database synchronizes incremental data to the local database via heartbeat packets, including: The master database sends heartbeat packets to the local database at preset time intervals and waits for the local database to recover. If a response is received from the local database, incremental data is synchronized to the local database. If no response is received from the local database after a preset number of attempts, an alarm is triggered.
7. The real-time operational monitoring method for nuclear power plants according to claim 6, characterized in that, The step of synchronizing incremental data to the local database includes: When the main database detects measurement point data exceeding the change dead zone, it generates an incremental record; After receiving a heartbeat response from the local database, the incremental packet, which aggregates the incremental records, is sent to the local database.
8. The real-time operational monitoring method for nuclear power plants according to claim 2, characterized in that, In step S1, transmitting the real-time business data of the nuclear power plant to the main database includes: The configuration platform of the nuclear power plant is set up with the measuring point as the smallest unit, and a basic information database is built. The measurement point information in the basic information database is matched with the real-time service. When the real-time service is in progress, the measurement point corresponding to the real-time service is detected, and the measurement point address and real-time value corresponding to the measurement point are transmitted to the main database.
9. The real-time operational monitoring method for nuclear power plants according to claim 8, characterized in that, After establishing the basic information database, the following is also included: The nuclear power equipment management platform obtains basic information from the basic information database through an interface, so as to use the basic information for the management of nuclear power equipment in nuclear power plants.
10. A computer-readable storage medium, characterized in that, It includes a master database, slave databases, and a nuclear power equipment management platform, as well as a computer program running on the master database, slave databases, and nuclear power equipment management platform, wherein the computer program, when executed, implements the real-time business monitoring method for nuclear power plants as described in any one of claims 1-9.
