A method for realizing distributed control and security protection of industrial control network
By collecting and analyzing control information in industrial Ethernet, generating flow rules and combining with blockchain networks, the problem of low security of traditional industrial Ethernet communication is solved, the secure processing and forwarding of data packets is realized, and the network is significantly improved security.
Patent Information
- Application Number
- CN202210836881.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2042-07-15
AI Technical Summary
Traditional industrial Ethernet communication is not very secure and lacks effective control and protection mechanisms.
By collecting control information of industrial Ethernet, using a parser to parse and convert it into stream rules, publishing it to a distributed controller, the switch obtains and parses data packets, processes and forwards according to stream rules, and implements data packets in combination with blockchain networks. signature and verification to ensure the security of data transmission.
It significantly improves the security of industrial Ethernet communication, realizes the management of legal paths and forwarding rules of data packets, and enhances the protection capabilities of the network.
Smart Images

Figure CN115333780B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial control safety technology, and in particular to a method for realizing distributed control and safety protection of an industrial control network. Background Art
[0002] Traditional industrial control Ethernet usually adopts a tree topology, uses industrial switches for intra-domain communication, and uses gateway devices for inter-domain communication. Usually, addresses are manually configured or certain addresses are automatically assigned based on simple rules. It basically has no control over the intra-domain network, and inter-domain communication is filtered through the firewall located at the gateway.
[0003] The protocols in industrial Ethernet are complicated and there are a large number of private protocols. Ordinary security gateways, switches and other devices are not very secure. Summary of the invention
[0004] The purpose of the present invention is to provide a method for realizing distributed control and security protection of industrial control networks, aiming to solve the problem of low security of industrial Ethernet communication.
[0005] To achieve the above object, the present invention provides a method for realizing distributed control and security protection of an industrial control network, comprising the following steps:
[0006] Collect control information in industrial Ethernet;
[0007] Parsing and converting the control information by a parser to obtain flow rules;
[0008] Publishing the flow rules to a distributed controller;
[0009] The switch obtains the flow rule, parses the data packet passing through the switch, and obtains the forwarding rule according to the flow rule;
[0010] The switch processes the data packet based on the forwarding rule, and forwards the processed data packet to other switches or sends it to a terminal device or an on-site gateway.
[0011] The control information includes original control information of network topology and forwarding rules in the industrial Ethernet, or control information written by operation and maintenance personnel, and control information modified based on the original flow rules.
[0012] The switch obtains the flow rule and parses the data packet to obtain the specific method of the forwarding rule:
[0013] The switch obtains the flow rule from the distributed controller;
[0014] When a network data packet arrives at the switch, the switch parses the protocol format and forwarding information of the data packet, and parses the data packet based on the flow rule to obtain the forwarding rule.
[0015] Among them, the distributed controller is composed of blockchain network and switch communication.
[0016] The switch processes the data packet based on the forwarding rule, and forwards the processed data packet to other switches or sends it to the terminal device or the field gateway in a specific manner:
[0017] The switch encapsulates, signs and verifies the data packet according to the forwarding rule to obtain a processed data packet;
[0018] The processed data packet is sent to the terminal device or the on-site gateway according to the forwarding rule.
[0019] The present invention provides a method for realizing distributed control and security protection of industrial control networks, which collects control information in industrial Ethernet; parses and transforms the control information through a parser to obtain flow rules; publishes the flow rules to a distributed controller; a switch obtains the flow rules, and parses data packets passing through the switch, and obtains forwarding rules according to the flow rules; the switch processes the data packets based on the forwarding rules, and forwards the processed data packets to other switches or sends them to terminal devices or field gateways. The method forwards the data packets processed by the forwarding rules to other switches or to terminal devices and field gateways or directly discards them, uses software-defined networks for industrial Ethernet, and can integrate well with traditional industrial Ethernet based on the security filtering and forwarding of Ethernet-based industrial control protocols. Compared with traditional industrial control Ethernet, the security is greatly improved, and the problem of low security of industrial Ethernet communication is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 The present invention provides a method for realizing distributed control and security protection of industrial control networks, and a workflow diagram for data packet processing and forwarding.
[0022] Figure 2 It is a flow chart of a method for realizing distributed control and security protection of an industrial control network provided by the present invention.
[0023] Figure 3 It is a flowchart of a specific method in which the switch obtains the flow rule from the distributed controller.
[0024] Figure 4 The invention provides a network structure diagram for realizing a distributed control system of an industrial control network.
[0025] Figure 5 It is a structural diagram of the transmission protocol provided by the present invention. DETAILED DESCRIPTION
[0026] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0027] See also Figures 1 to 5 The present invention provides a method for realizing distributed control and security protection of industrial control network, comprising the following steps:
[0028] S1 collects control information in industrial Ethernet;
[0029] Specifically, the control information includes original control information of network topology and forwarding rules in the industrial Ethernet, control information written by operation and maintenance personnel, and control information modified based on the original flow rules.
[0030] S2 parses and transforms the control information through a parser to obtain a flow rule;
[0031] Specifically, assuming that the industrial Ethernet consists of n switches, the set of switches in the industrial Ethernet is S = {s1, s2, s3, ..., sn}
[0032] Assuming the number of connections between switches is k, the set of connections between switches is Es = {es1, es2, es3, ..., esk}
[0033] Assuming that the switch is connected to m terminal devices, the set between the terminal devices and the switch in the industrial Ethernet is Ds = {ds1, ds2, ds3, ..., dsm}
[0034] Similarly, we can get the transmission cost Ts between switches and the transmission cost Td between switches and terminal devices.
[0035] Then the network topology can be obtained as G= <S,<Es,Ed> ,<Ts,Td> >, G is a directed graph
[0036] The legal path P = KSP (G) transmitted in the entire network is obtained through the directed graph shortest path algorithm KSP
[0037] Data packets with the same characteristics or forwarding behaviors are abstracted into a data flow. The flow rule is the control rule of the data flow. The flow rule describes the legal starting address, destination address and forwarding path of a data flow. The switch determines the next forwarding target through the flow rule.
[0038] S3 publishes the flow rule to the distributed controller;
[0039] Specifically, the distributed controller is composed of a blockchain network and a switch communication. The switch communicates with the blockchain network through an interface and subscribes to changes in the flow rules published in the blockchain network. Each software of the switch generates a public-private key pair, and uses the blockchain network to realize distributed control of the industrial SDN switch. The switch publishes the public-private key pair to the distributed controller, and the distributed controller receives and organizes the rule flow and the public-private key pair, and sends the organized results to each switch through a universal transmission protocol ( Figure 5 ), realize the unified management of heterogeneous industrial Ethernet protocols, complete forwarding and filtering independent of specific protocols, and realize the signing and verification of data payloads through the general transmission protocol and the public key distribution mechanism based on the blockchain distributed network to ensure the integrity and security of data transmission.
[0040] The S4 switch obtains the flow rule, parses the data packet passing through the switch, and obtains a forwarding rule according to the flow rule;
[0041] Specific method:
[0042] S41, the switch obtains the flow rule from the distributed controller;
[0043] S42: When the network data packet arrives at the switch, the switch parses the protocol format and forwarding information of the data packet, and parses the data packet based on the flow rule to obtain the forwarding rule;
[0044] S5: The switch processes the data packet based on the forwarding rule, and forwards the processed data packet to other switches or sends it to a terminal device or an on-site gateway.
[0045] Specific method:
[0046] S51, the switch encapsulates, signs and verifies the data packet according to the forwarding rule to obtain a processed data packet;
[0047] S52 forwards the processed data packet to other switches or sends it to terminal equipment or field gateway according to the forwarding rule.
[0048] Specifically, the switch waits for the data packet to arrive. When the data packet arrives at the starting software switch, the switch checks the protocol format of the data packet, determines whether to accept the data packet based on the flow rules, determines whether the data packet is legal based on the flow rules, parses the data packet type, and performs different operations based on the type.
[0049] The switch converts the received data packet into a load transmission protocol for forwarding, and after signing the data load part, forwards it to the next switch according to the flow rule.
[0050] If the data packet arrives at the switch from the terminal device or the field gateway, step 2 is executed to sign and encapsulate the data packet.
[0051] If the data packet arrives at the switch from other software, step 3 is executed to verify the signature of the data packet.
[0052] Among them, assuming that the original data packet is Po, the starting address of the data packet is As, the destination address is Ad, the information of the original protocol is I, and the signature is S=Signature(Po), then the encapsulated data packet is Pn=Join(As,Ad,I,S,Po).
[0053] Specific method: match the parsed data with the switch. If the match fails, encapsulate the current data packet into the universal transmission protocol and sign the data packet. Then forward it to the next switch according to the flow rule until the match succeeds. If the match succeeds, verify the signature in the current data packet and forward it to the destination terminal device or field gateway after verification.
[0054] Specifically, if the destination address of the data packet is not directly connected to the current switch, the current data packet will be encapsulated into the universal transmission protocol and the logarithmic part will be signed, and then forwarded to the next switch according to the flow rule; if the destination address of the data packet is directly connected to the current switch, it will be directly forwarded to the destination address. If the destination address of the data packet is not directly connected to the current switch, the signature in the current data packet will be randomly verified, and then forwarded to the next switch according to the flow rule; if the destination address of the data packet is directly connected to the current switch, the signature in the previous data packet will be verified, and then forwarded to the destination terminal device or field gateway.
[0055] Further, the technical solution of the present invention includes the following modules: a rule generation module, a distributed control module and a forwarding and filtering module, wherein the rule generation module, the distributed control module and the forwarding and filtering module are connected in sequence;
[0056] The rule generation module is used to collect the network topology and forwarding rules of the industrial Ethernet, compile the collected network data into a format that can be used by the forwarding filtering module, and publish it to the distributed controller.
[0057] The distributed control module is used to distribute the flow rules generated by the rule generation module to the forwarding filtering modules on each of the switches.
[0058] The forwarding and filtering module is used to verify, forward or filter the received data packets.
[0059] The specific embodiments of the present invention are as follows:
[0060] There are terminal devices d1 and d2, and switches s1 and s2. Assume that terminal device d1 sends the data packet to terminal device d2, passing through switches s1 and s2, and the path is represented as d1->s1->s2->d2.
[0061] The data packet starts from d1 and arrives at the switch s1. The switch s1 consults the flow rule subscribed from the distributed controller and determines that the current data packet needs to be forwarded to the switch s2, so the data packet is encapsulated and signed, and then sent to the switch s2.
[0062] The data packet arrives at the switch s2, and the switch s2 consults the flow rules subscribed from the distributed controller, determines that the data packet currently needs to be forwarded to the terminal device d2, and then verifies the signature of the data packet and forwards the payload portion of the data packet to the terminal device d2.
[0063] What is disclosed above is only a preferred embodiment of the patent name of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment are implemented, and equivalent changes made according to the claims of the present invention are still within the scope of the invention.
Claims
1. A method for realizing distributed control and security protection of industrial control network, characterized in that: The following steps are involved: Collect control information in industrial Ethernet; Parsing and converting the control information by a parser to obtain flow rules; Publishing the flow rules to a distributed controller; The switch obtains the flow rule, parses the data packet passing through the switch, and obtains the forwarding rule according to the flow rule; The switch processes the data packet based on the forwarding rule, and forwards the processed data packet to other switches or sends it to a terminal device or an on-site gateway; The control information includes original control information of network topology and forwarding rules in industrial Ethernet, control information written by operation and maintenance personnel, and control information modified based on the original flow rules; The switch obtains the flow rule and parses the data packet to obtain the specific method of the forwarding rule: The switch obtains the flow rule from the distributed controller; When a network data packet arrives at the switch, the switch parses the protocol format and forwarding information of the data packet, and parses the data packet based on the flow rule to obtain the forwarding rule; The switch processes the data packet based on the forwarding rule, and forwards the processed data packet to other switches or sends it to the terminal device or the field gateway in a specific manner: The switch encapsulates, signs and verifies the data packet according to the forwarding rule to obtain a processed data packet; The processed data packet is forwarded to other switches or sent to terminal equipment or field gateway according to the forwarding rule.
2. A method for realizing distributed control and security protection of industrial control network as claimed in claim 1, characterized in that: The distributed controller is composed of a blockchain network and switch communication.
