A nuclear power edge computing platform based on time series data processing system

By designing a nuclear power edge computing platform based on a time sequence data processing system, combined with the collaborative management of the central platform and edge gateway, the edge computing problem of multi-measuring large data volume in nuclear power services is solved, and customized measurement point edge computing and data upload are realized, improving system stability and data management efficiency.

CN119135753BActive Publication Date: 2025-04-29CHINA NUCLEAR POWER OPERATION TECH CORP +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411603104.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-04-29
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

Nuclear power business involves multiple measurement points and large data volumes, making it difficult for edge computing platforms to meet the needs of customized measurement point edge computing services and upload services in different business scenarios.

Method used

A nuclear power edge computing platform based on a time series data processing system is designed, and through the cooperation of the central platform and edge gateway, data edge computing and monitoring of data changes of specified measurement points are realized. The edge gateway includes the main control, the acquisition service management module, the distribution service management module, the algorithm management module and the data management module, which are responsible for the management of driver file and measurement point configuration, data collection and distribution, the generation and binding of algorithm instances, and the monitoring and upload of data changes.

Benefits of technology

The data edge calculation and data change monitoring of the specified measurement point combination on the edge side of the nuclear power plant is realized according to the actual needs of the nuclear power plant, which improves the efficiency of customized calculation of measurement point data and data upload, and enhances the stability of the system and the order of data management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135753B_ABST
    Figure CN119135753B_ABST
Patent Text Reader

Abstract

A nuclear power edge computing platform based on a time series data processing system, wherein the master control of the edge gateway receives the driver file and the measurement point configuration file issued by the central platform and configures them to the collection service management module and / or the distribution service management module for processing to execute the configuration and startup of the corresponding service; the algorithm management module is connected to the collection service management module for generating an algorithm instance and binding it with the specified measurement point; after the collection service management module receives the measurement point data collected by each collection service, it calls the algorithm instance according to whether the collection service is bound with the algorithm file to perform edge computing of the measurement point data and stores the measurement point data into the data management module; the data management module is used to cache the measurement point data and monitor data changes, and forwards the change data of the corresponding measurement point to the corresponding distribution service according to the subscribed measurement point of the distribution service; the distribution service management module is used for the management of the distribution service, and the present invention can realize customized computing processing and data upload on the edge side of the measurement point data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of nuclear power technology, and in particular to a nuclear power edge computing platform based on a time series data processing system. Background Art

[0002] With the development of new generation information technology, the industrial Internet has become an important enabling tool for the digital transformation of the real economy at home and abroad. Its core idea is to combine emerging information technology with traditional manufacturing, with information-physical systems as the core technology system, to achieve comprehensive data perception, dynamic transmission, real-time analysis, scientific decision-making and intelligent control in the production and operation process of enterprises. For nuclear power generation companies, the nuclear power industrial Internet platform is positioned as a support platform for "digital nuclear power plants"; it should become an important starting point for digital transformation, build a service system based on massive data collection, aggregation, and analysis, and support the interconnection, elastic supply, and efficient configuration platform in "digital nuclear power". The development and upgrading of the nuclear power industrial Internet platform and the support of actual power plant data for various nuclear power application development needs on the platform.

[0003] Edge computing is essential as a supplement to the nuclear power industrial Internet platform. It can provide IT service environment and computing power on the edge side, and provide services on the network edge closer to the terminal to reduce the latency of network operation and service delivery and improve user experience. However, the nuclear power business involves a large number of measurement points and a large amount of measurement point data. The measurement point combinations and data types required in different business scenarios are different. Correspondingly, the data processing methods and data upload frequency requirements required by edge computing are also different. Therefore, how to set up the edge platform to meet the customized measurement point edge computing services and upload services in different business scenarios is an urgent problem to be solved by the current edge platform. Summary of the invention

[0004] In view of this, it is necessary to provide a nuclear power edge computing platform based on a time series data processing system, which can be used to realize data edge computing of a specified measurement point combination on the nuclear power edge side and monitoring of data changes of the specified measurement point combination according to the actual needs of the nuclear power plant.

[0005] The present invention provides a nuclear power edge computing platform based on a time series data processing system, comprising a central platform and at least one group of edge gateways;

[0006] Each group of edge gateways is respectively connected to the central platform in communication, and the edge gateways include: a main control, a collection service management module, a distribution service management module, an algorithm management module and a data management module respectively connected to the main control in communication;

[0007] The main control is connected in communication with the central platform to receive the driver file and the measuring point configuration file issued by the central platform, and configure the driver file and the measuring point configuration file to the acquisition service management module and / or the distribution service management module for processing to execute the configuration and startup of the corresponding service, wherein the service includes the acquisition service and the distribution service, the driver file includes the driver and the service configuration file, and the measuring point configuration file is used for the configuration between the measuring point information and the specified acquisition service and / or the distribution service;

[0008] The algorithm management module is in communication with the acquisition service management module, and is used to generate an algorithm instance according to an algorithm file in an algorithm library and bind the algorithm instance to a specified measurement point in the specified acquisition service, wherein the algorithm file includes an algorithm and an algorithm configuration file, and the algorithm configuration file is used to bind the algorithm to the specified measurement point;

[0009] The acquisition service management module is used for the management of the acquisition service, and after receiving the measurement point data collected by each acquisition service, according to whether the acquisition service is bound with an algorithm file, to call the corresponding algorithm instance to perform edge computing of the measurement point data, and store the measurement point data in the data management module; wherein, the management of the acquisition service includes adding a new acquisition service, and the new acquisition service includes the following steps: after the acquisition service management module starts the acquisition service at the edge gateway according to the driver and service configuration file issued by the master control, the designated measurement point is configured to the corresponding acquisition service according to the measurement point configuration file issued by the master control to perform data acquisition of the designated measurement point;

[0010] The data management module is used to cache the measurement point data reported by the acquisition service management module and monitor data changes, and forward the change data of the corresponding measurement point to the corresponding distribution service according to the subscribed measurement point of the distribution service;

[0011] The distribution service management module is used for the management of the distribution service, wherein the management of the distribution service includes adding a new distribution service, and the new distribution service includes the following steps: after the distribution service management module starts the distribution service at the edge gateway according to the driver and service configuration files issued by the master control, the specified measurement point is configured to the corresponding distribution service according to the measurement point configuration file issued by the master control for subscription to the specified measurement point.

[0012] Furthermore, the edge gateway also includes a configuration information management module and a configuration database. The configuration information management module is communicated with the main control, the configuration database, the acquisition service management module and the distribution service management module respectively, and is used to store the service configuration file and the measurement point configuration file issued by the main control in the configuration database, and then call the specified file according to the corresponding instruction to execute the newly added acquisition service and / or the newly added distribution service.

[0013] Furthermore, the newly added collection service includes: after the collection service management module and / or the distribution service management module receives the service configuration instruction, the configuration database detects whether the service configuration file exists, and if so, detects whether the corresponding driver exists; if both exist, the corresponding service is pulled up through the driver and the service configuration file and the service information is saved; when the service start instruction is received, the service status of the corresponding service in the configuration database is updated, and the edge gateway notifies the corresponding collection service to start collecting data and reporting it.

[0014] Furthermore, the edge gateway also includes an algorithm engine and a shared memory externally mounted on the edge gateway. The algorithm management module is used to generate an algorithm instance based on the algorithm file in the algorithm library and bind the algorithm instance to a specified measurement point in the specified acquisition service. After the acquisition service management module receives the measurement point data collected by each acquisition service, the acquisition service management module calls the corresponding algorithm instance to perform edge computing of the measurement point data based on whether the acquisition service is bound with an algorithm file, including the following steps:

[0015] S1, upon receiving a creation instruction, the algorithm management module and the algorithm engine create and initialize a corresponding algorithm process for the measurement point;

[0016] S2, based on the coordination of write semaphore, write event, result semaphore and result write event, cyclically executes writing of measuring point data, calling the corresponding algorithm process to calculate measuring point information to obtain calculation results and reading the calculation results: wherein each round of the cycle includes the following steps respectively:

[0017] S21 measurement point data is written to shared memory, including:

[0018] S211 The algorithm engine creates a write semaphore and resets a write event, triggering a write event;

[0019] S212 After the algorithm management module obtains the write signal, it notifies the acquisition service to connect to the shared memory to write the latest measurement point data into the data area of ​​the shared memory;

[0020] S22 calculation result acquisition and writing, including:

[0021] S221 The algorithm management module releases the write semaphore, creates a result semaphore, and resets the result write event, triggering the result write event.

[0022] S222: After the algorithm engine obtains the write semaphore, write event and result semaphore, it connects to the shared memory and releases the write semaphore. After the algorithm engine calls the algorithm process to calculate the measurement point information and obtains the calculation result, it writes the calculation result into the shared memory.

[0023] S23: reading of calculation results. The algorithm engine releases the result semaphore. After the algorithm management module obtains the result semaphore, it notifies the distribution service to connect to the shared memory to read the calculation results and distribute them.

[0024] When S3 receives the closing instruction, it executes the last cycle, deletes the algorithm library, and ends the algorithm process.

[0025] Furthermore, each of the edge gateways also includes an alarm management module, which is used to report to the central platform through KAFKA for alarm when the edge gateway times out and fails to receive heartbeat detection, the running service is abnormal or terminated; the platform microservice module also includes an exception management submodule, which is used to receive alarms from each edge gateway and perform operation abnormality monitoring of each module in the central platform.

[0026] Furthermore, the edge gateway also includes one or more combinations of a log management module, a performance statistics module, and a traffic monitoring module;

[0027] The log management module is in communication with the central platform, and is used to collect the operation logs of the edge gateway and the service, and according to the time range issued by the central platform, pack and compress the logs within the time range and upload them to the central platform;

[0028] The performance statistics module is connected to the central platform for statistics of the performance of each module in the edge gateway and reporting the statistics to the central platform regularly;

[0029] The flow monitoring module is connected to the central platform for communication and is used to monitor the flow data of the measuring points, including the flow trend of the measuring points and the data received by the measuring points. The collected data will be analyzed and collated and then reported to the central platform on a regular basis.

[0030] Furthermore, the central platform includes a device microservice module, a platform microservice module and a gateway management module;

[0031] The device microservice module is used to manage the measurement points and mount the measurement points to the specified device based on the preset measurement point grouping;

[0032] The platform microservice module includes a driver management submodule and a driver library, wherein the driver library is used to store various types of driver files, and the driver management submodule is used to manage the driver files and provide an interface to the gateway management module for transmitting the driver files;

[0033] The gateway management module is used for the management and interaction of each edge gateway, and includes at least one group of central gateway management submodules, a driver distribution management submodule, a service management submodule and a measurement point management submodule;

[0034] The central gateway management submodule is used for online and offline management of the edge gateway, wherein each central gateway management submodule is set in a one-to-one correspondence with the edge gateway;

[0035] The driver distribution management submodule is communicatively connected with the driver management submodule to distribute the driver files in the driver library to the edge gateway;

[0036] The service management submodule is used for issuing service control instructions and generating and issuing the service configuration file. The service control instructions include service creation, service deletion, service modification, service start and service stop. The same edge gateway allows the creation of multiple services, and the code of each service is uniquely set;

[0037] The measuring point management submodule is connected in communication with the device microservice module to obtain the measuring points that have not been issued, configure the binding information between the measuring points and the services to generate the measuring point configuration files and issue them, wherein each acquisition service is configured only once for the same measuring point.

[0038] Furthermore, the device microservice module includes a device management submodule, a measurement point management submodule and a measurement point binding submodule;

[0039] The device management submodule is used to mount the device information under the specified device level based on the pre-set device level;

[0040] The measuring point management submodule is used to mount each measuring point under the corresponding group based on the preset measuring point group configuration, wherein the measuring point code in the measuring point information is globally unique, and the measuring point name is unique under the same group;

[0041] The measuring point binding submodule is used to bind unbound measuring points in the measuring point information to a specified device, wherein one measuring point is bound to only one device.

[0042] Furthermore, the central gateway uses GRPC to access the edge gateway, and the edge gateway uses KAFKA to perform data reporting, wherein the data formats are serialized.

[0043] Further, the central gateway management submodule also includes a combination of one or more of an authorization center unit and a system management unit;

[0044] The system management unit is used for user management, user grouping and user authority division;

[0045] The authorization center unit is used to verify login and request permissions.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] (1) The present invention discloses a nuclear power edge computing platform based on a time series data processing system. The edge gateway is used to receive externally sent drivers and measurement point configurations. The driver is run in the edge gateway to create and start two types of services, including acquisition services and distribution services. Each service is bound to a specified measurement point, and an algorithm management module is embedded in the edge gateway. The algorithm in the algorithm management module is bound to a specified measurement point in a specified acquisition service, so as to be used for edge computing of data of a specified measurement point in the acquisition service, wherein different algorithms can be bound to different measurement points as needed; at the same time, the data management module monitors changes in measurement point data and subscribes to specified measurement points for each distribution service, so as to distribute changes in data of the specified measurement point. Through the cooperation between the modules in the edge gateway, customized edge computing and data upload of measurement point data can be realized efficiently and quickly.

[0048] (2) The edge gateway can run independently by separating the algorithm instance (algorithm library), avoiding the situation where the instability of a single algorithm library causes the edge gateway to fail, thereby improving the stability of the system.

[0049] (3) Each edge gateway is managed by the central gateway. The driver and measurement point configurations corresponding to the services in each edge gateway are configured and issued by the central gateway, which can ensure the orderly management of the entire platform data on demand and the on-demand processing of the measurement point data in each service. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0051] FIG1 is a structural block diagram of an embodiment of a nuclear power edge computing platform based on a time series data processing system provided by the present invention;

[0052] Figure 2 A data flow diagram of an embodiment of a nuclear power edge computing platform based on a time series data processing system provided by the present invention. DETAILED DESCRIPTION

[0053] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0054] See also Figure 1 In this embodiment, a nuclear power edge computing platform based on a time series data processing system includes a central platform and at least one group of edge gateways connected in communication. The central platform and the edge gateway cooperate to perform edge computing of data at designated measuring points on the edge side of the nuclear power plant and monitor data changes at designated measuring points according to needs.

[0055] 1. Edge Gateway

[0056] The edge gateway is used to run the driver in the edge gateway according to the received driver and measurement point configuration information to create and start two types of services, including collection service and distribution service. Each service is bound to a specified measurement point, and the algorithm management module is embedded in the edge gateway. After the algorithm in the algorithm management module is bound to the specified measurement point in the specified collection service, it is used for edge computing of the specified measurement point data in the collection service. At the same time, the data management module of the edge gateway can monitor the changes of the specified measurement point data by subscribing to the specified measurement point for each distribution service. In addition, in addition to receiving instructions issued by the central platform, each edge gateway can also receive driver and measurement point configuration information issued by the external platform to generate corresponding services.

[0057] In this embodiment, each group of the edge gateways is respectively communicated with the central platform, and the edge gateways include: a main control, a collection service management module, a distribution service management module, an algorithm management module and a data management module respectively communicated with the main control.

[0058] The main control is communicatively connected with the central platform to receive the driver file and the measuring point configuration file issued by the central platform, and configures the driver file and the measuring point configuration file to the acquisition service management module and / or the distribution service management module for processing to execute the configuration and startup of the corresponding service, wherein the service includes the acquisition service and the distribution service, the driver file includes the driver and the service configuration file, and the measuring point configuration file is used for the configuration between the measuring point information and the specified acquisition service and / or the distribution service; in this embodiment, the acquisition service is only allowed to be configured once for the same measuring point, and there is no restriction on the distribution service.

[0059] The algorithm management module is communicatively connected with the acquisition service management module, and is used to generate an algorithm instance based on the algorithm file in the algorithm library and bind the algorithm instance to a specified measuring point in the specified acquisition service, wherein the algorithm file includes an algorithm and an algorithm configuration file, and the algorithm configuration file is used to bind the algorithm to the specified measuring point.

[0060] The acquisition service management module is used for the management of the acquisition service, and after receiving the measurement point data collected by each acquisition service, based on whether the acquisition service is bound with an algorithm file, calls the corresponding algorithm instance to perform edge computing of the measurement point data, and stores the measurement point data in the data management module; wherein, the management of the acquisition service includes adding a new acquisition service, and the new acquisition service includes the following steps: after the acquisition service management module starts the acquisition service at the edge gateway based on the driver and service configuration file issued by the main control, the designated measurement point is configured to the corresponding acquisition service according to the measurement point configuration file issued by the main control to perform data acquisition of the designated measurement point.

[0061] The data management module is used to cache the measurement point data reported by the acquisition service management module and monitor data changes, and forward the change data of the corresponding measurement point to the corresponding distribution service according to the subscribed measurement point of the distribution service;

[0062] The distribution service management module is used for the management of the distribution service, wherein the management of the distribution service includes adding a new distribution service, and the new distribution service includes the following steps: after the distribution service management module starts the distribution service at the edge gateway according to the driver and service configuration files issued by the master control, the specified measurement point is configured to the corresponding distribution service according to the measurement point configuration file issued by the master control for subscription to the specified measurement point.

[0063] A nuclear power edge computing platform based on a time series data processing system customizes various algorithms for the data of each measuring point through the cooperation of various modules in the edge gateway. The data changes of each measuring point can be calculated through the specified algorithm, and the calculation results and data changes can also be uploaded to the data distribution module in a timely manner.

[0064] In this embodiment, the algorithm includes internal algorithms and external algorithms. The internal algorithm is usually data filtering, data merging, etc. The external algorithm includes user-defined algorithms, including various filtering algorithms, optimization algorithms, etc. The external algorithm usually uses a dynamic link library to provide export interface functions. Considering that there are many measurement point data and many algorithm instances running in the edge gateway, if an algorithm is unstable, it may cause the entire edge gateway to be abnormal, which will undoubtedly affect the stability of the entire system, especially the collection service. As a preferred solution, Figure 2 As shown, the edge gateway also includes an algorithm engine and a shared memory plugged into the edge gateway. Depending on whether the acquisition service is bound to an algorithm file, calling the corresponding algorithm instance to perform edge computing of the measurement point data includes the following steps:

[0065] S1: After receiving the creation instruction, the algorithm management module and the algorithm engine create and initialize the corresponding algorithm process for the measurement point;

[0066] S2, based on the coordination of write semaphore, write event, result semaphore and result write event, cyclically executes writing of measuring point data, calling the corresponding algorithm process to calculate measuring point information to obtain calculation results and reading the calculation results: wherein each round of the cycle includes the following steps respectively:

[0067] S21 measurement point data is written to shared memory, including:

[0068] S211 The algorithm engine creates a write semaphore and resets a write event, triggering a write event;

[0069] S212 After the algorithm management module obtains the write signal, it notifies the acquisition service to connect to the shared memory to write the latest measurement point data into the data area of ​​the shared memory;

[0070] S22 calculation result acquisition and writing, including:

[0071] S221 The algorithm management module releases the write semaphore, creates a result semaphore, and resets the result write event, triggering the result write event.

[0072] S222: After the algorithm engine obtains the write semaphore, write event and result semaphore, it connects to the shared memory and releases the write semaphore. After the algorithm engine calls the algorithm process to calculate the measurement point information and obtains the calculation result, it writes the calculation result into the shared memory.

[0073] S23: reading of calculation results. The algorithm engine releases the result semaphore. After the algorithm management module obtains the result semaphore, it notifies the distribution service to connect to the shared memory to read the calculation results and distribute them.

[0074] After receiving the shutdown command issued by the command issuing process, S3 executes the last cycle, deletes the algorithm library, and ends the algorithm process.

[0075] The nuclear power edge computing platform based on the time series data processing system shown in the present invention can run the algorithm instance (algorithm library) independently, avoiding the situation where the instability of a single algorithm library causes the abnormality of the edge gateway, thereby improving the stability of the system. At the same time, it simplifies the algorithm management and ensures efficient data processing. The present invention embeds an algorithm management module in the edge gateway to encapsulate the access to shared memory and semaphores, thereby simplifying the algorithm management and improving the management efficiency.

[0076] In this embodiment, a TCP connection is used between the edge gateway and the service, the edge gateway serves as a TCP server, and each service is accessed as a client. When the acquisition service is started, it is necessary to connect to the edge gateway according to the configuration file. And report the status and data regularly. When the distribution service is started, it is also necessary to connect to the edge gateway according to the configuration file and subscribe to the measurement point data. As a preferred solution, in this embodiment, the edge gateway also includes a configuration information management module and a configuration database, and the configuration information management module is respectively communicated and connected with the main control, the configuration database, the acquisition service management module, and the distribution service management module, so as to store the acquisition service configuration file, the distribution service configuration file, and the measurement point configuration file issued by the main control in the configuration database, and then call the specified file according to the corresponding instruction to execute the configuration of the acquisition service and / or the distribution service. Correspondingly, the main control receives the driver issued by the central platform and saves it to the configuration database, and decompresses the driver to the specified directory. Record the binding information in the data management, so that after the acquisition driver obtains the data, it is convenient to call the algorithm management for algorithm calculation according to whether the algorithm library is configured, and process the corresponding algorithm results according to whether the algorithm configuration type is real-time calculation or statistical reporting. When the collection service management module receives a service configuration instruction, it executes the following steps: the configuration database detects whether the service configuration file config.json exists; detects whether the driver exists; if both exist, the service is started through the driver and configuration file and the service information is saved; when the service start instruction is received, the service status of the corresponding service in the configuration database is updated, and the edge gateway notifies the corresponding collection service to start collecting data and reporting it.

[0077] Furthermore, in this embodiment, each of the edge gateways also includes an alarm management module, which is used to report to the central platform through KAFKA for alarm when the edge gateway times out and fails to receive heartbeat detection, the running service is abnormal or terminated; correspondingly, the platform microservice module also includes an exception management submodule, which is used to receive alarms from each edge gateway and perform operation abnormality monitoring of each module in the central platform.

[0078] Furthermore, in this embodiment, each of the edge gateways also includes a log management module, which is used to collect the operation logs of the edge gateway and the service, and according to the time range issued by the central platform, the logs within the time range are packaged and compressed and uploaded to the central platform, and downloaded to the local through the page for viewing.

[0079] Furthermore, in this embodiment, each of the edge networks also includes a performance statistics module, which is responsible for counting database performance, system operation performance, etc., and regularly reporting the statistical data to the central platform through KAFKA.

[0080] 2. Central Platform

[0081] As mentioned above, there are many measuring points on the edge side. In order to achieve orderly management of the data of each measuring point and avoid data confusion, in this embodiment, Figure 1 and Figure 2 As shown, a nuclear power edge computing platform based on a time series data processing system shown in the present invention, in addition to realizing the startup of various services through the cooperation between the edge gateway and the central platform, also realizes the association and management of multiple edge gateways through the central platform, as well as the pre-setting of driving and measuring point information in the associated edge gateways. In this embodiment, the central platform includes a device microservice module, a platform microservice module and a gateway management module.

[0082] The device microservice module is used to manage the measuring points and group the measuring points and mount the measuring points to the specified device. In this embodiment, the measuring points can be imported and exported locally; the platform microservice module includes a driver management submodule and a driver library, the driver library is used to store various driver files, the driver management submodule is used to manage various driver files in the driver library and provide an interface to the gateway management module for transmitting the driver files; the gateway management module is used for the management and interaction of each edge gateway, which includes at least one group of central gateway management submodules, a driver distribution management submodule, a service management submodule and a measuring point management submodule; the central gateway management submodule is used for the online and offline management of the edge gateway, wherein each of the central gateway management submodules corresponds to the edge gateway one by one, each of the edge gateways is associated with only one central gateway management submodule, and each central gateway management submodule manages only one edge gateway; each edge gateway code is globally unique, if not unique, the edge gateway with the same code will overwrite the previous edge gateway information.

[0083] The driver distribution management submodule is communicatively connected with the driver management submodule to distribute the driver files in the driver library to the edge gateway. The same version of a driver in the same edge gateway is only allowed to be distributed once. The driver library does not allow deletion of the distributed driver files. The service management submodule is used for distribution of service control instructions and generation and distribution of the service configuration files. The service control instructions include service creation, service deletion, service modification, service start and service stop. The service includes acquisition service and distribution service. The service configuration files correspondingly include acquisition service configuration files and distribution service configuration files. The same edge gateway allows the creation of multiple services, and the code of each service must be unique. The measurement point management submodule is communicatively connected with the device microservice module to obtain the measurement points that have not been distributed, configure the binding information between the measurement points and the services to generate the measurement point configuration files and distribute them. The collection service is only allowed to be configured once for the same measurement point, and there is no restriction on the distribution service.

[0084] Through the one-to-one correspondence between the central gateway and the edge gateway, the one-to-one correspondence between the measurement points and the devices, and the one-to-one correspondence between the measurement points and the services, it can be ensured that the corresponding measurement points in each edge gateway are determined, and the measurement points that need to be monitored by each service in the edge gateway are also orderly and configurable as needed.

[0085] As a preferred solution, in this embodiment, the central gateway uses GRPC to access the edge gateway, the edge gateway uses KAFKA to report data, and the data format is serialized using PROTOBUF, which can effectively solve the problem of data transmission between different languages ​​and different machines.

[0086] The device microservice module is used to configure and input device information and measuring point information; as a preferred solution, in this embodiment, the device microservice module includes a device management submodule, a measuring point management submodule and a measuring point binding submodule; the measuring point management submodule is used to mount the device information under the device level based on the pre-set device level; the measuring point management submodule is used to configure the pre-set measuring point grouping, and each measuring point is mounted under the corresponding group, wherein the measuring point code in the measuring point information is globally unique, and the measuring point name is unique under the same group. The measuring point binding submodule is used to bind the unbound measuring points in the measuring point information to the specified device, wherein one measuring point can only be bound to one device, and repeated binding of multiple devices is not allowed.

[0087] The platform microservice module mainly performs general function processing, such as driver upload and management. Among them, driver management includes: uploading driver, downloading driver, deleting driver, querying driver, etc.; the driver library compression format is TAR.GZ or ZIP, and the driver in the driver library needs to include config.json file, and the corresponding executable file must be in the root directory of the compressed package. Config.json needs to be in JSON format, including driver name, driver version, operating platform and other information, and also needs to include the address and port number of the driver to access the database and KAFKA when configuring the service, log record configuration and other information, and can also be written into the file according to the configuration parameters required by the driver itself. When the service is started, the configuration file will be sent to the edge gateway. In addition, as the basic platform for central gateway management, in addition to realizing driver management, as a preferred solution, the platform microservice module also includes a log management submodule, which includes operation logs and operation logs, mainly recording various operations of the central platform and logs of microservice operation.

[0088] The gateway management module mainly interacts with the edge gateway, including edge gateway management, driver delivery, service management, and measurement point delivery. The gateway management module periodically sends GRPC messages to perform heartbeat detection on the edge gateway. If the edge gateway cannot be detected, the edge gateway status is changed to offline. For offline edge gateways, driver delivery, service configuration, and measurement point configuration are not allowed. When the edge gateway does not receive a heartbeat detection at startup or timeout, it needs to actively initiate a registration mechanism through KAFKA. After registration, the central platform will perform heartbeat detection regularly to ensure that the edge gateway is running normally and is not out of control.

[0089] After the drive and measurement point information required to implement each service function is set up on the central platform, it can be sent by the central platform to the corresponding edge gateway for edge computing and change acquisition of specified measurement point data.

[0090] like Figure 2 As shown, further, in this embodiment, the central gateway also includes a microservice gateway, and the microservice gateway is mainly used for request verification and distribution;

[0091] Furthermore, in this embodiment, the central gateway also includes an authorization center unit, which mainly verifies login and request permissions.

[0092] Furthermore, in this embodiment, the central gateway also includes a system management unit, which is mainly used for user management and user grouping, authority division, etc.

[0093] Furthermore, in this embodiment, the edge gateway also includes a traffic monitoring module, which is mainly responsible for monitoring the traffic data of the measuring point, including the traffic trend of the measuring point, the data received by the measuring point, etc. The collected data is analyzed and sorted according to the regulations and reported to the central platform regularly through KAFKA.

[0094] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed in the present invention should be covered by the present invention.

Claims

1. A nuclear power edge computing platform based on a time series data processing system, characterized by: It includes a central platform and at least one group of edge gateways; Each group of edge gateways is respectively connected to the central platform in communication, and the edge gateways include: a main control, a collection service management module, a distribution service management module, an algorithm management module and a data management module respectively connected to the main control in communication; The main control is connected in communication with the central platform to receive the driver file and the measuring point configuration file issued by the central platform, and configure the driver file and the measuring point configuration file to the acquisition service management module and / or the distribution service management module for processing to execute the configuration and startup of the corresponding service, wherein the service includes the acquisition service and the distribution service, the driver file includes the driver and the service configuration file, and the measuring point configuration file is used for the configuration between the measuring point information and the specified acquisition service and / or the distribution service; The algorithm management module is in communication with the acquisition service management module, and is used to generate an algorithm instance according to an algorithm file in an algorithm library and bind the algorithm instance to a specified measurement point in the specified acquisition service, wherein the algorithm file includes an algorithm and an algorithm configuration file, and the algorithm configuration file is used to bind the algorithm to the specified measurement point; The acquisition service management module is used for the management of the acquisition service, and after receiving the measurement point data collected by each acquisition service, according to whether the acquisition service is bound with an algorithm file, to call the corresponding algorithm instance to perform edge computing of the measurement point data, and store the measurement point data in the data management module; wherein, the management of the acquisition service includes adding a new acquisition service, and the new acquisition service includes the following steps: after the acquisition service management module starts the acquisition service at the edge gateway according to the driver and service configuration file issued by the master control, the designated measurement point is configured to the corresponding acquisition service according to the measurement point configuration file issued by the master control to perform data acquisition of the designated measurement point; The data management module is used to cache the measurement point data reported by the acquisition service management module and monitor data changes, and forward the change data of the corresponding measurement point to the corresponding distribution service according to the subscribed measurement point of the distribution service; The distribution service management module is used for the management of the distribution service, wherein the management of the distribution service includes adding a new distribution service, and the new distribution service includes the following steps: after the distribution service management module starts the distribution service at the edge gateway according to the driver and service configuration files issued by the master control, the specified measurement point is configured to the corresponding distribution service according to the measurement point configuration file issued by the master control for subscription to the specified measurement point.

2. According to claim 1, a nuclear power edge computing platform based on a time series data processing system is characterized in that: The edge gateway also includes a configuration information management module and a configuration database. The configuration information management module is communicated with the main control, the configuration database, the acquisition service management module and the distribution service management module respectively, and is used to store the service configuration file and the measurement point configuration file issued by the main control in the configuration database, and then call the specified file according to the corresponding instruction to execute the newly added acquisition service and / or the newly added distribution service.

3. A nuclear power edge computing platform based on a time series data processing system according to claim 2, characterized in that: The newly added collection service includes: after the collection service management module and / or the distribution service management module receives the service configuration instruction, the configuration database detects whether the service configuration file exists, and if so, detects whether the corresponding driver exists; if both exist, the corresponding service is pulled up through the driver and the service configuration file and the service information is saved; when the service start instruction is received, the service status of the corresponding service in the configuration database is updated, and the edge gateway notifies the corresponding collection service to start collecting data and reporting.

4. According to claim 1, a nuclear power edge computing platform based on a time series data processing system is characterized in that: The edge gateway also includes an algorithm engine and a shared memory externally mounted on the edge gateway. The algorithm management module is used to generate an algorithm instance based on the algorithm file in the algorithm library and bind the algorithm instance to a specified measurement point in the specified acquisition service. After the acquisition service management module receives the measurement point data collected by each acquisition service, the acquisition service management module calls the corresponding algorithm instance to perform edge computing of the measurement point data based on whether the acquisition service is bound with an algorithm file, including the following steps: S1, upon receiving a creation instruction, the algorithm management module and the algorithm engine create and initialize a corresponding algorithm process for the measurement point; S2, based on the coordination of write semaphore, write event, result semaphore and result write event, cyclically executes writing of measuring point data, calling the corresponding algorithm process to calculate measuring point information to obtain calculation results and reading the calculation results: wherein each round of the cycle includes the following steps respectively: S21 measurement point data is written to shared memory, including: S211 The algorithm engine creates a write semaphore and resets a write event, triggering a write event; S212 After the algorithm management module obtains the write signal, it notifies the acquisition service to connect to the shared memory to write the latest measurement point data into the data area of ​​the shared memory; S22 calculation result acquisition and writing, including: S221: the algorithm management module releases the write semaphore, creates a result semaphore, and resets the result write event, triggering the result write event; S222: After the algorithm engine obtains the write semaphore, write event and result semaphore, it connects to the shared memory and releases the write semaphore. After the algorithm engine calls the algorithm process to calculate the measurement point information and obtains the calculation result, it writes the calculation result into the shared memory. S23: reading of calculation results. The algorithm engine releases the result semaphore. After the algorithm management module obtains the result semaphore, it notifies the distribution service to connect to the shared memory to read the calculation results and distribute them. When S3 receives the closing instruction, it executes the last cycle, deletes the algorithm library, and ends the algorithm process.

5. The nuclear power edge computing platform based on the time series data processing system according to claim 1, characterized in that: Each of the edge gateways also includes an alarm management module, which is used to report to the central platform through KAFKA for alarm when the edge gateway times out and fails to receive heartbeat detection, the running service is abnormal or terminated; the platform microservice module also includes an exception management submodule, which is used to receive alarms from each edge gateway and perform operation abnormality monitoring of each module in the central platform.

6. A nuclear power edge computing platform based on a time series data processing system according to claim 1, characterized in that: The edge gateway also includes one or more combinations of a log management module, a performance statistics module, and a traffic monitoring module; The log management module is in communication with the central platform, and is used to collect the operation logs of the edge gateway and the service, and according to the time range issued by the central platform, pack and compress the logs within the time range and upload them to the central platform; The performance statistics module is connected to the central platform for statistics of the performance of each module in the edge gateway and reporting the statistics to the central platform regularly; The flow monitoring module is connected to the central platform for communication and is used to monitor the flow data of the measuring points, including the flow trend of the measuring points and the data received by the measuring points. The collected data will be analyzed and collated and then reported to the central platform on a regular basis.

7. The nuclear power edge computing platform based on the time series data processing system according to claim 1, characterized in that: The central platform includes a device microservice module, a platform microservice module and a gateway management module; The device microservice module is used to manage the measurement points and mount the measurement points to the specified device based on the preset measurement point grouping; The platform microservice module includes a driver management submodule and a driver library, wherein the driver library is used to store various types of driver files, and the driver management submodule is used to manage the driver files and provide an interface to the gateway management module for transmitting the driver files; The gateway management module is used for the management and interaction of each edge gateway, and includes at least one group of central gateway management submodules, a driver distribution management submodule, a service management submodule and a measurement point management submodule; The central gateway management submodule is used for online and offline management of the edge gateway, wherein each central gateway management submodule is set in a one-to-one correspondence with the edge gateway; The driver distribution management submodule is communicatively connected with the driver management submodule to distribute the driver files in the driver library to the edge gateway; The service management submodule is used for issuing service control instructions and generating and issuing the service configuration file. The service control instructions include service creation, service deletion, service modification, service start and service stop. The same edge gateway allows the creation of multiple services, and the code of each service is uniquely set; The measuring point management submodule is connected in communication with the device microservice module to obtain the measuring points that have not been issued, configure the binding information between the measuring points and the services to generate the measuring point configuration files and issue them, wherein each acquisition service is configured only once for the same measuring point.

8. A nuclear power edge computing platform based on a time series data processing system according to claim 7, characterized in that: The device microservice module includes a device management submodule, a measurement point management submodule and a measurement point binding submodule; The device management submodule is used to mount the device information under the specified device level based on the pre-set device level; The measuring point management submodule is used to mount each measuring point under the corresponding group based on the preset measuring point group configuration, wherein the measuring point code in the measuring point information is globally unique, and the measuring point name is unique under the same group; The measuring point binding submodule is used to bind unbound measuring points in the measuring point information to a specified device, wherein one measuring point is bound to only one device.

9. The nuclear power edge computing platform based on the time series data processing system according to claim 7, characterized in that: The central gateway management submodule uses GRPC to access the edge gateway, and the edge gateway uses KAFKA to perform data reporting, wherein the data formats are serialized.

10. The nuclear power edge computing platform based on the time series data processing system according to claim 7, characterized in that: The central gateway management submodule also includes a combination of one or more of an authorization center unit and a system management unit; The system management unit is used for user management, user grouping and user authority division; The authorization center unit is used to verify login and request permissions.

Citation Information

Patent Citations

  • Real-time data calculation method and system based on side cloud collaboration in Internet of Things environment

    CN115834711A

  • Centralized rendering service for a remote network management platform

    US20200201935A1