[go: up one dir, main page]

CN118234059A - Wireless industrial control method, device, electronic equipment and storage medium - Google Patents

Wireless industrial control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN118234059A
CN118234059A CN202211630664.7A CN202211630664A CN118234059A CN 118234059 A CN118234059 A CN 118234059A CN 202211630664 A CN202211630664 A CN 202211630664A CN 118234059 A CN118234059 A CN 118234059A
Authority
CN
China
Prior art keywords
configuration
information
pdu transmission
transmission request
event
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211630664.7A
Other languages
Chinese (zh)
Inventor
罗达
张春天
金弈丹
杨博涵
马帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
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 China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202211630664.7A priority Critical patent/CN118234059A/en
Publication of CN118234059A publication Critical patent/CN118234059A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种无线工控方法、装置、电子设备及存储介质,其中,方法包括发送协议数据单元PDU传输请求,PDU传输请求携带标识信息,标识信息包括PUD传输请求标识;接收PDU传输响应,PDU传输响应为从控设备在PDU标识指示传输组态配置数据的情况下,对PDU传输请求的响应;根据PDU传输响应,建立主控设备和从控设备之间的无线链路,无线链路用于传输用于无线工控的相关数据,相关数据包括组态配置数据。本申请实施例提供的无线工控方法解决了如何在无线场景下对工业生产进行控制的问题。

The present application provides a wireless industrial control method, device, electronic device and storage medium, wherein the method includes sending a protocol data unit PDU transmission request, the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier; receiving a PDU transmission response, the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates the transmission of configuration data; according to the PDU transmission response, a wireless link is established between the master control device and the slave control device, and the wireless link is used to transmit relevant data for wireless industrial control, and the relevant data includes configuration data. The wireless industrial control method provided in the embodiment of the present application solves the problem of how to control industrial production in a wireless scenario.

Description

无线工控方法、装置、电子设备及存储介质Wireless industrial control method, device, electronic equipment and storage medium

技术领域Technical Field

本申请涉及工业物联网技术领域,尤其涉及一种无线工控方法、装置、电子设备及存储介质。The present application relates to the technical field of industrial Internet of Things, and in particular to a wireless industrial control method, device, electronic device and storage medium.

背景技术Background technique

集散性控制系统(Distributed Control System,DCS)是以微处理器为基础,采用控制功能分散、显示操作集中、兼顾分而自治和综合协调的设计原则的新一代仪表控制系统,用于实现工业生产的自动控制过程。Distributed Control System (DCS) is a new generation of instrument control system based on microprocessors, which adopts the design principles of decentralized control functions, centralized display operations, and a combination of separate autonomy and comprehensive coordination. It is used to realize the automatic control process of industrial production.

目前,DSC通过现场总线、工业以太等有线方式,实现控制器与输入/输出设备(I/O设备)之间的通信。但是随着无线技术的发展,具有成本低、易部署、可移动等特点的无线技术在工业生产的场景中扮演着越来越重要的角色。因此,如何在无线场景下对工业生产进行控制(比如在无线场景中,DSC如何进行组态配置数据的传输)成为亟待解决的问题。At present, DSC realizes communication between controller and input/output devices (I/O devices) through wired methods such as fieldbus and industrial Ethernet. However, with the development of wireless technology, wireless technology with the characteristics of low cost, easy deployment and mobility plays an increasingly important role in industrial production scenarios. Therefore, how to control industrial production in wireless scenarios (for example, how to transmit configuration data of DSC in wireless scenarios) has become an urgent problem to be solved.

发明内容Summary of the invention

本申请实施例提供一种无线工控方法、装置、电子设备及存储介质,解决了如何在无线场景下对工业生产进行控制的问题。The embodiments of the present application provide a wireless industrial control method, device, electronic device and storage medium, which solve the problem of how to control industrial production in a wireless scenario.

为达到上述目的,第一方面,本申请实施例提供一种无线工控方法,应用于主控设备,包括:To achieve the above objectives, in a first aspect, an embodiment of the present application provides a wireless industrial control method, which is applied to a main control device, including:

发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;Send a protocol data unit (PDU) transmission request, where the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

接收PDU传输响应,所述PDU传输响应为从控设备在所述PDU标识指示传输组态配置数据的情况下,对所述PDU传输请求的响应;receiving a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates transmission of configuration data;

根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据,所述相关数据包括所述组态配置数据。According to the PDU transmission response, a wireless link is established between the master control device and the slave control device, wherein the wireless link is used to transmit relevant data for wireless industrial control, wherein the relevant data includes the configuration data.

第二方面,本申请实施例提供一种无线工控方法,应用于从控设备,包括:In a second aspect, an embodiment of the present application provides a wireless industrial control method, which is applied to a slave control device, including:

接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;receiving a protocol data unit (PDU) transmission request, wherein the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

在所述PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。In a case where the PDU transmission request identifier indicates transmission of configuration data, a PDU transmission response to the PDU transmission request is sent.

第三方面,本申请实施例提供一种无线工控装置,包括:In a third aspect, an embodiment of the present application provides a wireless industrial control device, including:

第一发送模块,用于发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;A first sending module, configured to send a protocol data unit (PDU) transmission request, wherein the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

第一接收模块,用于接收PDU传输响应,所述PDU传输响应为从控设备在所述PDU标识指示传输组态配置数据的情况下,对所述PDU传输请求的响应;A first receiving module, configured to receive a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates transmission of configuration data;

建立模块,用于根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据,所述相关数据包括所述组态配置数据。An establishing module is used to establish a wireless link between the master control device and the slave control device according to the PDU transmission response, wherein the wireless link is used to transmit relevant data for wireless industrial control, and the relevant data includes the configuration data.

第四方面,本申请实施例提供一种无线工控装置,包括:In a fourth aspect, an embodiment of the present application provides a wireless industrial control device, including:

第二接收模块,用于接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;A second receiving module is used to receive a protocol data unit PDU transmission request, where the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

第二发送模块,用于在所述PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。The second sending module is used to send a PDU transmission response to the PDU transmission request when the PDU transmission request identifier indicates transmission of configuration data.

第五方面,本申请实施例提供一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面至第二方面所述的无线工控方法中的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps in the wireless industrial control method as described in the first aspect to the second aspect are implemented.

第六方面,本申请实施例提供一种可读存储介质,所述可读存储介质上存储有程序,所述程序被处理器执行时实现如第一方面至第二方面所述的无线工控方法中的步骤。In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program is stored. When the program is executed by a processor, the steps in the wireless industrial control method described in the first aspect to the second aspect are implemented.

本申请实施例中,发送携带PUD传输请求标识的PDU传输请求,并接收从控设备在PDU标识指示传输组态配置数据的情况下,对PDU传输请求的PDU传输响应,根据PDU传输响应,建立主控设备和从控设备之间的无线链路。这样,可以利用该无线链路传输用于无线工控的相关数据,从而解决了如何在无线场景下对工业生产进行控制的问题。In the embodiment of the present application, a PDU transmission request carrying a PDU transmission request identifier is sent, and a PDU transmission response to the PDU transmission request is received from the slave control device when the PDU identifier indicates transmission of configuration data, and a wireless link is established between the master control device and the slave control device according to the PDU transmission response. In this way, the wireless link can be used to transmit relevant data for wireless industrial control, thereby solving the problem of how to control industrial production in a wireless scenario.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚的说明本申请实施例中的技术方案,现对说明书附图作如下说明,显而易见地,下述附图仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据所列附图获得其他附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following description is given to the drawings of the specification. Obviously, the following drawings are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the listed drawings without paying creative work.

图1是现有技术中的集散性控制系统的结构示意图;FIG1 is a schematic diagram of the structure of a distributed control system in the prior art;

图2是本申请实施例可应用的无线工控系统的结构示意图之一;FIG2 is one of the structural diagrams of the wireless industrial control system applicable to the embodiment of the present application;

图3是本申请实施例可应用的无线工控系统的结构示意图之二;FIG3 is a second schematic diagram of the structure of a wireless industrial control system applicable to an embodiment of the present application;

图4是本申请实施例提供的无线工控方法的流程示意图之一;FIG4 is a flow chart of a wireless industrial control method according to an embodiment of the present application;

图5是本申请实施例提供的轮询表;FIG5 is a polling table provided in an embodiment of the present application;

图6是本申请实施例提供的无线工控方法的流程示意图之二;FIG6 is a second flow chart of the wireless industrial control method provided in an embodiment of the present application;

图7是本申请实施例提供的无线工控方法的流程示意图之三;FIG7 is a third flow chart of the wireless industrial control method provided in an embodiment of the present application;

图8是本申请实施例提供的无线工控装置的结构示意图之一;FIG8 is a schematic diagram of a structure of a wireless industrial control device provided in an embodiment of the present application;

图9是本申请实施例提供的无线工控装置的结构示意图之二;FIG9 is a second schematic diagram of the structure of a wireless industrial control device provided in an embodiment of the present application;

图10是本申请实施例提供的电子设备的结构示意图。FIG. 10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。在本申请中的实施例的基础上,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally indicates that the objects associated with each other are in an "or" relationship.

为了便于理解,下面先对本申请实施例相关的背景知识作简单介绍。To facilitate understanding, the following is a brief introduction to the background knowledge related to the embodiments of the present application.

集散性控制系统(Distributed Control System,DCS)是以微处理器为基础,采用控制功能分散、显示操作集中、兼顾分而自治和综合协调的设计原则的新一代仪表控制系统,用于实现工业生产的自动控制过程。集散性控制系统将分布在工业现场的若干个设备(包括操作设备、控制设备和监测设备)连接起来,使所有设备一起运作,共同完成工业生产过程的操作、控制、测量。Distributed Control System (DCS) is a new generation of instrument control system based on microprocessors, which adopts the design principles of decentralized control functions, centralized display operations, and taking into account the design principles of decentralized autonomy and comprehensive coordination. It is used to realize the automatic control process of industrial production. Distributed control systems connect several devices (including operating devices, control devices and monitoring devices) distributed in industrial sites, so that all devices can work together to complete the operation, control and measurement of industrial production processes.

请参见图1,现有技术中,集散性控制系统通过现场总线、工业以太等有线方式,实现控制器(即图1中的生产控制系统、生产监控系统、安全管理系统、可编程逻辑控制器(PLC))与输入/输出设备(即设备1至设备n,n为正整数)之间的通信,有线方式也是目前工业现场网络的基础连接方式。Please refer to Figure 1. In the prior art, the distributed control system realizes communication between the controller (i.e., the production control system, production monitoring system, safety management system, programmable logic controller (PLC) in Figure 1) and the input/output device (i.e., device 1 to device n, n is a positive integer) through wired methods such as field bus and industrial Ethernet. The wired method is also the basic connection method of the current industrial field network.

随着无线技术的发展,具有成本低、易部署、可移动等特点的无线技术在工业生产的场景中扮演着越来越重要的角色。因此,如何在无线场景下对工业生产进行控制(比如在无线场景中,DSC如何进行组态配置数据的传输)成为亟待解决的问题。With the development of wireless technology, wireless technology with the characteristics of low cost, easy deployment and mobility plays an increasingly important role in industrial production scenarios. Therefore, how to control industrial production in wireless scenarios (for example, how to transmit configuration data of DSC in wireless scenarios) has become an urgent problem to be solved.

为解决这一问题,本申请实施例提供一种无线工控方法,下面结合附图,通过具体的实施例对本申请实施例提供的无线工控方法进行详细地说明。To solve this problem, an embodiment of the present application provides a wireless industrial control method. The wireless industrial control method provided by the embodiment of the present application is described in detail below through specific embodiments in conjunction with the accompanying drawings.

请参见图2,图2是本申请实施例可应用的无线工控系统的结构示意图之一。如图2所示,无线工控系统包括主控设备和N个从控设备,N为大于1的正整数。主控设备和N个从控设备中的每个从控设备通过无线的方式(比如短距离无线通信网络连接的方式)连接。Please refer to Figure 2, which is one of the structural schematic diagrams of the wireless industrial control system applicable to the embodiment of the present application. As shown in Figure 2, the wireless industrial control system includes a master control device and N slave control devices, where N is a positive integer greater than 1. The master control device and each of the N slave control devices are connected wirelessly (such as a short-range wireless communication network connection).

短距离无线通信网络连接的方式可以为无线微域组网的方式,在无线微域组网的方式中,多个无线微域网组成无线工控系统的通信网络。多个无线微域网中的每个无线微域网通过协调器、桥接器、隔断器、接线器、网关等,与多个无线微域网中的其他无线微域网建立通信连接。The short-range wireless communication network connection method can be a wireless micro-domain networking method, in which multiple wireless micro-domain networks form a communication network of the wireless industrial control system. Each of the multiple wireless micro-domain networks establishes a communication connection with other wireless micro-domain networks in the multiple wireless micro-domain networks through a coordinator, a bridge, a separator, a connector, a gateway, etc.

主控设备可以包括控制装置(也可以称为控制实体)、寄存装置(也可以称为寄存器)和第一无线收发装置(G节点)。具体实现时,主控设备可以是具备组态管理单元的上位机、PLC、数据采集与监视控制系统(SCADA)、边缘计算服务器、算力盒子等。The main control device may include a control device (also referred to as a control entity), a storage device (also referred to as a register) and a first wireless transceiver device (G node). In specific implementation, the main control device may be a host computer with a configuration management unit, a PLC, a supervisory control and data acquisition system (SCADA), an edge computing server, a computing box, etc.

从控设备包括可以包括控制装置(也可以称为功能块)、寄存装置(也可以称为寄存器)和第二无线收发装置(T节点)。具体实现时,从控设备可以是具备组态功能块应用进程单元的、位于工业现场的设备,比如变送器、执行器、开关、数据采集器、现场控制器等。The slave control device may include a control device (also called a function block), a storage device (also called a register) and a second wireless transceiver device (T-node). In specific implementation, the slave control device may be a device located at an industrial site with a configuration function block application process unit, such as a transmitter, an actuator, a switch, a data collector, a field controller, etc.

请参见图3,图3是本申请实施例可应用的无线工控系统的结构示意图之二。无线工控系统包括一个主控设备和n个从控设备,n为正整数。主控设备包括控制实体、寄存器和G节点,n个从控设备中的每个从控设备包括功能块、寄存器和T节点。G节点和n个T节点中的每个T节点通过无线微域网进行通信。一个功能块应用进程为一个组态事件,比如,功能块应用进程2为将A物体移动至B处这一组态事件,需要从控设备1和从控设备2共同完成该组态事件。组态事件可以理解为为实现某个控制目的的一个完整的工业控制进程,比如组态事件可以为维护某个产线,或者为监控某个园区。一个组态事件可以由一个或多个从控设备完成。Please refer to Figure 3, which is the second structural diagram of the wireless industrial control system applicable to the embodiment of the present application. The wireless industrial control system includes a master control device and n slave control devices, where n is a positive integer. The master control device includes a control entity, a register and a G node, and each of the n slave control devices includes a function block, a register and a T node. The G node and each of the n T nodes communicate through a wireless micro-area network. A function block application process is a configuration event. For example, the function block application process 2 is a configuration event for moving object A to B, which requires slave control device 1 and slave control device 2 to jointly complete the configuration event. A configuration event can be understood as a complete industrial control process for achieving a certain control purpose. For example, a configuration event can be for maintaining a production line or for monitoring a certain park. A configuration event can be completed by one or more slave control devices.

本申请实施例提供的方法可应用于工业控制的场景中,下面对本申请实施例提供的无线工控方法进行详细说明。The method provided in the embodiment of the present application can be applied to industrial control scenarios. The wireless industrial control method provided in the embodiment of the present application is described in detail below.

请参见图4,图4是本申请实施例提供的无线工控方法的流程示意图之一。图4所示的无线工控方法由主控设备执行,包括如下步骤:Please refer to Figure 4, which is one of the flow charts of the wireless industrial control method provided in the embodiment of the present application. The wireless industrial control method shown in Figure 4 is executed by the main control device, and includes the following steps:

步骤101,发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;Step 101, sending a protocol data unit PDU transmission request, the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

主控设备可基于预先存储的配置数据进行初始化,初始化后,向从控设备而发送PDU传输请求。The master device may be initialized based on pre-stored configuration data, and after initialization, send a PDU transmission request to the slave device.

应理解,主控设备向从控设备发送的PDU传输请求主要有三种类型:控制类、组态类和采集类,其中,控制类指PDU传输请求用于传输控制信息,组态类指PDU传输请求用于传输组态配置数据,采集类指PDU传输请求用于传输采集信息。It should be understood that there are three main types of PDU transmission requests sent by the master control device to the slave control device: control class, configuration class and acquisition class. Among them, the control class refers to the PDU transmission request used to transmit control information, the configuration class refers to the PDU transmission request used to transmit configuration data, and the acquisition class refers to the PDU transmission request used to transmit acquisition information.

PDU传输请求标识用于指示PDU传输请求的类型。从控设备根据PDU传输请求标识确定PDU传输请求的类型,在本实施例中,从控设备在PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。The PDU transmission request identifier is used to indicate the type of the PDU transmission request. The slave device determines the type of the PDU transmission request according to the PDU transmission request identifier. In this embodiment, the slave device sends a PDU transmission response to the PDU transmission request when the PDU transmission request identifier indicates transmission configuration data.

在无线工业控制(无线工控)的场景中,从控设备基于组态配置数据进行初始化。In the scenario of wireless industrial control (wireless industrial control), the slave device is initialized based on the configuration data.

组态配置数据包括以下至少一项:The configuration data includes at least one of the following:

从控设备的结构配置信息;Structural configuration information of slave control equipment;

从控设备的硬件配置信息;Hardware configuration information of slave control devices;

从控设备的功能块的编程信息。Programming information of the function blocks of the slave device.

其中,从控设备的结构配置信息包括各个网络节点(比如从控设备)的IP、站号、寻址标识、网络拓扑配置、网络邻居关系配置、路由转发关系等,从控设备的硬件配置信息包括从控设备的中央处理器(CPU)的状态、从控设备的输入/输出设备的地址等,从控设备的功能块的编程信息包括PLC读写逻辑、控制策略、结构化文本等。Among them, the structural configuration information of the slave control device includes the IP, station number, addressing identifier, network topology configuration, network neighbor relationship configuration, routing forwarding relationship, etc. of each network node (such as the slave control device); the hardware configuration information of the slave control device includes the status of the central processing unit (CPU) of the slave control device, the address of the input/output device of the slave control device, etc.; the programming information of the functional block of the slave control device includes PLC read and write logic, control strategy, structured text, etc.

步骤102,接收PDU传输响应,所述PDU传输响应为从控设备在所述PDU标识指示传输组态配置数据的情况下,对所述PDU传输请求的响应;Step 102, receiving a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates transmission of configuration data;

在从控设备根据PUD传输请求标识确定PDU请求用于传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。When the slave control device determines, according to the PDU transmission request identifier, that the PDU request is used to transmit configuration data, it sends a PDU transmission response to the PDU transmission request.

PDU传输响应中可以携带从控设备的状态信息等有助于建立主控设备和从控设备间无线链路的信息。The PDU transmission response may carry information such as the status information of the slave device, which is helpful for establishing a wireless link between the master device and the slave device.

步骤102,根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据,所述相关数据包括所述组态配置数据。Step 102: Establish a wireless link between the master control device and the slave control device according to the PDU transmission response, wherein the wireless link is used to transmit relevant data for wireless industrial control, and the relevant data includes the configuration data.

具体而言,主控设备根据PDU传输响应,建立主控设备的G节点和T节点之间的无线链路。在无线链路成功建立的情况下,可进行无线工控的相关数据的传输。比如,通过无线链路传输组态配置数据,从控设备在接收到组态配置数据的情况下,根据组态配置数据进行初始化(比如初始化从控设备的输入/输出装置)。Specifically, the master device establishes a wireless link between the G node and the T node of the master device according to the PDU transmission response. When the wireless link is successfully established, the relevant data of the wireless industrial control can be transmitted. For example, the configuration data is transmitted through the wireless link, and when the slave device receives the configuration data, it is initialized according to the configuration data (for example, the input/output device of the slave device is initialized).

本申请实施例中,发送携带PUD传输请求标识的PDU传输请求,并接收从控设备在PDU标识指示传输组态配置数据的情况下,对PDU传输请求的PDU传输响应,根据PDU传输响应,建立主控设备和从控设备之间的无线链路。这样,可以利用该无线链路传输用于无线工控的相关数据,从而解决了如何在无线场景下对工业生产进行控制的问题。In the embodiment of the present application, a PDU transmission request carrying a PDU transmission request identifier is sent, and a PDU transmission response to the PDU transmission request is received from the slave control device when the PDU identifier indicates transmission of configuration data, and a wireless link is established between the master control device and the slave control device according to the PDU transmission response. In this way, the wireless link can be used to transmit relevant data for wireless industrial control, thereby solving the problem of how to control industrial production in a wireless scenario.

实际应用中,不同组态事件对传输时延、带宽的需求不同,因此对传输不同组态事件的无线链路性能的要求也各不相同,为了使建立的无线链路更切合组态事件的实际需求,在一可选的实施例中,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识以及所述从控设备的状态信息中的至少一项,所述传输通道标识为所述从控设备根据所述组态事件标识所确定的与所述PDU传输请求对应的逻辑信道的标识,所述根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,包括:In practical applications, different configuration events have different requirements for transmission delay and bandwidth, so the requirements for the performance of wireless links for transmitting different configuration events are also different. In order to make the established wireless link more in line with the actual requirements of the configuration event, in an optional embodiment, the identification information also includes a configuration event identifier, the PDU transmission response carries at least one of the transmission channel identifier and the status information of the slave device, the transmission channel identifier is the identifier of the logical channel corresponding to the PDU transmission request determined by the slave device according to the configuration event identifier, and the wireless link between the master device and the slave device is established according to the PDU transmission response, including:

根据所述传输通道标识和所述状态信息中的至少一项,通过QOS索引指示的状态信息与对应的传输通道标识的映射关系,确定传输模式;Determine the transmission mode according to at least one of the transmission channel identifier and the status information through a mapping relationship between the status information indicated by the QOS index and the corresponding transmission channel identifier;

根据所述传输模式,建立所述无线链路。The wireless link is established according to the transmission mode.

具体实现时,主控设备根据工业控制的业务类型对组态事件进行分类,并确定不同类别的组态事件的组态事件标识。In specific implementation, the main control device classifies the configuration events according to the business type of industrial control, and determines the configuration event identifiers of the configuration events of different categories.

组态事件标识用于指示组态配置数据和组态事件数据。Configuration event identifiers are used to indicate configuration data and configuration event data.

上述组态事件数据用于指示组态事件的相关信息,可选地,所述组态事件数据包括以下至少一项:The above configuration event data is used to indicate relevant information of the configuration event. Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

一个组态事件可以包括一个或多个子事件,上述事件编号为子事件的编号;A configuration event may include one or more sub-events, and the above event number is the number of the sub-event;

上述事件名称为子事件的名称;The above event name is the name of the sub-event;

上述事件类型为子事件的类型;The above event types are types of sub-events;

上述事件执行的次序为一个组态事件中各子事件的执行先后顺序;The order of execution of the above events is the execution order of each sub-event in a configuration event;

上述执行事件的变量为执行子事件时的相关参数变量,比如子事件为抬升机械臂,该变量为抬升高度10cm;The variables of the above execution events are the relevant parameter variables when executing sub-events. For example, if the sub-event is to lift the robotic arm, the variable is the lifting height of 10 cm.

事件对象标识指具体执行子事件的从控设备的标识;The event object identifier refers to the identifier of the slave control device that specifically executes the sub-event;

同步对象标识指在一个组态事件包括多个子事件时,需同步执行至少两个子事件的至少两个从控设备的标识,比如在一个时间抖动范围内,执行组态事件的多个从控设备的标识。The synchronization object identifier refers to the identifiers of at least two slave control devices that need to synchronously execute at least two sub-events when a configuration event includes multiple sub-events, such as the identifiers of multiple slave control devices that execute the configuration event within a time jitter range.

上述状态信息用于指示从控设备的状态,可选地,所述状态信息包括以下至少一项:The above-mentioned status information is used to indicate the status of the slave control device. Optionally, the status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

该实施例中,至少有以下三种实现方式。In this embodiment, there are at least the following three implementation methods.

方式一:从控设备根据组态事件标识,确定与PDU传输请求对应的逻辑信道的传输通道标识,并将传输通道标识携带于PDU传输响应中,发送给主控设备,主控设备根据传输通道标识,确定传输模式,并根据所述传输模式,建立所述无线链路。Method 1: The slave control device determines the transmission channel identifier of the logical channel corresponding to the PDU transmission request according to the configuration event identifier, carries the transmission channel identifier in the PDU transmission response, and sends it to the master control device. The master control device determines the transmission mode according to the transmission channel identifier, and establishes the wireless link according to the transmission mode.

方式二:从控设备根据组态事件标识,确定与PDU传输请求对应的逻辑信道的传输通道标识,并且确定从控设备的状态信息,并将传输通道标识和状态信息携带于PDU传输响应中,发送给主控设备,主控设备根据传输通道标识和状态信息,确定传输模式,并根据所述传输模式,建立所述无线链路。Method 2: The slave control device determines the transmission channel identifier of the logical channel corresponding to the PDU transmission request according to the configuration event identifier, and determines the status information of the slave control device, and carries the transmission channel identifier and status information in the PDU transmission response, and sends it to the master control device. The master control device determines the transmission mode according to the transmission channel identifier and status information, and establishes the wireless link according to the transmission mode.

方式三:从控设备确定从控设备的状态信息,并将状态信息携带于PDU传输响应中,发送给主控设备,主控设备根据状态信息,确定传输模式,并根据所述传输模式,建立所述无线链路。Method three: The slave device determines the status information of the slave device, carries the status information in the PDU transmission response, and sends it to the master device. The master device determines the transmission mode according to the status information, and establishes the wireless link according to the transmission mode.

在方式一中,通过使从控设备根据组态事件标识确定与PDU传输请求对应的逻辑信道的传输通道标识,可以考虑到不同组态事件对不同无线链路性能的要求,从而使建立的无线链路更切合组态事件的实际需求。In method 1, by allowing the slave control device to determine the transmission channel identifier of the logical channel corresponding to the PDU transmission request according to the configuration event identifier, the requirements of different configuration events for different wireless link performances can be taken into account, so that the established wireless link is more in line with the actual needs of the configuration event.

在方式二中,不仅使建立的无线链路更切合组态事件的实际需求,还通过反馈从控设备的状态信息,从而使建立的无线链路更切合从控设备的实际情况。In the second method, not only the established wireless link is made more suitable for the actual needs of the configuration event, but also the established wireless link is made more suitable for the actual situation of the slave control device by feeding back the status information of the slave control device.

在方式三中,通过反馈从控设备的状态信息,从而使建立的无线链路更切合从控设备的实际情况。In the third mode, by feeding back the status information of the slave control device, the established wireless link is made more suitable for the actual situation of the slave control device.

传输模式可以为以下任一种。The transmission mode can be any of the following.

1、Codingmode=1。G节点对服务报文进行分片,生成链路数据PDU分段,分段将维护窗口内的PDU放置到缓存进行传输,其中Codingmode为传输模式的标识;1. Coding mode = 1. Node G fragments the service message, generates link data PDU segments, and places the PDU in the maintenance window into the cache for transmission. Coding mode is the identifier of the transmission mode.

2、Codingmode=2。G节点根据QOS指示,调整混合自动重传请求HARQHARQ即混合自动重传请求(Hybrid Automatic Repeat reQuest,HARQ),是一种将前向纠错编码(FEC)和自动重传请求(ARQ)相结合而形成的技术参数配置,包括:同步HARQ模式、异步HARQ_CC模式、异步HARQ_IR模式、同步和异步HARQ混合模式。2. Coding mode = 2. Node G adjusts the hybrid automatic repeat request HARQ according to the QOS indication. HARQ, or Hybrid Automatic Repeat reQuest (HARQ), is a technical parameter configuration that combines forward error correction coding (FEC) and automatic repeat request (ARQ), including: synchronous HARQ mode, asynchronous HARQ_CC mode, asynchronous HARQ_IR mode, and synchronous and asynchronous HARQ mixed mode.

3、Codingmode=3。G节点根据MAC PDU结构,对承载数据进行解复用,将子SDU透传到逻辑传输通道标识对应的链路控制实体。3. Coding mode = 3. The G node demultiplexes the bearer data according to the MAC PDU structure and transparently transmits the sub-SDU to the link control entity corresponding to the logical transmission channel identifier.

根据所述传输通道标识和所述状态信息中的至少一项,确定传输模式。A transmission mode is determined according to at least one of the transmission channel identifier and the state information.

具体地,可以由主控设备的G节点根据传输通道标识和状态信息中的至少一项,传输通道标识和传输资源预留方式的第一映射关系,以及状态信息和传输资源预留的方式之间的第二映射关系,确定传输资源预留方式(比如QOS机制),然后根据传输资源预留方式确定不同的传输模式。Specifically, the G node of the main control device can determine the transmission resource reservation method (such as QOS mechanism) based on at least one of the transmission channel identifier and the status information, the first mapping relationship between the transmission channel identifier and the transmission resource reservation method, and the second mapping relationship between the status information and the transmission resource reservation method, and then determine different transmission modes according to the transmission resource reservation method.

根据传输模式为无线链路分配接入的无线通信资源,比如编码块资源CBG0~CBGn或者组帧资源RBG0~RBGn,并建立G节点和T节点之间的无线链路。其中,QOS机制根据从控设备的数量和组态事件的优先级确定竞争接入、非竞争接入的方式。不同类型的组态事件,QOS机制调度的是不同的传输类型的PDU会话信道资源;不同的从控设备在各自的网络会话信道上对接收到的PDU会话请求进行不同模式的传输,避免不同的从控设备所使用的无线链路的调度资源调度资源发生冲突。Wireless communication resources are allocated to the wireless link according to the transmission mode, such as coding block resources CBG0~CBGn or framing resources RBG0~RBGn, and a wireless link is established between the G node and the T node. The QOS mechanism determines the competitive access and non-competitive access methods based on the number of slave control devices and the priority of the configuration event. For different types of configuration events, the QOS mechanism schedules PDU session channel resources of different transmission types; different slave control devices transmit the received PDU session requests in different modes on their respective network session channels, avoiding conflicts in the scheduling resources of the wireless links used by different slave control devices.

此外,在该实施例中,组态事件标识还用于指示组态配置数据,通过使PDU传输请求携带组态事件标识,可以在无线链路建立后,根据组态事件标识确定与该组态事件对应的组态配置数据,从而有选择地传输组态事件对应的组态配置数据,无需传输全部的组态配置数据,进而降低了传输的数据量,缩短了传输耗时。In addition, in this embodiment, the configuration event identifier is also used to indicate configuration data. By making the PDU transmission request carry the configuration event identifier, after the wireless link is established, the configuration data corresponding to the configuration event can be determined according to the configuration event identifier, thereby selectively transmitting the configuration data corresponding to the configuration event without transmitting all the configuration data, thereby reducing the amount of data transmitted and shortening the transmission time.

在一实施例中,所述标识信息还包括以下至少一项:In one embodiment, the identification information further includes at least one of the following:

无线链路指示标识。Wireless link indicator.

前文已述,主控设备包括控制实体、寄存器和G节点,控制实体、寄存器和G节点之间也需进行通信,无线链路指示标识用于指示主控设备内部的传输通道(即控制实体、寄存器和G节点之间的传输通道)。这样,可以通过无线链路指示标识指示信息如何在主控设备内部进行传输。As mentioned above, the master control device includes a control entity, a register and a G node, and the control entity, the register and the G node also need to communicate with each other. The wireless link indicator is used to indicate the transmission channel inside the master control device (i.e., the transmission channel between the control entity, the register and the G node). In this way, the wireless link indicator can be used to indicate how information is transmitted inside the master control device.

在一实施例中,所述标识信息的携带方式包括以下至少一项:In one embodiment, the identification information is carried in at least one of the following ways:

通过空口高层协议携带所述标识信息;Carrying the identification information through an air interface high-level protocol;

通过接入层协议携带所述标识信息。The identification information is carried via an access layer protocol.

具体实现时,方式四:可以通过空口高层协议(层三)实现对标识信息(比如组态事件标识)进行指示,并通过媒体控制层QoS或IP QoS传输策略实现链路层或网络层组帧资源的预留与调度,实现主从设备之间组态配置数据的可靠传输。In specific implementation, method 4: the identification information (such as configuration event identification) can be indicated through the air interface high-level protocol (layer 3), and the link layer or network layer framing resources can be reserved and scheduled through the media control layer QoS or IP QoS transmission strategy to achieve reliable transmission of configuration data between master and slave devices.

方式五:通过接入层协议(层二)实现对标识信息(比如组态事件标识)进行指示,并通过QoS传输策略实现物理层比特流的接入时隙资源或者编码块的预留与调度。与方式四的区别在于,方式五中层三不具备对标识信息的协议适配能力,需要通过高层信令递交(透传)到媒体接入层进行协议适配。Method 5: Indicate identification information (such as configuration event identification) through access layer protocol (layer 2), and reserve and schedule access time slot resources or coding blocks of physical layer bit stream through QoS transmission strategy. The difference from method 4 is that layer 3 in method 5 does not have the protocol adaptation capability for identification information, and needs to be delivered (transparently transmitted) to the media access layer through high-level signaling for protocol adaptation.

在方式五中,G节点接收到T节点反馈的PDU传输响应,并通过高层信令GlinkDataResourceConfArray或TlinkDataResourceConfArray发送到媒体接入层进行协议适配,获取T节点MAC层帧头携带的会话标识,例如T节点当前状态测量值包括:指示编码块个数信息,每个编码块的信息比特数信息,编码方式信息RS码或者Polar码,调制方式信息(QPSK、16QAM、64QAM、256QAM、1024QAM)等。通过QOS机制确定T节点的不同(或不同传输通道编码方式)的接入时隙资源或者调度编码块,确定不同类型的传输模式(数据信息传输调制编码方式)进行传输,各编码块分别进行信道编码并使用各自的物理资源进行数据传输。In mode 5, the G node receives the PDU transmission response fed back by the T node, and sends it to the media access layer through high-level signaling GlinkDataResourceConfArray or TlinkDataResourceConfArray for protocol adaptation, and obtains the session identifier carried by the MAC layer frame header of the T node. For example, the current state measurement value of the T node includes: information indicating the number of coding blocks, information on the number of information bits of each coding block, coding mode information RS code or Polar code, modulation mode information (QPSK, 16QAM, 64QAM, 256QAM, 1024QAM), etc. The different access time slot resources (or different transmission channel coding modes) of the T node or the scheduling coding blocks are determined through the QOS mechanism, and different types of transmission modes (data information transmission modulation coding modes) are determined for transmission. Each coding block performs channel coding and uses its own physical resources for data transmission.

前文已述,无线工控系统包括主控设备和N个从控设备,主控设备和N个从控设备中的每个从控设备均需建立无线链路以进行无线工控的相关数据的传输。为了使主控设备和N个从控设备的无线链路的建立有序进行,在一实施例中,所述发送PDU传输请求之前,所述方法还包括:As mentioned above, the wireless industrial control system includes a master control device and N slave control devices, and the master control device and each of the N slave control devices need to establish a wireless link to transmit the relevant data of the wireless industrial control. In order to make the establishment of the wireless link between the master control device and the N slave control devices proceed in an orderly manner, in one embodiment, before sending the PDU transmission request, the method further includes:

根据预先获取的N个从控设备的N个地址信息,建立轮询表,所述轮询表包括按预设顺序排列的N个地址信息,N为正整数;According to the N address information of the N slave control devices acquired in advance, a polling table is established, wherein the polling table includes the N address information arranged in a preset order, where N is a positive integer;

所述发送PDU传输请求包括:The sending of the PDU transmission request comprises:

按所述轮询表中N个地址信息的排列顺序,依次向所述N个从控设备发送所述PDU传输请求。The PDU transmission request is sent to the N slave control devices in sequence according to the arrangement order of the N address information in the polling table.

具体实现时,主控设备建立(具体可由G节点建立)轮询表如图5所示,,根据地址的前后顺序建立N个从控设备的地址链A1~An(即轮询表)。A1至An为各从控设备的地址。In specific implementation, the master device establishes (specifically, it can be established by the G node) a polling table as shown in FIG5 , and establishes an address chain A1 to An (ie, a polling table) of N slave devices according to the order of addresses. A1 to An are the addresses of each slave device.

主控设备(具体可为G节点)根据轮询表的地址链的排列顺序,对N个从控设备(具体可为T节点)依次进行轮询。The master control device (specifically, a G node) polls N slave control devices (specifically, T nodes) in sequence according to the arrangement order of the address chain in the polling table.

第i次轮询过程中,i为正整数,主控设备向其中一个从控设备发送PDU传输请求,并接收该从控设备的PDU传输响应,根据该PDU传输响应,建立主控设备和该从控设备之间的无线链路。第i+1次轮询过程中,主控设备根据轮询表的地址链的排列顺序向下一个从控设备发送PDU传输请求,并接收该从控设备的PDU传输响应,根据该PDU传输响应,建立主控设备和该从控设备之间的无线链路。During the i-th polling process, i is a positive integer, the master device sends a PDU transmission request to one of the slave devices, receives a PDU transmission response from the slave device, and establishes a wireless link between the master device and the slave device according to the PDU transmission response. During the i+1-th polling process, the master device sends a PDU transmission request to the next slave device according to the arrangement order of the address chain of the polling table, receives a PDU transmission response from the slave device, and establishes a wireless link between the master device and the slave device according to the PDU transmission response.

即是说,每次轮询过程中,主控设备向其中一个从控设备发送PDU传输请求,并接收该从控设备的PDU传输响应,根据该PDU传输响应,建立主控设备和该从控设备之间的无线链路。That is, during each polling process, the master device sends a PDU transmission request to one of the slave devices, receives a PDU transmission response from the slave device, and establishes a wireless link between the master device and the slave device based on the PDU transmission response.

在一实施例中,所述建立所述主控设备和所述从控设备之间的无线链路之后,所述方法还包括:In one embodiment, after establishing the wireless link between the master device and the slave device, the method further includes:

发送与所述组态事件标识对应的组态配置数据。Sending configuration data corresponding to the configuration event identifier.

具体实现时,从控设备接收与所述组态事件标识对应的组态配置数据,并根据所述组态配置数据,完成组态事件的初始化配置。In a specific implementation, the slave control device receives configuration data corresponding to the configuration event identifier, and completes the initialization configuration of the configuration event according to the configuration data.

该实施例中,组态事件标识还用于指示组态配置数据,通过使PDU传输请求携带组态事件标识,可以在无线链路建立后,根据组态事件标识确定与该组态事件对应的组态配置数据,从而有选择地传输组态事件对应的组态配置数据,无需传输全部的组态配置数据,进而降低了传输的数据量,缩短了传输耗时。In this embodiment, the configuration event identifier is also used to indicate configuration data. By making the PDU transmission request carry the configuration event identifier, after the wireless link is established, the configuration data corresponding to the configuration event can be determined according to the configuration event identifier, thereby selectively transmitting the configuration data corresponding to the configuration event without transmitting all the configuration data, thereby reducing the amount of data transmitted and shortening the transmission time.

在一实施例中,所述相关数据还包括所述组态事件数据,所述发送与所述组态事件标识对应的组态配置数据之后,所述方法还包括:In one embodiment, the related data further includes the configuration event data, and after the sending of the configuration data corresponding to the configuration event identifier, the method further includes:

接收第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收;Receiving first notification information, where the first notification information is used to notify that the reception of the configuration data has been completed;

发送与所述组态事件标识对应的组态事件数据。Sending configuration event data corresponding to the configuration event identifier.

具体实现时,从控设备在完成对所述组态配置数据的接收的情况下,发送第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收。In a specific implementation, the slave control device sends first notification information when the reception of the configuration data is completed, where the first notification information is used to notify that the reception of the configuration data is completed.

该实施例中,在完成对组态配置数据的传输后,再发送组态事件数据,从而避免将不同类型的数据混发,造成不必要的干扰。In this embodiment, after the transmission of the configuration data is completed, the configuration event data is sent, thereby avoiding mixing different types of data and causing unnecessary interference.

在一实施例中,所述发送与所述组态事件标识对应的组态事件数据之后,所述方法还包括:In one embodiment, after sending the configuration event data corresponding to the configuration event identifier, the method further includes:

在接收到第二通知信息的情况下,释放所述无线链路,所述第二通知信息用于通知已完成对所述组态事件数据的接收。In case of receiving second notification information, the wireless link is released, where the second notification information is used to notify that the reception of the configuration event data has been completed.

具体实现时,从控设备接收与所述组态事件标识对应的组态事件数据,在完成对所述组态事件数据的接收的情况下,发送第二通知信息,并根据所述组态事件数据,进行工控管理,所述第二通知信息用于通知已完成对所述组态事件数据的接收。In a specific implementation, the control device receives configuration event data corresponding to the configuration event identifier, sends a second notification message when the reception of the configuration event data is completed, and performs industrial control management based on the configuration event data, wherein the second notification message is used to notify that the reception of the configuration event data has been completed.

应理解,完成组态事件数据的接收之后,已不需要使用无线链路进行数据传输。该实施例中,通过在完成组态事件数据的接收之后释放无线链路,可以避免占用通信资源,造成通信资源的浪费。It should be understood that after receiving the configuration event data, it is no longer necessary to use the wireless link for data transmission. In this embodiment, by releasing the wireless link after receiving the configuration event data, it is possible to avoid occupying communication resources and causing a waste of communication resources.

在一实施例中,所述主控设备包括控制装置(控制实体)和无线收发装置(G节点),所述发送协议数据单元PDU传输请求之前,所述方法还包括:In one embodiment, the master control device includes a control device (control entity) and a wireless transceiver (G node), and before sending a protocol data unit PDU transmission request, the method further includes:

通过所述控制装置确定配置相关信息,所述配置相关信息包括组态事件数据、与所述组态事件数据对应的组态事件标识以及从控设备域信息中的至少一项,所述从控设备域信息包括N个从控设备的N个地址信息,N为正整数;Determining configuration related information by the control device, the configuration related information including at least one of configuration event data, a configuration event identifier corresponding to the configuration event data, and slave control device domain information, the slave control device domain information including N address information of N slave control devices, where N is a positive integer;

通过所述控制装置将所述配置相关信息发送给所述无线收发装置;Sending the configuration related information to the wireless transceiver device through the control device;

所述发送PDU传输请求,包括:The sending of the PDU transmission request comprises:

通过所述无线收发装置发送所述PDU传输请求;Sending the PDU transmission request through the wireless transceiver;

所述接收PDU传输响应,包括:The receiving PDU transmission response includes:

通过所述无线收发装置接收PDU传输响应;receiving a PDU transmission response via the wireless transceiver;

所述根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,包括:The step of establishing a wireless link between the master control device and the slave control device according to the PDU transmission response includes:

通过所述无线收发装置根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路。The wireless transceiver device transmits a response according to the PDU to establish a wireless link between the master control device and the slave control device.

在一可选的实施例一中,主控设备根据轮询表的地址链的排列顺序,对N个从控设备依次进行轮询的每次轮询过程如下:In an optional embodiment 1, the master control device sequentially polls N slave control devices according to the arrangement order of the address chain in the polling table, and each polling process is as follows:

1、判断地址链对应的第i个从控设备是否有数据要传输,如果是,则G节点向T节点发起PDU传输请求,PDU传输请求中携带PUD传输请求标识和组态事件标识;如果否,则判断第i+1个从控设备是否有数据要传输。1. Determine whether the i-th slave control device corresponding to the address chain has data to transmit. If so, the G node initiates a PDU transmission request to the T node, and the PDU transmission request carries the PDU transmission request identifier and the configuration event identifier; if not, determine whether the i+1-th slave control device has data to transmit.

2、T节点根据PUD传输请求标识判断PUD传输请求标识是否指示传输组态配置数据,如果是,则根据组态事件标识确定PDU传输请求对应的逻辑信道的传输通道标识,并将该传输通道标识添加到PDU传输响应的报头中;T节点还可确定从控设备的状态信息,并将状态信息添加到PDU传输响应的报头中。2. The T node determines whether the PUD transmission request identifier indicates the transmission configuration data based on the PUD transmission request identifier. If so, the transmission channel identifier of the logical channel corresponding to the PDU transmission request is determined based on the configuration event identifier, and the transmission channel identifier is added to the header of the PDU transmission response; the T node can also determine the status information of the slave control device and add the status information to the header of the PDU transmission response.

3、T节点向G节点发送PDU传输响应,并携带传输通道标识和状态信息。3. Node T sends a PDU transmission response to node G, carrying the transmission channel identifier and status information.

4、G节点根据传输通道标识和所述状态信息中的至少一项,确定传输模式,并根据所述传输模式,建立所述无线链路。4. The G node determines a transmission mode according to the transmission channel identifier and at least one of the state information, and establishes the wireless link according to the transmission mode.

5、主控设备的控制实体接收到G节点转发的请求发送无线工控相关数据的信息后,向T节点发送与组态事件标识对应的组态配置数据。从控设备根据组态配置数据,完成初始化配置,比如I/O驱动事件初始化;5. After receiving the information forwarded by the G node requesting to send wireless industrial control related data, the control entity of the master device sends the configuration data corresponding to the configuration event identifier to the T node. The slave device completes the initialization configuration according to the configuration data, such as I/O driver event initialization;

6、T节点向G节点发送第一通知信息和第二通知信息,通知已完成无线工控相关数据传递并释放无线链路。6. The T node sends a first notification message and a second notification message to the G node, notifying that the wireless industrial control related data transmission has been completed and the wireless link has been released.

G节点每次收到T节点的第一通知信息和第二通知信息后,开始对下一个从控设备进行轮询,直到对全部从控设备完成轮询。如果周期服务的轮询间隔时间不能确定时,可以在一个轮询表中重复响应的周期服务以减少轮询间隔时间。Each time the G node receives the first notification information and the second notification information from the T node, it starts to poll the next slave device until all slave devices are polled. If the polling interval of the periodic service cannot be determined, the periodic service that responds can be repeated in a polling table to reduce the polling interval.

在一实施例中,主控设备为云化PLC,从控设备为无线伺服驱动器,主控设备包括控制实体、寄存器、过程通道和无线收发实体(G节点),从控设备包括功能块、寄存器、过程通道和无线收发实体(T节点)。In one embodiment, the master control device is a cloud PLC, the slave control device is a wireless servo drive, the master control device includes a control entity, a register, a process channel and a wireless transceiver entity (G node), and the slave control device includes a functional block, a register, a process channel and a wireless transceiver entity (T node).

为了便于理解,请参见图6,下面以一个完整的实施例对本申请实施例提供的方法进行说明。For ease of understanding, please refer to Figure 6, and the method provided in the embodiment of the present application is described below with a complete embodiment.

主控设备的控制实体基于预先存储的配置数据进行初始化。初始化后,将组态事件进行分类标识,确定各组态事件的组态事件标识,以及与组态事件标识对应的组态配置数据和组态事件数据,并确定N个从控设备的地址信息,基于上述信息确定配置相关信息(包括N个从控设备的地址信息和组态事件标识),并以应用层协议承载参数的方式传递给G节点;The control entity of the master device is initialized based on the pre-stored configuration data. After initialization, the configuration events are classified and identified, the configuration event identifier of each configuration event is determined, as well as the configuration configuration data and configuration event data corresponding to the configuration event identifier, and the address information of N slave devices is determined. Based on the above information, the configuration related information (including the address information and configuration event identifier of N slave devices) is determined and passed to the G node in the form of application layer protocol carrying parameters;

G节点基于N个从控设备的地址信息建立轮询表;Node G establishes a polling table based on the address information of N slave devices;

G节点根据轮询表的地址排列顺序,依次对N个从控设备的进行轮询,具体轮询过程可参见实施例一。The G node polls the N slave control devices in sequence according to the address arrangement order of the polling table. For the specific polling process, please refer to the first embodiment.

本申请实施例还提供一种无线工控系统,所述系统包括主控设备和N个从控设备,N为大于1的正整数,所述主控设备包括第一无线收发装置,每一所述从控设备包括第二无线收发装置,所述第一无线收发装置和所述第二无线收发装置无线连接;The embodiment of the present application further provides a wireless industrial control system, the system comprising a master control device and N slave control devices, N being a positive integer greater than 1, the master control device comprising a first wireless transceiver, each of the slave control devices comprising a second wireless transceiver, the first wireless transceiver and the second wireless transceiver being wirelessly connected;

其中,所述第一无线收发装置用于:Wherein, the first wireless transceiver is used for:

发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD标识PUD传输请求标识;Send a protocol data unit PDU transmission request, the PDU transmission request carries identification information, and the identification information includes a PUD identification and a PUD transmission request identification;

接收PDU传输响应,所述PDU传输响应为从控设备在根据所述PDU标识,确定所述PDU传输请求的承载数据为组态配置数据的情况下,对所述PDU传输请求的响应;receiving a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the slave control device determines, based on the PDU identifier, that the bearer data of the PDU transmission request is configuration data;

根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据;Establishing a wireless link between the master control device and the slave control device according to the PDU transmission response, wherein the wireless link is used to transmit relevant data for wireless industrial control;

所述第二无线收发装置用于:The second wireless transceiver is used for:

接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD标识PUD传输请求标识;Receive a protocol data unit (PDU) transmission request, where the PDU transmission request carries identification information, and the identification information includes a PUD identification and a PUD transmission request identification;

在根据所述PDU标识,确定所述PDU传输请求承载数据为组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。When it is determined according to the PDU identifier that the data carried by the PDU transmission request is configuration data, a PDU transmission response to the PDU transmission request is sent.

上述无线工控系统可用于实现本申请实施例提供的无线工控方法。The above-mentioned wireless industrial control system can be used to implement the wireless industrial control method provided in the embodiment of the present application.

该实施例中,无线工控系统通过第一无线收发装置和第二无线收发装置进行无线连接,解决了如何在无线场景下对工业生产进行控制的问题。In this embodiment, the wireless industrial control system is wirelessly connected via the first wireless transceiver and the second wireless transceiver, thereby solving the problem of how to control industrial production in a wireless scenario.

参见图7,本申请还提供一种无线工控方法,应用于从控设备,包括:Referring to FIG. 7 , the present application further provides a wireless industrial control method, which is applied to a slave control device, including:

步骤201,接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;Step 201, receiving a protocol data unit (PDU) transmission request, wherein the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

步骤202,在所述PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。Step 202: When the PDU transmission request identifier indicates transmission of configuration data, a PDU transmission response to the PDU transmission request is sent.

可选地,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识,以及状态信息中的至少一项,所述接收协议数据单元PDU传输请求之后,所述发送对所述PDU传输请求的PDU传输响应之前,所述方法还包括:Optionally, the identification information further includes a configuration event identifier, the PDU transmission response carries a transmission channel identifier, and at least one item of status information, and after receiving the protocol data unit PDU transmission request and before sending the PDU transmission response to the PDU transmission request, the method further includes:

根据所述组态事件标识,确定与所述PDU传输请求对应的逻辑信道的传输通道标识;Determine, according to the configuration event identifier, a transmission channel identifier of a logical channel corresponding to the PDU transmission request;

和/或,确定所述从控设备的状态信息;and/or, determining status information of the slave control device;

其中,所述组态事件标识用于指示所述组态配置数据和组态事件数据。The configuration event identifier is used to indicate the configuration data and configuration event data.

可选地,所述组态事件数据包括以下至少一项:Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

所述状态信息包括以下至少一项:The status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

可选地,所述发送对所述PDU传输请求的PDU传输响应之后,所述方法还包括:Optionally, after sending a PDU transmission response to the PDU transmission request, the method further includes:

接收与所述组态事件标识对应的组态配置数据;Receiving configuration data corresponding to the configuration event identifier;

根据所述组态配置数据,完成组态事件的初始化配置。According to the configuration data, the initialization configuration of the configuration event is completed.

可选地,所述接收与所述组态事件标识对应的组态配置数据之后,所述方法还包括:Optionally, after receiving the configuration data corresponding to the configuration event identifier, the method further includes:

在完成对所述组态配置数据的接收的情况下,发送第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收。When the reception of the configuration data is completed, first notification information is sent, where the first notification information is used to notify that the reception of the configuration data is completed.

可选地,所述发送第一通知信息之后,所述方法还包括:Optionally, after sending the first notification information, the method further includes:

接收与所述组态事件标识对应的组态事件数据;Receiving configuration event data corresponding to the configuration event identifier;

在完成对所述组态事件数据的接收的情况下,发送第二通知信息,并根据所述组态事件数据,进行工控管理,所述第二通知信息用于通知已完成对所述组态事件数据的接收。When the reception of the configuration event data is completed, second notification information is sent, and industrial control management is performed according to the configuration event data, wherein the second notification information is used to notify that the reception of the configuration event data has been completed.

需要说明的是,本实施例作为与图4方法实施例对应的从控设备的实施例,因此,可以参见图4方法实施例中的相关说明,且可以达到相同的有益效果。为了避免重复说明,在此不再赘述。It should be noted that this embodiment is an embodiment of a slave control device corresponding to the method embodiment of FIG4 , and therefore, reference may be made to the relevant description in the method embodiment of FIG4 , and the same beneficial effects may be achieved.

参见图8,本申请实施例还提供一种无线工控装置300,包括:Referring to FIG. 8 , the embodiment of the present application further provides a wireless industrial control device 300, including:

第一发送模块301,用于发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;The first sending module 301 is used to send a protocol data unit PDU transmission request, where the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

第一接收模块302,用于接收PDU传输响应,所述PDU传输响应为从控设备在所述PDU标识指示传输组态配置数据的情况下,对所述PDU传输请求的响应;A first receiving module 302 is used to receive a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates transmission of configuration data;

建立模块303,用于根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据,所述相关数据包括所述组态配置数据。Establishing module 303, used to establish a wireless link between the master control device and the slave control device according to the PDU transmission response, the wireless link is used to transmit relevant data for wireless industrial control, and the relevant data includes the configuration data.

可选地,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识以及所述从控设备的状态信息中的至少一项,所述传输通道标识为所述从控设备根据所述组态事件标识所确定的与所述PDU传输请求对应的逻辑信道的标识,所述建立模块303包括:Optionally, the identification information further includes a configuration event identifier, the PDU transmission response carries at least one of a transmission channel identifier and status information of the slave control device, the transmission channel identifier is an identifier of a logical channel corresponding to the PDU transmission request determined by the slave control device according to the configuration event identifier, and the establishment module 303 includes:

根据所述传输通道标识和所述状态信息中的至少一项,确定传输模式;Determine a transmission mode according to at least one of the transmission channel identifier and the state information;

根据所述传输模式,建立所述无线链路;Establishing the wireless link according to the transmission mode;

其中,所述组态事件标识用于指示所述组态配置数据和组态事件数据。The configuration event identifier is used to indicate the configuration data and configuration event data.

可选地,所述组态事件数据包括以下至少一项:Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

所述状态信息包括以下至少一项:The status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

可选地,所述标识信息还包括以下至少一项:Optionally, the identification information further includes at least one of the following:

无线链路指示标识。Wireless link indicator.

可选地,所述标识信息的携带方式包括以下至少一项:Optionally, the identification information is carried in at least one of the following ways:

通过空口高层协议携带所述标识信息;Carrying the identification information through an air interface high-level protocol;

通过接入层协议携带所述标识信息。The identification information is carried via an access layer protocol.

可选地,所述第一发送模块301之前,所述装置300还包括:Optionally, before the first sending module 301, the apparatus 300 further includes:

根据预先获取的N个从控设备的N个地址信息,建立轮询表,所述轮询表包括按预设顺序排列的N个地址信息,N为正整数;Establishing a polling table according to N address information of N slave control devices acquired in advance, wherein the polling table includes N address information arranged in a preset order, where N is a positive integer;

所述发送PDU传输请求包括:The sending of the PDU transmission request comprises:

按所述轮询表中N个地址信息的排列顺序,依次向所述N个从控设备发送所述PDU传输请求。The PDU transmission request is sent to the N slave control devices in sequence according to the arrangement order of the N address information in the polling table.

可选地,所述建立模块303之后,所述装置300还包括:Optionally, after the establishment module 303, the apparatus 300 further includes:

发送与所述组态事件标识对应的组态配置数据。Sending configuration data corresponding to the configuration event identifier.

可选地,所述发送与所述组态事件标识对应的组态配置数据之后,所述相关数据还包括所述组态事件数据,所述装置300还包括:Optionally, after the configuration data corresponding to the configuration event identifier is sent, the related data further includes the configuration event data, and the apparatus 300 further includes:

接收第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收;Receiving first notification information, where the first notification information is used to notify that the reception of the configuration data has been completed;

发送与所述组态事件标识对应的组态事件数据。Sending configuration event data corresponding to the configuration event identifier.

可选地,所述发送与所述组态事件标识对应的组态事件数据之后,所述装置300还包括:Optionally, after sending the configuration event data corresponding to the configuration event identifier, the apparatus 300 further includes:

在接收到第二通知信息的情况下,释放所述无线链路,所述第二通知信息用于通知已完成对所述组态事件数据的接收。In case of receiving second notification information, the wireless link is released, where the second notification information is used to notify that the reception of the configuration event data has been completed.

本申请实施例提供的无线工控装置300能够实现本申请无线工控方法实施例中能够实现的各个过程,以及达到相同的有益效果,为避免重复,在此不再赘述。The wireless industrial control device 300 provided in the embodiment of the present application can implement each process that can be implemented in the embodiment of the wireless industrial control method of the present application, and achieve the same beneficial effects. To avoid repetition, it will not be described here.

参见图9,本申请实施例还提供一种无线工控装置400,包括:Referring to FIG. 9 , the embodiment of the present application further provides a wireless industrial control device 400, including:

第二接收模块401,用于接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;The second receiving module 401 is used to receive a protocol data unit PDU transmission request, where the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

第二发送模块402,用于在所述PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。The second sending module 402 is configured to send a PDU transmission response to the PDU transmission request when the PDU transmission request identifier indicates transmission of configuration data.

可选地,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识,以及状态信息中的至少一项,所述接收协议数据单元PDU传输请求之后,所述发送对所述PDU传输请求的PDU传输响应之前,所述装置400还包括:Optionally, the identification information further includes a configuration event identifier, the PDU transmission response carries a transmission channel identifier, and at least one item of status information, and after receiving the protocol data unit PDU transmission request and before sending the PDU transmission response to the PDU transmission request, the device 400 further includes:

根据所述组态事件标识,确定与所述PDU传输请求对应的逻辑信道的传输通道标识;Determine, according to the configuration event identifier, a transmission channel identifier of a logical channel corresponding to the PDU transmission request;

和/或,确定所述从控设备的状态信息;and/or, determining status information of the slave control device;

其中,所述组态事件标识用于指示所述组态配置数据和组态事件数据。The configuration event identifier is used to indicate the configuration data and configuration event data.

可选地,所述组态事件数据包括以下至少一项:Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

所述状态信息包括以下至少一项:The status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

可选地,所述第二发送模块402之后,所述装置400还包括:Optionally, after the second sending module 402, the apparatus 400 further includes:

接收与所述组态事件标识对应的组态配置数据;Receiving configuration data corresponding to the configuration event identifier;

根据所述组态配置数据,完成组态事件的初始化配置。According to the configuration data, the initialization configuration of the configuration event is completed.

可选地,所述接收与所述组态事件标识对应的组态配置数据之后,所述装置400还包括:Optionally, after receiving the configuration data corresponding to the configuration event identifier, the apparatus 400 further includes:

在完成对所述组态配置数据的接收的情况下,发送第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收。When the reception of the configuration data is completed, first notification information is sent, where the first notification information is used to notify that the reception of the configuration data is completed.

可选地,所述发送第一通知信息之后,所述装置400还包括:Optionally, after sending the first notification information, the apparatus 400 further includes:

接收与所述组态事件标识对应的组态事件数据;Receiving configuration event data corresponding to the configuration event identifier;

在完成对所述组态事件数据的接收的情况下,发送第二通知信息,并根据所述组态事件数据,进行工控管理,所述第二通知信息用于通知已完成对所述组态事件数据的接收。When the reception of the configuration event data is completed, second notification information is sent, and industrial control management is performed according to the configuration event data, wherein the second notification information is used to notify that the reception of the configuration event data has been completed.

本申请实施例提供的无线工控装置400能够实现本申请无线工控方法实施例中能够实现的各个过程,以及达到相同的有益效果,为避免重复,在此不再赘述。The wireless industrial control device 400 provided in the embodiment of the present application can implement each process that can be implemented in the embodiment of the wireless industrial control method of the present application, and achieve the same beneficial effects. To avoid repetition, it will not be described here.

本申请实施例提供一种电子设备。如图10所示,电子设备500包括:处理器501、存储器502及存储在所述存储器502上并可在所述处理器上运行的计算机程序,电子设备500中的各个组件通过总线系统503耦合在一起。可理解,总线系统503用于实现这些组件之间的连接通信。The embodiment of the present application provides an electronic device. As shown in FIG10 , the electronic device 500 includes: a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor, and the components in the electronic device 500 are coupled together via a bus system 503. It is understood that the bus system 503 is used to realize connection and communication between these components.

其中,处理器501,用于:The processor 501 is used for:

发送协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;Send a protocol data unit (PDU) transmission request, where the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

接收PDU传输响应,所述PDU传输响应为从控设备在所述PDU标识指示传输组态配置数据的情况下,对所述PDU传输请求的响应;receiving a PDU transmission response, where the PDU transmission response is a response of the slave control device to the PDU transmission request when the PDU identifier indicates transmission of configuration data;

根据所述PDU传输响应,建立所述主控设备和所述从控设备之间的无线链路,所述无线链路用于传输用于无线工控的相关数据,所述相关数据包括所述组态配置数据。According to the PDU transmission response, a wireless link is established between the master control device and the slave control device, wherein the wireless link is used to transmit relevant data for wireless industrial control, wherein the relevant data includes the configuration data.

可选地,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识以及所述从控设备的状态信息中的至少一项,所述传输通道标识为所述从控设备根据所述组态事件标识所确定的与所述PDU传输请求对应的逻辑信道的标识,处理器501还用于:Optionally, the identification information further includes a configuration event identifier, the PDU transmission response carries at least one of a transmission channel identifier and status information of the slave control device, the transmission channel identifier is an identifier of a logical channel corresponding to the PDU transmission request determined by the slave control device according to the configuration event identifier, and the processor 501 is further used to:

根据所述传输通道标识和所述状态信息中的至少一项,确定传输模式;Determine a transmission mode according to at least one of the transmission channel identifier and the state information;

根据所述传输模式,建立所述无线链路;Establishing the wireless link according to the transmission mode;

其中,所述组态事件标识用于指示所述组态配置数据和组态事件数据。The configuration event identifier is used to indicate the configuration data and configuration event data.

可选地,所述组态事件数据包括以下至少一项:Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

所述状态信息包括以下至少一项:The status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

可选地,所述标识信息还包括以下至少一项:Optionally, the identification information further includes at least one of the following:

无线链路指示标识。Wireless link indicator.

可选地,所述标识信息的携带方式包括以下至少一项:Optionally, the identification information is carried in at least one of the following ways:

通过空口高层协议携带所述标识信息;Carrying the identification information through an air interface high-level protocol;

通过接入层协议携带所述标识信息。The identification information is carried via an access layer protocol.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

根据预先获取的N个从控设备的N个地址信息,建立轮询表,所述轮询表包括按预设顺序排列的N个地址信息,N为正整数;Establishing a polling table according to N address information of N slave control devices acquired in advance, wherein the polling table includes N address information arranged in a preset order, where N is a positive integer;

所述发送PDU传输请求包括:The sending of the PDU transmission request comprises:

按所述轮询表中N个地址信息的排列顺序,依次向所述N个从控设备发送所述PDU传输请求。The PDU transmission request is sent to the N slave control devices in sequence according to the arrangement order of the N address information in the polling table.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

发送与所述组态事件标识对应的组态配置数据。Sending configuration data corresponding to the configuration event identifier.

可选地,所述相关数据还包括所述组态事件数据,处理器501还用于:Optionally, the relevant data further includes the configuration event data, and the processor 501 is further configured to:

接收第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收;Receiving first notification information, where the first notification information is used to notify that the reception of the configuration data has been completed;

发送与所述组态事件标识对应的组态事件数据。Sending configuration event data corresponding to the configuration event identifier.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

在接收到第二通知信息的情况下,释放所述无线链路,所述第二通知信息用于通知已完成对所述组态事件数据的接收。In case of receiving second notification information, the wireless link is released, where the second notification information is used to notify that the reception of the configuration event data has been completed.

或者,处理器501用于:Alternatively, the processor 501 is configured to:

接收协议数据单元PDU传输请求,所述PDU传输请求携带标识信息,所述标识信息包括PUD传输请求标识;receiving a protocol data unit (PDU) transmission request, wherein the PDU transmission request carries identification information, and the identification information includes a PDU transmission request identifier;

在所述PUD传输请求标识指示传输组态配置数据的情况下,发送对所述PDU传输请求的PDU传输响应。In a case where the PDU transmission request identifier indicates transmission of configuration data, a PDU transmission response to the PDU transmission request is sent.

可选地,所述标识信息还包括组态事件标识,所述PDU传输响应携带传输通道标识,以及状态信息中的至少一项,所述接收协议数据单元PDU传输请求之后,处理器501还用于:Optionally, the identification information further includes a configuration event identifier, the PDU transmission response carries a transmission channel identifier, and at least one item of the status information, and after receiving the protocol data unit PDU transmission request, the processor 501 is further used to:

根据所述组态事件标识,确定与所述PDU传输请求对应的逻辑信道的传输通道标识;Determine, according to the configuration event identifier, a transmission channel identifier of a logical channel corresponding to the PDU transmission request;

和/或,确定所述从控设备的状态信息;and/or, determining status information of the slave control device;

其中,所述组态事件标识用于指示所述组态配置数据和组态事件数据。The configuration event identifier is used to indicate the configuration data and configuration event data.

可选地,所述组态事件数据包括以下至少一项:Optionally, the configuration event data includes at least one of the following:

事件编号;Event number;

事件名称;Event name;

事件类型;Event type;

事件执行的次序;The order in which events are executed;

用于执行事件的变量;Variables used to execute events;

事件对象标识;Event object identifier;

同步对象标识;Synchronization object identifier;

所述状态信息包括以下至少一项:The status information includes at least one of the following:

时延信息;Delay information;

抖动信息;Jitter information;

丢包率信息;Packet loss rate information;

信号与干扰加噪声比SINR信息;Signal to Interference and Noise Ratio SINR information;

信道占用率信息。Channel occupancy information.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

接收与所述组态事件标识对应的组态配置数据;Receiving configuration data corresponding to the configuration event identifier;

根据所述组态配置数据,完成组态事件的初始化配置。According to the configuration data, the initialization configuration of the configuration event is completed.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

在完成对所述组态配置数据的接收的情况下,发送第一通知信息,所述第一通知信息用于通知已完成对所述组态配置数据的接收。When the reception of the configuration data is completed, first notification information is sent, where the first notification information is used to notify that the reception of the configuration data is completed.

可选地,处理器501还用于:Optionally, the processor 501 is further configured to:

接收与所述组态事件标识对应的组态事件数据;Receiving configuration event data corresponding to the configuration event identifier;

在完成对所述组态事件数据的接收的情况下,发送第二通知信息,并根据所述组态事件数据,进行工控管理,所述第二通知信息用于通知已完成对所述组态事件数据的接收。When the reception of the configuration event data is completed, second notification information is sent, and industrial control management is performed according to the configuration event data, wherein the second notification information is used to notify that the reception of the configuration event data has been completed.

本申请实施例提供的电子设备500能够实现本申请与图4或图7对应的无线工控方法实施例中能够实现的各个过程,以及达到相同的有益效果,为避免重复,在此不再赘述。The electronic device 500 provided in the embodiment of the present application can implement the various processes that can be implemented in the wireless industrial control method embodiment of the present application corresponding to Figure 4 or Figure 7, and achieve the same beneficial effects. To avoid repetition, it will not be repeated here.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述无线工控方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned wireless industrial control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims (19)

1. The wireless industrial control method is characterized by being applied to a master control device and comprising the following steps of:
Transmitting a protocol data unit PDU transmission request, wherein the PDU transmission request carries identification information, and the identification information comprises a PUD transmission request identification;
receiving a PDU transmission response, wherein the PDU transmission response is a response to the PDU transmission request by the slave device under the condition that the PDU identification indicates transmission configuration data;
And establishing a wireless link between the master control equipment and the slave control equipment according to the PDU transmission response, wherein the wireless link is used for transmitting related data for wireless industrial control, and the related data comprises the configuration data.
2. The method according to claim 1, wherein the identification information further includes a configuration event identification, the PDU transmission response carries at least one of a transmission channel identification and status information of the slave device, the transmission channel identification is an identification of a logical channel corresponding to the PDU transmission request determined by the slave device according to the configuration event identification, and the establishing a wireless link between the master device and the slave device according to the PDU transmission response includes:
Determining a transmission mode according to at least one of the transmission channel identification and the state information;
establishing the wireless link according to the transmission mode;
The configuration event identifier is used for indicating the configuration data and the configuration event data.
3. The method of claim 2, wherein the configuration event data comprises at least one of:
event numbering;
an event name;
Event type;
The order in which the events are executed;
a variable for executing an event;
event object identification;
synchronizing the object identification;
the status information includes at least one of:
Time delay information;
Dithering information;
Packet loss rate information;
signal to interference plus noise ratio SINR information;
Channel occupancy information.
4. The method of claim 1, wherein the identification information further comprises at least one of:
The radio link indicates the identity.
5. The method according to any one of claims 1 to 4, wherein the carrying manner of the identification information includes at least one of:
carrying the identification information through an air interface high-layer protocol;
And carrying the identification information through an access layer protocol.
6. The method of claim 1, wherein prior to the sending the PDU transmission request, the method further comprises:
According to N address information of N slave control devices obtained in advance, a polling list is established, wherein the polling list comprises N address information arranged according to a preset sequence, and N is a positive integer;
the sending a PDU transmission request includes:
and sequentially sending the PDU transmission requests to the N slave control devices according to the arrangement sequence of the N pieces of address information in the polling list.
7. A method according to claim 2 or 3, wherein after the establishment of the wireless link between the master device and the slave device, the method further comprises:
And sending configuration data corresponding to the configuration event identifier.
8. The method of claim 7, wherein the related data further comprises configuration event data, and wherein after the transmitting the configuration data corresponding to the configuration event identification, the method further comprises:
Receiving first notification information, wherein the first notification information is used for notifying that the configuration data is received;
and sending configuration event data corresponding to the configuration event identification.
9. The method of claim 8, wherein after the sending the configuration event data corresponding to the configuration event identification, the method further comprises:
and releasing the wireless link under the condition that second notification information is received, wherein the second notification information is used for notifying that the receiving of the configuration event data is completed.
10. A wireless industrial control method, which is applied to a slave device, comprising:
Receiving a protocol data unit PDU transmission request, wherein the PDU transmission request carries identification information, and the identification information comprises a PUD transmission request identification;
and sending a PDU transmission response to the PDU transmission request under the condition that the PUD transmission request identification indicates transmission configuration data.
11. The method of claim 10, wherein the identification information further comprises a configuration event identification, wherein the PDU transmission response carries at least one of a transmission channel identification, and status information, wherein after the receiving a PDU transmission request, the method further comprises, prior to the sending the PDU transmission response to the PDU transmission request:
Determining a transmission channel identifier of a logic channel corresponding to the PDU transmission request according to the configuration event identifier;
And/or determining state information of the slave device;
The configuration event identifier is used for indicating the configuration data and the configuration event data.
12. The method of claim 11, wherein the configuration event data comprises at least one of:
event numbering;
an event name;
Event type;
The order in which the events are executed;
a variable for executing an event;
event object identification;
synchronizing the object identification;
the status information includes at least one of:
Time delay information;
Dithering information;
Packet loss rate information;
signal to interference plus noise ratio SINR information;
Channel occupancy information.
13. The method of claim 11, wherein after said sending a PDU transmission response to said PDU transmission request, said method further comprises:
Receiving configuration data corresponding to the configuration event identifier;
and finishing initialization configuration of the configuration event according to the configuration data.
14. The method of claim 13, wherein after receiving the configuration data corresponding to the configuration event identification, the method further comprises:
and sending first notification information when the receiving of the configuration data is completed, wherein the first notification information is used for notifying that the receiving of the configuration data is completed.
15. The method of claim 14, wherein after the sending the first notification information, the method further comprises:
receiving configuration event data corresponding to the configuration event identification;
and under the condition that the receiving of the configuration event data is completed, sending second notification information, and carrying out industrial control management according to the configuration event data, wherein the second notification information is used for notifying that the receiving of the configuration event data is completed.
16. A wireless industrial control device, comprising:
The device comprises a first sending module, a second sending module and a second sending module, wherein the first sending module is used for sending a protocol data unit PDU transmission request, the PDU transmission request carries identification information, and the identification information comprises a PUD transmission request identification;
A first receiving module, configured to receive a PDU transmission response, where the PDU transmission response is a response to the PDU transmission request by the slave device when the PDU identifier indicates transmission configuration data;
the establishing module is used for establishing a wireless link between the master control equipment and the slave control equipment according to the PDU transmission response, wherein the wireless link is used for transmitting related data for wireless industrial control, and the related data comprises the configuration data.
17. A wireless industrial control device, comprising:
The second receiving module is used for receiving a protocol data unit PDU transmission request, wherein the PDU transmission request carries identification information, and the identification information comprises a PUD transmission request identification;
And the second sending module is used for sending a PDU transmission response to the PDU transmission request under the condition that the PUD transmission request identification indicates transmission configuration data.
18. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the steps in the wireless industrial control method of any one of claims 1 to 15.
19. A readable storage medium, characterized in that it has stored thereon a program, which when executed by a processor, implements the steps of the wireless industrial control method according to any of claims 1 to 15.
CN202211630664.7A 2022-12-19 2022-12-19 Wireless industrial control method, device, electronic equipment and storage medium Pending CN118234059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211630664.7A CN118234059A (en) 2022-12-19 2022-12-19 Wireless industrial control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211630664.7A CN118234059A (en) 2022-12-19 2022-12-19 Wireless industrial control method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118234059A true CN118234059A (en) 2024-06-21

Family

ID=91499487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211630664.7A Pending CN118234059A (en) 2022-12-19 2022-12-19 Wireless industrial control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118234059A (en)

Similar Documents

Publication Publication Date Title
US11627493B2 (en) Supporting the fulfilment of E2E QoS requirements in TSN-3GPP network integration
Thubert et al. 6TiSCH centralized scheduling: When SDN meet IoT
US8942219B2 (en) Support for network management and device communications in a wireless network
CN102237718B (en) Method and device of operating wind power electric field power network with improved data transmission protocol
CN113630893B (en) 5G and TSN joint scheduling method based on wireless channel information
US12212454B2 (en) Data transmission method and system in time-sensitive network
JP2009507422A (en) Media access control architecture
CN113923265B (en) Terminal computing gateway protocol conversion system and method
JP2021505020A (en) Frame aggregation method, network setting Frame transmission method and device
US11522762B2 (en) Coordination device and method for providing control applications via a communication network for transmitting time-critical data
CN115242707B (en) Data communication method and device, storage medium, terminal
US11442432B2 (en) Communication device and method for data transmission within an industrial communication network
CN108809949A (en) The method converted and dispatched between profinet, FF H1, CAN and profibus agreements
CN102624620B (en) A kind of transmission system of the Ethernet transmission method based on token frame
Miorandi et al. A wireless extension of Profibus DP based on the Bluetooth radio system
CN115174370B (en) Distributed mixed data deterministic transmission device and method
CN118234059A (en) Wireless industrial control method, device, electronic equipment and storage medium
US20200287743A1 (en) Method for transmitting data and system comprising communicating entity
Cavalieri Modelling and analysing congestion in KNXnet/IP
CN117652201A (en) Overload of broadcast dwell intervals in an asynchronous channel hopping mesh network
US12267248B2 (en) Network infrastructure device, communication terminal and method for synchronizing control applications via a communication network for transferring time-critical data
WO2019234773A1 (en) Integration method among data communication networks with wireless mesh and can bus technology
US20230090803A1 (en) Network Infrastructure Device, Communication Terminal and Method for Synchronizing Control Applications via a Communication Network for Transferring Time-Critical Data
JP4671349B2 (en) Parameter setting system and method
US20250039729A1 (en) Implementing Deterministic Traffic Delivery in a Time-Sensitive Networking System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination