Movatterモバイル変換


[0]ホーム

URL:


CN115514825A - Industrial Internet of things management method and device, storage medium and electronic equipment - Google Patents

Industrial Internet of things management method and device, storage medium and electronic equipment
Download PDF

Info

Publication number
CN115514825A
CN115514825ACN202211124605.2ACN202211124605ACN115514825ACN 115514825 ACN115514825 ACN 115514825ACN 202211124605 ACN202211124605 ACN 202211124605ACN 115514825 ACN115514825 ACN 115514825A
Authority
CN
China
Prior art keywords
digital twin
traffic management
data packet
rule
data
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.)
Granted
Application number
CN202211124605.2A
Other languages
Chinese (zh)
Other versions
CN115514825B (en
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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp LtdfiledCriticalChina Telecom Corp Ltd
Priority to CN202211124605.2ApriorityCriticalpatent/CN115514825B/en
Publication of CN115514825ApublicationCriticalpatent/CN115514825A/en
Application grantedgrantedCritical
Publication of CN115514825BpublicationCriticalpatent/CN115514825B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The disclosure provides an industrial internet of things management method, an industrial internet of things management device, a storage medium and electronic equipment; relates to the technical field of industrial Internet of things. The method comprises the following steps: the device digital twin body converts original data transmitted by corresponding physical devices into a first data packet in a preset format; the equipment digital twin management module performs data expansion on the first data packet by using a first traffic management rule to obtain a second data packet; the network controller updates the first traffic management rule according to the current network quality to obtain a second traffic management rule; the device digital twin management module adjusts the extension data in the second data packet according to a second traffic management rule. The system communication is carried out by using the enhanced data packet, and the flow management rule of the system is adaptively adjusted according to the real-time network environment, so that the production efficiency and the reliability of the industrial Internet of things system are improved.

Description

Translated fromChinese
工业物联网管理方法、装置、存储介质及电子设备Industrial internet of things management method, device, storage medium and electronic equipment

技术领域technical field

本公开涉及工业物联网技术领域,具体而言,涉及一种工业物联网管理方法、工业物联网管理装置、计算机可读存储介质以及电子设备。The present disclosure relates to the technical field of the Industrial Internet of Things, and in particular, to an Industrial Internet of Things management method, an Industrial Internet of Things management device, a computer-readable storage medium, and electronic equipment.

背景技术Background technique

工业物联网的发展使得制造业朝着智能化和数字化方向改进,能够极大地提高生产效率。现阶段,复杂的工业物联网系统通常是由分布在不同物理地点、具备多种传输协议和数据格式的多个异构物理设备相互协同,实现如制造、组装等复杂的工业生产任务,而且对生产质量、生产安全等有较高的要求。The development of the Industrial Internet of Things has improved the manufacturing industry towards intelligence and digitization, which can greatly improve production efficiency. At this stage, complex industrial IoT systems are usually composed of multiple heterogeneous physical devices that are distributed in different physical locations and have multiple transmission protocols and data formats to cooperate with each other to realize complex industrial production tasks such as manufacturing and assembly. There are high requirements for production quality and production safety.

目前,工业生产的网络异构性使得工业物联网系统的网络环境较为复杂,网络质量波动可能会降低系统的生产效率及可靠性。At present, the network heterogeneity of industrial production makes the network environment of the industrial Internet of Things system more complicated, and the fluctuation of network quality may reduce the production efficiency and reliability of the system.

需要说明的是,在上述背景技术部分公开的信息仅用于加强对本公开的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only for enhancing the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to those of ordinary skill in the art.

发明内容Contents of the invention

本公开提供一种工业物联网管理方法、工业物联网管理装置、计算机可读存储介质以及电子设备,进而至少在一定程度上克服相关技术中由于网络质量波动导致工业物联网系统的生产效率和可靠性均较低的问题。The present disclosure provides an industrial Internet of Things management method, an industrial Internet of Things management device, a computer-readable storage medium, and an electronic device, thereby at least to a certain extent overcoming the production efficiency and reliability of the industrial Internet of Things system caused by network quality fluctuations in related technologies. lower gender issues.

根据本公开的第一方面,提供一种工业物联网管理方法,包括:According to a first aspect of the present disclosure, there is provided an industrial Internet of Things management method, including:

设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;The device digital twin converts the raw data imported by the corresponding physical device into a first data packet in a preset format, and sends the first data packet to the device digital twin management module;

所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;The device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet;

所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;The network controller updates the first traffic management rule according to the current network quality to obtain a second traffic management rule, and sends the second traffic management rule to the device digital twin management module;

所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。The device digital twin management module adjusts the extended data in the second data packet according to the second traffic management rule.

在本公开的一种示例性实施例中,所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展之前,所述方法还包括:In an exemplary embodiment of the present disclosure, before the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet, the method further includes:

系统数字孪生集管理模块将所述设备数字孪生体聚合至新激活的系统数字孪生集中;The system digital twin set management module aggregates the equipment digital twin into the newly activated system digital twin set;

所述网络控制器根据所述系统数字孪生集中所述设备数字孪生体的服务质量参数生成所述第一流量管理规则,并将所述第一流量管理规则下发至网络控制代理;The network controller generates the first traffic management rule according to the quality of service parameters of the device digital twin in the system digital twin set, and sends the first traffic management rule to a network control agent;

其中,所述第一流量管理规则至少包括流量管理规则标识、丢包率、最大延时和规则优先级。Wherein, the first traffic management rule includes at least a traffic management rule identifier, a packet loss rate, a maximum delay, and a rule priority.

在本公开的一种示例性实施例中,所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包,包括:In an exemplary embodiment of the present disclosure, the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet, including :

所述设备数字孪生体管理模块通过所述网络控制代理获取所述第一流量管理规则;The device digital twin management module obtains the first traffic management rule through the network control agent;

当所述设备数字孪生体执行对应的系统任务后,将所述第一流量管理规则添加至所述第一数据包中,得到所述第二数据包,所述第二数据包至少包括所述第一数据包关联的工业物联网系统标识、丢包率、最大延时和所述设备数字孪生体的优先级。After the device digital twin executes the corresponding system task, the first traffic management rule is added to the first data packet to obtain the second data packet, the second data packet includes at least the The industrial Internet of Things system identification, packet loss rate, maximum delay and priority of the digital twin of the device associated with the first data packet.

在本公开的一种示例性实施例中,所述网络控制器根据当前网络质量更新所述第一流量管理规则,包括:In an exemplary embodiment of the present disclosure, the network controller updates the first traffic management rule according to the current network quality, including:

当所述当前网络的目标服务质量参数小于所述系统数字孪生集中各所述设备数字孪生体的目标服务质量参数时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述当前网络的目标服务质量参数。When the target quality of service parameter of the current network is less than the target quality of service parameter of each of the device digital twins in the system digital twin set, the network controller sets the device digital twin in the first traffic management rule The target QoS parameter of the entity is assigned as the target QoS parameter of the current network.

在本公开的一种示例性实施例中,所述网络控制器根据当前网络质量更新所述第一流量管理规则,包括:In an exemplary embodiment of the present disclosure, the network controller updates the first traffic management rule according to the current network quality, including:

当所述当前网络的目标服务质量参数大于所述系统数字孪生集中任一所述设备数字孪生体的目标服务质量参数时,确定所述设备数字孪生体的优先级所属的优先级区间;When the target quality of service parameter of the current network is greater than the target quality of service parameter of any of the device digital twins in the system digital twin set, determine the priority interval to which the priority of the device digital twin belongs;

当所述设备数字孪生体的优先级位于第一优先级区间或第三优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述系统数字孪生集中所述设备数字孪生体的目标服务质量参数;When the priority of the digital twin of the device is in the first priority range or the third priority range, the network controller assigns a target quality of service parameter of the digital twin of the device in the first traffic management rule centralizing target quality of service parameters for said equipment digital twin for said system digital twin;

当所述设备数字孪生体的优先级位于第二优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述当前网络的目标服务质量参数。When the priority of the device digital twin is in the second priority interval, the network controller assigns the target quality of service parameter of the device digital twin in the first traffic management rule to the current network The target quality of service parameter.

在本公开的一种示例性实施例中,所述方法还包括:In an exemplary embodiment of the present disclosure, the method further includes:

当所述设备数字孪生体执行对应的系统任务出现异常时,系统数字孪生体管理模块根据接收到的异常数据更新所述系统数字孪生集,并通过所述网络控制器更新所述第一流量管理规则或所述第二流量管理规则。When the corresponding system task of the equipment digital twin is abnormal, the system digital twin management module updates the system digital twin set according to the received abnormal data, and updates the first traffic management through the network controller rule or the second traffic management rule.

在本公开的一种示例性实施例中,所述系统数字孪生体管理模块根据接收到的异常数据更新所述系统数字孪生集,并通过所述网络控制器更新所述第一流量管理规则或所述第二流量管理规则,包括:In an exemplary embodiment of the present disclosure, the system digital twin management module updates the system digital twin set according to the received abnormal data, and updates the first traffic management rule or The second traffic management rule includes:

所述系统数字孪生体管理模块根据与所述异常数据对应的目标设备数字孪生体更新所述系统数字孪生集,并通过所述网络控制器根据所述目标设备数字孪生体的服务质量参数更新所述第一流量管理规则或所述第二流量管理规则。The system digital twin management module updates the system digital twin set according to the target device digital twin corresponding to the abnormal data, and updates the set of system digital twins according to the service quality parameters of the target device digital twin through the network controller. The first traffic management rule or the second traffic management rule.

根据本公开的第二方面,提供一种工业物联网管理装置,包括:According to a second aspect of the present disclosure, an industrial Internet of Things management device is provided, including:

数据转化模块,用于设备数字孪生体将目标物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;The data conversion module is used for the equipment digital twin to convert the raw data imported by the target physical equipment into a first data packet in a preset format, and send the first data packet to the equipment digital twin management module;

数据增强模块,用于所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;The data enhancement module is used for the device digital twin management module to perform data expansion on the first data packet by using the first traffic management rule issued by the network controller to obtain the second data packet;

规则更新模块,用于所述网络控制器根据所述目标物理设备的当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;A rule updating module, configured for the network controller to update the first traffic management rule according to the current network quality of the target physical device, obtain a second traffic management rule, and issue the second traffic management rule to the The digital twin management module of the above-mentioned equipment;

数据调整模块,用于所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。A data adjustment module, configured for the device digital twin management module to adjust the extended data in the second data packet according to the second traffic management rule.

根据本公开的第三方面,提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一项所述的工业物联网管理方法。According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the industrial Internet of Things management method described in any one of the above is implemented.

根据本公开的第四方面,提供一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的可执行指令;其中,所述处理器配置为经由执行所述可执行指令来执行上述任意一项所述的工业物联网管理方法。According to a fourth aspect of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the executable instructions to Execute the industrial internet of things management method described in any one of the above.

本公开示例性实施例可以具有以下部分或全部有益效果:Exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:

在本公开示例实施方式所提供的工业物联网管理方法中,通过设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。本公开在包含分布式架构的工业物联网系统中,使用增强数据包进行系统通信,并根据实时网络环境自适应调整系统的流量管理规则,可以降低网络质量波动对系统生产效率的影响,从而提升系统的生产效率和可靠性。而且,通过设备数字孪生体与物理实体之间的信息交互,可以实现对系统内各设备的智能化控制,从而进一步提升系统的生产效率和可靠性。In the industrial Internet of Things management method provided by the exemplary embodiment of the present disclosure, the raw data imported by the corresponding physical device is converted into a first data packet in a preset format through the digital twin of the device, and the first data packet is sent to the device digital twin management module; the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet; the network control The device updates the first traffic management rule according to the current network quality, obtains the second traffic management rule, and sends the second traffic management rule to the device digital twin management module; the device digital twin management module adjusting the extended data in the second data packet according to the second traffic management rule. In the industrial Internet of Things system including a distributed architecture, the present disclosure uses enhanced data packets for system communication, and adaptively adjusts the traffic management rules of the system according to the real-time network environment, which can reduce the impact of network quality fluctuations on system production efficiency, thereby improving System productivity and reliability. Moreover, through the information interaction between the equipment digital twin and the physical entity, the intelligent control of each equipment in the system can be realized, thereby further improving the production efficiency and reliability of the system.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure. Apparently, the drawings in the following description are only some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings according to these drawings without creative efforts.

图1示出了可以应用本公开实施例的工业物联网管理方法的系统架构示意图;FIG. 1 shows a schematic diagram of a system architecture of an industrial Internet of Things management method that can be applied to an embodiment of the present disclosure;

图2示意性示出了本公开实施例中一种工业物联网管理方法的流程图;FIG. 2 schematically shows a flow chart of an industrial Internet of Things management method in an embodiment of the present disclosure;

图3示意性示出了本公开实施例中一种生成增强数据包流程的结构示意图;FIG. 3 schematically shows a schematic structural diagram of a process for generating an enhanced data packet in an embodiment of the present disclosure;

图4示意性示出了本公开实施例中一种更新流量管理规则的流程图;Fig. 4 schematically shows a flow chart of updating traffic management rules in an embodiment of the present disclosure;

图5示意性示出了根据本公开实施例中又一种工业物联网管理方法的的流程图;FIG. 5 schematically shows a flow chart of another industrial Internet of Things management method according to an embodiment of the present disclosure;

图6示意性示出了本公开实施例中一种工业物联网管理装置的框图;FIG. 6 schematically shows a block diagram of an industrial Internet of Things management device in an embodiment of the present disclosure;

图7示出了适于用来实现本公开实施例的电子设备的结构示意图。FIG. 7 shows a schematic structural diagram of an electronic device suitable for implementing the embodiments of the present disclosure.

具体实施方式detailed description

现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.

此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different network and/or processor means and/or microcontroller means.

以下对本公开实施例的技术方案进行详细阐述:The technical solutions of the embodiments of the present disclosure are described in detail below:

图1示出了可以应用本公开实施例的一种工业物联网管理方法的系统架构的示意图。Fig. 1 shows a schematic diagram of a system architecture of an industrial Internet of Things management method to which an embodiment of the present disclosure can be applied.

如图1所示,工业物联网系统100分布式部署在边缘云和多个边缘节点(边缘节点1、…、边缘节点N)。每个边缘节点包含多个设备数字孪生体(Digital Twin,简称DT,如DT1、DT2、…、DTn)、设备数字孪生体管理模块(Digital Twin Management Module,简称DT-M)和网络控制代理(Network Control Agent,简称NC-A)。边缘云包括多个系统数字孪生集(System Digital Twin,简称S-DT,如S-DT1、S-DT2、…、S-DTn)、系统数字孪生集管理模块(System Digital Twin Management Module,简称S-DT-M)和网络控制器(NetworkControl,简称NC)。应该理解,图1中的边缘节点、设备数字孪生体和系统数字孪生集等的数目仅仅是示意性的。根据实现需要,可以具有任意数目的边缘节点、设备数字孪生体和系统数字孪生集等。As shown in FIG. 1 , an industrial Internet ofThings system 100 is distributed and deployed on an edge cloud and multiple edge nodes (edge node 1, ..., edge node N). Each edge node includes multiple device digital twins (Digital Twin, DT for short, such as DT1 , DT2 , ..., DTn ), a device digital twin management module (Digital Twin Management Module, DT-M for short) and network Control agent (Network Control Agent, NC-A for short). The edge cloud includes multiple system digital twin sets (System Digital Twin, referred to as S-DT, such as S-DT1 , S-DT2 , ..., S-DTn ), system digital twin set management module (System Digital Twin Management Module , referred to as S-DT-M) and network controller (NetworkControl, referred to as NC). It should be understood that the numbers of edge nodes, device digital twins and system digital twin sets in Fig. 1 are only illustrative. According to the implementation requirements, there can be any number of edge nodes, equipment digital twins and system digital twin sets, etc.

其中,设备数字孪生体为物理设备(Physical Device,简称PD,如PD1、…、PDn)的数字化表征,用于表征对应的物理设备生产相关的所有数据。举例而言,设备数字孪生体DT1对应于物理设备PD1,设备数字孪生体DTn对应于物理设备PDn,物理设备PD1和物理设备PD1可以是工业生产所需的如机械臂、摄像机等任意一种物联网设备,本公开对此不做具体限定。Among them, the device digital twin is a digital representation of a physical device (Physical Device, PD for short, such as PD1 , ..., PDn ), and is used to represent all data related to the production of the corresponding physical device. For example, the equipment digital twin DT1 corresponds to the physical equipment PD1 , the equipment digital twin DTn corresponds to the physical equipment PDn , the physical equipment PD1 and the physical equipment PD1 can be required for industrial production such as mechanical arms, Any IoT device such as a camera, which is not specifically limited in the present disclosure.

设备数字孪生体管理模块用于配置、实例化以及处理边缘节点上所有设备数字孪生体的生命周期,设备数字孪生体管理模块通过与系统数字孪生集管理模块进行交互,实现对设备数字孪生体的指令下达和数据反馈。The device digital twin management module is used to configure, instantiate, and process the life cycle of all device digital twins on the edge node. The device digital twin management module interacts with the system digital twin set management module to realize the device digital twin Command issuing and data feedback.

系统数字孪生集为根据生产需求聚合多个设备数字孪生体形成的数字孪生体集合,用于实现复杂的IIoT(Industrial Internet of Things,工业物联网)生产系统。The system digital twin set is a set of digital twins formed by aggregating multiple equipment digital twins according to production requirements, and is used to realize complex IIoT (Industrial Internet of Things, Industrial Internet of Things) production systems.

系统数字孪生集管理模块用于负责系统数字孪生集的创建及管理;通过与各边缘节点的网络控制代理通信,并收集各边缘节点的物理设备及对应设备数字孪生体的网络位置、功能等信息;与各边缘节点的设备数字孪生体管理模块通信,动态调整系统数字孪生集的配置,并下达指令至对应的设备数字孪生体执行,从而实现系统数字孪生集的动态重构,满足柔性制造需求。The system digital twin set management module is responsible for the creation and management of the system digital twin set; communicates with the network control agent of each edge node, and collects the physical equipment of each edge node and the network location and function of the corresponding equipment digital twin ; Communicate with the equipment digital twin management module of each edge node, dynamically adjust the configuration of the system digital twin set, and issue instructions to the corresponding equipment digital twin for execution, so as to realize the dynamic reconstruction of the system digital twin set and meet the needs of flexible manufacturing .

网络控制模块由部署在边缘云的网络控制器和部署在边缘节点的网络控制代理组成。其中,网络控制代理与网络控制器通信,向网络控制器发送边缘节点的网络、计算、存储等信息;接收并执行网络控制器下达的流量管理规则,实现应用层面的动态流量管理。网络控制器与各边缘节点的网络控制代理通信,获取各边缘节点的网络数据,并形成整体网络拓扑;基于IIoT生产系统中系统数字孪生集的QoS(Quality of Service,服务质量)要求,激活并分配流量管理规则至各边缘节点的网络控制代理执行。The network control module is composed of a network controller deployed in the edge cloud and a network control agent deployed in the edge node. Among them, the network control agent communicates with the network controller, sends edge node network, computing, storage and other information to the network controller; receives and executes the traffic management rules issued by the network controller, and realizes dynamic traffic management at the application level. The network controller communicates with the network control agent of each edge node to obtain the network data of each edge node and form the overall network topology; based on the QoS (Quality of Service) requirements of the system digital twin set in the IIoT production system, activate and Distribute traffic management rules to the network control agent execution of each edge node.

本公开示例实施方式提供了一种工业物联网管理方法,可以实现对工业物联网的自适应流量管理。参考图2所示,该工业物联网管理方法可以包括以下步骤S210至步骤S240:An exemplary embodiment of the present disclosure provides a management method for the Industrial Internet of Things, which can realize adaptive traffic management for the Industrial Internet of Things. Referring to FIG. 2, the industrial Internet of Things management method may include the following steps S210 to S240:

步骤S210.设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;Step S210. The device digital twin converts the raw data imported by the corresponding physical device into a first data packet in a preset format, and sends the first data packet to the device digital twin management module;

步骤S220.所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;Step S220. The device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet;

步骤S230.所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;Step S230. The network controller updates the first traffic management rule according to the current network quality to obtain a second traffic management rule, and sends the second traffic management rule to the device digital twin management module;

步骤S240.所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。Step S240. The device digital twin management module adjusts the extended data in the second data packet according to the second traffic management rule.

在本公开示例实施方式所提供的工业物联网管理方法中,通过设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。本公开在包含分布式架构的工业物联网系统中,使用增强数据包进行系统通信,并根据实时网络环境自适应调整系统的流量管理规则,可以降低网络质量波动对系统生产效率的影响,从而提升系统的生产效率和可靠性。而且,通过设备数字孪生体与物理实体之间的信息交互,可以实现对系统内各设备的智能化控制,从而进一步提升系统的生产效率和可靠性。In the industrial Internet of Things management method provided by the exemplary embodiment of the present disclosure, the raw data imported by the corresponding physical device is converted into a first data packet in a preset format through the digital twin of the device, and the first data packet is sent to the device digital twin management module; the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet; the network control The device updates the first traffic management rule according to the current network quality, obtains the second traffic management rule, and sends the second traffic management rule to the device digital twin management module; the device digital twin management module adjusting the extended data in the second data packet according to the second traffic management rule. In the industrial Internet of Things system including a distributed architecture, the present disclosure uses enhanced data packets for system communication, and adaptively adjusts the traffic management rules of the system according to the real-time network environment, which can reduce the impact of network quality fluctuations on system production efficiency, thereby improving System productivity and reliability. Moreover, through the information interaction between the equipment digital twin and the physical entity, the intelligent control of each equipment in the system can be realized, thereby further improving the production efficiency and reliability of the system.

下面,对于本示例实施方式的上述步骤进行更加详细的说明。Next, the above-mentioned steps of this exemplary embodiment will be described in more detail.

在步骤S210中,设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块。In step S210, the device digital twin converts the raw data input by the corresponding physical device into a first data packet in a preset format, and sends the first data packet to the device digital twin management module.

本公开示例实施方式中,以SMT(Surface Mounted Technology,表面贴装技术)生产系统为例进行说明。SMT生产系统中的物理设备可以是锡膏印刷机、质检设备、辅助质检IP(Internet Protocol,网络协议)相机等。在系统启动阶段,技术人员可以激活与SMT生产系统中各物理设备对应的设备数字孪生体。例如,可以激活锡膏印刷机数字孪生体(Print-DT)、质检设备数字孪生体(QInsp-DT)、摄像头数字孪生体(Cam-DT)。其中,数字孪生是以数字化方式创建物理实体的虚拟模型,借助数据模拟物理实体在现实环境中的行为,通过虚实交互反馈、数据融合分析、决策迭代优化等手段,为物理实体增加或扩展新的能力。In the exemplary embodiments of the present disclosure, an SMT (Surface Mounted Technology, Surface Mount Technology) production system is taken as an example for illustration. The physical equipment in the SMT production system may be a solder paste printing machine, quality inspection equipment, an auxiliary quality inspection IP (Internet Protocol, network protocol) camera, and the like. During the system start-up phase, technicians can activate the equipment digital twin corresponding to each physical equipment in the SMT production system. For example, digital twins of solder paste printing machines (Print-DT), digital twins of quality inspection equipment (QInsp-DT), and digital twins of cameras (Cam-DT) can be activated. Among them, the digital twin is to create a virtual model of a physical entity in a digital way, use data to simulate the behavior of the physical entity in the real environment, and add or expand new features for the physical entity through means such as virtual-real interactive feedback, data fusion analysis, and decision-making iterative optimization. ability.

新激活的各个设备数字孪生体可以与对应的物理设备建立通信连接,以将各物理设备传入的原始数据转化为预设格式的第一数据包。其中,各物理设备传入的原始数据可以包括设备唯一标识、设备名称、状态信息等设备基本信息,预设格式可以是SenML(SensorMarkup Language,传感器标记语言)格式,对应的第一数据包为SenML数据包。The newly activated digital twins of each device can establish a communication connection with the corresponding physical device, so as to convert the raw data incoming from each physical device into a first data packet in a preset format. Among them, the original data imported by each physical device can include basic information such as the unique device identifier, device name, and status information. The preset format can be SenML (SensorMarkup Language, sensor markup language) format, and the corresponding first data packet is SenML data pack.

具体地,各个设备数字孪生体可以根据预设传输协议和预设通信模式与对应的物理设备建立通信连接。例如,Print-DT与锡膏印刷机建立通信连接,QInsp-DT与质检设备建立通信连接,Cam-DT与辅助质检IP相机建立通信连接。其中,预设传输协议可以是IoT(Internet of Things,物联网)传输协议,如ModBus(一种工业通信协议)协议、MQTT(Message Queue Telemetry Transport,消息队列遥测传输)协议等,预设通信模式可以是Restful(Representational State Transfer,表现层状态转化)模式、发布-订阅模式等,本公开对传输协议和通信模式不做具体限定。Specifically, each device digital twin can establish a communication connection with the corresponding physical device according to a preset transmission protocol and a preset communication mode. For example, Print-DT establishes communication connection with solder paste printing machine, QInsp-DT establishes communication connection with quality inspection equipment, and Cam-DT establishes communication connection with auxiliary quality inspection IP camera. Wherein, the preset transmission protocol can be IoT (Internet of Things, Internet of Things) transmission protocol, such as ModBus (an industrial communication protocol) protocol, MQTT (Message Queue Telemetry Transport, message queue telemetry transmission) protocol, etc., and the preset communication mode It may be a Restful (Representational State Transfer, presentation layer state transformation) mode, a publish-subscribe mode, etc. The present disclosure does not specifically limit the transmission protocol and communication mode.

举例而言,对于设备数字孪生体为Print-DT,对应的物理设备为锡膏印刷机。Print-DT接收到锡膏印刷机传入的原始数据后,可以将原始数据转化为SenML数据包,SenML数据包中可以包括时间戳“t”、测量值“v”、设备名称“n”和数据单元“u”等信息。例如,一种SenML数据包为[{“n”:“urn:dev:10e1033”,“t”:0,“u”:“V”,“v”:120.1}],表示物理设备的名称为10e1033,时间戳为0,数据单元为V,测量值为120.1。For example, the digital twin of the device is Print-DT, and the corresponding physical device is a solder paste printing machine. After Print-DT receives the raw data from the solder paste printing machine, it can convert the raw data into SenML data packets. The SenML data packets can include timestamp "t", measured value "v", device name "n" and Data unit "u" and other information. For example, a SenML packet is [{"n":"urn:dev:10e1033", "t":0, "u":"V", "v":120.1}], indicating that the name of the physical device is 10e1033, the timestamp is 0, the data unit is V, and the measured value is 120.1.

各个设备数字孪生体将对应的物理设备传入的原始数据转化成SenML数据包后,可以将SenML数据包发送至设备数字孪生体管理模块,以通过设备数字孪生体管理模块增强SenML数据包。本公开实施例中,基于设备数字孪生体与物理设备的虚实交互,可以实现设备数字孪生体管理模块与物理设备的互联互通,便于后续实现对工业物联网系统内各物理设备的智能化控制。After the digital twin of each device converts the raw data imported by the corresponding physical device into a SenML data packet, the SenML data packet can be sent to the device digital twin management module to enhance the SenML data packet through the device digital twin management module. In the embodiment of the present disclosure, based on the virtual-real interaction between the equipment digital twin and the physical equipment, the interconnection and intercommunication between the equipment digital twin management module and the physical equipment can be realized, which facilitates subsequent intelligent control of each physical equipment in the industrial Internet of Things system.

在步骤S220中,所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包。In step S220, the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet.

一种示例实施方式中,系统数字孪生集管理模块可以将设备数字孪生体聚合至新激活的系统数字孪生集中。然后,网络控制器根据系统数字孪生集中设备数字孪生体的服务质量参数初始化第一流量管理规则,并将第一流量管理规则下发至网络控制代理执行该规则。其中,设备数字孪生体的服务质量参数是指设备数字孪生体的QoS要求,QoS要求中的参数可以至少包括pck_loss_rate(丢包率)、latency(最大延时)和priority(优先级)。需要说明的是,该示例中的设备数字孪生体为新激活的设备数字孪生体,如Print-DT、QInsp-DT和Cam-DT等。In an example implementation, the system digital twin set management module can aggregate the equipment digital twin into the newly activated system digital twin set. Then, the network controller initializes the first traffic management rule according to the quality of service parameters of the digital twin of the system digital twin centralized device, and sends the first traffic management rule to the network control agent to execute the rule. Among them, the QoS parameter of the device digital twin refers to the QoS requirement of the device digital twin, and the parameters in the QoS requirement may include at least pck_loss_rate (packet loss rate), latency (maximum delay) and priority (priority). It should be noted that the device digital twins in this example are newly activated device digital twins, such as Print-DT, QInsp-DT, and Cam-DT.

系统数字孪生集管理模块发现新激活的各个设备数字孪生体时,可以存储各个设备数字孪生体的网络位置、能力等信息。技术人员通过与系统数字孪生集管理模块进行交互,可以激活一个系统数字孪生集。根据实际生产需求,激活的系统数字孪生集中可以是空集,也可以包括其它设备数字孪生体,本公开对此不做限定。例如,在SMT生产系统中,激活的系统数字孪生集为SMT产线数字孪生集S-DT-smt,可以根据保证系统正常运行的设备最小化准则将Print-DT、QInsp-DT纳入S-DT-smt中。同时,系统数字孪生集管理模块还可以提供S-DT-smt中各个设备数字孪生体的QoS要求,如表1所示:When the system digital twin set management module discovers newly activated digital twins of each device, it can store information such as the network location and capabilities of each device digital twin. A technician can activate a system digital twin set by interacting with the system digital twin set management module. According to actual production requirements, the activated system digital twin set may be an empty set, or may include other equipment digital twins, which is not limited in this disclosure. For example, in the SMT production system, the activated system digital twin set is the SMT production line digital twin set S-DT-smt, and Print-DT and QInsp-DT can be incorporated into S-DT according to the equipment minimization criteria to ensure the normal operation of the system -smt. At the same time, the system digital twin set management module can also provide the QoS requirements of each device digital twin in S-DT-smt, as shown in Table 1:

表1Table 1

Print-DT流量QoS要求QoS requirements for Print-DT trafficQInsp-DT流量QoS要求QInsp-DT traffic QoS requirementspck_loss_rate_qos:5%pck_loss_rate_qos: 5%pck_loss_rate_qos:20%pck_loss_rate_qos: 20%latency_qos:20mslatency_qos: 20mslatency_qos:100mslatency_qos: 100mspriority:1priority: 1priority:2priority: 2

在表1中,Print-DT的流量QoS要求包括丢包率:5%、最大延时:20ms和优先级:1;QInsp-DT的流量QoS要求包括丢包率:20%、最大延时:100ms和优先级:2。由表1可知,Print-DT对网络质量的要求(丢包率:5%、最大延时:20ms)高于QInsp-DT对网络质量的要求(丢包率:20%、最大延时:100ms),因此,Print-DT的优先级高于QInsp-DT,并设置Print-DT的优先级等级为1,QInsp-DT的优先级等级为2。In Table 1, the traffic QoS requirements of Print-DT include packet loss rate: 5%, maximum delay: 20ms and priority: 1; the traffic QoS requirements of QInsp-DT include packet loss rate: 20%, maximum delay: 100ms and Priority: 2. It can be seen from Table 1 that Print-DT's requirements for network quality (packet loss rate: 5%, maximum delay: 20ms) are higher than QInsp-DT's requirements for network quality (packet loss rate: 20%, maximum delay: 100ms ), therefore, the priority of Print-DT is higher than that of QInsp-DT, and the priority level of Print-DT is set to 1, and the priority level of QInsp-DT is set to 2.

网络控制器从系统数字孪生集管理模块获取IIoT生产系统的系统数字孪生集中各设备数字孪生体的QoS要求后,可以根据各设备数字孪生体的QoS要求生成各设备数字孪生体的第一流量管理规则。其中,第一流量管理规则至少包括流量管理规则标识、丢包率、最大延时和规则优先级。例如,可以根据如表1所示的各个设备数字孪生体的QoS要求,生成如表2所示的第一流量管理规则:After the network controller obtains the QoS requirements of each equipment digital twin in the system digital twin set management module of the IIoT production system, it can generate the first flow management of each equipment digital twin according to the QoS requirements of each equipment digital twin rule. Wherein, the first flow management rule includes at least a flow management rule identifier, a packet loss rate, a maximum delay, and a rule priority. For example, the first traffic management rule shown in Table 2 can be generated according to the QoS requirements of each device digital twin shown in Table 1:

表2Table 2

Print-DT第一流量管理规则Print-DT first flow management ruleQInsp-DT第一流量管理规则QInsp-DT first traffic management rulepck_loss_rate:5%pck_loss_rate: 5%pck_loss_rate:20%pck_loss_rate: 20%latency:20mslatency: 20mslatency:100mslatency: 100mspriority:1priority: 1priority:2priority: 2

在表2中,与表1对应,Print-DT第一流量管理规则包括丢包率:5%、最大延时:20ms和规则优先级:1;QInsp-DT第一流量管理规则包括丢包率:20%、最大延时:100ms和规则优先级:2。In Table 2, corresponding to Table 1, the first flow management rule of Print-DT includes packet loss rate: 5%, maximum delay: 20ms and rule priority: 1; the first flow management rule of QInsp-DT includes packet loss rate : 20%, maximum delay: 100ms and rule priority: 2.

网络控制器生成各设备数字孪生体的第一流量管理规则后,可以将各设备数字孪生体的第一流量管理规则发送至网络控制代理,设备数字孪生体管理模块可以通过网络控制代理获取第一流量管理规则。当设备数字孪生体执行对应的系统任务后,可以将第一流量管理规则添加至第一数据包中,得到第二数据包。例如,可以将第一流量管理规则中的丢包率、最大延时和规则优先级等数据添加至第一数据包中。对应生成的第二数据包中可以至少包括第一数据包关联的工业物联网系统标识、丢包率、最大延时和第一数据包所属的设备数字孪生体的优先级。After the network controller generates the first traffic management rules of the digital twins of each device, it can send the first traffic management rules of the digital twins of each device to the network control agent, and the device digital twin management module can obtain the first flow management rules through the network control agent. traffic management rules. After the device digital twin executes the corresponding system task, the first traffic management rule can be added to the first data packet to obtain the second data packet. For example, data such as packet loss rate, maximum delay, and rule priority in the first traffic management rule may be added to the first data packet. The correspondingly generated second data packet may at least include the ID of the industrial Internet of Things system associated with the first data packet, the packet loss rate, the maximum delay, and the priority of the digital twin of the device to which the first data packet belongs.

本公开示例实施方式中,第一数据包为SenML数据包,第二数据包为SenML增强数据包。具体地,各个设备数字孪生体通过设备数字孪生体管理模块与系统数字孪生集管理模块进行交互,并根据系统数字孪生集管理模块的指令执行系统任务。例如,Print-DT控制锡膏印刷机对PCB(Printed Circuit Board,印制电路板)板进行锡膏印刷,QInsp-DT控制质检设备检测锡膏印刷质量。各个设备数字孪生体可以将对应的物理设备的SenML数据包反馈至设备数字孪生体管理模块,通过设备数字孪生体管理模块对SenML数据包进行扩展,新增如表3所示的四个元数据:In an exemplary embodiment of the present disclosure, the first data packet is a SenML data packet, and the second data packet is a SenML enhanced data packet. Specifically, each equipment digital twin interacts with the system digital twin set management module through the equipment digital twin set management module, and executes system tasks according to the instructions of the system digital twin set management module. For example, Print-DT controls the solder paste printing machine to print solder paste on PCB (Printed Circuit Board, printed circuit board) board, and QInsp-DT controls the quality inspection equipment to detect the quality of solder paste printing. Each device digital twin can feed back the SenML data package of the corresponding physical device to the device digital twin management module, expand the SenML data package through the device digital twin management module, and add four metadata as shown in Table 3 :

表3table 3

sys_namesys_name数据包关联的IIoT生产系统标识IIoT production system identification associated with the data packagelatencylatency可接受的数据最大延时(ms)Acceptable maximum data delay (ms)pck_loss_ratepck_loss_rate可接受的最大丢包率(%)Acceptable maximum packet loss rate (%)prioritypriority数据包所属DT在S-DT中的优先级The priority of the DT to which the data packet belongs in the S-DT

举例而言,对于Print-DT的SenML数据包,可以新增四个元数据依次为sys_name:SMT、latency:20ms、pck_loss_rate:5%和priority:1,分别表示该数据包关联的IIoT生产系统为SMT生产系统、可接受的数据最大延时为20ms、可接受的最大丢包率为5%以及该数据包所属的设备数字孪生体(即Print-DT)在系统数字孪生集(即S-DT-smt)中的优先级等级为1。For example, for the SenML data package of Print-DT, four new metadata can be added in order: sys_name: SMT, latency: 20ms, pck_loss_rate: 5% and priority: 1, respectively indicating that the IIoT production system associated with the data package is SMT production system, the maximum acceptable data delay is 20ms, the maximum acceptable packet loss rate is 5%, and the digital twin of the device to which the data packet belongs (ie Print-DT) is in the system digital twin set (ie S-DT -smt) has a priority level of 1.

扩展后的SenML数据包为SenML增强数据包。例如,Print-DT的一种SenML增强数据包为[{“sys_name”:“SMT”,“latency”:“20,”pck_loss_rate”:“5”,“priority”:“1”,“n”:“urn:dev:10e1033”,“t”:0,“u”:“V”,“v”:120.1}],表示该增强数据包关联的IIoT生产系统为SMT生产系统,可接受的数据最大延时为20ms,可接受的最大丢包率为5%,该增强数据包所属的设备数字孪生体在系统数字孪生集中的优先级等级为1,对应的物理设备名称为10e1033,时间戳为0,数据单元为V,测量值为120.1。The extended SenML data package is a SenML enhanced data package. For example, a SenML enhanced data package of Print-DT is [{"sys_name":"SMT", "latency": "20,"pck_loss_rate":"5", "priority":"1", "n": "urn:dev:10e1033", "t":0, "u": "V", "v":120.1}], indicating that the IIoT production system associated with the enhanced data package is an SMT production system, and the maximum acceptable data The delay is 20ms, and the maximum acceptable packet loss rate is 5%. The device digital twin to which the enhanced data packet belongs has a priority level of 1 in the system digital twin set, the corresponding physical device name is 10e1033, and the timestamp is 0 , the data unit is V, and the measured value is 120.1.

参考图3所示,示意性的给出了增强SenML数据包流程中的各个结构和各个元素。各个结构依次为物理设备301、设备数字孪生体303、设备数字孪生体管理模块(DT-M)305、网络控制代理(NC-A)306、系统数字孪生体管理模块(S-DT-M)308和网络控制器(NC)309,各个元素依次为原始数据302、SenML数据包304、SenML增强数据包307。Referring to FIG. 3 , each structure and each element in the enhanced SenML data packet process is schematically shown. Each structure is followed byphysical equipment 301, equipmentdigital twin 303, equipment digital twin management module (DT-M) 305, network control agent (NC-A) 306, system digital twin management module (S-DT-M) 308 and a network controller (NC) 309, each element is theoriginal data 302, theSenML data packet 304, and the SenMLenhanced data packet 307 in turn.

具体地,物理设备301将该设备的原始数据302传入对应的设备数字孪生体303中,设备数字孪生体303将原始数据302转化为SenML数据包304,并将SenML数据包304发送至设备数字孪生体管理模块305;设备数字孪生体管理模块305可以利用从网络控制代理306获取的流量管理规则对SenML数据包304进行扩展,生成SenML增强数据包307,并将SenML增强数据包307同步至系统数字孪生体管理模块308;设备数字孪生体管理模块305也可以利用网络控制器309下发的更新后的流量管理规则动态调整SenML增强数据包307。Specifically, thephysical device 301 transfers theoriginal data 302 of the device into the corresponding devicedigital twin 303, and the devicedigital twin 303 converts theoriginal data 302 into aSenML data packet 304, and sends theSenML data packet 304 to the device digital twin. The twinbody management module 305; the device digital twinbody management module 305 can use the traffic management rules obtained from thenetwork control agent 306 to expand theSenML data package 304, generate a SenMLenhanced data package 307, and synchronize the SenML enhanceddata package 307 to the system The digitaltwin management module 308 and the device digitaltwin management module 305 can also dynamically adjust the SenML enhanceddata package 307 by using the updated traffic management rules issued by thenetwork controller 309 .

本公开实施例中,在包含分布式架构的工业物联网系统中,使用增强数据包进行系统通信,并将SenML增强数据包作为统一的通信数据格式。便于后续根据自适应更新后的流量管理规则动态调整增强数据包,可以降低网络质量波动对系统生产效率的影响,从而提升系统的生产效率和可靠性。In the embodiment of the present disclosure, in the industrial Internet of Things system including the distributed architecture, the enhanced data packet is used for system communication, and the SenML enhanced data packet is used as a unified communication data format. It is convenient for subsequent dynamic adjustment of enhanced data packets according to the adaptively updated traffic management rules, which can reduce the impact of network quality fluctuations on system production efficiency, thereby improving system production efficiency and reliability.

在步骤S230中,所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块。In step S230, the network controller updates the first traffic management rule according to the current network quality to obtain a second traffic management rule, and sends the second traffic management rule to the device digital twin management module .

一种示例实施方式中,仍以SMT生产系统为例,从系统数字孪生集管理模块获取系统数字孪生集S-DT-smt中各个设备数字孪生体的QoS要求,初始化各个设备数字孪生体的第一流量管理规则。其中,可以根据各个设备数字孪生体的QoS要求,为各个设备数字孪生体的第一流量管理规则进行优先级排序,得到如表4所示的各个设备数字孪生体的第一流量管理规则:In an exemplary embodiment, still taking the SMT production system as an example, the QoS requirements of each device digital twin in the system digital twin set S-DT-smt are obtained from the system digital twin set management module, and the first-order QoS requirements of each device digital twin are initialized. A traffic management rule. Among them, according to the QoS requirements of each device digital twin, the first traffic management rules of each device digital twin can be prioritized, and the first traffic management rules of each device digital twin are obtained as shown in Table 4:

表4Table 4

Figure BDA0003847944490000121
Figure BDA0003847944490000121

在表4中,Print-DT第一流量管理规则的优先级高于QInsp-DT第一流量管理规则的优先级,QInsp-DT第一流量管理的优先级高于Cam-DT第一流量管理规则的优先级。Print-DT第一流量管理规则包括丢包率:5%、最大延时:20ms和优先级:1,QInsp-DT第一流量管理规则包括丢包率:20%、最大延时:100ms和优先级:2,Cam-DT第一流量管理规则包括丢包率:100%、最大延时:200ms和优先级:3。In Table 4, the priority of the first traffic management rule of Print-DT is higher than that of the first traffic management rule of QInsp-DT, and the priority of the first traffic management rule of QInsp-DT is higher than that of the first traffic management rule of Cam-DT priority. Print-DT first flow management rules include packet loss rate: 5%, maximum delay: 20ms and priority: 1, QInsp-DT first flow management rules include packet loss rate: 20%, maximum delay: 100ms and priority Level: 2, Cam-DT's first traffic management rules include packet loss rate: 100%, maximum delay: 200ms and priority: 3.

网络控制器通过与各个网络控制代理通信,获取各个边缘节点的网络数据,以实现对各个边缘节点网络环境的实时检测。当检测到当前网络质量较高如当前网络处于无拥塞状态时,网络控制器不需要激活流量管理规则,按照best-effort方式通信即可。其中,best-effort方式是指当网络发生拥塞时,立即丢弃数据包,直到业务量有所减少为止。The network controller obtains the network data of each edge node by communicating with each network control agent, so as to realize the real-time detection of the network environment of each edge node. When it is detected that the current network quality is relatively high, for example, the current network is in a non-congested state, the network controller does not need to activate traffic management rules, and can communicate in a best-effort manner. Among them, the best-effort mode means that when the network is congested, data packets are discarded immediately until the traffic volume decreases.

一种示例实施方式中,当检测到当前网络处于轻微拥塞状态时,也就是当前网络的目标服务质量参数小于系统数字孪生集中各设备数字孪生体的目标服务质量参数时,网络控制器将第一流量管理规则中设备数字孪生体的目标服务质量参数赋值为当前网络的目标服务质量参数。其中,目标服务质量参数是指丢包率、最大延时等参数。In an example implementation, when it is detected that the current network is in a slightly congested state, that is, when the target quality of service parameter of the current network is smaller than the target quality of service parameter of each device digital twin in the system digital twin set, the network controller will first The target quality of service parameters of the device digital twin in the traffic management rules are assigned as the target quality of service parameters of the current network. Wherein, the target QoS parameters refer to parameters such as packet loss rate and maximum delay.

举例而言,各设备数字孪生体的QoS要求如表4所示,若当前网络的丢包率为3%,最大延时为15ms,可以看出,当前网络的丢包率和最大延时均小于各设备数字孪生体的QoS要求。此时,可以将各设备数字孪生体的第一流量管理规则进行如公式(1)所示的调整:For example, the QoS requirements of the digital twins of each device are shown in Table 4. If the packet loss rate of the current network is 3% and the maximum delay is 15ms, it can be seen that the packet loss rate and maximum delay of the current network are both Less than the QoS requirements of each device's digital twin. At this point, the first traffic management rules of the digital twins of each device can be adjusted as shown in formula (1):

Figure BDA0003847944490000131
Figure BDA0003847944490000131

公式(1)表示,将各设备数字孪生体的第一流量管理规则中的丢包率和最大延时赋值为当前网络的丢包率和最大延时,可以得到如表5所示的各个设备数字孪生体的第二流量管理规则:Formula (1) shows that assigning the packet loss rate and maximum delay in the first traffic management rule of each device's digital twin to the packet loss rate and maximum delay of the current network, each device as shown in Table 5 can be obtained Second Traffic Management Rules for Digital Twins:

表5table 5

Figure BDA0003847944490000132
Figure BDA0003847944490000132

Figure BDA0003847944490000141
Figure BDA0003847944490000141

在表5中,Print-DT、QInsp-DT和Cam-DT三个设备数字孪生体对应的第二流量管理规则中的丢包率和最大延时均调整为:丢包率:3%、最大延时:15ms。In Table 5, the packet loss rate and maximum delay in the second traffic management rules corresponding to the three device digital twins of Print-DT, QInsp-DT and Cam-DT are adjusted to: packet loss rate: 3%, maximum Delay: 15ms.

该示例中,网络控制模块周期性地检测网络质量,并动态更新流量管理原则,通过实时检测网络质量可以灵活地进行流量管理,从而保证工业物联网系统的生产效率。In this example, the network control module periodically detects the network quality and dynamically updates the flow management principles. By detecting the network quality in real time, the flow management can be performed flexibly, thereby ensuring the production efficiency of the industrial Internet of Things system.

另一种示例实施方式中,当检测到当前网络处于严重拥塞状态时,参考图4所示,可以根据步骤S401至步骤S403实现对流量管理规则的调整:In another exemplary embodiment, when it is detected that the current network is in a state of severe congestion, as shown in FIG. 4 , adjustments to traffic management rules may be implemented according to steps S401 to S403:

在步骤S401中,当所述当前网络的目标服务质量参数大于所述系统数字孪生集中任一所述设备数字孪生体的目标服务质量参数时,确定所述设备数字孪生体的优先级所属的优先级区间。In step S401, when the target quality of service parameter of the current network is greater than the target quality of service parameter of any of the device digital twins in the system digital twin set, determine the priority to which the priority of the device digital twin belongs grade interval.

其中,目标服务质量参数是指丢包率、最大延时等参数。若当前网络的丢包率和最大延时大于系统数字孪生集中任一设备数字孪生体的丢包率和最大延时,可以确定各个设备数字孪生体的优先级所属的优先级区间。Wherein, the target QoS parameters refer to parameters such as packet loss rate and maximum delay. If the packet loss rate and maximum delay of the current network are greater than the packet loss rate and maximum delay of any device digital twin in the system digital twin set, the priority interval to which the priority of each device digital twin belongs can be determined.

具体地,若系统数字孪生集中包含的设备数字孪生体的数量为M,可以根据各个设备数字孪生体的优先级将系统数字孪生集中所有的设备数字孪生体进行排序,如根据优先级从高到低进行排列为{DT1,DT2,…,DTM},其中,丢包率和最大延时超过QoS要求的设备数字孪生体的数量为N,则可以将优先级分为三个区间,分别为第一优先级区间(i≤N)、第二优先级区间(N<i≤M-N)和第三优先级区间(M-N<i≤M)。然后可以根据各个设备数字孪生体的优先级确定所属的优先级区间。Specifically, if the number of equipment digital twins contained in the system digital twin set is M, all equipment digital twins in the system digital twin set can be sorted according to the priority of each equipment digital twin, for example, according to the priority from high to Arranged as {DT1 , DT2 ,...,DTM }, where the number of digital twins of devices whose packet loss rate and maximum delay exceed the QoS requirements is N, then the priority can be divided into three intervals, They are the first priority interval (i≤N), the second priority interval (N<i≤MN) and the third priority interval (MN<i≤M). Then the priority interval to which it belongs can be determined according to the priority of each equipment digital twin.

举例而言,各设备数字孪生体的QoS要求如表4所示,将Print-DT、QInsp-DT和Cam-DT按照优先级从高到低排序依次为Print-DT(DT1)、QInsp-DT(DT2)和Cam-DT(DT3),i的取值为1、2和3,用于表征优先级。若当前网络的丢包率为15%,最大延时为80ms,可以看出,当前网络的丢包率和最大延时大于Print-DT的QoS要求(丢包率为5%,最大延时为20ms),当前网络的丢包率和最大延时小于QInsp-DT的QoS要求(丢包率为20%,最大延时为100ms)和Cam-DT的QoS要求(丢包率为100%,最大延时为200ms)。因此,可以确定当前网络的丢包率和最大延时超过QoS要求的设备数字孪生体的数量N=1,对应的,第一优先级区间为i≤1,第二优先级区间1<i≤2,第三优先级区间为2<i≤3。可以看出,Print-DT的优先级位于第一优先级区间,QInsp-DT位于第二优先级区间,Cam-DT位于第三优先级区间。For example, the QoS requirements of the digital twins of each device are shown in Table 4. Print-DT, QInsp-DT and Cam-DT are sorted from high to low in order of priority as Print-DT(DT1 ), QInsp- In DT (DT2 ) and Cam-DT (DT3 ), the values of i are 1, 2 and 3, which are used to represent the priority. If the packet loss rate of the current network is 15%, and the maximum delay is 80ms, it can be seen that the packet loss rate and the maximum delay of the current network are greater than the QoS requirements of Print-DT (the packet loss rate is 5%, and the maximum delay is 20ms), the packet loss rate and the maximum delay of the current network are less than the QoS requirements of QInsp-DT (the packet loss rate is 20%, the maximum delay is 100ms) and the QoS requirements of Cam-DT (the packet loss rate is 100%, the maximum The delay is 200ms). Therefore, it can be determined that the packet loss rate and maximum delay of the current network exceed the number of device digital twins N=1 required by QoS. Correspondingly, the first priority interval is i≤1, and the second priority interval is 1<i≤ 2. The third priority range is 2<i≤3. It can be seen that the priority of Print-DT is in the first priority interval, the QInsp-DT is in the second priority interval, and the Cam-DT is in the third priority interval.

在步骤S402中,当所述设备数字孪生体的优先级位于第一优先级区间或第三优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述系统数字孪生集中所述设备数字孪生体的目标服务质量参数。In step S402, when the priority of the digital twin of the device is in the first priority range or the third priority range, the network controller sets the digital twin of the device in the first traffic management rule to The target quality of service parameter is assigned as the target quality of service parameter of the equipment digital twin in the system digital twin set.

确定设备数字孪生体的优先级位于第一优先级区间或者第三优先级区间时,可以将各设备数字孪生体的第一流量管理规则进行如公式(2)所示的调整:When it is determined that the priority of the digital twin of the equipment is in the first priority interval or the third priority interval, the first flow management rules of the digital twin of each equipment can be adjusted as shown in formula (2):

Figure BDA0003847944490000151
Figure BDA0003847944490000151

公式(2)表示,将对应的设备数字孪生体的第一流量管理规则中的丢包率和最大延时赋值为系统数字孪生集中各设备数字孪生体的QoS要求中的丢包率和最大延时。Formula (2) indicates that the packet loss rate and maximum delay in the first traffic management rule of the corresponding device digital twin are assigned as the packet loss rate and maximum delay in the QoS requirements of each device digital twin in the system digital twin set Time.

例如,确定Print-DT的优先级位于第一优先级区间,Cam-DT的优先级位于第三优先级区间时,可以将表5中Print-DT第一流量管理规则中的丢包率调整为5%,最大延时调整为20ms,将Cam-DT第一流量管理规则中的丢包率调整为100%,最大延时调整为200ms。For example, when it is determined that the priority of Print-DT is in the first priority interval and the priority of Cam-DT is in the third priority interval, the packet loss rate in the first traffic management rule of Print-DT in Table 5 can be adjusted to 5%, the maximum delay is adjusted to 20ms, the packet loss rate in the Cam-DT first flow management rule is adjusted to 100%, and the maximum delay is adjusted to 200ms.

在步骤S403中,当所述设备数字孪生体的优先级位于第二优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述当前网络的目标服务质量参数。In step S403, when the priority of the digital twin of the device is in the second priority interval, the network controller assigns the target quality of service parameter of the digital twin of the device in the first traffic management rule to be The target QoS parameter of the current network.

确定设备数字孪生体的优先级位于第二优先级区间时,可以将对应设备数字孪生体的第一流量管理规则进行如公式(3)所示的调整:When it is determined that the priority of the equipment digital twin is in the second priority interval, the first traffic management rule of the corresponding equipment digital twin can be adjusted as shown in formula (3):

Figure BDA0003847944490000152
Figure BDA0003847944490000152

公式(3)表示,将对应设备数字孪生体的第一流量管理规则中的丢包率和最大延时赋值为当前网络的丢包率和最大延时。Formula (3) indicates that the packet loss rate and maximum delay in the first traffic management rule of the corresponding device digital twin are assigned as the packet loss rate and maximum delay of the current network.

例如,确定QInsp-DT的优先级位于第二优先级区间时,可以将表5中QInsp-DT第一流量管理规则中的丢包率调整为15%,最大延时调整为80ms。For example, when it is determined that the priority of QInsp-DT is in the second priority interval, the packet loss rate in the first traffic management rule of QInsp-DT in Table 5 can be adjusted to 15%, and the maximum delay can be adjusted to 80ms.

综上,根据公式(2)和公式(3)调整第一流量管理规则后,可以得到如表6所示的各个设备数字孪生体的第二流量管理规则:In summary, after adjusting the first traffic management rules according to formula (2) and formula (3), the second traffic management rules of each device digital twin can be obtained as shown in Table 6:

表6Table 6

Figure BDA0003847944490000161
Figure BDA0003847944490000161

该示例中,网络控制模块周期性地检测网络质量,并动态更新流量管理原则,通过实时检测网络质量可以灵活地进行流量管理,从而保证工业物联网系统的生产效率。In this example, the network control module periodically detects the network quality and dynamically updates the flow management principles. By detecting the network quality in real time, the flow management can be performed flexibly, thereby ensuring the production efficiency of the industrial Internet of Things system.

在步骤S240中,所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。In step S240, the device digital twin management module adjusts the extended data in the second data packet according to the second traffic management rule.

网络控制器生成各个设备数字孪生体的第二流量管理规则后,可以将第二流量管理规则发送至网络控制代理,设备数字孪生体管理模块再从网络控制代理获取第二流量管理规则,并根据第二流量管理规则调整第二数据包中的扩展数据。After the network controller generates the second traffic management rules of each device digital twin, it can send the second traffic management rules to the network control agent, and the device digital twin management module obtains the second traffic management rules from the network control agent, and according to The second traffic management rule adjusts the extension data in the second data packet.

举例而言,对于Print-DT生成的SenML增强数据包,其中的扩展数据为[{“sys_name”:“SMT”,“latency”:“20,”pck_loss_rate”:“5”,“priority”:“1”}]。若Print-DT的第二流量管理规则中的丢包率为3%,最大延时为15ms,优先级不变,则可以将该增强数据包中的丢包率和最大延时进行调整,调整后的扩展数据为[{“sys_name”:“SMT”,“latency”:“15,”pck_loss_rate”:“3”,“priority”:“1”}]。For example, for the SenML enhanced data package generated by Print-DT, the extended data is [{"sys_name":"SMT", "latency": "20,"pck_loss_rate":"5", "priority":" 1”}]. If the packet loss rate in the second flow management rule of Print-DT is 3%, the maximum delay is 15ms, and the priority remains unchanged, then the packet loss rate and maximum delay in the enhanced data packet can be The adjusted extended data is [{"sys_name":"SMT","latency":"15,"pck_loss_rate":"3","priority":"1"}].

该示例中,根据自适应更新后的流量管理规则动态调整增强数据包,可以降低网络质量波动对系统生产效率的影响,从而提升系统的生产效率和可靠性。In this example, the dynamic adjustment of enhanced data packets according to the adaptively updated traffic management rules can reduce the impact of network quality fluctuations on system production efficiency, thereby improving system production efficiency and reliability.

一种示例实施方式中,当设备数字孪生体执行对应的系统任务出现异常时,系统数字孪生体管理模块可以根据接收到的异常数据更新系统数字孪生集,并通过网络控制器更新第一流量管理规则或第二流量管理规则。例如,当QInsp-DT检测出锡膏印刷质量存在异常时,可以将异常数据上报至系统数字孪生体管理模块,系统数字孪生体管理模块根据接收到的异常数据更新对应的系统数字孪生集,即S-DT-smt。同时,通知网络控制器更新当前的流量管理规则,并下达指令至各设备数字孪生体,以根据更新后的流量管理规则执行对应的系统任务。In an exemplary embodiment, when the corresponding system task of the equipment digital twin is abnormal, the system digital twin management module can update the system digital twin set according to the received abnormal data, and update the first traffic management through the network controller rules or secondary traffic management rules. For example, when QInsp-DT detects that the printing quality of solder paste is abnormal, it can report the abnormal data to the system digital twin management module, and the system digital twin management module updates the corresponding system digital twin set according to the received abnormal data, namely S-DT-smt. At the same time, notify the network controller to update the current traffic management rules, and issue instructions to the digital twins of each device to perform corresponding system tasks according to the updated traffic management rules.

示例性的,系统数字孪生体管理模块可以根据与异常数据对应的目标设备数字孪生体更新系统数字孪生集,并通过网络控制器根据目标设备数字孪生体的服务质量参数更新第一流量管理规则或第二流量管理规则。例如,系统数字孪生体管理模块可以将与异常数据对应的目标设备数字孪生体添加至系统数字孪生集中,并通过网络控制器将目标设备数字孪生体的服务质量参数添加至第一流量管理规则或第二流量管理规则中。再例如,系统数字孪生体管理模块可以系统数字孪生集中删除与异常数据对应的目标设备数字孪生体,并通过网络控制器将目标设备数字孪生体的服务质量参数从第一流量管理规则或第二流量管理规则中删除。Exemplarily, the system digital twin management module may update the system digital twin set according to the target device digital twin corresponding to the abnormal data, and update the first traffic management rule or A second traffic management rule. For example, the system digital twin management module can add the target device digital twin corresponding to the abnormal data to the system digital twin set, and add the service quality parameters of the target device digital twin to the first traffic management rule or In the second traffic management rule. For another example, the system digital twin management module can centrally delete the target device digital twin corresponding to abnormal data from the system digital twin, and change the service quality parameters of the target device digital twin from the first traffic management rule or the second traffic management rule through the network controller. Deleted in traffic management rules.

举例而言,当QInsp-DT检测出锡膏印刷质量存在异常时,对应的目标设备数字孪生体为Cam-DT。系统数字孪生体管理模块可以将Cam-DT新增至S-DT-smt,同时,网络控制器可以根据Cam-DT的QoS要求生成对应的流量管理规则,并将该流量管理规则添加至当前的流量管理规则中。例如,当前的流量管理规则如表2所示,更新后的流量管理规则如表4所示。根据实际需求,当前的流量管理规则可以是第一流量管理规则或第二流量管理规则,本公开对此不做限定。然后,对Cam-DT下达指令,以使Cam-DT根据Cam-DT的流量管理规则操控辅助质检IP相机拍摄质量异常的PCB板,反馈拍摄数据至系统数字孪生体管理模块用于辅助质量检测,直至异常事件解除。For example, when QInsp-DT detects that the printing quality of solder paste is abnormal, the corresponding digital twin of the target device is Cam-DT. The system digital twin management module can add Cam-DT to S-DT-smt. At the same time, the network controller can generate corresponding traffic management rules according to the QoS requirements of Cam-DT, and add the traffic management rules to the current in traffic management rules. For example, the current traffic management rules are shown in Table 2, and the updated traffic management rules are shown in Table 4. According to actual requirements, the current traffic management rule may be the first traffic management rule or the second traffic management rule, which is not limited in the present disclosure. Then, give an instruction to Cam-DT, so that Cam-DT controls the auxiliary quality inspection IP camera to capture abnormal quality PCB boards according to the traffic management rules of Cam-DT, and feeds back the shooting data to the digital twin management module of the system for auxiliary quality inspection , until the abnormal event is resolved.

消除系统任务出现的异常后,系统数字孪生体管理模块可以再次根据与异常数据对应的目标设备数字孪生体更新系统数字孪生集,并通过网络控制器根据目标设备数字孪生体的服务质量参数更新第一流量管理规则或第二流量管理规则。例如,从系统数字孪生集中删除/添加目标设备数字孪生体,并通过网络控制器从第一流量管理规则或第二流量管理规则中删除/添加目标设备数字孪生体的服务质量参数。举例而言,当QInsp-DT检测锡膏印刷质量合格时,系统数字孪生体管理模块从表4中删除Cam-DT的流量管理规则,并下达指令至各设备数字孪生体,以根据最新的流量管理规则执行对应的系统任务。After eliminating the abnormality of the system task, the system digital twin management module can update the system digital twin set again according to the target device digital twin corresponding to the abnormal data, and update the second set of digital twins according to the service quality parameters of the target device digital twin through the network controller. A traffic management rule or a second traffic management rule. For example, delete/add the target device digital twin from the system digital twin set, and delete/add the service quality parameter of the target device digital twin from the first traffic management rule or the second traffic management rule through the network controller. For example, when QInsp-DT detects that the printing quality of solder paste is qualified, the system digital twin management module deletes the traffic management rules of Cam-DT from Table 4, and issues instructions to the digital twins of each device, so that according to the latest flow Management rules execute corresponding system tasks.

本公开示例实施方式中,基于自适应流量管理规则,并根据IIoT生产系统的实际需求,动态更新系统数字孪生集,从而实现对生产系统内各物理设备的灵活调度和编排,最终实现对生产系统的动态重构,助力工业柔性制造的智能发展。In the exemplary embodiment of the present disclosure, based on adaptive traffic management rules and according to the actual needs of the IIoT production system, the digital twin set of the system is dynamically updated, so as to realize the flexible scheduling and arrangement of each physical device in the production system, and finally realize the control of the production system. The dynamic reconstruction of the system helps the intelligent development of industrial flexible manufacturing.

一种具体实施方式中,参考图5所示,可以根据步骤S501至步骤S507实现SMT生产系统的动态重构,具体地:In a specific implementation manner, as shown in FIG. 5, the dynamic reconstruction of the SMT production system can be realized according to steps S501 to S507, specifically:

步骤S501.激活SMT生产系统相关DT资源:在系统启动阶段,技术人员激活SMT生产系统中各物理设备对应的DT,分别为Print-DT、QInsp-DT和Cam-DT;Step S501. Activating DT resources related to the SMT production system: During the system start-up phase, technicians activate the DTs corresponding to each physical device in the SMT production system, which are Print-DT, QInsp-DT and Cam-DT respectively;

步骤S502.DT与物理设备建连:激活的DT与对应的物理设备建立通信连接,具体地,Print-DT与锡膏印刷机设备建立通信连接,QInsp-DT与质检设备建立通信连接,Cam-DT与辅助质检IP相机建立通信连接。建立通信连接后,各DT将对应的物理设备传入的原始数据转化成SenML数据包;Step S502. DT establishes a connection with the physical device: the activated DT establishes a communication connection with the corresponding physical device, specifically, Print-DT establishes a communication connection with the solder paste printing machine device, QInsp-DT establishes a communication connection with the quality inspection device, Cam -DT establishes a communication connection with the auxiliary quality inspection IP camera. After the communication connection is established, each DT converts the raw data from the corresponding physical device into a SenML data packet;

步骤S503.S-DT-M登记新激活的DT相关信息:S-DT-M发现新激活的DTs(即Print-DT、QInsp-DT和Cam-DT)后,存储DTs的网络位置、能力等信息;Step S503. S-DT-M registers the newly activated DT related information: After S-DT-M discovers the newly activated DTs (ie Print-DT, QInsp-DT and Cam-DT), it stores the network location, capability, etc. of the DTs information;

步骤S504.S-DT-M激活数字孪生集S-DT:在系统操作阶段,技术人员与S-DT-M进行交互,激活SMT产线数字孪生集S-DT-smt,并将Print-DT、QInsp-DT聚合至S-DT-smt中,同时提供该S-DT的QoS要求,如表1所示;Step S504.S-DT-M activates the digital twin set S-DT: In the system operation phase, the technician interacts with S-DT-M, activates the SMT production line digital twin set S-DT-smt, and prints the Print-DT , QInsp-DT is aggregated into S-DT-smt, and the QoS requirements of the S-DT are provided at the same time, as shown in Table 1;

步骤S505.网络控制模块进行流量管理:网络控制器基于如表1所示的S-DT的QoS要求,初始化各设备数字孪生体的流量管理规则,如表2所示;Step S505. The network control module performs traffic management: the network controller initializes the traffic management rules of each device digital twin based on the QoS requirements of the S-DT shown in Table 1, as shown in Table 2;

步骤S506.DT执行系统生产任务:各DT通过DT-M与S-DT-M进行交互,并根据S-DT-M的指令执行对应的系统任务。具体地,Print-DT控制锡膏印刷机对PCB板进行锡膏印刷,QInsp-DT控制检测设备检测锡膏印刷质量,并将各自的SenML数据包通过DT-M生成对应的SenML增强数据包,将生成的SenML增强数据包同步至S-DT-M;Step S506. DT executes system production tasks: each DT interacts with S-DT-M through DT-M, and executes corresponding system tasks according to the instructions of S-DT-M. Specifically, Print-DT controls the solder paste printing machine to print solder paste on the PCB, QInsp-DT controls the inspection equipment to detect the quality of solder paste printing, and generates corresponding SenML enhanced data packets through DT-M for their respective SenML data packets. Synchronize the generated SenML enhanced data package to S-DT-M;

步骤S507.DT-M对各DT进行生命周期管理:网络控制模块周期性检测网络质量,根据实时的网络质量动态更新流量管理原则,并发布至DT-M执行,DT-M根据更新后的流量管理原则修改各DT的SenML增强数据包中的扩展数据;Step S507. DT-M manages the life cycle of each DT: the network control module periodically detects the network quality, dynamically updates the traffic management principle according to the real-time network quality, and publishes it to the DT-M for execution. The management principle modifies the extended data in the SenML enhanced data package of each DT;

当检测到当前网络处于轻微拥塞状态时,如当前网络的丢包率为4%,最大延时为10ms,可以更新表2中各DT的流量管理规则,更新后的流量管理规则如表7所示:When it is detected that the current network is in a state of slight congestion, such as the packet loss rate of the current network is 4%, and the maximum delay is 10ms, the traffic management rules of each DT in Table 2 can be updated. The updated traffic management rules are shown in Table 7 Show:

表7Table 7

Print-DT流量管理规则Print-DT traffic management rulesQInsp-DT流量管理规则QInsp-DT traffic management rulespck_loss_rate:4%pck_loss_rate: 4%pck_loss_rate:4%pck_loss_rate: 4%latency:10mslatency: 10mslatency:10mslatency: 10mspriority:1priority: 1priority:2priority: 2

在表7中,更新后的流量管理规则中的丢包率和最大延时均调整为:丢包率:4%、最大延时:10ms。In Table 7, the packet loss rate and maximum delay in the updated traffic management rules are both adjusted to: packet loss rate: 4%, maximum delay: 10ms.

另外,当DT执行生产任务出现异常时,如当QInsp-DT检测出锡膏印刷质量存在异常时,系统数字孪生体管理模块可以将Cam-DT新增至S-DT-smt,以利用Cam-DT辅助质量检测。同时,S-DT-M通知网络控制器更新如表7所示的流量管理规则,得到如表8所示的流量管理规则,并下达指令至各DT执行对应的流量管理规则,直至异常事件解除;In addition, when DT executes production tasks abnormally, such as when QInsp-DT detects abnormalities in solder paste printing quality, the system digital twin management module can add Cam-DT to S-DT-smt to utilize Cam-DT DT assisted quality inspection. At the same time, S-DT-M notifies the network controller to update the traffic management rules shown in Table 7, obtains the traffic management rules shown in Table 8, and issues instructions to each DT to execute the corresponding traffic management rules until the abnormal event is resolved ;

表8Table 8

Print-DT流量管理规则Print-DT traffic management rulesQInsp-DT流量管理规则QInsp-DT traffic management rulesCam-DT流量管理规则Cam-DT traffic management rulespck_loss_rate:4%pck_loss_rate: 4%pck_loss_rate:4%pck_loss_rate: 4%pck_loss_rate:50%pck_loss_rate: 50%latency:10mslatency: 10mslatency:10mslatency: 10mslatency:100mslatency: 100mspriority:1priority: 1priority:2priority: 2priority:3priority: 3

与表7相比,表8中新增了Cam-DT的流量管理规则包括丢包率:50%、最大延时:100ms和优先级:3。Compared with Table 7, the newly added traffic management rules of Cam-DT in Table 8 include packet loss rate: 50%, maximum delay: 100ms and priority: 3.

当检测到当前网络处于严重拥塞状态时,如当前网络的丢包率为15%,最大延时为50ms,可以更新表8中各DT的流量管理规则,得到如表9所示的流量管理规则:When it is detected that the current network is in a state of serious congestion, such as the packet loss rate of the current network is 15%, and the maximum delay is 50ms, the traffic management rules of each DT in Table 8 can be updated to obtain the traffic management rules shown in Table 9 :

表9Table 9

Print-DT流量管理规则Print-DT traffic management rulesQInsp-DT流量管理规则QInsp-DT traffic management rulesCam-DT流量管理规则Cam-DT traffic management rulespck_loss_rate:5%pck_loss_rate: 5%pck_loss_rate:15%pck_loss_rate: 15%pck_loss_rate:50%pck_loss_rate: 50%latency:20mslatency: 20mslatency:50mslatency: 50mslatency:100mslatency: 100mspriority:1priority: 1priority:2priority: 2priority:3priority: 3

与表8相比,将表9中Print-DT流量管理规则和Cam-DT流量管理规则分别调整为Print-DT的QoS要求和Cam-DT的QoS要求,将表9中QInsp-DT流量管理规则调整为当前网络的丢包率和最大延时。Compared with Table 8, adjust the Print-DT traffic management rules and Cam-DT traffic management rules in Table 9 to the QoS requirements of Print-DT and Cam-DT respectively, and adjust the QInsp-DT traffic management rules in Table 9 Adjust to the packet loss rate and maximum delay of the current network.

异常事件解除后,S-DT-M删除由于异常事件新增的CamID-DT,并通知NC更新表9中的流量管理规则,得到如表10所示的流量管理规则,并下达指令至各DT执行对应的流量管理规则:After the abnormal event is resolved, the S-DT-M deletes the newly added CamID-DT due to the abnormal event, and notifies the NC to update the traffic management rules in Table 9, obtains the traffic management rules shown in Table 10, and issues instructions to each DT Execute the corresponding traffic management rules:

表10Table 10

Print-DT流量管理规则Print-DT traffic management rulesQInsp-DT流量管理规则QInsp-DT traffic management rulespck_loss_rate:5%pck_loss_rate: 5%pck_loss_rate:15%pck_loss_rate: 15%latency:20mslatency: 20mslatency:50mslatency: 50mspriority:1priority: 1priority:2priority: 2

与表9相比,表10中删除了CamID-DT的流量管理规则。另外,需要说明的是,图5中的路径①表示各DT正常执行系统任务时,网络控制模块根据实时网络环境进行流量管理的流程,路径②表示各DT执行系统任务出现异常时,网络控制模块根据实时网络环境进行流量管理,直至异常事件解除的流程。Compared with Table 9, the traffic management rules of CamID-DT are deleted in Table 10. In addition, it should be noted that thepath ① in Figure 5 represents the flow of traffic management by the network control module according to the real-time network environment when each DT executes the system task normally, and thepath ② represents that when each DT executes the system task abnormally, the network control module According to the real-time network environment, the traffic management is carried out until the abnormal event is resolved.

该示例中,通过设备数字孪生体、设备数字孪生体管理模块、系统数字孪生集、系统数字孪生管理模块以及网络控制模块,实现了对工业物联网的自适应流量管理及系统的动态重构。In this example, through the equipment digital twin, the equipment digital twin management module, the system digital twin set, the system digital twin management module and the network control module, the adaptive traffic management of the industrial Internet of things and the dynamic reconstruction of the system are realized.

在本公开示例实施方式所提供的工业物联网管理方法中,通过设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。本公开在包含分布式架构的工业物联网系统中,使用增强数据包进行系统通信,并根据实时网络环境自适应调整系统的流量管理规则,可以降低网络质量波动对系统生产效率的影响,从而提升系统的生产效率和可靠性。而且,通过设备数字孪生体与物理实体之间的信息交互,可以实现对系统内各设备的智能化控制,从而进一步提升系统的生产效率和可靠性。In the industrial Internet of Things management method provided by the exemplary embodiment of the present disclosure, the raw data imported by the corresponding physical device is converted into a first data packet in a preset format through the digital twin of the device, and the first data packet is sent to the device digital twin management module; the device digital twin management module uses the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet; the network control The device updates the first traffic management rule according to the current network quality, obtains the second traffic management rule, and sends the second traffic management rule to the device digital twin management module; the device digital twin management module adjusting the extended data in the second data packet according to the second traffic management rule. In the industrial Internet of Things system including a distributed architecture, the present disclosure uses enhanced data packets for system communication, and adaptively adjusts the traffic management rules of the system according to the real-time network environment, which can reduce the impact of network quality fluctuations on system production efficiency, thereby improving System productivity and reliability. Moreover, through the information interaction between the equipment digital twin and the physical entity, the intelligent control of each equipment in the system can be realized, thereby further improving the production efficiency and reliability of the system.

应当注意,尽管在附图中以特定顺序描述了本公开中方法的各个步骤,但是,这并非要求或者暗示必须按照该特定顺序来执行这些步骤,或是必须执行全部所示的步骤才能实现期望的结果。附加的或备选的,可以省略某些步骤,将多个步骤合并为一个步骤执行,以及/或者将一个步骤分解为多个步骤执行等。It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps must be performed to achieve the desired the result of. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be decomposed into multiple steps for execution, etc.

进一步的,本示例实施方式中,还提供了一种工业物联网管理装置。参考图6所示,该工业物联网管理装置600可以包括数据转化模块610、数据增强模块620、规则更新模块630和数据调整模块640,其中:Further, in this example embodiment, an industrial internet of things management device is also provided. As shown in FIG. 6, the industrial Internet ofThings management device 600 may include adata conversion module 610, adata enhancement module 620, arule update module 630 and adata adjustment module 640, wherein:

数据转化模块610,用于设备数字孪生体将对应的物理设备传入的原始数据转化为预设格式的第一数据包,并将所述第一数据包发送至设备数字孪生体管理模块;Thedata conversion module 610 is used for the device digital twin to convert the raw data imported by the corresponding physical device into a first data packet in a preset format, and send the first data packet to the device digital twin management module;

数据增强模块620,用于所述设备数字孪生体管理模块利用网络控制器下发的第一流量管理规则对所述第一数据包进行数据扩展,得到第二数据包;Thedata enhancement module 620 is used for the device digital twin management module to use the first traffic management rule issued by the network controller to perform data expansion on the first data packet to obtain a second data packet;

规则更新模块630,用于所述网络控制器根据当前网络质量更新所述第一流量管理规则,得到第二流量管理规则,并将所述第二流量管理规则下发至所述设备数字孪生体管理模块;Arule update module 630, configured for the network controller to update the first traffic management rule according to the current network quality, obtain a second traffic management rule, and deliver the second traffic management rule to the device digital twin management module;

数据调整模块640,用于所述设备数字孪生体管理模块根据所述第二流量管理规则调整所述第二数据包中的扩展数据。Adata adjustment module 640, configured for the device digital twin management module to adjust the extended data in the second data packet according to the second traffic management rule.

在一种可选的实施方式中,工业物联网管理装置600还包括:In an optional implementation manner, the industrial Internet ofThings management device 600 also includes:

资源聚合模块,用于系统数字孪生集管理模块将所述设备数字孪生体聚合至新激活的系统数字孪生集中;The resource aggregation module is used for the system digital twin set management module to aggregate the device digital twin into the newly activated system digital twin set;

规则初始化模块,用于所述网络控制器根据所述系统数字孪生集中所述设备数字孪生体的服务质量参数生成所述第一流量管理规则,并将所述第一流量管理规则下发至网络控制代理;The rule initialization module is used for the network controller to generate the first traffic management rule according to the quality of service parameters of the device digital twin in the system digital twin set, and send the first traffic management rule to the network control agent;

其中,所述第一流量管理规则至少包括流量管理规则标识、丢包率、最大延时和规则优先级。Wherein, the first traffic management rule includes at least a traffic management rule identifier, a packet loss rate, a maximum delay, and a rule priority.

在一种可选的实施方式中,数据增强模块620包括:In an optional implementation manner, thedata enhancement module 620 includes:

规则获取子模块,用于所述设备数字孪生体管理模块通过所述网络控制代理获取所述第一流量管理规则;A rule acquisition submodule, used for the device digital twin management module to acquire the first traffic management rule through the network control agent;

数据增强子模块,用于当所述设备数字孪生体执行对应的系统任务后,将所述第一流量管理规则添加至所述第一数据包中,得到所述第二数据包,所述第二数据包至少包括所述第一数据包关联的工业物联网系统标识、丢包率、最大延时和所述设备数字孪生体的优先级。The data enhancement sub-module is configured to add the first traffic management rule to the first data packet to obtain the second data packet, and the second data packet after the device digital twin executes the corresponding system task. The second data packet at least includes the ID of the industrial Internet of Things system associated with the first data packet, the packet loss rate, the maximum delay and the priority of the digital twin of the device.

在一种可选的实施方式中,规则更新模块630包括:In an optional implementation manner, therule update module 630 includes:

第一规则更新模块,用于当所述当前网络的目标服务质量参数小于所述系统数字孪生集中各所述设备数字孪生体的目标服务质量参数时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述当前网络的目标服务质量参数。The first rule update module is configured to: when the target quality of service parameter of the current network is smaller than the target quality of service parameter of each of the device digital twins in the system digital twin set, the network controller sends the first flow The target QoS parameter of the equipment digital twin in the management rule is assigned as the target QoS parameter of the current network.

在一种可选的实施方式中,规则更新模块630包括:In an optional implementation manner, therule update module 630 includes:

区间确定模块,用于当所述当前网络的目标服务质量参数大于所述系统数字孪生集中任一所述设备数字孪生体的目标服务质量参数时,确定所述设备数字孪生体的优先级所属的优先级区间;An interval determination module, configured to determine the priority of the device digital twin when the target quality of service parameter of the current network is greater than the target quality of service parameter of any of the device digital twins in the system digital twin set priority range;

第二规则更新模块,用于当所述设备数字孪生体的优先级位于第一优先级区间或第三优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述系统数字孪生集中所述设备数字孪生体的目标服务质量参数;The second rule update module is configured to: when the priority of the device digital twin is in the first priority interval or the third priority interval, the network controller will update the device digital twin in the first traffic management rule to The target quality of service parameter of the twin is assigned as the target quality of service parameter of the device digital twin in the system digital twin set;

第三规则更新模块,用于当所述设备数字孪生体的优先级位于第二优先级区间时,所述网络控制器将所述第一流量管理规则中所述设备数字孪生体的目标服务质量参数赋值为所述当前网络的目标服务质量参数。The third rule update module is configured to: when the priority of the device digital twin is in the second priority interval, the network controller updates the target quality of service of the device digital twin in the first traffic management rule The parameter assignment is the target QoS parameter of the current network.

在一种可选的实施方式中,工业物联网管理装置600还包括:In an optional implementation manner, the industrial Internet ofThings management device 600 also includes:

系统重构模块,用于当所述设备数字孪生体执行对应的系统任务出现异常时,系统数字孪生体管理模块根据接收到的异常数据更新所述系统数字孪生集,并通过所述网络控制器更新所述第一流量管理规则或所述第二流量管理规则。The system reconstruction module is used to update the system digital twin set according to the abnormal data received by the system digital twin management module when the device digital twin executes the corresponding system task abnormally, and through the network controller updating the first traffic management rule or the second traffic management rule.

在一种可选的实施方式中,系统重构模块包括:In an optional implementation manner, the system reconstruction module includes:

系统重构子模块,用于所述系统数字孪生体管理模块根据与所述异常数据对应的目标设备数字孪生体更新所述系统数字孪生集,并通过所述网络控制器根据所述目标设备数字孪生体的服务质量参数更新所述第一流量管理规则或所述第二流量管理规则。The system reconstruction sub-module is used for the system digital twin management module to update the system digital twin set according to the target equipment digital twin corresponding to the abnormal data, and to update the system digital twin set according to the target equipment digital twin through the network controller. The QoS parameter of the twin updates the first traffic management rule or the second traffic management rule.

上述工业物联网管理装置中各模块的具体细节已经在对应的工业物联网管理方法中进行了详细的描述,因此此处不再赘述。The specific details of each module in the above-mentioned industrial Internet of Things management device have been described in detail in the corresponding industrial Internet of Things management method, so details will not be repeated here.

本公开的示例性实施方式还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本公开的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在电子设备上运行时,程序代码用于使电子设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。该程序产品可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Exemplary embodiments of the present disclosure also provide a computer-readable storage medium on which a program product capable of implementing the above-mentioned method in this specification is stored. In some possible implementations, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product is run on the electronic device, the program code is used to make the electronic device execute the above-mentioned functions of this specification. Steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section. The program product may take the form of a portable compact disc read-only memory (CD-ROM) and include program code, and may run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus or device.

程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。A program product may take the form of any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural programming Language - such as "C" or similar programming language. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider). business to connect via the Internet).

本公开的示例性实施方式还提供了一种能够实现上述方法的电子设备。下面参照图7来描述根据本公开的这种示例性实施方式的电子设备700。图7显示的电子设备700仅仅是一个示例,不应对本公开实施方式的功能和使用范围带来任何限制。Exemplary embodiments of the present disclosure also provide an electronic device capable of implementing the above method. Anelectronic device 700 according to such an exemplary embodiment of the present disclosure is described below with reference to FIG. 7 . Theelectronic device 700 shown in FIG. 7 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.

如图7所示,电子设备700可以以通用计算设备的形式表现。电子设备700的组件可以包括但不限于:至少一个处理单元710、至少一个存储单元720、连接不同系统组件(包括存储单元720和处理单元710)的总线730和显示单元740。As shown in FIG. 7,electronic device 700 may take the form of a general-purpose computing device. Components of theelectronic device 700 may include, but are not limited to: at least oneprocessing unit 710 , at least onestorage unit 720 , abus 730 connecting different system components (including thestorage unit 720 and the processing unit 710 ), and adisplay unit 740 .

存储单元720存储有程序代码,程序代码可以被处理单元710执行,使得处理单元710执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。例如,处理单元710可以执行图2、图4和图5中任意一个或多个方法步骤。Thestorage unit 720 stores program codes, which can be executed by theprocessing unit 710, so that theprocessing unit 710 executes the steps described in the "Exemplary Methods" section above in this specification according to various exemplary embodiments of the present disclosure. For example, theprocessing unit 710 may execute any one or more method steps in FIG. 2 , FIG. 4 and FIG. 5 .

存储单元720可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)721和/或高速缓存存储单元722,还可以进一步包括只读存储单元(ROM)723。Thestorage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 721 and/or acache storage unit 722 , and may further include a read-only storage unit (ROM) 723 .

存储单元720还可以包括具有一组(至少一个)程序模块725的程序/实用工具724,这样的程序模块725包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。Storage unit 720 may also include a program/utility tool 724 having a set (at least one) ofprogram modules 725,such program modules 725 including but not limited to: an operating system, one or more application programs, other program modules, and program data, Implementations of networked environments may be included in each or some combination of these examples.

总线730可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。Bus 730 may represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local area using any of a variety of bus structures. bus.

电子设备700也可以与一个或多个外部设备800(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备700交互的设备通信,和/或与使得该电子设备700能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口750进行。并且,电子设备700还可以通过网络适配器760与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器760通过总线730与电子设备700的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备700使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Theelectronic device 700 can also communicate with one or more external devices 800 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable the user to interact with theelectronic device 700, and/or communicate with Any device (eg, router, modem, etc.) that enables theelectronic device 700 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O)interface 750 . Moreover, theelectronic device 700 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN) and/or a public network such as the Internet) through thenetwork adapter 760 . As shown, thenetwork adapter 760 communicates with other modules of theelectronic device 700 through thebus 730 . It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction withelectronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.

通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本公开实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本公开示例性实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of software products, and the software products can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to cause a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary embodiment of the present disclosure.

此外,上述附图仅是根据本公开示例性实施方式的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。In addition, the above-mentioned drawings are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not imply or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be executed synchronously or asynchronously in multiple modules, for example.

应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. An industrial internet of things management method is characterized by comprising the following steps:
the method comprises the steps that an equipment digital twin body converts original data transmitted by corresponding physical equipment into a first data packet in a preset format and sends the first data packet to an equipment digital twin body management module;
the equipment digital twin management module performs data expansion on the first data packet by using a first traffic management rule issued by a network controller to obtain a second data packet;
the network controller updates the first traffic management rule according to the current network quality to obtain a second traffic management rule, and issues the second traffic management rule to the equipment digital twin management module;
the device digital twin management module adjusts the extension data in the second data packet according to the second traffic management rule.
2. The industrial internet of things management method of claim 1, wherein before the device digital twin management module performs data expansion on the first data packet by using a first traffic management rule issued by a network controller, the method further comprises:
a system digital twin set management module aggregates the device digital twin into a newly activated system digital twin set;
the network controller generates the first traffic management rule according to the service quality parameters of the equipment digital twins in the system digital twins set, and issues the first traffic management rule to a network control agent;
the first traffic management rule at least comprises a traffic management rule identifier, a packet loss rate, a maximum delay and a rule priority.
3. The industrial internet of things management method of claim 2, wherein the data expansion of the first data packet by the device digital twin management module according to a first traffic management rule issued by a network controller to obtain a second data packet comprises:
the equipment digital twin management module acquires the first traffic management rule through the network control agent;
and after the device digital twin executes a corresponding system task, adding the first traffic management rule into the first data packet to obtain a second data packet, wherein the second data packet at least comprises an industrial Internet of things system identifier, a packet loss rate, a maximum delay and the priority of the device digital twin associated with the first data packet.
4. The industrial internet of things management method as claimed in claim 3, wherein the network controller updates the first traffic management rule according to the current network quality, and comprises:
when the target service quality parameter of the current network is smaller than the target service quality parameter of each equipment digital twin in the system digital twin set, the network controller assigns the target service quality parameter of the equipment digital twin in the first traffic management rule to be the target service quality parameter of the current network.
5. The industrial internet of things management method of claim 3, wherein the network controller updating the first traffic management rule according to the current network quality comprises:
when the target service quality parameter of the current network is larger than the target service quality parameter of any equipment digital twin in the system digital twin set, determining a priority interval to which the priority of the equipment digital twin belongs;
when the priority of the device digital twin is in a first priority interval or a third priority interval, the network controller assigns a target quality of service parameter of the device digital twin in the first traffic management rule to a target quality of service parameter of the device digital twin in the system digital twin set;
when the priority of the equipment digital twin is located in a second priority interval, the network controller assigns a target quality of service parameter of the equipment digital twin in the first traffic management rule to be a target quality of service parameter of the current network.
6. The industrial internet of things management method according to any one of claims 3 to 5, further comprising:
and when the system task corresponding to the execution of the equipment digital twin body is abnormal, the system digital twin body management module updates the system digital twin body set according to the received abnormal data, and updates the first flow management rule or the second flow management rule through the network controller.
7. The industrial internet of things management method as claimed in claim 6, wherein the system digital twin management module updates the system digital twin set according to the received abnormal data, and updates the first flow management rule or the second flow management rule through the network controller, and comprises:
the system digital twin management module updates the system digital twin set according to a target device digital twin corresponding to the abnormal data, and updates the first flow management rule or the second flow management rule according to a service quality parameter of the target device digital twin through the network controller.
8. An industrial internet of things management device, comprising:
the data conversion module is used for converting original data transmitted by corresponding physical equipment into a first data packet in a preset format by the equipment digital twin and sending the first data packet to the equipment digital twin management module;
the data enhancement module is used for the equipment digital twin management module to perform data expansion on the first data packet by using a first traffic management rule issued by a network controller to obtain a second data packet;
a rule updating module, configured to update, by the network controller, the first traffic management rule according to a current network quality to obtain a second traffic management rule, and send the second traffic management rule to the device digital twin management module;
and the data adjusting module is used for adjusting the extended data in the second data packet by the equipment digital twin management module according to the second flow management rule.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-7 via execution of the executable instructions.
CN202211124605.2A2022-09-152022-09-15Industrial Internet of things management method and device, storage medium and electronic equipmentActiveCN115514825B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211124605.2ACN115514825B (en)2022-09-152022-09-15Industrial Internet of things management method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202211124605.2ACN115514825B (en)2022-09-152022-09-15Industrial Internet of things management method and device, storage medium and electronic equipment

Publications (2)

Publication NumberPublication Date
CN115514825Atrue CN115514825A (en)2022-12-23
CN115514825B CN115514825B (en)2024-12-27

Family

ID=84503457

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202211124605.2AActiveCN115514825B (en)2022-09-152022-09-15Industrial Internet of things management method and device, storage medium and electronic equipment

Country Status (1)

CountryLink
CN (1)CN115514825B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20200051440A1 (en)*2018-08-102020-02-13The Boeing CompanyAircraft Communications System with An Operational Digital Twin
CN112818446A (en)*2021-01-262021-05-18西安交通大学Construction method of intelligent workshop digital twin system
CN113064351A (en)*2021-03-262021-07-02京东数字科技控股股份有限公司Digital twin model construction method and device, storage medium and electronic equipment
CN114424167A (en)*2019-05-062022-04-29强力物联网投资组合2016有限公司 A platform to facilitate intelligent development of industrial IoT systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20200051440A1 (en)*2018-08-102020-02-13The Boeing CompanyAircraft Communications System with An Operational Digital Twin
CN114424167A (en)*2019-05-062022-04-29强力物联网投资组合2016有限公司 A platform to facilitate intelligent development of industrial IoT systems
CN112818446A (en)*2021-01-262021-05-18西安交通大学Construction method of intelligent workshop digital twin system
CN113064351A (en)*2021-03-262021-07-02京东数字科技控股股份有限公司Digital twin model construction method and device, storage medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
STERGIOU,CHRISTOS L. 等: "Digital twin intelligent system for industrial internet of things-based big data management and analysis in cloud environments", VIRTUAL REALITY & INTELLIGENT HARDWARE, 31 August 2022 (2022-08-31)*
钟添荣等: "基于城市信息模型的智慧城市孪生应用平台研究", 自然资源信息化, no. 2, 30 April 2022 (2022-04-30)*

Also Published As

Publication numberPublication date
CN115514825B (en)2024-12-27

Similar Documents

PublicationPublication DateTitle
CN113300881B (en)5G network-based scheduling method, device, equipment and storage medium
CN112511325B (en) Network congestion control method, node, system and storage medium
CN109840155B (en)Method and device for realizing remote procedure call
CN113364638B (en)Method, electronic device and storage medium for EPA networking
CN104750544B (en)Applied to the process management system and process management method in distributed system
CN112787952B (en) A method and device for adjusting service flow
WO2019237531A1 (en)Network node monitoring method and system
US8156209B1 (en)Aggregation devices processing keep-alive messages of point-to-point sessions
CN118368323A (en) A design method for an IoT middleware system that supports access to heterogeneous edge devices
CN104202313A (en)Data forwarding method and gateway
CN115550438A (en) Internet of things message processing method, device, system, equipment and storage medium
CN119031049A (en) A personalized MQTT protocol configuration method, system, device and medium
CN106789229A (en)A kind of middleware towards industrial SDN, system and its implementation
CN110557321A (en)Information transmission method, network equipment and terminal
CN114629741A (en)Data exchange method, device and system of vehicle bus communication network
Lin et al.Gigabit Modbus user datagram protocol fieldbus network integrated with industrial vision communication
CN115514825A (en)Industrial Internet of things management method and device, storage medium and electronic equipment
CN118413583A (en)IPMI protocol rapid transmission method and related equipment
JP2011182115A (en)Communication method, communication system and server
CN115002038B (en) An intelligent peak shaving method and system based on cloud distributed coordination service
CN115225726B (en) Multi-protocol terminal networking method, communication method, storage medium and electronic device
CN116455817A (en)Software-defined cloud network fusion architecture and route implementation method
CN115277504A (en)Network traffic monitoring method, device and system
CN113194048A (en)Device for dynamically switching CPU (Central processing Unit) and GPU (graphics processing Unit) topologies and use method
WO2020238764A1 (en)Time sequence management method, device and system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp