Cross-safety zone data interaction method and system based on power system application grouping

By applying grouping and priority calculations to server nodes in the production control area and management information area in the smart grid, the main and backup nodes are elected to interact across regions, and the real-time nature of different service data is solved when the interactive transmission of different service data across the security zone is solved. , reliability and bandwidth issues improve data interaction efficiency and network bandwidth utilization.

CN117879852BActive Publication Date: 2025-02-18BEIJING SIFANG JIBAO ENG TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311457276.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-10-31
Filing Date
2023-11-03
Publication Date
2025-02-18
Estimated Expiration
2043-11-03

AI Technical Summary

Technical Problem

In smart grids, when different service data are transmitted interactively across safe zones, there are problems such as real-time, reliability and transmission bandwidth.

Method used

By grouping business applications of server nodes in the production control area and the management information area, calculating node application priority, selecting master and backup nodes for cross-region data interaction, only the master nodes perform data interaction, backup nodes cache data, and through the self-region data Add a unified number synchronization mechanism to ensure data uniqueness.

Benefits of technology

It improves the efficiency of cross-region interactive data, saves network transmission bandwidth, avoids the problem of multi-master mode dependence on data sequence, and prevents retransmission and missed transmission when the main and backup nodes are switched.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117879852B_ABST
    Figure CN117879852B_ABST
Patent Text Reader

Abstract

The present invention includes a cross-security zone data interaction method and system based on power system application grouping, which is used to realize cross-security zone data interaction of multiple business applications at the same time. The method includes: grouping server nodes of a production control zone and an information management zone by application according to the business; electing an application master node for data interaction according to a node application priority calculation formula within the application group; avoiding retransmission and missed transmission in abnormal circumstances of master-slave switching through a unified self-increment numbering synchronization mechanism; in the present invention, multiple business applications simultaneously perform cross-zone data interaction, which improves the efficiency of cross-zone interactive data, and the application master node within the application group interacts with data, which saves network transmission bandwidth and avoids the problem of multi-master mode's dependence on data sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The patented technology of the present invention belongs to the field of power system technology, and in particular relates to a cross-security zone data interaction method and system based on power system application grouping. Background Art

[0002] With the rapid development of digital technology, information and communication technology, artificial intelligence and other technologies, smart grids have begun to develop rapidly, and network security is a very critical and important link. According to the "Secondary Power System Safety Protection Regulations", the monitoring system is divided into production control area and management information area.

[0003] A dedicated horizontal one-way safety isolation device for electric power, tested and certified by the designated national department, must be installed between the production control area and the management information area to prevent external attacks and intranet penetration. According to the direction of data communication, the dedicated horizontal one-way safety isolation device for electric power is divided into forward type and reverse type. The forward safety isolation device is used for non-network one-way data transmission from the production control area to the management information area. The reverse safety isolation device is used for one-way data transmission from the management information area to the production control area, and is the only data transmission path from the management information area to the production control area.

[0004] The production control area is divided into real-time control area (safety area I) and non-real-time control area (safety area II). It is an important link in power production and directly realizes real-time monitoring of the primary power system. The main real-time business (safety area I) includes data acquisition, monitoring system stability control system, security, PMU, etc. The main non-real-time business (safety area II) includes fault recording, traveling wave ranging, water purification system, etc.

[0005] The management information area is divided into management information (Security Area III) and security access area (Security Area IV), which includes production WEB servers and their monitoring servers, etc. It is a collection of power enterprise management business systems outside the production control area.

[0006] With the construction and promotion of smart grids, the business scope is becoming more and more extensive, and the data sources are complex. Different business data affect each other in terms of real-time, reliability and transmission bandwidth during interactive transmission across security zones. Summary of the invention

[0007] In order to solve the above problems existing in the prior art, the present invention provides a cross-safety zone data interaction method based on power system application grouping, which is used to implement cross-safety zone data interaction.

[0008] The present invention specifically adopts the following technical solutions. The first aspect of the present invention provides a cross-security zone data interaction method based on power system application grouping, wherein the power system cross-security zone data interaction subject includes a forward / reverse isolation device, an application grouping, an application master / backup node and an application service program, and the cross-security zone data interaction method includes the following steps:

[0009] Step 1: Group the server nodes in the production control area and the management information area into business application groups according to the business. Each application group includes at least one server node, and applications are deployed on the server nodes in the application group.

[0010] Step 2: In each application group, set the application weight, node priority and node name of each server node according to the pre-deployed applications. All server node names should be unique.

[0011] Step 3: Use the application, application weight, node priority and node name on the server node obtained in step 2 to calculate the node application priority, and use comprehensive sorting to distinguish the primary and backup nodes of specific applications;

[0012] Step 4: For business data that meets the application requirements, the application running on the application server master node within the application group provides services; each application master node within each application group simultaneously performs cross-zone data interaction, and only the application master node performs cross-zone data interaction.

[0013] Preferably, in step 1, there is no distinction between primary and backup application groups among the application groups, and different application groups do not contain the same application, do not contain the same server nodes, or contain the same server nodes.

[0014] Preferably, in step 3, the node application priority is expressed by the following formula:

[0015] Node application priority = node priority * application weight + node name sorting number (1).

[0016] Preferably, the application with the highest application priority is used as the application master node. Only the application master node performs data interaction, and the application standby node caches data within a set time.

[0017] Preferably, in step 3, application services of application nodes within the application group are interconnected using a set mechanism, and each application node saves the current node state. When the application group detects that the node is in a faulty state, the node is considered to be faulty.

[0018] Preferably, if the application master node fails, the application standby node with a higher application priority among the ranked preferred nodes is promoted to the application master node.

[0019] Preferably, when the application master node or the application service core program is abnormal, the application master and standby nodes are switched, and when the application standby node is switched to the application master node, all remaining cached data is sent.

[0020] Preferably, in step 3, the application service of the application master node increments the interaction data with a unified number, and sends a synchronization number to the application standby node. The application standby node clears the cached interaction data that is less than the unified number according to the unified number of data received from the application master node.

[0021] Preferably, the cross-security zone data interaction method further includes:

[0022] Step 5: The application master nodes of the production control area and the management information area deduplicate data based on whether they have received data with the same data number to ensure the uniqueness of the business data.

[0023] The second aspect of the present invention provides a cross-safety zone data interaction system based on power system application grouping, which is used to transmit data across production control areas and management information areas, and runs a cross-safety zone data interaction method based on power system application grouping;

[0024] The production control area and the management information area include multiple application groups, each application group includes at least one server node, and applications are deployed on the server nodes in the application group;

[0025] The master-slave node setting module is used to calculate the node application priority based on the pre-set application, application weight, node priority and node name on the server node, and distinguish the master and standby nodes of the specific application by comprehensive sorting; for business data that meets the application, the application running on the application server master node in the application group provides services; each application master node within each application group simultaneously performs cross-zone data interaction, and only the application master node performs cross-zone data interaction.

[0026] Compared with the prior art, the beneficial technical effects of the present invention include at least: in order to address the technical difficulties in the real-time, reliability and transmission bandwidth of different business data in the interactive transmission across security zones, the present invention groups applications of servers in the production control area and the information management area according to the business, and multiple application groups simultaneously perform cross-zone data interaction, thereby improving the efficiency of cross-zone interactive data.

[0027] Furthermore, the master node elected by the group through a comprehensive ranking competition mechanism based on the node application priority calculation formula performs cross-zone data interaction, saving network transmission bandwidth and avoiding the problem of multi-master mode's dependence on data order. A unified self-incrementing numbering synchronization mechanism ensures that there will be no retransmission or missed transmission in the event of an abnormal switch between the master and the standby. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the cross-safety zone data interaction method based on power system application grouping of the present invention.

[0029] Figure 2 It is a flow chart of the cross-safety zone data interaction method based on power system application grouping of the present invention. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.

[0031] like Figure 1 , Figure 2 As shown, embodiment 1 of the present invention provides a cross-security zone data interaction method based on power system application grouping, wherein the power system cross-security zone data interaction subject includes: a forward / reverse isolation device, an application grouping, an application master / standby node, and an application service program. Specifically, the cross-security zone data interaction method includes the following steps:

[0032] Step 1: The server nodes in the production control area and the management information area are grouped into business applications according to the business. Each application group includes at least one server node, and applications are deployed on the server nodes in the application group.

[0033] In the present invention, "application" refers to a group of closely related functions used to complete a certain aspect of business work.

[0034] In a preferred but non-limiting implementation of the present invention, there is no distinction between primary and backup application groups, and different application groups cannot contain the same application, that is, the applications contained in each application group are mutually exclusive, but can contain the same server node.

[0035] In order to more clearly introduce the technical solution and beneficial technical effects of the present invention, in an exemplary but non-limiting embodiment, the production control area and the management information area are divided into application groups 1 to application groups x, application group 1 includes nodes 1 to node m, and application group x includes nodes m to node y; nodes 1 to node m of application group 1 deploy applications a to k; nodes m to node y of application group x deploy applications k+1 to n. It is worth noting that application groups 1 to application groups x do not contain the same application, but may contain the same server node, for example but not limited to, application groups 1 to application groups x contain the same node m.

[0036] In a further preferred embodiment of the present invention, the server node division method of the production control area and the management information area may not be completely consistent. Specifically, the number of application groups and the number of nodes in the two areas may be inconsistent and do not need to correspond one to one. The applications included in the application groups of the two areas do not need to correspond one to one, but the number of applications in the two areas must be consistent.

[0037] Step 2: In each application group, set the application weight, node priority, and node name of each server node according to the pre-deployed applications. All server node names must be unique.

[0038] In a preferred but non-limiting embodiment of the present invention, the range of node priority definition is 0-255.

[0039] In the above exemplary embodiment, application weights, node priorities, and node names are set in application groups 1 to x according to deployed applications a to k and applications k+1 to n, respectively; all server node names are unique.

[0040] Step 3: The node application priority is calculated in the application group based on the application, application weight, node priority and node name on the pre-set server node, and the master and slave nodes of a specific application are distinguished by comprehensive sorting. Only the master application node interacts with data, and the slave application node caches data for a period of time.

[0041] In a preferred but non-limiting embodiment of the present invention, the node application priority is expressed by the following formula:

[0042] Node application priority = node priority * application weight + node name sorting number (1)

[0043] According to the node application priority calculation formula described in formula (1), the node with the larger application priority is used as the application master node. Only the application master node performs data interaction, and the application standby node caches data within a set time.

[0044] In the above exemplary embodiment, the node application priority of each node application in application group 1 to application group x in the production control area and the management information area is calculated and sorted according to the pre-set node priority, application weight and host name, and the node application priority calculation formula: node application priority = node priority * application weight + node name sorting number.

[0045] Specifically, application group 1 comprehensively sorts the priorities of node applications a calculated on nodes 1 to m, compares the priorities of node applications a, and uses node 1 with a higher priority as the application master node. Master node 1 performs cross-zone data interaction, and standby nodes 2 to m cache data for a certain period of time.

[0046] Application group 1 comprehensively sorts the priorities of node applications k calculated on nodes 1 to m, compares the priorities of node applications k, and uses node m with a higher priority as the application master node. The master node m performs cross-zone data interaction, and standby nodes 1 to m-1 cache data for a certain period of time.

[0047] Application group x comprehensively sorts the priorities of node applications k+1 calculated on nodes m to y, compares the priorities of node applications k+1, and uses node m with a higher priority as the application master node. The master node m performs cross-zone data interaction, and the standby nodes m+1 to y cache data for a certain period of time.

[0048] Application group x comprehensively sorts the priorities of node applications n calculated on nodes m to y, compares the priorities of node applications n, and uses node y with a higher priority as the application master node. The master node y performs cross-zone data interaction, and the backup nodes m+1 to y-1 cache data for a certain period of time.

[0049] In a further preferred but non-limiting embodiment of the present invention, the application services of each application node within the application group are interconnected using a set mechanism, such as but not limited to a PING mechanism. Each application node saves the current node status, and when the application group detects that the node is in a faulty state, the node is considered to be faulty. When the application master node fails, the node application priority calculated according to formula (1) can be automatically calculated, and the application standby node with a higher priority of the preferred node after sorting can be promoted to the application master node.

[0050] In the above exemplary embodiment, the application services within application groups 1 to x in the production control area and the management information area are interconnected using the PING mechanism, and each application node saves the current node status. When the application group detects that the node is in a faulty state, the application node is considered to be faulty.

[0051] Specifically, after a failure of a master node in application group 1 to application group x in the production control area and the management information area, the application standby node with a higher node application priority after sorting can be automatically promoted to the application master node according to the node application priority calculated in step 3, thereby ensuring the normal operation of the application service.

[0052] In a preferred but non-limiting embodiment of the present invention, when the application master node or the application service core program is abnormal, the application master and standby nodes are switched, and when the application standby node is switched to the application master node, all remaining cached data is sent.

[0053] In the above exemplary embodiment, when the application service program in the application master node within the application group 1 to the application group x in the production control area and the management information area is abnormal, the application master and standby nodes are switched, and when the application standby node is switched to the application master node, all remaining cached data is sent.

[0054] In a preferred but non-restrictive implementation of the present invention, the application service of the application master node self-increments the unified number of the interaction data and sends a synchronization number to the application standby node. The application standby node clears the cached interaction data that is less than the unified number based on the unified number of the data received from the application master node.

[0055] In the above exemplary embodiment, the internal data of application group 1 to application group x in the production control area and the management information area are uniformly numbered, the interactive data are numbered uniformly, and a synchronization number is sent to the application standby node. The application standby node clears the cached interactive data that is less than the unified number based on the unified number of the data received from the application master node.

[0056] Step 4: After the server nodes are grouped according to business applications, the application running on the application server master node in the application group provides services for the business data that meets the application; each application master node in each application group simultaneously performs cross-zone data interaction, and only the application master node performs cross-zone data interaction.

[0057] In the above exemplary embodiment, after the nodes are grouped according to business applications, for business data that meets the application, application group 1 in the production control area and the management information area uses the application programs in applications a to k deployed on the corresponding application nodes 1 to node m to provide services; application group x uses the application programs in applications k+1 to n deployed on the corresponding application nodes m to node y to provide services; and each application master node within application group 1 to application group x simultaneously performs cross-zone data interaction, thereby improving the efficiency of cross-zone interactive data.

[0058] It is worth noting that only the master node of the application within application group 1 to application group x performs cross-zone data interaction, which saves network transmission bandwidth and avoids the problem of multi-master mode's dependence on data order. A unified self-incrementing numbering synchronization mechanism is used to ensure that there will be no retransmission or omission in the event of abnormal switching of the master and standby nodes within application group 1 to application group x.

[0059] In a preferred but non-limiting embodiment of the present invention, the cross-security zone data interaction method further includes:

[0060] Step 5: The application master nodes of the production control area and the management information area deduplicate data based on whether they have received data with the same data number to ensure the uniqueness of the business data.

[0061] In the above exemplary embodiment, the application master nodes within application groups 1 to x in the production control area and the management information area deduplicate data based on whether they have received data with the data number, thereby ensuring the uniqueness of the business data.

[0062] The applicant has made a detailed explanation and description of the embodiments of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above embodiments are only preferred larger implementation plans of the present invention after sorting, and the detailed description is only to help readers better understand the spirit of the present invention, and it is not a limitation on the scope of protection of the present invention. On the contrary, any improvement or modification based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. A cross-security zone data interaction method based on power system application grouping, used for transmitting data across production control areas and management information areas, characterized in that: The following steps are involved: Step 1: The server nodes in the production control area and the management information area are grouped into business applications according to the business. Each application group includes at least one server node, and applications are deployed on the server nodes in the application group. Among them, there is no distinction between the primary and backup application groups among the application groups, and different application groups do not contain the same application, the same server nodes, or the same server nodes. Step 2: In each application group, set the application weight, node priority and node name of each server node according to the pre-deployed applications. All server node names should be unique. Step 3: Use the application, application weight, node priority and node name on the server node obtained in step 2 to calculate the node application priority, and use comprehensive sorting to distinguish the primary and backup nodes of specific applications; Step 4: For business data that meets the application requirements, the application running on the application server master node within the application group provides services; each application master node within each application group simultaneously performs cross-zone data interaction, and only the application master node performs cross-zone data interaction.

2. A method for cross-security zone data interaction based on power system application grouping as claimed in claim 1, characterized in that: In step 3, the node application priority is expressed as follows: Node application priority = node priority * application weight + node name sorting number (1).

3. A method for cross-security zone data interaction based on power system application grouping as claimed in claim 2, characterized in that: The node with the highest application priority is used as the application master node. Only the application master node interacts with data, and the application standby node caches data within a set time.

4. The method for cross-security zone data interaction based on power system application grouping according to claim 1, characterized in that: In step 3, the application services of the application nodes within the application group are interconnected using a set mechanism, and each application node saves the current node state. When the application group detects that the node is in a faulty state, the node is considered to be faulty.

5. A method for cross-security zone data interaction based on power system application grouping as claimed in claim 4, characterized in that: When the application master node or the application service core program is abnormal, the application master and standby nodes are switched. When the application standby node is switched to the application master node, all remaining cached data will be sent.

6. A method for cross-security zone data interaction based on power system application grouping as claimed in claim 4, characterized in that: In step 3, the application service of the application master node increments the unified number of the interaction data and sends a synchronization number to the application standby node. The application standby node clears the cached interaction data that is less than the unified number according to the unified number of data sent by the application master node.

7. A method for cross-security zone data interaction based on power system application grouping as claimed in claim 6, characterized in that: The cross-security zone data interaction method further includes: Step 5: The application master nodes in the production control area and the management information area deduplicate data based on whether they have received data with the same data number to ensure the uniqueness of the business data.

8. A cross-security zone data interaction system based on power system application grouping, used for transmitting data across production control areas and management information areas, running a cross-security zone data interaction method based on power system application grouping as described in any one of claims 1 to 7, characterized in that: The production control area and the management information area include multiple application groups, each application group includes at least one server node, and applications are deployed on the server nodes in the application group; The master-slave node setting module is used to calculate the node application priority based on the pre-set application, application weight, node priority and node name on the server node, and distinguish the master and standby nodes of the specific application by comprehensive sorting; for business data that meets the application, the application running on the application server master node in the application group provides services; each application master node within each application group simultaneously performs cross-zone data interaction, and only the application master node performs cross-zone data interaction.

Citation Information

Patent Citations

  • Power service transmission method and apparatus based on packet enhanced optical transport network

    CN108184172A

  • Multi-level integrated data exchange system oriented to regulation and control services

    CN110189024A