An internet of things comprehensive management platform and method for multi-protocol intelligent circuit breakers

By deploying a protocol sniffing engine, a spatiotemporal graph neural network, and blockchain consensus in the smart circuit breaker management platform, the problems of protocol fragmentation, data silos, and security of the smart circuit breaker management platform are solved. This enables unified management of multiple protocols, reduces operation and maintenance costs, and improves fault early warning capabilities, thereby ensuring the stability and security of the power grid.

CN123145274APending Publication Date: 2026-11-20HANGZHOU JUNLANG SOFTWARE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611280555.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-22
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing intelligent circuit breaker management platforms face problems such as protocol fragmentation, data silos, high operation and maintenance costs, risk of missed detections in single-point monitoring mode, lack of adaptability in control strategies, and insufficient security.

Method used

By deploying a protocol sniffing engine at the edge access layer to identify and convert protocols, a circuit breaker data network is constructed, and anomaly prediction is performed using a spatiotemporal graph neural network. Combined with DDPG reinforcement learning, adaptive control strategies are generated, and blockchain consensus is used to verify control commands, thereby achieving unified management and secure transmission of multiple protocols.

Benefits of technology

It enables unified management of heterogeneous equipment, reduces operation and maintenance costs, enhances cascade fault early warning capabilities, ensures the safety and reliability of control strategies, and improves the stability and security of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123145274A_ABST
    Figure CN123145274A_ABST
Patent Text Reader

Abstract

This invention relates to the fields of smart grid and industrial Internet of Things (IoT) technology, and in particular to an IoT integrated management method and platform for multi-protocol smart circuit breakers. The method automatically identifies heterogeneous communication protocols through a protocol sniffing engine and dynamically loads conversion plugins. It constructs a circuit breaker data network based on data fluctuation similarity, activity synchronization, and physical topology proximity. It utilizes a spatiotemporal graph neural network (ST-GCN) for anomaly prediction and integrates the weighted risk of associated nodes to calculate a comprehensive risk index. It generates adaptive control strategies through DDPG reinforcement learning, which are then verified by national cryptographic signatures, blockchain consensus, and encrypted channels before execution. This platform adopts a cloud-edge-device three-layer architecture, integrating protocol adaptation, graph network modeling, AI prediction, blockchain security control, and digital twin modules. It solves the problems of multi-protocol access barriers, isolated single-point monitoring, and rigid control strategies, significantly improving the reliability, security, and intelligent operation and maintenance level of the power distribution system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of smart grid and industrial Internet of Things (IoT) technology, specifically to an IoT integrated management platform and method for multi-protocol smart circuit breakers. Background Technology

[0002] With the deep integration of smart grids and the Industrial Internet of Things, circuit breakers, as the core execution unit in power systems for circuit on / off control, fault detection, and power protection, directly determine the reliability, safety, and energy efficiency of power distribution systems through their intelligent and networked management levels. Currently, smart circuit breakers generally possess multi-dimensional sensing capabilities for current, voltage, temperature, humidity, and mechanical status, and are connected to upper-level management platforms through various communication protocols.

[0003] However, in actual engineering deployments, the communication protocols used by smart circuit breakers from different manufacturers, generations, and application scenarios exhibit a high degree of heterogeneity: industrial scenarios often use Modbus RTU / TCP and Profibus; IoT scenarios often use MQTT, CoAP, and HTTP; and some manufacturers use proprietary binary protocols or customized protocols based on NB-IoT / LoRa. This protocol fragmentation leads to prominent problems for traditional management platforms, such as high access barriers, severe data silos, and soaring operation and maintenance costs.

[0004] Meanwhile, existing management platforms generally adopt a "single-point isolated analysis" model for circuit breaker status monitoring and risk assessment. This model relies solely on threshold exceeding or simple statistical models for individual devices to determine anomalies, neglecting the topological interconnectivity, load coupling, and fault propagation of circuit breakers within the power distribution network. In complex operating conditions such as ring network power supply, bus parallel operation, and cascaded protection, the single-point monitoring model is highly susceptible to missing cascade risks caused by associated faults, leading to unplanned power outages or equipment damage.

[0005] In addition, existing control strategies are mostly based on preset static rule bases (such as "overcurrent tripping"), which lack the ability to adaptively learn from the real-time operating conditions of the power grid, the aging status of equipment, and historical fault modes. Furthermore, the issuance and execution of control commands lack an effective end-to-end security verification mechanism, which poses a risk of being tampered with, replayed, or forged, making it difficult to meet the stringent requirements of high reliability and high security for smart grids. Summary of the Invention

[0006] To address the shortcomings of existing technologies, the present invention aims to provide an IoT integrated management platform and method for multi-protocol smart circuit breakers.

[0007] To achieve the above objectives, the present invention provides the following technical solution: an IoT integrated management method for multi-protocol smart circuit breakers, characterized by comprising the following steps:

[0008] Step 1: Deploy a protocol sniffing engine at the edge access layer. By listening to the handshake message characteristics when the smart circuit breaker is connected, it automatically matches the pre-set protocol feature library to identify the communication protocol type. Based on the identification results, it dynamically loads the corresponding protocol conversion plugin to convert heterogeneous protocol data into a unified MQTT message format. After the device fingerprint two-factor authentication, it is connected to the platform.

[0009] Step 2: Obtain multi-dimensional sensor data of multiple circuit breakers in the target area, abstract each circuit breaker as a graph node, integrate static parameters and dynamic sensor data to construct a multi-dimensional node feature vector, calculate adjacency parameters based on data fluctuation similarity, data activity synchronization and physical topology proximity, and construct a normalized adjacency matrix of the circuit breaker data network.

[0010] Step 3: Input the circuit breaker data network into the pre-trained spatiotemporal graph neural network ST-GCN anomaly prediction model, output the anomaly prediction results of each circuit breaker, and calculate the comprehensive risk index based on the weighted anomaly parameters of the associated nodes to determine the risk level.

[0011] Step 4: Based on the risk level and anomaly type, an adaptive control strategy is generated through the DDPG reinforcement learning decision-maker. The control command is digitally signed and hashed using national cryptographic standards, and after being verified by blockchain consensus, it is sent to the target circuit breaker for execution through an encrypted channel.

[0012] In some embodiments, the protocol sniffing engine calculates the cosine similarity between the feature vector of the device message to be identified and the feature vector of each protocol in the preset protocol feature library. If the maximum similarity exceeds a preset threshold, it is automatically identified as the corresponding protocol. If it is below the threshold, it is marked as an unknown protocol and the protocol learning mode is triggered. After being labeled by maintenance personnel, it is added to the library to achieve continuous evolution of the protocol feature library.

[0013] In some embodiments, the device fingerprint two-factor authentication includes: the first factor is TLS certificate and username / password authentication, and the second factor is a device fingerprint dynamic token generated by the SM3 hash algorithm based on the device hardware serial number, MAC address, communication timing jitter characteristics and protocol stack implementation characteristics. This token is periodically updated and verified to ensure the uniqueness of the connection and anti-counterfeiting.

[0014] In some embodiments, the adjacency parameter is calculated using the following formula:

[0015]

[0016] in, The Pearson similarity coefficient is the sum of the current data sequences of the two circuit breakers. For data activity, For electrical topology distance, It is a weighting adjustment factor and satisfies , , This is the activity decay coefficient. This refers to the topological scale parameter.

[0017] In some embodiments, after the circuit breaker data network is constructed, a graph update cycle is set. In each update cycle, the node feature vector and adjacency parameters are recalculated in a sliding time window. If the rate of change of the adjacency parameters exceeds the change threshold, the edge is marked as an association mutation and an association analysis alarm is triggered. For newly connected or disconnected circuit breakers, nodes and edges are dynamically added or deleted to achieve topology adaptation of the graph network.

[0018] In some embodiments, the ST-GCN anomaly prediction model includes: a spatial graph convolutional layer based on Chebyshev multinomial approximation, a temporal convolutional layer based on one-dimensional dilated causal convolution, an adaptive graph attention mechanism, and an output layer; the output layer outputs a triplet of anomaly prediction results for each circuit breaker. ,in Classify the types of anomalies. This represents the probability of an anomaly occurring. This indicates the expected time of the anomaly.

[0019] In some embodiments, the formula for calculating the comprehensive risk index $R_k$ is:

[0020]

[0021] in, This represents the probability of an abnormality in the circuit breaker itself. Weighted anomaly probabilities for associated nodes To anticipate abnormal times, Weighted anomaly times for associated nodes As a probability-time tradeoff factor, This is a probability risk amplification factor. For time-coordinated scale parameters.

[0022] In some embodiments, the adaptive security control strategy generation includes: selecting basic control actions from a pre-set basic control strategy library based on the risk level-anomaly type index; outputting optimized control parameters through the DDPG reinforcement learning decision-maker and superimposing and fusing them with the basic control actions to generate a final control instruction; the control instruction is broadcast to the consensus nodes in the permissioned blockchain network after being digitally signed by SM2 and hashed by SM3, and then verified by PBFT consensus. After successful verification, the instruction is sent to the target circuit breaker through a TLS1.3 encrypted channel, and then executed by the target circuit breaker after independently verifying the Merkel path proof of the instruction through a blockchain light node.

[0023] To achieve the above objectives, the present invention also provides the following technical solution: an IoT integrated management platform for multi-protocol smart circuit breakers, adopting a cloud-edge-device three-layer architecture, comprising:

[0024] The edge access and protocol adaptation layer is equipped with a protocol sniffing engine, a protocol conversion gateway array, a device fingerprint authentication module, and an edge preprocessing unit.

[0025] The cloud-based data and graph network layer deploys a time-series database cluster, a graph network building engine, a digital twin modeling module, and a knowledge graph module.

[0026] The AI ​​prediction and intelligent decision-making layer is equipped with the ST-GCN training and inference engine, risk assessment matrix calculation module, reinforcement learning decision-maker and policy library management module.

[0027] The security control and blockchain layer includes a national cryptographic signature module, a blockchain consensus node cluster, an encrypted communication gateway, and a permission and audit module.

[0028] The application presentation layer includes a visual operation and maintenance dashboard, an alarm and work order system, and a report and trend analysis module.

[0029] In some embodiments, the protocol sniffing engine is deployed on an edge gateway, automatically matching the handshake message characteristics when listening to device access to a pre-set protocol feature library to identify the communication protocol type; the protocol conversion gateway array supports dynamic plugin loading of MQTT, Modbus, CoAP, HTTP and private protocols, converting heterogeneous protocol data into a unified MQTT message format and encapsulating it with a layered structured topic; the ST-GCN training and inference engine is responsible for the training, version management and online inference of the spatiotemporal graph neural network model, supporting hot model updates; the blockchain consensus node cluster deploys the PBFT consensus algorithm to perform distributed verification of the signature validity, hash consistency, timestamp freshness and sender permissions of control commands, realizing the immutable evidence storage of control commands.

[0030] Compared with the prior art, the beneficial effects of the present invention are:

[0031] (1) Breaking down protocol barriers to achieve unified management and zero-code expansion of heterogeneous devices. Through a three-layer dynamic adaptation architecture of "protocol adaptive identification - protocol conversion mapping - MQTT unified encapsulation", the platform can automatically adapt to new protocol devices without reconstructing the business layer. The protocol sniffing engine supports self-learning and database entry of unknown protocols, enabling the continuous evolution of the protocol ecosystem. The device fingerprint two-factor authentication mechanism eliminates unauthorized device access, enabling smart circuit breakers from multiple manufacturers, with multiple protocols and models to achieve unified registration, unified authentication, unified monitoring and unified control on the same platform, reducing operation and maintenance costs by more than 60%.

[0032] (2) Constructing a spatiotemporal correlation network significantly improves the early warning capability of cascading faults. Compared with traditional isolated single-point monitoring, this invention utilizes a spatiotemporal graph network algorithm to deeply mine the data similarity correlation, activity synchronization correlation, and physical topology correlation between circuit breakers, and designs a comprehensive risk index that integrates probability risk and time coordination. This index can effectively capture the risk of cascading faults caused by load coupling, line sharing, transformer parallel connection, etc., reduce the missed detection rate of correlated faults to below 5%, and extend the early warning time to 6-12 hours before the fault occurs, greatly improving the accuracy and reliability of IoT system monitoring.

[0033] (3) AI-driven adaptive control, balancing safety and economy. The introduction of the DDPG reinforcement learning decision-maker enables the control strategy to be dynamically adjusted according to the real-time load rate of the power grid, seasonal factors, and equipment aging, avoiding malfunctions or overly conservative actions caused by static threshold rules. For example, during peak load periods of the power grid, the system can intelligently increase the overcurrent threshold and shorten the monitoring cycle instead of directly tripping the circuit breaker, which ensures the stability of the power grid and avoids unnecessary power outage losses.

[0034] (4) Dual protection of blockchain consensus and national cryptographic algorithm ensures the security and reliability of commands. Control commands are executed only after being verified by SM2 digital signature, SM3 hash digest and PBFT blockchain consensus, ensuring the integrity, immutability and credibility of the sender's identity. The circuit breaker independently verifies the Merkel path proof through blockchain light nodes. Even if there is a brief interruption with the cloud network, the legitimacy of the command can be confirmed, reducing the false operation rate caused by malicious attacks to below 0.01%, meeting the high security level requirements of the smart grid.

[0035] (5) Digital twins and knowledge graphs enable interpretable intelligent operation and maintenance. The digital twin built for each circuit breaker supports fault simulation and strategy pre-playing. Operation and maintenance personnel can verify the effect of control strategies in a virtual environment before issuing them to physical devices. The knowledge graph module associates AI prediction results with power grid topology knowledge and historical fault cases to generate fault explanation reports in natural language, which significantly improves the interpretability of operation and maintenance decisions and the efficiency of manual intervention.

[0036] Details of one or more embodiments of this application are set forth in the following drawings and description to make other features, objects and advantages of this application more readily apparent. The embodiments of this application will provide a detailed description and understanding of the application. Attached Figure Description

[0037] Figure 1 This is the overall architecture diagram of the IoT integrated management platform for multi-protocol smart circuit breakers of the present invention, which shows the connection relationship and data flow of each module in the cloud-edge-device three-layer architecture;

[0038] Figure 2 This is a flowchart of the multi-protocol dynamic adaptation access process of the present invention, which shows the complete process of protocol sniffing, protocol identification, protocol conversion, MQTT unified topic encapsulation and device fingerprint two-factor authentication.

[0039] Figure 3 This is a schematic diagram of the circuit breaker data network construction of the present invention, which shows the graph network structure in which multiple circuit breakers in the target area are abstracted as graph nodes, electrical connections between devices are abstracted as graph edges, and the adjacency parameter weights are labeled.

[0040] Figure 4 This is a structural diagram of the ST-GCN anomaly prediction model of the present invention, showing the connection relationship and data flow of the spatial graph convolutional layer, temporal convolutional layer, spatiotemporal attention mechanism and output layer;

[0041] Figure 5 This is a logic diagram for calculating the comprehensive risk index of the present invention, which shows the logical process of filtering related nodes, aggregating weighted abnormal parameters, calculating the comprehensive risk index, and determining the four-level risk level.

[0042] Figure 6 The blockchain security control flowchart of this invention illustrates the closed-loop process of control policy generation, SM2 digital signature, SM3 hash digest, PBFT consensus verification, TLS encrypted transmission, blockchain light node verification, and execution feedback.

[0043] Figure 7 This is a schematic diagram of the digital twin and knowledge graph interaction interface of the present invention, showing the virtual mapping of circuit breakers, visualization of fault propagation paths, and explanatory report generation interface. Detailed Implementation

[0044] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0045] Example 1: Dynamic Adaptation Access with Multiple Protocols and Unified Data Conversion

[0046] like Figures 1 to 7 This embodiment details the specific implementation methods of multi-protocol dynamic adaptation access and unified data conversion.

[0047] In a 10kV power distribution room in an industrial park, 12 intelligent circuit breakers (numbered CB01~CB12) are deployed, covering 3 manufacturers and 4 communication protocols (MQTT, Modbus RTU, CoAP, and a certain manufacturer's proprietary protocol), which are responsible for the power supply protection of 6 production feeders.

[0048] Step 1.1: Protocol Adaptive Identification. A protocol sniffing engine is deployed at the platform's edge access layer. This engine automatically matches a pre-built protocol feature library by monitoring the handshake message characteristics (including header identifier, field length, verification method, baud rate / band, timing interval, etc.) during device access. The protocol feature library stores the feature fingerprint vectors of known protocols (MQTT, Modbus, CoAP, HTTP, etc.) and historical proprietary protocols. Each feature dimension includes: the message start byte sequence, the fixed field length distribution, the check algorithm type (CRC-16, CRC-32, LRC, Checksum, etc.), and communication timing features (frame interval, response timeout).

[0049] The protocol sniffing engine calculates the feature vector of the message of the device to be identified. Cosine similarity with the feature vectors of each protocol in the library:

[0050]

[0051] In the formula, The message feature vector of the device to be identified. For the first in the protocol feature library The feature vector of each protocol This represents the Euclidean norm of the vectors. If the maximum similarity exceeds a preset threshold... If the value is 0.85 (usually), it will be automatically identified as the corresponding protocol; if it is below the threshold, it will be marked as an unknown protocol, triggering the protocol learning mode. After being labeled by the operation and maintenance personnel, it will be added to the database to realize the continuous evolution of the protocol feature library.

[0052] In this embodiment, the protocol sniffing engine automatically identifies within 30 seconds: CB01~CB04 are ModbusRTU protocol (baud rate 9600, function code 0x04), CB05~CB08 are MQTT protocol (TLS encryption), CB09~CB10 are CoAP protocol (port 5683), and CB11~CB12 are unknown private protocols.

[0053] Step 1.2: Protocol Conversion Mapping and Gateway Configuration. For devices with identified protocols, the platform dynamically loads the corresponding protocol conversion plugin based on the protocol type. Each plugin contains built-in data frame parsing rules and an MQTT topic mapping table for that protocol. The platform registers basic gateway information (gateway ID, supported protocol list, IP address / port, heartbeat cycle) and device information (device ID, device type, rated parameters, and power distribution area) in the configuration center. Based on the configuration information, each IoT device is bound to the corresponding protocol's virtual gateway channel, and a configuration package containing protocol conversion rules, a topic mapping table, and authentication credentials is generated and sent to the edge gateway, enabling the gateway to perform protocol conversion and data forwarding for the bound devices.

[0054] For devices with known protocols, the platform automatically loads the corresponding protocol conversion plugin and generates a configuration package, which is then sent to the gateway. For CB11~CB12 devices, the protocol sniffing engine marks them as unknown protocols, triggering the protocol learning mode. Operations personnel can view the packet characteristics (starting byte 0xAA0x55, fixed length 32 bytes, CRC-16 checksum) through the protocol analysis interface, marking them as "VendorX private protocol v2.1". The system automatically generates a conversion plugin for this protocol and adds it to the database.

[0055] Step 1.3: MQTT Unified Topic Encapsulation and Device Fingerprint Authentication. The data, after protocol conversion, is uniformly encapsulated into MQTT messages and reported to the platform application layer Broker. The MQTT topic adopts a layered structured design: / {tenantId} / {protocolType} / {regionId} / {deviceId} / {dataType} / {timestamp}, for example: / tenantA / modbus / region03 / CB2025001 / telemetry / 20250610154800. The payload uses standard JSON Schema and includes device identifier, sensor data, collection timestamp, data quality label, and digital signature digest.

[0056] The platform generates a unique ClientID for each device and employs a two-factor authentication mechanism based on device fingerprints: the first factor is a standard TLS certificate plus username / password; the second factor is a dynamic device fingerprint token, which is generated using the SM3 hash algorithm based on the device's hardware serial number, MAC address, communication timing jitter characteristics, and protocol stack implementation characteristics. This fingerprint is periodically updated and verified to ensure the uniqueness and anti-spoofing capabilities of the connection. After all devices are authenticated using the device fingerprint (hardware serial number + SM3 hash), they access the platform with a unified MQTT topic format, such as CB01's topic being: / factoryA / modbus / line1 / CB01 / telemetry / 20250610154800.

[0057] Example 2: Construction of Circuit Breaker Data Network Based on Spatiotemporal Graph Network Algorithm

[0058] This embodiment details the construction method of the circuit breaker data network and the calculation process of the adjacency parameters.

[0059] Step 2.1: Graph Node and Node Feature Definition. Each circuit breaker within the target area is abstracted as a graph node. The static parameters of the circuit breaker are fused with dynamic sensing data to form a multi-dimensional node feature vector. :

[0060]

[0061] In the formula, the static parameters include: rated current. Rated voltage Maximum load capacity Temperature threshold Dynamic sensing includes: Average current during the time window Current standard deviation Average temperature Average humidity The cumulative number of actions of the actuator Effective value of mechanical vibration .

[0062] Step 2.2: Adjacency Parameter Calculation and Graph Network Construction. For any two graph nodes... and Adjacency parameters are calculated based on the sensor data sequence. (i.e., the weight of the graph edges) to quantify the electrical connection strength between the two circuit breakers.

[0063] set up For nodes In the sliding time window The current data sequence within, Similarly, first, calculate the Pearson similarity coefficient between the two-node sensing data sequences:

[0064]

[0065] In the formula, The closer the value is to 1, the more similar the current fluctuation patterns of the two circuit breakers are, and the stronger the correlation. and These are the means of the corresponding sequences. :node In the sliding time window The current data sequence within, :node The corresponding data sequence.

[0066] Secondly, calculate the difference in data activity between the two nodes within the window period. Data activity is defined as the ratio of the number of valid data sampling points to the theoretical maximum number of sampling points within the window.

[0067]

[0068] In the formula, This represents the number of valid data frames actually received within the window period. Theoretical number of sampling frames ( (Sampling period). Activity differences are smoothed using an exponential decay function:

[0069]

[0070] In the formula, This is the attenuation coefficient, with a value ranging from 0.1 to 0.3. This function ensures that circuit breakers with similar activity levels receive higher association weights, while avoiding sudden weight changes caused by absolute differences.

[0071] Furthermore, an electrical topology distance factor is introduced. Based on the circuit breaker's topological connection in the physical power grid (e.g., whether it is on the same feeder, the same busbar segment, or on the same side of the transformer), the topology distance is defined. :

[0072] 1 indicates that the same feeder is directly connected, 2 indicates that the same busbar section, 3 indicates that the same transformer low-voltage side, 4 indicates that the same transformer high-voltage side, and 5 indicates different transformers.

[0073] The topological association factor is defined as:

[0074]

[0075] In the formula, This is the topological scale parameter, typically taken as 2.0~3.0.

[0076] Finally, the adjacency parameters The calculation formula is:

[0077]

[0078] In the formula, As a weighting adjustment factor, satisfying and This formula takes into account the similarity of data fluctuations, the synchronicity of data activity, and the proximity of physical topology, so that circuit breakers with similar electrical characteristics, synchronous activity, and close physical distance have stronger correlation weights.

[0079] Calculate for all node pairs Then, construct the adjacency matrix. And employing a symmetric normalized Laplace transform:

[0080]

[0081] In the formula, For degree matrix, Normalized adjacency matrix Used for subsequent graph convolution operations to ensure numerical stability and convergence. All graph nodes. and normalized adjacency matrix Forming a circuit breaker data network , For the set of graph nodes (set of circuit breakers); It is the set of graph edges; This is the normalized adjacency matrix.

[0082] In this embodiment, the platform extracts the current data sequence of each circuit breaker from the time-series database at a period of 15 minutes (sampling period of 1 second, window length of 900 seconds). The adjacency parameter of CB01 and CB02, the Pearson similarity, is calculated. (Both circuit breakers are on the same feeder, and the loads are highly synchronized); Data activity , Difference Topological distance (Directly connected to the same feeder), topology factor ;Pick ,but Similarly, calculate all node pairs, construct a 12×12 adjacency matrix, and form the circuit breaker data network G after symmetric normalization.

[0083] Step 2.3: Dynamic Graph Update Mechanism. The circuit breaker data network is not a static structure, but evolves dynamically with the power grid's operating status. This invention sets a graph update cycle. (Default 15 minutes) Within each update cycle: the sliding time window advances forward, and the node feature vectors are recalculated. Recalculate adjacency parameters If the rate of change of the adjacency parameter exceeds the change threshold, the edge is marked as an "association mutation," triggering an association analysis alarm.

[0084]

[0085] In the formula, The threshold value is set to 0.15. For newly connected or disconnected circuit breakers, nodes and edges are dynamically added or removed to achieve topology adaptation of the graph network.

[0086] Example 3: Anomaly Prediction and Risk Assessment Based on Spatiotemporal Graph Neural Networks

[0087] This embodiment elaborates on the anomaly prediction and comprehensive risk index calculation method based on the ST-GCN model.

[0088] Step 3.1: ST-GCN Anomaly Prediction Model Architecture. The constructed circuit breaker data network G is input into a pre-trained spatiotemporal graph neural network (ST-GCN) anomaly prediction model, which outputs the anomaly prediction results for each circuit breaker. The ST-GCN model used in this invention simultaneously models the spatial correlation and temporal dynamics of the circuit breaker data network. The model architecture is as follows:

[0089] (1) Spatial graph convolution layer. Chebyshev polynomial approximation graph convolution is used. The graph convolution operation of the l-th layer is as follows:

[0090]

[0091] In the formula, For the first Layer node feature matrix ( (for feature dimensions) For Chebyshev polynomials, This is the scaled, normalized Laplace matrix. for The largest eigenvalue; The order of the polynomial (usually 3) controls the neighborhood range of the convolution; These are learnable convolutional kernel parameters; This is the ReLU activation function.

[0092] (2) Temporal Convolutional Layer. A one-dimensional dilated causal convolution is used in the temporal dimension to capture the temporal dependency patterns of the circuit breaker states:

[0093]

[0094] In the formula, For the first The void ratio of a layer increases exponentially with the number of layers, ensuring that the model obtains a larger temporal receptive field without increasing the number of parameters. The kernel size is the convolution kernel size. For convolution kernel weights, This is a bias term.

[0095] (3) Spatiotemporal attention mechanism. An adaptive graph attention mechanism is introduced to dynamically adjust the importance weights of different neighboring nodes:

[0096]

[0097] In the formula, For attention parameter vectors, Let be a linear transformation matrix, and ‖ denote vector concatenation. For nodes For nodes Attention coefficient , These are node features.

[0098] (4) Output layer. The model outputs a triplet of anomaly prediction results for each circuit breaker Vᵢ:

[0099]

[0100] In the formula, The abnormality types are classified (0 indicates normal, 1 indicates overcurrent warning, 2 indicates abnormal temperature rise, 3 indicates mechanical wear, 4 indicates insulation degradation, etc.). This represents the probability of an anomaly occurring. The estimated time of the anomaly (in hours).

[0101] Step 3.2: Model Training and Optimization. Supervised training is performed using historical running data and labeled fault cases. The loss function consists of a weighted average of classification loss, probabilistic regression loss, and temporal prediction loss.

[0102]

[0103] In the formula, Cross-entropy is used for classification loss; The probability loss is the binary cross-entropy loss. Huber loss (regression between predicted and actual values ​​at out-of-time events); The loss weights are set to 0.4, 0.35, and 0.25, respectively. The Adam optimizer is used with an initial learning rate of 0.001, and a cosine annealing learning rate scheduling strategy is employed. An early stopping mechanism is triggered if the validation set loss does not decrease for 5 consecutive epochs to prevent overfitting.

[0104] Step 3.3: Calculation of the comprehensive risk index. This is in response to any circuit breaker. To meet monitoring needs, the platform executes the following risk assessment algorithm:

[0105] (1) Filtering of associated nodes. In the circuit breaker data network, filtering and... Adjacency parameters Greater than the preset association threshold Node set :

[0106]

[0107] In the formula, Typically, the mean of all non-zero elements in the adjacency matrix is ​​taken as 1.5 times, i.e. .

[0108] (2) Aggregation of associated anomaly parameters. Calculate the weighted anomaly probability and weighted anomaly time of the associated node set:

[0109]

[0110]

[0111] The weighted average ensures that neighboring nodes with higher correlation contribute more to the risk assessment.

[0112] (3) Calculation of comprehensive risk index. Calculate the risk index for circuit breakers. Comprehensive risk index :

[0113]

[0114] In the formula, for The probability of its own abnormality; This is a probability-time tradeoff factor, with a value range of [0.5, 0.8] and a default of 0.7. This is a probability risk amplification factor, with a value range of [1.0, 2.0] and a default value of 1.5. It is used to enhance the risk sensitivity in high-probability scenarios. This is the time-coordinated scale parameter, with a value range of [2, 12] (hours), and a default of 6 hours. : Weighted average anomaly probability of associated nodes Weighted average anomaly time for associated nodes :node The probability of an anomaly :node The expected abnormal time.

[0115] The probability risk term is a weighted average of its own anomaly probability and the anomaly probabilities of related nodes, expressed as a power exponent. Nonlinear amplification is applied. As the probability approaches 1, this term rapidly approaches 1, reflecting the engineering logic of "high probability equals high risk." The time coordination term uses an exponentially decaying function to characterize the degree of coordination between its predicted anomaly time and the average anomaly time of associated nodes. When... When the time difference is large, this term approaches 1, indicating that the associated nodes almost synchronously experience anomalies, and the risk of cascading failures is extremely high; when the time difference is large, this term decays, indicating that the failures are relatively independent.

[0116] (4) Risk level determination. Setting risk thresholds. It is usually taken as 0.75.

[0117]

[0118] like > Then determine For risk circuit breakers, trigger the early warning process.

[0119] In this embodiment, G is input into the pre-trained ST-GCN model (K=3, 4 temporal convolutional layers, 8 attention heads), and the output is the prediction result of CB03: c3=2 (abnormal temperature rise), p3=0.82, t3=4.5 hours. The associated nodes of CB03 are then selected ( =0.6): N3={CB01,CB02,CB04}, corresponding weights ={0.85,0.80,0.72}, anomaly probability p={0.15,0.20,0.35}, anomaly time t={8.0,9.5,5.0}. Calculate the weighted association parameters: =(0.85×0.15+0.80×0.20+0.72×0.35) / (0.85+0.80+0.72)=0.242; =(0.85×8.0+0.80×9.5+0.72×5.0) / 2.37=7.57 hours. Calculate the comprehensive risk index (λ=0.7,μ=1.5,γ=6): Probability term =((0.82+0.242) / 2)^1.5=0.531^1.5≈0.387; Time term =exp(-|4.5-7.57| / 6)=exp(-0.512)≈0.599; R3=0.7×0.387+0.3×0.599=0.271+0.180=0.451. R3=0.451, classified as medium risk. However, noting that the abnormal time t4=5.0 hours for CB04 is very close to that of t3=4.5 hours for CB03, the platform further analyzed the correlation path between CB03 and CB04 and found that they share the same low-voltage side busbar of the transformer. It was determined that there is a risk of cascading temperature rise, and the risk level of CB03 was upgraded to high risk, triggering an early warning.

[0120] Example 4: Adaptive Security Control Strategy Generation and Execution

[0121] This embodiment details the process of generating and executing security control strategies based on reinforcement learning and blockchain consensus.

[0122] Step 4.1: Policy Generation Based on Risk Matrix and Reinforcement Learning. A control policy library is constructed, indexed by risk level and anomaly type, with a pre-defined set of basic control actions. Based on these basic control actions, a reinforcement learning decision-maker based on Deep Deterministic Policy Gradient (DDPG) is introduced to achieve fine-grained adaptation of control parameters. The state space S is defined as:

[0123]

[0124] In the formula, As a comprehensive risk index, It is an exception type. The average current. The average temperature. For grid load factor, As a seasonal factor, These are factors that contribute to equipment aging.

[0125] Action space A is a continuous control parameter vector:

[0126]

[0127] In the formula, This is the current threshold adjustment amount. The delay adjustment is represented by LoadReductionRatio, the load reduction ratio is represented by ActionPriority, and the action priority is represented by ActionPriority.

[0128] The reward function r is designed as follows:

[0129]

[0130] In the formula, ~ The weighting coefficients ensure that while reducing the risk of failure, operational costs and user experience are also considered. The DDPG decision-maker evaluates the state-action value function Q(S,A) through a Critic network, outputs the optimal action strategy through an Actor network, and integrates it with the basic control actions to generate the final control command C.

[0131]

[0132] In the formula, ⊕ represents the parameter superposition operation (such as the additional load reduction ratio of DDPG output superimposed on the basic load reduction of 20%). Basic control actions (such as reducing load by 20% and activating backup cooling); Optimized actions output by the DDPG decision-maker.

[0133] In this embodiment, for the high-risk temperature rise anomaly of CB03, the basic control action is "reduce load by 20% and activate backup cooling". The DDPG decision unit outputs optimized actions based on the current status (grid load rate 85%, summer high temperature season, CB03 operating life 8 years): additionally reduce load by 5%, shorten the monitoring cycle to 30 seconds, and increase the alarm priority to P1.

[0134] Step 4.2: Command Security Verification and Encryption Issuance. Control commands are protected for their integrity and non-repudiation through multiple layers of security mechanisms:

[0135] (1) Instruction Signature and Hash Verification. After the control instruction is generated, the platform uses the SM2 national cryptographic algorithm to digitally sign the instruction content and generate a signature value Sig; at the same time, it calculates the SM3 hash digest H of the instruction payload and sets (C, Sig, H, T) as the hash value. s ) is encapsulated as a secure instruction packet, where T s This is a timestamp used to prevent replay attacks.

[0136] (2) Blockchain Consensus Verification. The platform broadcasts the security instruction packet to the consensus nodes in the Permissioned Blockchain network. The consensus nodes execute the Practical Byzantine Fault Tolerance (PBFT) consensus algorithm to verify the signature validity, hash consistency, timestamp freshness, and sender permissions of the instruction. Only when more than 2 / 3 of the consensus nodes confirm the verification is the instruction marked as "verified" and written into the block.

[0137] (3) Encrypted channel transmission. Verified instructions are sent to the target circuit breaker controller via an encrypted channel based on TLS 1.3. The controller maintains a blockchain light node (LightClient) locally, which can independently verify the Merkel path proof of the instructions and confirm that the instructions have been recognized by the blockchain network consensus without needing to connect to a full node in real time.

[0138] Step 4.3: Adaptive Execution and Feedback at the Controller Side. After receiving the instruction, the controller performs the following operations:

[0139] (1) Command parsing and permission verification. Parse the command packet to extract control actions, target parameters, and signature information. Verify the validity of the platform's digital signature to confirm that the command has not been tampered with. Verify whether the sender's permission level meets the security level requirements of the current operation (e.g., emergency tripping requires higher-level permissions).

[0140] (2) Dynamic parameter optimization and execution. Operating parameters are dynamically adjusted based on the current mechanical condition of the circuit breaker (contact wear, spring fatigue, operating mechanism temperature). For example, for circuit breakers with severe mechanical wear, the opening speed is appropriately reduced or the buffer time is increased to avoid further damage from mechanical impact. The controller has a built-in adaptive PID control module that monitors the mechanical vibration mode and current waveform during operation in real time. If abnormal oscillation or contact bounce is detected, self-repairing parameter fine-tuning is immediately performed.

[0141]

[0142] In the formula, , , These are the proportional, integral, and differential coefficients, respectively. , , Based on real-time error using a fuzzy logic controller The controller dynamically adjusts its rate of change to ensure the smoothness and reliability of the operation process. In this embodiment, after verifying the signature and Merkel path, the controller performs a 25% load reduction operation and dynamically adjusts the opening speed through adaptive PID (reducing the opening speed by 15% because contact wear is detected to be >30%).

[0143] (3) Execution Feedback and Strategy Iteration. After the circuit breaker executes the control command, it sends the execution results (action completion time, contact status, mechanical vibration data, current waveform) back to the platform. The platform compares the execution results with the expected results and calculates the strategy execution deviation:

[0144]

[0145] In the formula, This is the actual execution result vector. This represents the expected result vector. If the deviation exceeds the threshold, the policy self-learning mechanism is triggered, the experience replay pool of the DDPG decision-maker is updated, and the policy model is optimized through offline training to achieve continuous evolution of the control policy. In this embodiment, after execution, CB03 returns the execution result: load reduction completion time 120ms, contact status normal, mechanical vibration peak 0.05g (below the threshold of 0.08g). The platform calculates the execution deviation to be 0.02, which is below the threshold, indicating successful policy execution, and the DDPG experience replay pool is updated.

[0146] Example 5: Internet of Things Integrated Management Platform

[0147] This embodiment details the specific architecture and module deployment of an IoT integrated management platform for multi-protocol smart circuit breakers.

[0148] This platform adopts a three-layer cloud-edge-device architecture, including the following core modules:

[0149] (1) Edge Access and Protocol Adaptation Layer. Deployed in the field edge gateway of the power distribution room, including: a protocol sniffing engine to realize automatic identification and feature learning of access protocols; a protocol conversion gateway array to support dynamic plug-in loading of MQTT, Modbus, CoAP, HTTP and private protocols to realize standardized conversion of heterogeneous data; a device fingerprint authentication module to generate a unique device identifier based on hardware features and communication behavior and perform two-factor authentication; and an edge preprocessing unit to perform local filtering, compression and anomaly screening of high-frequency sensor data to reduce cloud transmission bandwidth.

[0150] (2) Cloud Data and Graph Network Layer. Deployed on a private cloud or hybrid cloud platform, including: a time-series database cluster, which uses a distributed time-series database (such as TDengine, InfluxDB) to store historical operating data of circuit breakers, supporting high-concurrency writing and millisecond-level queries; a graph network construction engine, which executes adjacency parameter calculation, graph network construction and dynamic update algorithms to maintain the real-time topology of the circuit breaker data network; a digital twin modeling module, which builds a high-fidelity digital twin for each circuit breaker, synchronizes the physical state in real time, and supports fault simulation and strategy pre-playing; and a knowledge graph module, which integrates power grid topology knowledge, equipment manual knowledge and historical fault case knowledge to provide interpretable reasoning support for anomaly diagnosis.

[0151] (3) AI Prediction and Intelligent Decision Layer (AILayer). Deployed on a cloud GPU computing cluster, it includes: ST-GCN training and inference engine, responsible for training, version management and online inference of spatiotemporal graph neural network model, supporting hot model updates; risk assessment matrix calculation module, which performs comprehensive risk index calculation, risk level determination and associated fault propagation analysis; reinforcement learning decision-maker, which realizes adaptive optimization of control strategy based on DDPG algorithm, and supports online learning and offline training dual modes; and strategy library management module, which maintains basic control strategy library and supports strategy version control, A / B testing and effect evaluation.

[0152] (4) Security Control and Blockchain Layer. Cross-cloud-edge deployment, including: a national cryptographic signature module, which implements digital signature and hash verification of instructions based on the SM2 / SM3 algorithm; a blockchain consensus node cluster, which deploys the PBFT consensus algorithm to realize distributed verification and tamper-proof storage of control instructions; an encrypted communication gateway, which establishes an end-to-end encrypted channel based on TLS1.3 to ensure the confidentiality of instruction transmission; and an access control and audit module, which implements fine-grained access control based on the RBAC (Role-Based Access Control) model and records complete operation audit logs.

[0153] (5) Application Layer. Deployed on Web and mobile devices, including: a visual operation and maintenance dashboard that displays the real-time status of circuit breakers, graph network topology, and risk heat map based on WebGL / WebGIS; an alarm and work order system that automatically triggers tiered alarms based on risk level, generates operation and maintenance work orders, and dispatches them to the responsible persons; and a report and trend analysis module that provides multi-dimensional statistical reports such as equipment health trends, fault prediction accuracy, and control strategy execution effects.

[0154] The various layers interact with each other via standard RESTful APIs and high-performance gRPC interfaces. The edge layer and the cloud communicate securely via MQTT over TLS 1.3. Service discovery and load balancing are achieved between microservices in the cloud through a service mesh. The platform supports Kubernetes containerized deployment and can elastically scale computing resources according to power distribution scale.

[0155] Example 6:

[0156] To fully disclose the technical content of this invention, alternative technical solutions are provided below to demonstrate the flexible adaptability of this invention under different constraints. These alternative solutions can be implemented independently in specific application scenarios or used in combination with the above embodiments.

[0157] Alternative Solution 1: Simplified form of adjacency parameter calculation. In the graph network construction of step 2, if system computing resources are limited (e.g., in an edge gateway environment), the adjacency parameters... A simplified calculation formula can be used:

[0158]

[0159] In the formula, only the normalized data similarity and topological association factor are retained, while the activity difference term is omitted. , Simplified weighting adjustment factor (omitting the activity difference term) This simplified solution reduces computational complexity by approximately 30% while maintaining core associative modeling capabilities, making it suitable for real-time graph update scenarios at the edge. In this alternative, the edge gateway directly calculates adjacency parameters based on a simplified formula, eliminating the need to upload raw sensor data to the cloud. This significantly reduces network bandwidth consumption and cloud computing load, meeting the low-latency and low-power operation requirements at the edge.

[0160] Alternative Solution 2: A Lightweight Alternative to Blockchain Verification. In the instruction security verification step 4, for low-end circuit breakers (such as early smart micro-circuit breakers) that do not support blockchain lightweight node deployment, a challenge-response mechanism based on HMAC-SHA256 can be used as an alternative: the platform generates and issues a random challenge code Nonce; the circuit breaker uses the pre-shared key K to calculate Response=HMAC(K,Nonce||C||T). s The platform independently calculates and compares the Response; if the verification is successful, the instruction is executed. Although this solution does not possess the distributed and immutable characteristics of blockchain, it can effectively prevent instruction replay and forgery attacks in a closed intranet environment, and its implementation cost is extremely low, making it suitable for application scenarios with moderate security requirements but high cost sensitivity.

[0161] Alternative Option 3: The probabilistic form of the risk index. Comprehensive Risk Index A probabilistic fusion approach could be used instead:

[0162]

[0163] The formula is based on the "parallel failure of independent events" probability model, and its physical meaning is more intuitive: when an anomaly occurs in itself or any high-weight associated node, the risk index approaches 1. It is suitable for scenarios that emphasize the cumulative probability of cascading failures, such as bus protection systems in large substations, where a failure in any associated node may lead to bus voltage loss. In this case, the probability fusion form can more accurately reflect the level of systemic risk.

[0164] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

[0165] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A comprehensive IoT management method for multi-protocol smart circuit breakers, characterized in that, Includes the following steps: Step 1: Deploy a protocol sniffing engine at the edge access layer. By listening to the handshake message characteristics when the smart circuit breaker is connected, it automatically matches the pre-set protocol feature library to identify the communication protocol type. Based on the identification results, it dynamically loads the corresponding protocol conversion plugin to convert heterogeneous protocol data into a unified MQTT message format. After the device fingerprint two-factor authentication, it is connected to the platform. Step 2: Obtain multi-dimensional sensor data of multiple circuit breakers in the target area, abstract each circuit breaker as a graph node, integrate static parameters and dynamic sensor data to construct a multi-dimensional node feature vector, calculate adjacency parameters based on data fluctuation similarity, data activity synchronization and physical topology proximity, and construct a normalized adjacency matrix of the circuit breaker data network. Step 3: Input the circuit breaker data network into the pre-trained spatiotemporal graph neural network ST-GCN anomaly prediction model, output the anomaly prediction results of each circuit breaker, and calculate the comprehensive risk index based on the weighted anomaly parameters of the associated nodes to determine the risk level. Step 4: Based on the risk level and anomaly type, an adaptive control strategy is generated through the DDPG reinforcement learning decision-maker. The control command is digitally signed and hashed using national cryptographic standards, and after being verified by blockchain consensus, it is sent to the target circuit breaker for execution through an encrypted channel.

2. The method according to claim 1, characterized in that, The protocol sniffing engine calculates the cosine similarity between the feature vector of the device message to be identified and the feature vector of each protocol in the preset protocol feature library. If the maximum similarity exceeds the preset threshold, it is automatically identified as the corresponding protocol. If it is below the threshold, it is marked as an unknown protocol and the protocol learning mode is triggered. After being labeled by maintenance personnel, it is added to the library to realize the continuous evolution of the protocol feature library.

3. The method according to claim 1, characterized in that, The device fingerprint two-factor authentication includes: the first factor is TLS certificate and username / password authentication, and the second factor is a device fingerprint dynamic token generated by the SM3 hash algorithm based on the device hardware serial number, MAC address, communication timing jitter characteristics and protocol stack implementation characteristics. This token is periodically updated and verified to ensure the uniqueness of the connection and anti-counterfeiting.

4. The method according to claim 1, characterized in that, The formula for calculating the adjacency parameter is as follows: in, The Pearson similarity coefficient is the sum of the current data sequences of the two circuit breakers. For data activity, For electrical topology distance, It is a weighting adjustment factor and satisfies , , This is the activity decay coefficient. This is the topological scale parameter.

5. The method according to claim 4, characterized in that, After constructing the circuit breaker data network, a graph update cycle is set. In each update cycle, the node feature vector and adjacency parameters are recalculated within a sliding time window. If the rate of change of the adjacency parameters exceeds the change threshold, the edge is marked as an association mutation and an association analysis alarm is triggered. For newly connected or disconnected circuit breakers, nodes and edges are dynamically added or deleted to achieve topology adaptation of the graph network.

6. The method according to claim 1, characterized in that, The ST-GCN anomaly prediction model includes: a spatial graph convolutional layer based on Chebyshev multinomial approximation, a temporal convolutional layer based on one-dimensional dilated causal convolution, an adaptive graph attention mechanism, and an output layer; the output layer outputs a triplet of anomaly prediction results for each circuit breaker. ,in Classify the types of anomalies. This represents the probability of an anomaly occurring. This indicates the expected time of the anomaly.

7. The method according to claim 6, characterized in that, The formula for calculating the comprehensive risk index $R_k$ is as follows: in, This represents the probability of an abnormality in the circuit breaker itself. Weighted anomaly probabilities for associated nodes To anticipate abnormal times, Weighted anomaly times for associated nodes As a probability-time tradeoff factor, This is a probability risk amplification factor. For time-coordinated scale parameters.

8. The method according to claim 1, characterized in that, The adaptive security control strategy generation includes: selecting basic control actions from a pre-set basic control strategy library based on the risk level-anomaly type index; outputting optimized control parameters through the DDPG reinforcement learning decision-maker and superimposing and fusing them with the basic control actions to generate the final control command; the control command is broadcast to the consensus nodes in the permissioned blockchain network after being digitally signed by SM2 and hashed by SM3, and then verified by PBFT consensus. After successful verification, the command is sent to the target circuit breaker through a TLS1.3 encrypted channel. The target circuit breaker then executes the command after independently verifying the Merkel path proof of the command through blockchain light nodes.

9. An IoT integrated management platform for multi-protocol smart circuit breakers, adopting a cloud-edge-device three-layer architecture, characterized in that... include: The edge access and protocol adaptation layer is equipped with a protocol sniffing engine, a protocol conversion gateway array, a device fingerprint authentication module, and an edge preprocessing unit. The cloud-based data and graph network layer deploys a time-series database cluster, a graph network building engine, a digital twin modeling module, and a knowledge graph module. The AI ​​prediction and intelligent decision-making layer is equipped with the ST-GCN training and inference engine, risk assessment matrix calculation module, reinforcement learning decision-maker and policy library management module. The security control and blockchain layer includes a national cryptographic signature module, a blockchain consensus node cluster, an encrypted communication gateway, and a permission and audit module. The application presentation layer includes a visual operation and maintenance dashboard, an alarm and work order system, and a report and trend analysis module.

10. The platform according to claim 9, characterized in that, The protocol sniffing engine is deployed on the edge gateway and automatically matches the pre-set protocol feature library to identify the communication protocol type by listening to the handshake message characteristics when the device connects. The protocol conversion gateway array supports dynamic plugin loading of MQTT, Modbus, CoAP, HTTP and private protocols, converting heterogeneous protocol data into a unified MQTT message format and encapsulating it with a layered structured topic. The ST-GCN training and inference engine is responsible for the training, version management and online inference of the spatiotemporal graph neural network model, and supports hot model updates. The blockchain consensus node cluster deploys the PBFT consensus algorithm to perform distributed verification of the signature validity, hash consistency, timestamp freshness and sender permissions of control commands, realizing the immutable evidence storage of control commands.