WO2021120285A1 - Profinet协议在工业sdn中的接入方法 - Google Patents

Profinet协议在工业sdn中的接入方法 Download PDF

Info

Publication number
WO2021120285A1
WO2021120285A1 PCT/CN2019/128991 CN2019128991W WO2021120285A1 WO 2021120285 A1 WO2021120285 A1 WO 2021120285A1 CN 2019128991 W CN2019128991 W CN 2019128991W WO 2021120285 A1 WO2021120285 A1 WO 2021120285A1
Authority
WO
WIPO (PCT)
Prior art keywords
profinet
industrial
message
master station
address
Prior art date
Application number
PCT/CN2019/128991
Other languages
English (en)
French (fr)
Inventor
于海斌
曾鹏
李栋
杨明
俞雪婷
李志博
刘金娣
Original Assignee
中国科学院沈阳自动化研究所
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国科学院沈阳自动化研究所 filed Critical 中国科学院沈阳自动化研究所
Priority to EP19934381.5A priority Critical patent/EP3866421B1/en
Publication of WO2021120285A1 publication Critical patent/WO2021120285A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/42Centralised routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Definitions

  • the invention belongs to the field of industrial software-defined networks. It is a design and invention of the access method of industrial Ethernet protocol in industrial software-defined network, and specifically relates to the access method of industrial software-defined network based on PROFINET industrial Ethernet protocol. .
  • the industrial software-defined network is composed of industrial software-defined network controllers and industrial software-defined network switches, a flat software-defined network.
  • the industrial software-defined network controller interacts with the industrial software-defined network service platform through the northbound interface, provides a service interface to the platform, and can encapsulate the information, status, and function realization of the entire network into a form of a service library that can be called by the service platform;
  • the network controller interacts with the switch through the southbound interface, receives data messages and network status information reported by the switch, and also dynamically issues network configuration information to the switch through the southbound interface.
  • the industrial software-defined network switch is the actual forwarding device of network data messages, but its forwarding rules, that is, the communication logic is managed and controlled by the network controller, and the logical communication rules in the network are reflected in the switch in the form of a flow table , Among them, the flow table can be mainly understood as two parts: one part is the matching item and the other part is the matching action.
  • PROFINET industrial Ethernet network equipment When PROFINET industrial Ethernet network equipment is connected to a new flat network with deep integration of IT and OT, it needs to be defined by software, combined with industrial software to define the network service platform, and send network configuration information through the southbound interface library protocol. , To complete the process of identification, analysis, processing of multiple industrial Ethernet protocols, and the establishment of device access communication logic.
  • the access method of PROFINET protocol in industrial SDN includes the following steps:
  • the industrial software-defined network switch When the industrial software-defined network switch receives the PROFINET-DCP broadcast message periodically sent by the PROFINET master station device, it performs flow table matching, and forwards the PROFINET-DCP broadcast message according to the forwarding action specified in the flow table ;
  • the industrial software-defined network controller establishes a logical communication link in the industrial software-defined network according to the PROFINET-DCP message between the PROFINET master device and the terminal device, and establishes a logical communication link to complete the device group network connection. Into.
  • the networking process of the industrial Ethernet protocol master station and terminal equipment is as follows:
  • the master station sends out a MAC layer broadcast message to the network port;
  • the terminal device After receiving the broadcast message from the master station, the terminal device will reply its own status information
  • the master station device receives the reply from the terminal device and sets the configuration information through the MAC layer unicast message;
  • the terminal device After receiving the MAC layer unicast message, the terminal device replies to the master station device with a configuration success message;
  • the master station device After the master station device receives the success message sent by the terminal device, it initiates ARP network layer addressing and performs address resolution;
  • the terminal device replies to the APR network layer addressing and notifies the MAC address corresponding to the IP address involved;
  • the master station equipment initiates data communication to the terminal equipment
  • the master station equipment and terminal equipment communicate and transmit data.
  • the destination address of the MAC layer broadcast message is a MAC address in a fixed format, and the broadcast message is used to discover terminal devices that have accessed the network.
  • the access method of the PROFINET protocol in the industrial SDN also includes the message processing process of the PROFINET industrial Ethernet protocol in the industrial software-defined network controller, including the following steps:
  • the controller receives the first matching PROFINET industrial Ethernet protocol message sent by the master station device and judges whether it is a broadcast message;
  • controller When the controller receives the message type as a broadcast message, it broadcasts the message to all switch ports in the current state of UP;
  • the controller receives the device online information replies from the slave device through the switch, and the controller generates the corresponding MAC layer communication logic configuration information according to the device online information, and sends it to the switches on the communication path through the southbound interface;
  • the controller receives the PROFINET industrial Ethernet protocol message sent by the master station, generates the corresponding network layer communication logic configuration information according to the IP address information in the message, and sends it to the network switches on the communication path through the southbound interface .
  • the PROFINET industrial Ethernet protocol message is an ARP addressing message.
  • the device online information includes: message source port, source MAC address, and destination MAC address information.
  • the logical configuration information includes: the source IP address is the master station or the slave station device, and the destination IP address is the slave station or the master station device.
  • the IP address information includes source port, source IP address, and destination IP address information.
  • the processing flow of the industrial Ethernet protocol master station and slave station equipment networking switch is as follows:
  • the master device After the master device receives the configuration configuration success message, it initiates ARP network layer addressing and address resolution to all slave devices within the configuration range, and the ARP addressing message in the switch will be uploaded to the controller , The controller broadcasts the ARP addressing message;
  • the slave device replies the ARP addressing message to the controller, and the controller configures the corresponding master device to slave device and slave device to master device network layer logic communication in all switches on the communication path Flow table configuration;
  • the master station initiates data communication based on the TCP/IP protocol to the slave station equipment according to the content of the configuration program;
  • the content of the logical communication flow table configuration matching includes: the source IP address is the IP address of the master station and the slave station device, and the destination IP address is the IP address of the master station and the slave station device, and the matching action is unicast port forwarding.
  • the present invention clearly proposes a process and method for PROFINET industrial Ethernet protocol equipment to access the network in an industrial software-defined network environment.
  • This method is suitable for all kinds of industrial equipment supporting the PROFINET protocol to form a network in an industrial software-defined network environment, and complete the communication process, thereby satisfying the communication requirements of various upper-level industrial services and industrial configurations.
  • the present invention provides the specific processing process of the message type in the industrial software-defined network switch and controller during the access process of the PROFINET industrial Ethernet protocol in the industrial software-defined network, and points out the flow table in the SDN network
  • the specific matching method of matching items can meet the plug-and-play of PROFINET equipment in actual application scenarios.
  • the present invention realizes the access and networking of the PROFINET industrial Ethernet protocol equipment in the industrial software-defined network environment. Under the premise of the SDN-based environment, it means that the unified management function of the PROFINET networking is realized. Through the topology discovery function, device management function, and flow monitoring function of the industrial SDN controller, the efficiency and effect of the PROFINET industrial Ethernet protocol networking are further improved.
  • Figure 1 is an application scenario diagram of industrial software-defined network multi-industrial Ethernet protocol adaptation technology
  • Figure 2 is a network flow chart of the industrial Ethernet protocol master station and terminal equipment
  • Figure 3 is the network flow chart of the industrial Ethernet protocol master station and slave station equipment.
  • the message processing process of the PROFINET industrial Ethernet protocol in the industrial software-defined network switch includes the following steps:
  • the industrial software-defined network switch receives the PROFINET-DCP broadcast message periodically sent by the PROFINET master station device, it performs flow table matching, and forwards the PROFINET-DCP broadcast message according to the forwarding action specified in the flow table;
  • the industrial software-defined network controller is based on the PROFINET-DCP message between the PROFINET master device and the PROFINET-IO device in the industrial software-defined network, and the following way of sending the flow table is established for the PROFINET industrial Ethernet protocol device networking Logical communication link to complete device networking access.
  • the PROFINET industrial Ethernet protocol defines the message processing process of the network controller in the industrial software, including the following steps:
  • the controller receives the first packet that matches a certain industrial Ethernet protocol, and judges its validity, legitimacy and whether it is a broadcast packet;
  • the controller broadcasts the message to all UP ports of the current switching device in FLOOD or MUTICAST mode;
  • the controller will receive the device online information from the slave device.
  • the controller will generate the corresponding MAC layer communication logic configuration information according to the message source port, source MAC address, destination MAC address and other information, and send it through the southbound interface To the corresponding network switch;
  • the controller generates the corresponding network layer communication logic configuration information according to the source port, source IP address, destination IP address and other information after receiving the ARP addressing message, and sends it to the corresponding network switch through the southbound interface.
  • Figure 1 shows the basic architecture of the PROFINET industrial Ethernet protocol in industrial software-defined network access deployment scenarios.
  • This access deployment architecture is based on the deep integration of IT and OT based on the industrial software-defined network, and realizes the network access of PROFINET industrial Ethernet protocol equipment.
  • the industrial software-defined network is composed of industrial software-defined network controllers and industrial software-defined network switches, a flat software-defined network.
  • the industrial software-defined network controller interacts with the industrial software-defined network service platform through the northbound interface, provides a service interface to the platform, and can encapsulate the information, status, and function realization of the entire network into a form of a service library that can be called by the service platform;
  • the network controller interacts with the switch through the southbound interface, receives data messages and network status information reported by the switch, and also dynamically issues network configuration information to the switch through the southbound interface.
  • the industrial software-defined network switch is the actual forwarding device of network data messages, but its forwarding rules, that is, the communication logic is managed and controlled by the network controller, and the logical communication rules in the network are reflected in the switch in the form of a flow table , Among them, the flow table can be mainly understood as two parts: one part is the matching item and the other part is the matching action.
  • the industrial Ethernet networking equipment shown in the figure above is composed of a master station device, a slave station device and several terminal devices. Among them, the network configuration of the master station equipment and the slave station equipment is configured by configuration software or hardware management configuration software, and the logical networking of this group of industrial Ethernet equipment is also managed through configuration software or corresponding industrial Ethernet protocol. Completed by software.
  • the industrial Ethernet networking process includes the following communication types: MAC layer broadcasting is discovered by the master station from the network slave stations and terminal equipment; the master station and the slave station, and the MAC layer unicast communication between the master station and the terminal equipment; The network layer communication between the master station and the slave station, the master station and the terminal equipment, and the slave station and the terminal equipment.
  • FIG. 2 shows the networking of the industrial Ethernet protocol master station and terminal equipment and the corresponding configuration process of the flow table in the industrial software-defined network switch during the networking process.
  • the industrial Ethernet protocol master station and terminal equipment will complete networking access through the above process, and be able to carry out normal communication and data transmission, so that the industrial Ethernet protocol master station and terminal equipment can be grouped in an industrial software-defined network environment.
  • the process of network access. The process starts from step 101.
  • the master station sends a MAC layer broadcast packet to the network port, the destination address of which is a fixed format MAC address.
  • the function of the broadcast packet is to discover the terminal devices that have been connected to the network.
  • a flow table for the industrial Ethernet protocol message type will be preset.
  • the content of the flow table is matched according to the protocol message type ether_TYPE, and the broadcast message is reported to the industrial software-defined network.
  • the controller after the controller completes the relevant processing, the message will be MUTICAST broadcast, broadcast to all ports whose current port status is UP, but does not include the source port of the broadcast message, which is the network connected to the master station Switch port. After finishing the forwarding, go to step 102.
  • the terminal device will reply in the form of unicast after receiving the broadcast message from the master station Its own status information, the unicast message matches the current ether_TYPE, upload the controller, the controller will configure the flow table for the relevant industrial software-defined network switch, establish the communication link between the terminal and the master station, based on the MAC layer, and match
  • the content is that the source MAC address is the terminal device, the destination MAC address is the master station, and the matching action is directly forwarded from the switch port involved on the communication path.
  • the master station receives the recovery of the online status of the terminal device, and then sets related configuration information, such as IP address, control information, etc., through the MAC layer unicast message.
  • the master station is issued by the controller.
  • the content of the match is that the source MAC address is the master station, and the destination MAC address is the terminal device. So far, the industrial Ethernet protocol master station and the terminal are completed in the industrial software-defined network environment.
  • the terminal device After receiving the configuration message of the master station, the terminal device will reply to the master station with a configuration success message.
  • the message is matched with the mac layer unicast flow table from the terminal device to the master station. , Forward it directly to the master station.
  • step 105 after the master station receives the configuration configuration success message, it will initiate ARP network layer addressing to all terminal devices within the configuration range to perform an address resolution process.
  • the preset flow table in the switch includes that the message type is an ARP message that will be uploaded to the controller, and the controller will broadcast the ARP message.
  • step 106 the terminal device will reply to the ARP message and notify the involved The MAC address corresponding to the IP address. This reply ARP message also matches the upload controller.
  • the controller will configure the corresponding master station to terminal device and terminal equipment to the master station in the relevant switch according to the content of the reply ARP message
  • the logical communication configuration of the network layer so far, the logical communication flow table configuration of the network layer between the industrial Ethernet protocol master station equipment and the terminal equipment under the industrial software-defined network environment is completed.
  • the matching content of the flow table is the source IP address of the master station. (Terminal) device, the destination IP address is the terminal (master) device, and the matching action is direct forwarding of the switch port involved on the communication path.
  • the master station will initiate data communication based on the TCP/IP protocol to the terminal device according to the content of the configuration program.
  • step 108 complete the whole process of network access between the industrial Ethernet master station equipment and terminal equipment in the industrial software-defined network environment.
  • the relationship between the master station and the terminal equipment is set through the configuration program, and the normal operation is carried out. Communication and data transmission.
  • Figure 3 shows the networking of the industrial Ethernet protocol master and slave devices and the corresponding configuration process of the flow table in the industrial software-defined network switch during the networking process.
  • the industrial Ethernet protocol master and slave devices will complete the network access through the above process, and be able to carry out normal communication and data transmission, and realize the PROFIENT industrial Ethernet protocol master and slave devices in the industrial software-defined network environment
  • the process of connecting to the next network starts from step 201.
  • the master station After the master station receives the configuration configuration success message, it will initiate ARP network layer addressing to all slave devices within the configuration range to perform an address resolution process.
  • the preset flow table in the switch includes that the message type is an ARP message that will be uploaded to the controller, and the controller will broadcast the ARP message.
  • step 202 the slave device will reply to the ARP message and notify all Involving the MAC address corresponding to the IP address, this reply ARP message also matches the upload controller, and the controller will configure the corresponding master to slave device and slave device in the relevant switch according to the content of the reply ARP message
  • the logical communication configuration of the network layer to the master station so far, the configuration of the network layer logical communication between the industrial Ethernet protocol master station equipment and the slave station equipment under the industrial software-defined network environment has been completed.
  • step 203 the master station will initiate data communication based on the TCP/IP protocol to the slave station device according to the content of the configuration program.
  • step 204 complete the whole process of network access of PROFIENT industrial Ethernet master station equipment and slave station equipment in the industrial software-defined network environment, and the relationship between the master station and slave station equipment is set through the configuration program, Perform normal communication and data transmission.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明设计基于PROFINET协议在工业SDN中的接入方法,包括PROFINET工业以太网协议在工业软件定义网络交换机中的报文处理过程,PROFINET工业以太网协议在工业软件定义网络控制器中的报文处理过程和PROFINET工业以太网设备接入处理过程。本发明针对工业软件定义网络架构下,难以解决PROFINET工业以太网协议在工业控制网络架构下的识别、解析以及处理问题,难以满足PROFINET工业以太网设备接入并建立通信关系等问题,为PROFINET工业以太网设备在工业软件定义网络中的运行提供网络通信基础。

Description

PROFINET协议在工业SDN中的接入方法 技术领域
本发明属于工业软件定义网络领域,是对工业以太网协议在工业软件定义网络中的接入方法的设计和发明,具体涉及的是基于PROFINET工业以太网协议在工业软件定义网络中的接入方法。
背景技术
工业软件定义网络是由工业软件定义网络控制器以及工业软件定义网络交换机组成的,扁平化的软件定义网络。工业软件定义网络控制器通过北向接口与工业软件定义网络服务平台进行交互,向平台提供服务接口,能够将整个网络的信息、状态、功能实现等封装成能够被服务平台调用的服务库的形式;网络控制器通过南向接口与交换机进行交互,收取交换机上报的数据报文,网络状态信息等,也通过南向接口向交换机动态下发网络配置信息。工业软件定义网络交换机是网络数据报文的实际转发设备,但是其转发的规则,即通信逻辑是受到网络控制器管理和控制器,网络中的逻辑通信规则在交换机中是以流表的形式体现的,其中,流表主要可以理解为两个部分:一个部分是匹配项,一个部分是匹配动作。
商业以太网IP设备组网接入比较简单,只要配备IPv4和IPv6双协议栈,普通的SDN网络交换机都可对商业以太网设备进行接入和连接。
PROFINET工业以太网络设备组网在接入IT与OT深度融合的扁平化新型网络时,需要通过软件定义的方式,结合工业软件定义网络服务平台,以南向接口库协议下发网络配置信息的方式,完成多种工业以太网协议识别、解析、处理以及设备接入通信逻辑下发建立等过程。
发明内容
在工业软件定义网络架构建设过程中,PROFINET工业以太网络设备组网在接入IT与OT深度融合的扁平化新型网络时,需要通过软件定义的方式,结合工业软件定义网络服务平台,以南向接口库协议下发网络配置信息的方式,完成PROFINET工业以太网协议识别、解析、处理以及设备接入通信逻辑下发建立等过程。
本发明为实现上述目的所采用的技术方案是:
PROFINET协议在工业SDN中的接入方法,包括PROFINET工业以太网协议在工业软件定义网络交换机中的报文处理过程,包括以下步骤:
(1)当工业软件定义网络交换机接收到PROFINET主站设备周期性发送的PROFINET-DCP广播报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP广播报文进行转发处理;
(2)当工业软件定义网络交换机接收到终端设备对PROFINET主站设备发送的PROFINET-DCP广播报文的PROFINET-DCP应答报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP应答报文进行转发处理;
(3)工业软件定义网络控制器根据PROFINET主站设备和终端设备之间的PROFINET-DCP报文在工业软件定义网络中,以下发流表的方式,建立逻辑通信链路,完成设备组网接入。
工业以太网协议主站与终端设备组网流程如下:
(1)主站向网络端口发出MAC层广播报文;
(2)终端设备接收到主站发出的广播报文后,回复自身的状态信息;
(3)主站设备接收到终端设备的回复,通过MAC层单播报文设置组态信息;
(4)终端设备接收到MAC层单播报文后回复主站设备,配置成功报文;
(5)主站设备接收到终端设备发送的成功报文后,发起ARP网络层寻址并进行地址解析;
(6)终端设备回复APR网络层寻址并通知所涉及的IP地址对应的MAC地址;
(7)主站设备向终端设备发起数据通信;
(8)主站设备和终端设备进行通信和数据传输。
所述MAC层广播报文其目的地址为固定格式的MAC地址,该广播报文用于发现已经接入网络的终端设备。
PROFINET协议在工业SDN中的接入方法,还包括PROFINET工业以太网协议在工业软件定义网络控制器的报文处理过程,包括以下步骤:
(1)控制器接收到主站设备发送的第一个匹配为PROFINET工业以太网协议报文并对其进行判断是否为广播报文;
(2)当控制器收到报文类型为广播报文时,将该报文广播给当前所有状态为UP的交换机端口;
(3)控制器通过交换机接收到从站设备回复的设备在线信息,控制器根据设备在线信息,生成相应的MAC层通信逻辑配置信息,通过南向接口下发给通信路径上各交换机;
(4)控制器通过接收到主站发送的PROFINET工业以太网协议报文,根据报文中的IP地址信息生成相应网络层通信逻辑配置信息,通过南向接口下发给通信路径上各网络交换机。
所述PROFINET工业以太网协议报文为ARP寻址报文。
所述设备在线信息包括:报文源端口、源MAC地址、目的MAC地址信息。
所述逻辑配置信息包括:源IP地址为主站或者从站设备,目的IP地址为从站或者主站设备。
所述IP地址信息包括源端口,源IP地址,目的IP地址信息。
工业以太网协议主站与从站设备组网交换机处理流程如下:
(1)主站设备接收到组态配置成功信息后,对组态范围内的所有从站设备发起ARP网络层寻址并进行地址解析,交换机中的ARP寻址报文将会上传给控制器,控制器将该ARP寻址报文进行广播;
(2)从站设备向控制器回复该ARP寻址报文,控制器在通信路径上的所有交换机中配置相应的主站设备到从站设备以及从站设备到主站设备的网络层逻辑通信流表配置;
(3)主站根据组态程序的内容,向从站设备发起基于TCP/IP协议的数据通信;
(4)主站和从站设备之间通过组态程序设定的关系,进行通信。
所述逻辑通信流表配置匹配的内容包括:源IP地址为主站和从站设备的IP地址以及目的IP地址为主站和从站设备的IP地址,匹配动作为单播端口转发。
本发明具有以下有益效果及优点:
1.本发明明确提出了在工业软件定义网络环境中PROFINET工业以太网协议设备接入网络的过程和方法。该方法适用于各类支持PROFINET协议的工业设备在工业软件定义网络的环境中组网,并完成通信过程,进而满足各类上层工业服务,工业组态的通信需求。
2.本发明给出了在工业软件定义网络中,PROFINET工业以太网协议在接入过程中,报文类型在工业软件定义网络交换机和控制器中的具体处理过程,并指出了SDN网络中流表匹配项的具体匹配方式,在实际应用场景下,能够满足PROFINET设备的即插即用。
3.本发明实现了PROFINET工业以太网协议设备在工业软件定义网络环境下的接入和组网,在基于SDN环境的前提下,意味着实现了对PROFINET组网的统一管理功能。通过工业SDN控制器的拓扑发现功能,设备管理功能,流量监控功能,进一步提高了PROFINET工业以太网协议组网的使用效率和效果。
附图说明
图1是工业软件定义网络多工业以太网协议适配技术应用场景图;
图2是工业以太网协议主站与终端设备组网流程图;
图3是工业以太网协议主站与从站设备组网流程图。
具体实施方式
1.PROFINET工业以太网协议在工业软件定义网络交换机中的报文处理过程,包括以下步骤:
1)当工业软件定义网络交换机接收到PROFINET主站设备周期性发送的PROFINET-DCP广播报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP广播报文进行转发处理;
2)当工业软件定义网络交换机接收到PROFINET-IO设备对PROFINET主站设备发送的PROFINET-DCP广播报文的PROFINET-DCP应答报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP应答报文进行转发处理;
3)工业软件定义网络控制器根据PROFINET主站设备和PROFINET-IO设备之间的PROFINET-DCP报文在工业软件定义网络中,以下发流表的方式,为PROFINET工业以太网协议设备组网建立逻辑通信链路,以完成设备组网接入。
2.PROFINET工业以太网协议在工业软件定义网络控制器的报文处理过程,包括以下步骤:
1)控制器接收到第一个匹配为某工业以太网协议报文,对其有效性,合法性以及是否为广播报文进行判断;
2)控制器将该报文以FLOOD或MUTICAST方式,广播给当前交换设备的所有UP端口;
3)控制器将会接收到从站设备回复设备在线信息,控制器根据报文源端口,源MAC地址,目的MAC地址等信息,生成相应的MAC层通信逻辑配置信息,通过南向接口下发给相应网络交换机;
4)控制器通过接收到ARP寻址报文,根据源端口,源IP地址,目的IP地址等信息,生成相应网络层通信逻辑配置信息,通过南向接口下发给相应网络交换机。
下面结合附图及实施例对本发明做进一步的详细说明。
图1所示为PROFINET工业以太网协议在工业软件定义网络接入部署场景基本架构。该接入部署架构基于工业软件定义网络实现IT与OT深度融合的基础之上,实现了PROFINET工业以太网协议设备组网接入。工业软件定义网络是由工业软件定义网络控制器以及工业软件定义网络交换机组成的,扁平化的软件定义网络。工业软件定义网络控制器 通过北向接口与工业软件定义网络服务平台进行交互,向平台提供服务接口,能够将整个网络的信息、状态、功能实现等封装成能够被服务平台调用的服务库的形式;网络控制器通过南向接口与交换机进行交互,收取交换机上报的数据报文,网络状态信息等,也通过南向接口向交换机动态下发网络配置信息。工业软件定义网络交换机是网络数据报文的实际转发设备,但是其转发的规则,即通信逻辑是受到网络控制器管理和控制器,网络中的逻辑通信规则在交换机中是以流表的形式体现的,其中,流表主要可以理解为两个部分:一个部分是匹配项,一个部分是匹配动作。上图中所示某工业以太网组网设备是由一个主站设备,一个从站设备以及若干个终端设备组成的。其中主站设备和从站设备的网络配置是由组态软件或者硬件管理配置软件完成相应配置的,而这一组工业以太网设备逻辑组网也是通过组态软件或者相应工业以太网协议管理配置软件完成的。通常情况下,工业以太网组网过程包括以下的通信类型:MAC层广播由主站发现在网从站及终端设备;主站与从站,主站与终端设备进行的MAC层单播通信;主站与从站,主站与终端设备,从站与终端设备进行的网络层通信。
图2所示为工业以太网协议主站与终端设备组网以及在组网过程中,工业软件定义网络交换机中流表相应的配置流程。工业以太网协议主站与终端设备,经过上面的过程将会完成组网接入,能够进行正常的通信与数据传输,实现该工业以太网协议主站和终端设备在工业软件定义网络环境下组网接入的过程。该过程是由步骤101开始,主站向网络端口发出MAC层广播包,其目的地址为固定格式的MAC地址,该广播包的作用在于发现已经接入网络的终端设备。在交换机的流表中,将会预设针对该工业以太网协议报文类型的流表,流表的内容是按照该协议报文类型ether_TYPE进行匹配,将该广播报文上报给工业软件定义网络控制器,控制器完成相关处理后,会将该报文进行MUTICAST广播,广播给所有当前端口状态是UP的端口,但并不包括该广播报文的源端口,也就是主站所连接的网络交换机端口。完成转发后,来到步骤102,如果网络中已经连接有该工业以太网组网体系下的终端设备,该终端设备将会在接收到主站发出的广播报文后,以单播的形式回复自身的状态信息,该单播报文匹配当前ether_TYPE,上传控制器,控制器将会给相关工业软件定义网络交换机进行流表配置,建立终端到主站之间的,基于MAC层的通信链接,匹配的内容是源MAC地址为终端设备,目的MAC地址为主站,匹配动作是直接从通信路径上所涉及的交换机端口转发。在步骤103中,主站接收到终端设备的在线状态恢复,再通过MAC层单播报文设置相关组态信息,如IP地址,控制信息等等,在这个过程中,完成由控制器下发主站到终端设备的MAC层逻辑通信链接的配置,匹配的内容是源MAC地址为主站, 目的MAC地址为终端设备,至此,完成了工业软件定义网络环境下,工业以太网协议主站与终端设备之间MAC层逻辑通信的配置。在步骤104中,终端设备在收到主站的相关组态信息配置报文后,将会回复主站,配置成功报文,该报文经过终端设备到主站的mac层单播流表匹配,直接转发给主站。在步骤105中,主站接收到组态配置成功信息后,将会对组态范围内的所有终端设备发起ARP网络层寻址,进行地址解析过程。在交换机中预设流表包括报文类型为ARP报文将会上传给控制器,控制器将该ARP报文进行广播,在步骤106中,终端设备将会回复该ARP报文,通知所涉及IP地址对应的MAC地址,这个回复的ARP报文同样匹配上传控制器,控制器将会根据该回复ARP报文的内容,在相关交换机中配置相应的主站到终端设备以及终端设备到主站的网络层逻辑通信配置,至此,完成了工业软件定义网络环境下,工业以太网协议主站设备与终端设备之间网络层逻辑通信流表配置,流表的匹配内容为源IP地址为主站(终端)设备,目的IP地址为终端(主站)设备,匹配动作为通信路径上所涉及的交换机端口直接转发。在后面的步骤107中,主站将会根据组态程序的内容,向终端设备发起基于TCP/IP协议的数据通信。在步骤108中,完成在工业软件定义网络环境下,该工业以太网主站设备和终端设备组网接入的全过程,主站和终端设备之间通过组态程序设定的关系,进行正常通信和数据传输。
图3所示为工业以太网协议主站与从站设备组网以及在组网过程中,工业软件定义网络交换机中流表相应的配置流程。工业以太网协议主站与从站设备,经过上面的过程将会完成组网接入,能够进行正常的通信与数据传输,实现PROFIENT工业以太网协议主站和从站设备在工业软件定义网络环境下组网接入的过程。该过程是由步骤201开始,主站接收到组态配置成功信息后,将会对组态范围内的所有从站设备发起ARP网络层寻址,进行地址解析过程。在交换机中预设流表包括报文类型为ARP报文将会上传给控制器,控制器将该ARP报文进行广播,在步骤202中,从站设备将会回复该ARP报文,通知所涉及IP地址对应的MAC地址,这个回复的ARP报文同样匹配上传控制器,控制器将会根据该回复ARP报文的内容,在相关交换机中配置相应的主站到从站设备以及从站设备到主站的网络层逻辑通信配置,至此,完成了工业软件定义网络环境下,工业以太网协议主站设备与从站设备之间网络层逻辑通信的配置。在后面的步骤203中,主站将会根据组态程序的内容,向从站设备发起基于TCP/IP协议的数据通信。在步骤204中,完成在工业软件定义网络环境下,PROFIENT工业以太网主站设备和从站设备组网接入的全过程,主站和从站设备之间通过组态程序设定的关系,进行正常通信和数据传输。

Claims (10)

  1. PROFINET协议在工业SDN中的接入方法,其特征在于,包括PROFINET工业以太网协议在工业软件定义网络交换机中的报文处理过程,包括以下步骤:
    (1)当工业软件定义网络交换机接收到PROFINET主站设备周期性发送的PROFINET-DCP广播报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP广播报文进行转发处理;
    (2)当工业软件定义网络交换机接收到终端设备对PROFINET主站设备发送的PROFINET-DCP广播报文的PROFINET-DCP应答报文,进行流表匹配,并且按照流表中规定的转发动作对PROFINET-DCP应答报文进行转发处理;
    (3)工业软件定义网络控制器根据PROFINET主站设备和终端设备之间的PROFINET-DCP报文在工业软件定义网络中,以下发流表的方式,建立逻辑通信链路,完成设备组网接入。
  2. 根据权利要求1所述的PROFINET协议在工业SDN中的接入方法,其特征在于,工业以太网协议主站与终端设备组网流程如下:
    (1)主站向网络端口发出MAC层广播报文;
    (2)终端设备接收到主站发出的广播报文后,回复自身的状态信息;
    (3)主站设备接收到终端设备的回复,通过MAC层单播报文设置组态信息;
    (4)终端设备接收到MAC层单播报文后回复主站设备,配置成功报文;
    (5)主站设备接收到终端设备发送的成功报文后,发起ARP网络层寻址并进行地址解析;
    (6)终端设备回复APR网络层寻址并通知所涉及的IP地址对应的MAC地址;
    (7)主站设备向终端设备发起数据通信;
    (8)主站设备和终端设备进行通信和数据传输。
  3. 根据权利要求2所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述MAC层广播报文其目的地址为固定格式的MAC地址,该广播报文用于发现已经接入网络的终端设备。
  4. PROFINET协议在工业SDN中的接入方法,其特征在于,还包括PROFINET工业以太网协议在工业软件定义网络控制器的报文处理过程,包括以下步骤:
    (1)控制器接收到主站设备发送的第一个匹配为PROFINET工业以太网协议报文并对其进行判断是否为广播报文;
    (2)当控制器收到报文类型为广播报文时,将该报文广播给当前所有状态为UP的交换机端口;
    (3)控制器通过交换机接收到从站设备回复的设备在线信息,控制器根据设备在线信息,生成相应的MAC层通信逻辑配置信息,通过南向接口下发给通信路径上各交换机;
    (4)控制器通过接收到主站发送的PROFINET工业以太网协议报文,根据报文中的IP地址信息生成相应网络层通信逻辑配置信息,通过南向接口下发给通信路径上各网络交换机。
  5. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述PROFINET工业以太网协议报文为ARP寻址报文。
  6. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述设备在线信息包括:报文源端口、源MAC地址、目的MAC地址信息。
  7. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述逻辑配置信息包括:源IP地址为主站或者从站设备,目的IP地址为从站或者主站设备。
  8. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述IP地址信息包括源端口,源IP地址,目的IP地址信息。
  9. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,工业以太网协议主站与从站设备组网交换机处理流程如下:
    (1)主站设备接收到组态配置成功信息后,对组态范围内的所有从站设备发起ARP网络层寻址并进行地址解析,交换机中的ARP寻址报文将会上传给控制器,控制器将该ARP寻址报文进行广播;
    (2)从站设备向控制器回复该ARP寻址报文,控制器在通信路径上的所有交换机中配置相应的主站设备到从站设备以及从站设备到主站设备的网络层逻辑通信流表配置;
    (3)主站根据组态程序的内容,向从站设备发起基于TCP/IP协议的数据通信;
    (4)主站和从站设备之间通过组态程序设定的关系,进行通信。
  10. 根据权利要求4所述的PROFINET协议在工业SDN中的接入方法,其特征在于,所述逻辑通信流表配置匹配的内容包括:源IP地址为主站和从站设备的IP地址以及目的IP地址为主站和从站设备的IP地址,匹配动作为单播端口转发。
PCT/CN2019/128991 2019-12-16 2019-12-27 Profinet协议在工业sdn中的接入方法 WO2021120285A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP19934381.5A EP3866421B1 (en) 2019-12-16 2019-12-27 Profinet protocol-based access method in industrial sdn

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911290600.5 2019-12-16
CN201911290600.5A CN112995038B (zh) 2019-12-16 2019-12-16 Profinet协议在工业sdn中的接入方法

Publications (1)

Publication Number Publication Date
WO2021120285A1 true WO2021120285A1 (zh) 2021-06-24

Family

ID=76343024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/128991 WO2021120285A1 (zh) 2019-12-16 2019-12-27 Profinet协议在工业sdn中的接入方法

Country Status (3)

Country Link
EP (1) EP3866421B1 (zh)
CN (1) CN112995038B (zh)
WO (1) WO2021120285A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489812A (zh) * 2021-09-08 2021-10-08 军事科学院系统工程研究院网络信息研究所 基于ip地址相似性的地址解析协议洪范抑制方法和装置
CN116436994A (zh) * 2023-06-15 2023-07-14 杭州禾芯半导体有限公司 Profinet协议报文传输方法、装置、设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634986A (zh) * 2014-11-30 2016-06-01 中国科学院沈阳自动化研究所 一种交换机实现方法与系统
CN106411820A (zh) * 2015-07-29 2017-02-15 中国科学院沈阳自动化研究所 一种基于sdn架构的工业通信流传输安全控制方法
CN109995675A (zh) * 2017-12-29 2019-07-09 中国科学院沈阳自动化研究所 一种基于软件定义的自适应工业以太网网关系统与方法
WO2019147311A1 (en) * 2018-01-24 2019-08-01 Intel Corporation Security profiles for ocf devices and trusted platforms
CN110460483A (zh) * 2019-09-25 2019-11-15 重庆邮电大学 一种基于SDN的Profinet和Modbus设备异构组网方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150030099A (ko) * 2013-09-11 2015-03-19 한국전자통신연구원 주소 결정 시스템 및 방법
CN109067644B (zh) * 2018-08-31 2020-10-27 杭州和利时自动化有限公司 一种profinet工业以太网网关的实现方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634986A (zh) * 2014-11-30 2016-06-01 中国科学院沈阳自动化研究所 一种交换机实现方法与系统
CN106411820A (zh) * 2015-07-29 2017-02-15 中国科学院沈阳自动化研究所 一种基于sdn架构的工业通信流传输安全控制方法
CN109995675A (zh) * 2017-12-29 2019-07-09 中国科学院沈阳自动化研究所 一种基于软件定义的自适应工业以太网网关系统与方法
WO2019147311A1 (en) * 2018-01-24 2019-08-01 Intel Corporation Security profiles for ocf devices and trusted platforms
CN110460483A (zh) * 2019-09-25 2019-11-15 重庆邮电大学 一种基于SDN的Profinet和Modbus设备异构组网方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3866421A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489812A (zh) * 2021-09-08 2021-10-08 军事科学院系统工程研究院网络信息研究所 基于ip地址相似性的地址解析协议洪范抑制方法和装置
CN116436994A (zh) * 2023-06-15 2023-07-14 杭州禾芯半导体有限公司 Profinet协议报文传输方法、装置、设备及介质
CN116436994B (zh) * 2023-06-15 2023-08-25 杭州禾芯半导体有限公司 Profinet协议报文传输方法、装置、设备及介质

Also Published As

Publication number Publication date
CN112995038A (zh) 2021-06-18
EP3866421A1 (en) 2021-08-18
CN112995038B (zh) 2022-03-15
EP3866421B1 (en) 2024-02-21
EP3866421A4 (en) 2022-04-13

Similar Documents

Publication Publication Date Title
JP4897884B2 (ja) Zigbee/ipゲートウェイ
CN113364610B (zh) 网络设备的管理方法、装置及系统
WO2022105093A1 (zh) 一种基于WiSUN协议的移动抄表方法
US9148299B2 (en) Bridging wireless and wired media in a computer network
CN102801623B (zh) 一种多接入数据转发方法及设备
US20050174962A1 (en) Generic client for communication devices
US8848609B2 (en) Forwarding internet protocol version 6 link-local multicast to support roaming of wireless mobile client devices
JP2000125277A (ja) マルチキャスト通信装置及びマルチキャスト通信方法
US6618398B1 (en) Address resolution for internet protocol sub-networks in asymmetric wireless networks
JP2007158869A (ja) ルータ装置及び通信システム
WO2020220459A1 (zh) 基于VXLAN和OpenFlow的虚拟家庭网络共享方法及系统
CN109361558B (zh) 基于栅格网络设备代理节点的分布式无线自组网管理方法
WO2021120285A1 (zh) Profinet协议在工业sdn中的接入方法
CN103200283A (zh) 多中继无线通信系统及该系统空中接口ip化的实现方法
CN112910908A (zh) 一种基于sdn的工业异构协议转换装置管理及协同转换方法
WO2023134338A1 (zh) 一种通信方法及装置
CN112994994B (zh) 基于工业以太网协议在工业sdn中的接入方法
JP2007096539A (ja) 変換装置
CN116018785A (zh) 用于运行网络的方法
WO2017119219A1 (ja) 通信方法
CN111884916A (zh) 一种基于多网口计算机实现透明传输的代理网关系统
Wang et al. A SDN-based heterogeneous networking scheme for profinet and Modbus Networks
KR101415978B1 (ko) 가상랜을 이용한 데이터전송장치에서의 서브넷 디에이치씨피 서버 설정 및 운영 시스템 및 방법
WO2014075517A1 (zh) 全室外数字微波传输设备独立和委托通道管理方法及装置
CN115314463A (zh) 阶层式6LoWPAN网状网络的数据传送方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019934381

Country of ref document: EP

Effective date: 20210113

NENP Non-entry into the national phase

Ref country code: DE