WO2025025388A1 - Delay guarantee method for cloud plc service in 5g-tsn architecture - Google Patents
Delay guarantee method for cloud plc service in 5g-tsn architecture Download PDFInfo
- Publication number
- WO2025025388A1 WO2025025388A1 PCT/CN2023/129489 CN2023129489W WO2025025388A1 WO 2025025388 A1 WO2025025388 A1 WO 2025025388A1 CN 2023129489 W CN2023129489 W CN 2023129489W WO 2025025388 A1 WO2025025388 A1 WO 2025025388A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- priority
- cloud
- tsn
- services
- queue
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/10—Flow control between communication endpoints
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
Definitions
- the present invention relates to the technical field of collaborative integration of 5G and industrial Internet, and in particular to a latency guarantee method for cloud-based PLC services under a 5G-TSN architecture.
- 5G has low-latency and high-reliability connection capabilities.
- 5G-enabled industry applications have become a common demand of the communications and industrial sectors.
- industrial services have extremely strict requirements on the performance of the bearer network.
- the factory bearer network not only needs to have low latency, low jitter and high reliability capabilities, but also should have deterministic characteristics.
- deterministic latency guarantees are the basis for the security and controllability of their systems. Therefore, how to achieve collaborative transmission of 5G and TSN to enhance the deterministic bearer capacity of the 5G system has become a key technical issue in the core links of 5G's deep empowerment of the industry.
- Time Sensitive Networking is a series of standard specifications formed by the IEEE802.1 working group based on standard Ethernet for layer 2 technology enhancements such as time synchronization, resource management, traffic shaping, and network configuration.
- TSN has the ability to determine delay guarantee and unified carrying capacity for multiple services.
- it can not only ensure the boundedness of end-to-end transmission delay and jitter of time-triggered service flows with strong real-time requirements, but also achieve "one-network transmission" for non-real-time services and best-effort services.
- TSN is compatible with standard Ethernet protocols, and can achieve collaboration with heterogeneous industrial field communication protocols, and is forward compatible with the coexistence of heterogeneous field communication protocols.
- wired TSN networks are difficult to meet the terminal access and data transmission needs of smart factories.
- the integration and collaboration of 5G and TSN is not only the demand for 5G to extend to the industrial field, but also the driver of the endogenous demand of smart factories.
- the IT and OT fields have proposed the concept of cloud PLC, that is, a programmable controller running in the cloud.
- cloud PLC a programmable controller running in the cloud.
- the software-defined PLC is directly connected to the industrial Internet platform to achieve remote control of the cloud PLC.
- the emergence of cloud PLC makes the deployment location of PLC more flexible, and can realize functions such as rapid creation, flexible migration, and secure backup of industrial control tasks.
- the cloud PLC can be deployed on the MEC server in the industrial park, and the industrial control business data can be diverted on the 5G UPF, providing industrial control services for the factory based on the powerful computing power of MEC.
- Cloud PLC can further penetrate the 5G network, sink edge computing capabilities to 5G CU, implement the 5G CU protocol stack on a general-purpose architecture server, integrate the diversion function, and deploy cloud PLC to achieve industrial control business data diversion in 5G CU, further shortening the communication link between cloud PLC and industrial field controlled equipment.
- the 5G air interface has the greatest impact on the determinism of data transmission. Due to the shortage of 5G air interface resources, how to provide reliable latency guarantee for industrial control services under the condition of multi-service carrying has become the key to carrying cloud PLC services under the 5G-TSN architecture. How to reliably transmit in the 5G-TSN network has become the main problem faced by cloud PLC devices based on 5G-TSN.
- the present invention provides a delay guarantee method for cloud-based PLC services under the 5G-TSN architecture, which reduces the 5G network delay, reduces intermediate cables and equipment, and expands the mobility range of equipment terminals.
- Cloud-based PLC services are given priority resource allocation at the wireless air interface.
- the proposed algorithm can obtain lower delay than an algorithm that does not provide guarantees.
- the 5G-TSN network carries multiple services simultaneously and provides delay determinism guarantee for industrial control services, reducing the deployment complexity of industrial field networks.
- a latency guarantee method for cloud-based PLC services under a 5G-TSN architecture includes the following contents:
- a wireless resource scheduling function module is set in the 5G-TSN network.
- the wireless resource priority allocation method for cloud-based PLC industrial control services includes the following steps:
- Counting the amount of queue data The number of cloud-based PLC industrial control business flows involved in the current queue is n, and the number of data packets corresponding to the same type of industrial control business flow i is pi . The number of data packets is used to count the amount of queue data, and the number of data packets is
- the wireless channel quality indicator corresponding to the industrial control service flow i is CQI i .
- the number of bits that each resource block can carry under the wireless channel quality is obtained as AMC i , the more AMC i there are, the better the quality of the feedback wireless channel is;
- D i is the required delay value of the data packet
- the time value for which the packet has been waiting will be calculated based on the remaining time value of all packets in the highest priority queue. Allocate resources and remaining time value The smaller it is, the priority will be given to resource allocation until all current wireless resources are allocated.
- the 5G-TSN architecture for cloud-based PLC services includes cloud-based PLC, video services, other data services and 5G+TSN network.
- the cloud-based PLC, video services and other data services are transmitted from the server to the client via the 5G-TSN network.
- the 5G+TSN network includes a network-side TSN converter NW-TT, a user plane function UPF, service priority mapping, priority queue management, wireless resource scheduling, a user terminal UE and a device-side TSN converter.
- Clouded PLC, video services and other data services pass through the user plane function UPF and access the 5G core network using the network-side TSN converter NW-TT.
- Service priority mapping, priority queue management and wireless resource scheduling transmit the allocated resources to the user terminal UE.
- the user terminal UE is connected to the device-side TSN converter to provide a TSN export port.
- Priority tags with values of 0 and 1 are high priority
- priority tags with values of 2, 3 or 4 are medium priority
- priority tags with values of 5, 6 or 7 are low priority.
- the present invention has the following beneficial effects:
- the 5G-TSN network carries multiple services simultaneously and provides latency determinism guarantee for industrial control services, reducing the deployment complexity of industrial site networks.
- FIG1 is a diagram of the 5G-TSN architecture for cloud-based PLC services according to the present invention.
- FIG2 is a flow chart of wireless resource allocation for different service flows by a base station under the 5G-TSN architecture described in the present invention.
- FIG3 is a delay diagram of the method provided by the present invention and other non-guaranteed methods for Yunhua PLC services.
- the present invention provides a delay guarantee method for cloud-based PLC services under a 5G-TSN architecture.
- the 5G-TSN architecture for cloud-based PLC services includes cloud-based PLC, video services, other data services, and a 5G+TSN network.
- the 5G+TSN network includes a network-side TSN converter NW-TT, a user plane function UPF, service priority mapping, priority queue management, wireless resource scheduling, a user terminal UE, and a device-side TSN converter.
- NW-TT network-side TSN converter
- UPF user plane function
- service priority mapping service priority mapping
- priority queue management wireless resource scheduling
- wireless resource scheduling a user terminal UE
- device-side TSN converter There are multiple different user terminals in the network, corresponding to different service types.
- Cloud-based PLC, video services, and other data services are connected to the 5G core network through the user plane function UPF, and the network-side TSN converter NW-TT is used to access the 5G core network.
- Service priority mapping, priority queue management, and wireless resource scheduling transmit the allocated resources to the user terminal UE.
- the user terminal UE is connected to the device-side TSN converter to provide a TSN egress port.
- the present invention provides a delay guarantee method for cloud-based PLC services under a 5G-TSN architecture, comprising the following contents:
- a service priority mapping function module in the 5G-TSN network: Different service flows have different flow IDs to distinguish different services. When different service flows arrive at the base station, the base station first identifies different service flows according to the flow ID, and maps different service flows to different queues according to priority. For example, the industrial control service flow of the cloud PLC is mapped to the priority queue Q0, and the video service and other mobile service flows with real-time requirements are mapped to the priority queue Q1. Other service flows that do not require latency are mapped to the priority queue Q7. Among them, the Q0 queue is the highest priority queue, and so on. The Q7 queue is the lowest priority queue. The higher the service priority, the smaller the corresponding priority queue number.
- a wireless resource scheduling function module is set up in the 5G-TSN network to ensure the latency of cloud-based PLC industrial control services and give priority to wireless resource scheduling of the Q0 high priority queue. Since wireless air interface scheduling is performed according to the transmission time interval TTI, which is generally 0.5ms or 1ms, wireless air interface resources need to be dynamically scheduled every TTI time to meet the transmission requirements of different services.
- the wireless resource priority allocation method for cloud-based PLC industrial control services includes the following steps:
- Counting the amount of queue data When the number of cloud-based PLC industrial control business flows involved in the current queue Q0 is n, the number of data packets corresponding to the same type of industrial control business flow i is p i . The number of data packets is used to count the amount of queue data, and the number of data packets is
- Step 1 After passing through the user plane function UPF in the 5G core network, the service data enters the wireless base station side.
- priority tags are given to different service flows according to the characteristics of the service flows. Sign PC, PC values between 0 and 1 are high priority, PC values between 2-4 are medium priority, and PC values between 5-7 are low priority;
- Step 2 After the service flow is marked, it enters the base station side and must first be mapped to the service priority. After passing through the network side TSN converter NW-TT, different services will be marked with service priority labels. According to different service priority labels, different service flows will be mapped to different queues on the base station side. The higher the queue number, the lower its priority. For high-priority queues, when service flow data of the same priority arrives, the first-in-first-out (FIFO) rule is not adopted, but queued according to the delay requirements of service flows of the same priority. The smaller the delay requirement value, the data packet of the service flow should be ranked first. In this way, even if the resources cannot fully guarantee the transmission of the high-priority queue, the most urgent service flow can still be guaranteed to transmit data;
- FIFO first-in-first-out
- Step 3 When allocating wireless resources at the air interface, queue Q0 will be allocated first. Since the queuing mechanism used by queue Q0 is arranged according to the service delay requirements, the data packets with higher delay requirements will be allocated resources earlier. Assume that the total number of wireless resources that can be allocated in the current transmission time interval TTI is
- Step 3.1 All data packets in the queue will be allocated to the corresponding wireless resources. At this time, the number of wireless resources meets the data packet transmission requirements in the high-priority queue Q0. After allocating resources to the high-priority queue, resources will be allocated to the medium-priority and low-priority queues.
- Step 3.2 If The remaining time values of different data packets will be compared and allocated. Where D i is the required delay value of the data packet, is the time value that the data packet has been waiting for, Including the transmission time, waiting time and processing time in the non-air interface part, the remaining time of all packets in queue Q0 will be calculated. Allocate resources and remaining time value The smaller it is, the priority will be given to resource allocation until all available wireless resources in the current transmission time interval TT are allocated;
- the delay guarantee method for PLC services using the method of the present invention can provide timely wireless resource guarantee for PLC services. Therefore, even with the increase in the number of business flows, the delay change of cloud PLC services does not fluctuate, which reflects the delay determinism of the method of the present invention.
- the delay of the polling scheduling mechanism increases with the increase in the number of business flows, and cannot provide service quality guarantee for cloud PLC under multi-business transmission conditions.
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本发明涉及5G与工业互联网协同融合技术领域,尤其涉及一种5G-TSN架构下针对云化PLC业务的时延保障方法。The present invention relates to the technical field of collaborative integration of 5G and industrial Internet, and in particular to a latency guarantee method for cloud-based PLC services under a 5G-TSN architecture.
5G与工业互联网协同与融合成为当前学术研究的热点,5G具备低时延、高可靠连接能力,5G赋能行业应用成为通信界和产业界共同的需求,然而,工业业务对承载网络性能要求极为严格,工厂承载网络不仅需要具备低时延、低抖动和高可靠能力,还应具备确定性的特征,对于工业控制系统而言,确定性的时延保证是其系统安全可控的基础,因此,如何实现5G与TSN的协同传输以提升5G系统的确定性承载能力,成为5G深度赋能工业核心环节的关键技术问题。The collaboration and integration of 5G and the Industrial Internet has become a hot topic in current academic research. 5G has low-latency and high-reliability connection capabilities. 5G-enabled industry applications have become a common demand of the communications and industrial sectors. However, industrial services have extremely strict requirements on the performance of the bearer network. The factory bearer network not only needs to have low latency, low jitter and high reliability capabilities, but also should have deterministic characteristics. For industrial control systems, deterministic latency guarantees are the basis for the security and controllability of their systems. Therefore, how to achieve collaborative transmission of 5G and TSN to enhance the deterministic bearer capacity of the 5G system has become a key technical issue in the core links of 5G's deep empowerment of the industry.
时延敏感网络(TSN,Time Sensitive Networking)是由IEEE802.1工作组在标准以太网基础上针对时间同步、资源管理、流量整形、网络配置等层二技术增强而形成的一系列标准规范,在技术层面,TSN具有确定时延保障及多业务统一承载能力,在实现TSN域内各节点间高精度时间同步基础上,不仅能保证具有强实时需求的时间触发业务流端到端传输时延和抖动的有界性,还能实现非实时类业务及尽力而为型业务的“一网传输”,在组网层面,TSN因兼容标准以太网协议,能够实现与异构工业现场通信协议的协同,前向兼容异构现场通信协议并存格局;然而,随着大量传感器在设备、车间及工厂中的部署,以及机器臂、移动机器人等智能化终端在生产线上的广泛使用,有线TSN网络难以满足智能工厂终端接入及数据传输需求,5G与TSN的融合协同不仅是5G向工业领域延展的需求,更是智能工厂内生需求的驱动。Time Sensitive Networking (TSN) is a series of standard specifications formed by the IEEE802.1 working group based on standard Ethernet for layer 2 technology enhancements such as time synchronization, resource management, traffic shaping, and network configuration. At the technical level, TSN has the ability to determine delay guarantee and unified carrying capacity for multiple services. On the basis of achieving high-precision time synchronization between nodes in the TSN domain, it can not only ensure the boundedness of end-to-end transmission delay and jitter of time-triggered service flows with strong real-time requirements, but also achieve "one-network transmission" for non-real-time services and best-effort services. At the networking level, TSN is compatible with standard Ethernet protocols, and can achieve collaboration with heterogeneous industrial field communication protocols, and is forward compatible with the coexistence of heterogeneous field communication protocols. However, with the deployment of a large number of sensors in equipment, workshops, and factories, and the widespread use of intelligent terminals such as robotic arms and mobile robots on production lines, wired TSN networks are difficult to meet the terminal access and data transmission needs of smart factories. The integration and collaboration of 5G and TSN is not only the demand for 5G to extend to the industrial field, but also the driver of the endogenous demand of smart factories.
当前,IT及OT领域提出了云化PLC的概念,即在云端运行的可编程控制器,通过将物联接口标准化和应用云化,采用软件定义的PLC与工业互联网平台直接相通,实现云化PLC的远程控制,云化PLC的出现使PLC部署位置更加灵活,可实现工业控制任务的快速创建、灵活迁移、安全备份等功能;一方面可以将云化PLC部署在工业园区MEC服务器,在5G UPF实现工控业务数据分流,基于MEC的强大算力为工厂提供工控服务;另一方面, 云化PLC可以进一步深入5G网络,将边缘计算能力下沉到5G CU,在通用架构服务器上实现5G CU协议栈基础上,集成分流功能,并部署云化PLC,在5G CU实现工控业务数据分流,进一步缩短云化PLC与工业现场被控设备间的通信链路,然而,如何保证云化PLC的工控业务数据,整个5G-TSN网络中,对于数据传输确定性影响最大的就是5G空口,由于5G空口资源紧缺,在多业务承载条件下,如何为工业控制类业务提供可靠的时延保障,成为5G-TSN架构下承载云化PLC业务的关键,如何在5G-TSN网络中可靠传输,成为基于5G-TSN的云化PLC装置所面临的主要问题。At present, the IT and OT fields have proposed the concept of cloud PLC, that is, a programmable controller running in the cloud. By standardizing the IoT interface and clouding the application, the software-defined PLC is directly connected to the industrial Internet platform to achieve remote control of the cloud PLC. The emergence of cloud PLC makes the deployment location of PLC more flexible, and can realize functions such as rapid creation, flexible migration, and secure backup of industrial control tasks. On the one hand, the cloud PLC can be deployed on the MEC server in the industrial park, and the industrial control business data can be diverted on the 5G UPF, providing industrial control services for the factory based on the powerful computing power of MEC. On the other hand, Cloud PLC can further penetrate the 5G network, sink edge computing capabilities to 5G CU, implement the 5G CU protocol stack on a general-purpose architecture server, integrate the diversion function, and deploy cloud PLC to achieve industrial control business data diversion in 5G CU, further shortening the communication link between cloud PLC and industrial field controlled equipment. However, how to ensure the industrial control business data of cloud PLC? In the entire 5G-TSN network, the 5G air interface has the greatest impact on the determinism of data transmission. Due to the shortage of 5G air interface resources, how to provide reliable latency guarantee for industrial control services under the condition of multi-service carrying has become the key to carrying cloud PLC services under the 5G-TSN architecture. How to reliably transmit in the 5G-TSN network has become the main problem faced by cloud PLC devices based on 5G-TSN.
发明内容Summary of the invention
本发明提供了一种5G-TSN架构下针对云化PLC业务的时延保障方法,将5G网络时延降低,减少了中间线缆与设备,扩大了设备终端移动范围,云化PLC业务在无线空口得到了优先资源分配,在多业务混合传输场景下,所提出的算法比不提供保障的算法能够获得更低的时延,5G-TSN网络同时承载多种业务,并且为工业控制类业务提供时延确定性保障,降低了工业现场网络的部署复杂度。The present invention provides a delay guarantee method for cloud-based PLC services under the 5G-TSN architecture, which reduces the 5G network delay, reduces intermediate cables and equipment, and expands the mobility range of equipment terminals. Cloud-based PLC services are given priority resource allocation at the wireless air interface. In a multi-service mixed transmission scenario, the proposed algorithm can obtain lower delay than an algorithm that does not provide guarantees. The 5G-TSN network carries multiple services simultaneously and provides delay determinism guarantee for industrial control services, reducing the deployment complexity of industrial field networks.
为了达到上述目的,本发明采用以下技术方案实现:In order to achieve the above object, the present invention adopts the following technical solutions:
一种5G-TSN架构下针对云化PLC业务的时延保障方法,包括以下内容:A latency guarantee method for cloud-based PLC services under a 5G-TSN architecture includes the following contents:
1)在5G-TSN网络设置业务优先级映射功能模块:当不同业务流到达基站时,基站首先根据流ID识别不同的业务流,将不同业务流按照优先级映射到不同的队列中;1) Set up a service priority mapping function module in the 5G-TSN network: When different service flows arrive at the base station, the base station first identifies different service flows according to the flow ID and maps different service flows to different queues according to their priorities;
2)在5G-TSN网络中设置优先级队列管理功能模块:根据工业控制类业务流的时延要求进行排队,时延要求越小,数据包在队列中排得越靠前,具有不同扫描周期、不同时延要求的工业控制类业务流中,扫描周期由小至大且时延要求由高到低的工业控制类业务流优先进行优先级排序,对于其他优先级队列,采用FIFO的规则进行排队;2) Set up a priority queue management function module in the 5G-TSN network: Queue according to the latency requirements of industrial control service flows. The smaller the latency requirement, the higher the data packet is in the queue. Among industrial control service flows with different scanning cycles and different latency requirements, the industrial control service flows with scanning cycles from small to large and latency requirements from high to low are prioritized. For other priority queues, the FIFO rule is used for queuing;
3)在5G-TSN网络中设置无线资源调度功能模块,云化PLC工业控制类业务的无线资源优先分配方法包括以下步骤:3) A wireless resource scheduling function module is set in the 5G-TSN network. The wireless resource priority allocation method for cloud-based PLC industrial control services includes the following steps:
(1)统计队列数据量:当前队列中涉及到的云化PLC工业控制类业务流条数为n条,同一类工业控制类业务流i所对应的数据包个数为pi,利用数据包个数统计队列数据量,则有数据包个数 (1) Counting the amount of queue data: The number of cloud-based PLC industrial control business flows involved in the current queue is n, and the number of data packets corresponding to the same type of industrial control business flow i is pi . The number of data packets is used to count the amount of queue data, and the number of data packets is
(2)反馈无线信道质量:工业控制类业务流i所对应的无线信道质量指示为CQIi,根据自适应调制编码规则,得到该无线信道质量下,每个资源块所能承载的比特数为 AMCi,AMCi越多反馈无线信道质量越好;(2) Feedback of wireless channel quality: The wireless channel quality indicator corresponding to the industrial control service flow i is CQI i . According to the adaptive modulation and coding rule, the number of bits that each resource block can carry under the wireless channel quality is obtained as AMC i , the more AMC i there are, the better the quality of the feedback wireless channel is;
(3)计算所需无线资源:根据不同云化PLC工业控制类业务流的无线信道质量,得到承载pi个数据包所需要的RB数目其中,li为数据包的长度,因此,可以得到要传输当前队列中m个数据包所需要的无线资源数目 (3) Calculate the required wireless resources: According to the wireless channel quality of different cloud-based PLC industrial control service flows, the number of RBs required to carry p i data packets is obtained. Among them, l i is the length of the data packet, so the number of wireless resources required to transmit m data packets in the current queue can be obtained
(4)分配无线资源:在空口进行无线资源分配时,首先针对最高优先级队列进行,在传输时间间隔TTI中能够分配得无线资源总数为 (4) Allocating wireless resources: When allocating wireless resources on the air interface, the highest priority queue is allocated first. The total number of wireless resources that can be allocated in the transmission time interval TTI is
当则队列中所有数据包都将会分配到相应的无线资源,只有最高优先级队列中所有数据包均分配完资源后,再给其他队列分配无线资源;when Then all packets in the queue will be allocated to the corresponding wireless resources. Only after all packets in the highest priority queue have been allocated resources, wireless resources will be allocated to other queues.
若则将比对不同数据包的剩余时间值进行分配,剩余时间值其中,Di为该数据包的时延要求值,为数据包已经等待的时间值,将按最高优先级队列中所有数据包的剩余时间值进行资源分配,剩余时间值越小,则将优先进行资源分配,直到当前无线资源全部分配完毕。like The remaining time values of different data packets will be compared and allocated. Where D i is the required delay value of the data packet, The time value for which the packet has been waiting will be calculated based on the remaining time value of all packets in the highest priority queue. Allocate resources and remaining time value The smaller it is, the priority will be given to resource allocation until all current wireless resources are allocated.
进一步的,针对云化PLC业务的5G-TSN架构包括云化PLC、视频业务、其他数据业务和5G+TSN网络,所述云化PLC、视频业务和其他数据业务由5G-TSN网络由服务端传向客户端。Furthermore, the 5G-TSN architecture for cloud-based PLC services includes cloud-based PLC, video services, other data services and 5G+TSN network. The cloud-based PLC, video services and other data services are transmitted from the server to the client via the 5G-TSN network.
进一步的,所述5G+TSN网络包括网络侧TSN转换器NW-TT、用户平面功能UPF、业务优先级映射、优先级队列管理、无线资源调度、用户终端UE和设备侧TSN转换器,云化PLC、视频业务和其他数据业务经过用户平面功能UPF,利用网络侧TSN转换器NW-TT接入5G核心网,业务优先级映射、优先级队列管理和无线资源调度将分配好的资源传输至用户终端UE,用户终端UE与设备侧TSN转换器连接,提供TSN出口端口。Furthermore, the 5G+TSN network includes a network-side TSN converter NW-TT, a user plane function UPF, service priority mapping, priority queue management, wireless resource scheduling, a user terminal UE and a device-side TSN converter. Clouded PLC, video services and other data services pass through the user plane function UPF and access the 5G core network using the network-side TSN converter NW-TT. Service priority mapping, priority queue management and wireless resource scheduling transmit the allocated resources to the user terminal UE. The user terminal UE is connected to the device-side TSN converter to provide a TSN export port.
进一步的,所述分配无线资源时,将不同业务流打上优先级标签,优先级标签的值为0和1的为高优先级,优先级标签的值为2或3或4的为中优先级,优先级标签的值为5或6或7的为低优先级。Furthermore, when allocating wireless resources, different service flows are marked with priority tags. Priority tags with values of 0 and 1 are high priority, priority tags with values of 2, 3 or 4 are medium priority, and priority tags with values of 5, 6 or 7 are low priority.
进一步的,所述分配无线资源中,对于相同优先级队列,相同优先级的业务流数据到来时,根据相同优先级业务流的时延要求进行排队,时延要求值越小,则该业务流的数据 分组就排在越前面。Furthermore, in the allocation of wireless resources, for queues with the same priority, when service flow data with the same priority arrives, they are queued according to the delay requirements of service flows with the same priority. The smaller the delay requirement value, the faster the data of the service flow. The grouping is at the front.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the present invention has the following beneficial effects:
1)将5G网络时延降低,减少了中间线缆与设备,扩大了设备终端移动范围;1) Reduce the latency of 5G networks, reduce the number of intermediate cables and equipment, and expand the mobility range of equipment terminals;
2)云化PLC业务在无线空口得到了优先资源分配,在多业务混合传输场景下,所提出的算法比不提供保障的算法能够获得更低的时延;2) Cloud-based PLC services are given priority resource allocation on the wireless air interface. In the scenario of multi-service mixed transmission, the proposed algorithm can achieve lower latency than the algorithm that does not provide guarantees;
3)5G-TSN网络同时承载多种业务,并且为工业控制类业务提供时延确定性保障,降低了工业现场网络的部署复杂度。3) The 5G-TSN network carries multiple services simultaneously and provides latency determinism guarantee for industrial control services, reducing the deployment complexity of industrial site networks.
图1是本发明所述针对云化PLC业务的5G-TSN架构图。FIG1 is a diagram of the 5G-TSN architecture for cloud-based PLC services according to the present invention.
图2是本发明所述5G-TSN架构下基站针对不同业务流进行无线资源分配的流程图。FIG2 is a flow chart of wireless resource allocation for different service flows by a base station under the 5G-TSN architecture described in the present invention.
图3是本发明提供的方法与其他非保障方法针对云华PLC业务的时延图。FIG3 is a delay diagram of the method provided by the present invention and other non-guaranteed methods for Yunhua PLC services.
下面结合附图对本发明的具体实施方式作进一步说明:The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings:
见图1,是本发明针对云化PLC业务的5G-TSN架构图。本发明一种5G-TSN架构下针对云化PLC业务的时延保障方法,针对云化PLC业务的5G-TSN架构包括云化PLC、视频业务、其他数据业务和5G+TSN网络,所述5G+TSN网络包括网络侧TSN转换器NW-TT、用户平面功能UPF、业务优先级映射、优先级队列管理、无线资源调度、用户终端UE和设备侧TSN转换器,在网络中有多个不同的用户终端,分别对应承载不同的业务类型,云化PLC、视频业务和其他数据业务经过用户平面功能UPF,利用网络侧TSN转换器NW-TT接入5G核心网,业务优先级映射、优先级队列管理和无线资源调度将分配好的资源传输至用户终端UE,用户终端UE与设备侧TSN转换器连接,提供TSN出口端口。See Figure 1, which is a 5G-TSN architecture diagram for cloud-based PLC services of the present invention. The present invention provides a delay guarantee method for cloud-based PLC services under a 5G-TSN architecture. The 5G-TSN architecture for cloud-based PLC services includes cloud-based PLC, video services, other data services, and a 5G+TSN network. The 5G+TSN network includes a network-side TSN converter NW-TT, a user plane function UPF, service priority mapping, priority queue management, wireless resource scheduling, a user terminal UE, and a device-side TSN converter. There are multiple different user terminals in the network, corresponding to different service types. Cloud-based PLC, video services, and other data services are connected to the 5G core network through the user plane function UPF, and the network-side TSN converter NW-TT is used to access the 5G core network. Service priority mapping, priority queue management, and wireless resource scheduling transmit the allocated resources to the user terminal UE. The user terminal UE is connected to the device-side TSN converter to provide a TSN egress port.
本发明一种5G-TSN架构下针对云化PLC业务的时延保障方法,包括以下内容:The present invention provides a delay guarantee method for cloud-based PLC services under a 5G-TSN architecture, comprising the following contents:
1)在5G-TSN网络中设置业务优先级映射功能模块:不同业务流有着不同的流ID,用以区分不同的业务,当不同业务流到达基站时,基站首先根据流ID识别不同的业务流,并将不同业务流按照优先级映射到不同的队列中,如云化PLC所属的工业控制类业务流映射到优先级队列Q0,将视频业务及其他具有实时要求的移动业务流映射到优先级队列Q1,将其他对时延没有要求的业务流映射到优先级队列Q7,其中,Q0队列是最高优先级队列,依次类推,Q7队列是最低优先级队列,业务优先级越高,其所对应的优先级队列编号越小; 1) Set up a service priority mapping function module in the 5G-TSN network: Different service flows have different flow IDs to distinguish different services. When different service flows arrive at the base station, the base station first identifies different service flows according to the flow ID, and maps different service flows to different queues according to priority. For example, the industrial control service flow of the cloud PLC is mapped to the priority queue Q0, and the video service and other mobile service flows with real-time requirements are mapped to the priority queue Q1. Other service flows that do not require latency are mapped to the priority queue Q7. Among them, the Q0 queue is the highest priority queue, and so on. The Q7 queue is the lowest priority queue. The higher the service priority, the smaller the corresponding priority queue number.
2)在5G-TSN网络中设置优先级队列管理功能模块:根据工业控制类业务流的时延要求进行排队,时延要求越小,数据包在队列中排得越靠前,具有不同扫描周期、不同时延要求的工业控制类业务流中,扫描周期由小至大且时延要求由高到低的工业控制类业务流优先进行优先级排序,对于其他优先级队列,采用FIFO的规则进行排队,对于队列Q0,数据将不再是采用First In First Out先入先出FIFO,而是根据工业控制类业务流i的时延要求Di进行排队,即Di越小,则数据包在队列中应该排得越靠前;2) Set up a priority queue management function module in the 5G-TSN network: Queue according to the latency requirements of industrial control service flows. The smaller the latency requirement, the higher the data packet is in the queue. Among industrial control service flows with different scanning cycles and different latency requirements, the industrial control service flows with scanning cycles from small to large and latency requirements from high to low are prioritized. For other priority queues, the FIFO rule is used for queuing. For queue Q0, data will no longer be queued according to the First In First Out FIFO, but will be queued according to the latency requirement Di of industrial control service flow i, that is, the smaller Di , the higher the data packet should be in the queue;
3)在5G-TSN网络中设置无线资源调度功能模块,用于保障云化PLC工业控制类业务时延,优先保障Q0高优先级队列的无线资源调度,由于无线空口调度是按照传输时间间隔TTI进行的,TTI一般为0.5ms或1ms,即每隔TTI时间,无线空口资源均需要进行一次动态调度,从而满足不同业务的传输需求,针对云化PLC工业控制类业务的无线资源优先分配方法包括以下步骤:3) A wireless resource scheduling function module is set up in the 5G-TSN network to ensure the latency of cloud-based PLC industrial control services and give priority to wireless resource scheduling of the Q0 high priority queue. Since wireless air interface scheduling is performed according to the transmission time interval TTI, which is generally 0.5ms or 1ms, wireless air interface resources need to be dynamically scheduled every TTI time to meet the transmission requirements of different services. The wireless resource priority allocation method for cloud-based PLC industrial control services includes the following steps:
(1)统计队列数据量:当当前队列Q0中涉及到的云化PLC工业控制类业务流条数为n条时,同一类工业控制类业务流i所对应的数据包个数为pi,利用数据包个数统计队列数据量,则有数据包个数 (1) Counting the amount of queue data: When the number of cloud-based PLC industrial control business flows involved in the current queue Q0 is n, the number of data packets corresponding to the same type of industrial control business flow i is p i . The number of data packets is used to count the amount of queue data, and the number of data packets is
(2)反馈无线信道质量:由于不同云化PLC工业控制类业务流是由不同的无线终端所承载的,当工业控制类业务流i所对应的无线信道质量指示为CQIi时,根据自适应调制编码规则,得到该无线信道质量下每个资源块所能承载的比特数为AMCi,AMCi越多反馈无线信道质量越好;(2) Feedback on wireless channel quality: Since different cloud-based PLC industrial control service flows are carried by different wireless terminals, when the wireless channel quality indicator corresponding to industrial control service flow i is CQI i , according to the adaptive modulation and coding rule, the number of bits that each resource block can carry under the wireless channel quality is AMC i . The more AMC i , the better the feedback wireless channel quality.
(3)计算所需无线资源:根据不同云化PLC工业控制类业务流的无线信道质量,得到承载pi个数据包所需要的RB数目为其中,li为数据包的长度,因此,可以得到要传输当前队列中m个数据包所需要的无线资源为 (3) Calculate the required wireless resources: According to the wireless channel quality of different cloud-based PLC industrial control service flows, the number of RBs required to carry p i data packets is obtained as Among them, li is the length of the data packet. Therefore, the wireless resources required to transmit m data packets in the current queue are
(4)分配无线资源:针对高优先级的云化PLC等工业控制业务的无线资源保障流程如图2所示,(4) Allocating wireless resources: The wireless resource guarantee process for high-priority cloud-based PLC and other industrial control services is shown in Figure 2.
步骤1、当经过5G核心网中用户平面功能UPF后,业务数据进入到无线基站侧,为了在空口对不同的业务进行不同的处理,根据业务流特性,为不同业务流打上了优先级标 签PC,PC的值在为0和1的为高优先级、PC的值在2-4之间的为中优先级、PC的值在5-7的为低优先级;Step 1: After passing through the user plane function UPF in the 5G core network, the service data enters the wireless base station side. In order to process different services differently on the air interface, priority tags are given to different service flows according to the characteristics of the service flows. Sign PC, PC values between 0 and 1 are high priority, PC values between 2-4 are medium priority, and PC values between 5-7 are low priority;
步骤2、经过业务流标记后,进入到基站侧,首先要经过业务优先级映射,经过网络侧TSN转换器NW-TT后,不同的业务将会被打上业务优先级标识,将根据不同业务优先级标识,在基站侧将不同业务流映射到不同的队列,编号越高的队列,其优先级越低,对于高优先级队列,相同优先级的业务流数据到来时,也并不是采用先入先出(FIFO)的规则,而是根据相同优先级业务流的时延要求进行排队,时延要求值越小,则该业务流的数据分组就应该排在最前面,这样保证在资源即使不能完全保障高优先级队列传输的情况下,仍然能保证最紧急的业务流能够进行数据传输;Step 2: After the service flow is marked, it enters the base station side and must first be mapped to the service priority. After passing through the network side TSN converter NW-TT, different services will be marked with service priority labels. According to different service priority labels, different service flows will be mapped to different queues on the base station side. The higher the queue number, the lower its priority. For high-priority queues, when service flow data of the same priority arrives, the first-in-first-out (FIFO) rule is not adopted, but queued according to the delay requirements of service flows of the same priority. The smaller the delay requirement value, the data packet of the service flow should be ranked first. In this way, even if the resources cannot fully guarantee the transmission of the high-priority queue, the most urgent service flow can still be guaranteed to transmit data;
步骤3、在空口进行无线资源分配时,将首先针对队列Q0进行,由于队列Q0采用的排队机制是根据业务时延要求排列的,因此时延要求越高的数据包,将会越早进行资源分配,假设在当前传输时间间隔TTI中能够分配的无线资源总数为 Step 3: When allocating wireless resources at the air interface, queue Q0 will be allocated first. Since the queuing mechanism used by queue Q0 is arranged according to the service delay requirements, the data packets with higher delay requirements will be allocated resources earlier. Assume that the total number of wireless resources that can be allocated in the current transmission time interval TTI is
步骤3.1、当则队列中所有数据包都将会分配到相应的无线资源,此时无线资源数量满足高优先级队列Q0中数据包传输需求,则为高优先级队列分配资源后,再为中优先级和低优先级队列进行资源分配;Step 3.1: All data packets in the queue will be allocated to the corresponding wireless resources. At this time, the number of wireless resources meets the data packet transmission requirements in the high-priority queue Q0. After allocating resources to the high-priority queue, resources will be allocated to the medium-priority and low-priority queues.
步骤3.2、若则将比对不同数据包的剩余时间值进行分配,剩余时间值其中,Di为该数据包的时延要求值,为数据包已经等待的时间值,包括在非空口部分的传输时间、等待时间及处理时间,将按照队列Q0中所有数据包的剩余时间进行资源分配,剩余时间值越小,则将优先进行资源分配,直到当前传输时间间隔TT内的可用无线资源全部分配完毕;Step 3.2: If The remaining time values of different data packets will be compared and allocated. Where D i is the required delay value of the data packet, is the time value that the data packet has been waiting for, Including the transmission time, waiting time and processing time in the non-air interface part, the remaining time of all packets in queue Q0 will be calculated. Allocate resources and remaining time value The smaller it is, the priority will be given to resource allocation until all available wireless resources in the current transmission time interval TT are allocated;
通过这样的资源分配方式,同一类工业控制业务流,其时间紧急程度越高,则能够更早得到无线空口的资源分配,能够保障云化PLC工业控制类业务获得及时的传输。Through this resource allocation method, the same type of industrial control service flow, the higher the time urgency, can get the wireless air interface resource allocation earlier, can ensure the cloud PLC industrial control business to obtain timely transmission.
见图3,采用本发明方法针对PLC业务的时延保障方法与轮询调度机制相比,由于本发明所提出的机制能够为PLC业务提供及时的无线资源保障,因此及时随着业务流数目增加,云化PLC业务的时延变化并未产生波动,体现了本发明方法的时延确定性,而采用轮询调度机制的时延随着业务流数量的增加而增加,不能在多业务传输条件下,为云化PLC提供服务质量保障。 See Figure 3. Compared with the polling scheduling mechanism, the delay guarantee method for PLC services using the method of the present invention can provide timely wireless resource guarantee for PLC services. Therefore, even with the increase in the number of business flows, the delay change of cloud PLC services does not fluctuate, which reflects the delay determinism of the method of the present invention. The delay of the polling scheduling mechanism increases with the increase in the number of business flows, and cannot provide service quality guarantee for cloud PLC under multi-business transmission conditions.
以上实施例在以本发明技术方案为前提下进行实施,给出了详细的实施方式和具体的操作过程,但本发明的保护范围不限于上述的实施例。上述实施例中所用方法如无特别说明均为常规方法。 The above embodiments are implemented based on the technical solution of the present invention, and detailed implementation methods and specific operation processes are given, but the protection scope of the present invention is not limited to the above embodiments. The methods used in the above embodiments are conventional methods unless otherwise specified.
Claims (5)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310949347.XA CN116723551A (en) | 2023-07-31 | 2023-07-31 | Time delay guaranteeing method for cloud PLC service under 5G-TSN architecture |
CN202310949347.X | 2023-07-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2025025388A1 true WO2025025388A1 (en) | 2025-02-06 |
Family
ID=87866359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/129489 WO2025025388A1 (en) | 2023-07-31 | 2023-11-03 | Delay guarantee method for cloud plc service in 5g-tsn architecture |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116723551A (en) |
WO (1) | WO2025025388A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118018634B (en) * | 2024-03-08 | 2025-01-28 | 太矽垣(南京)微电子有限公司 | A Delay- and Reliability-Sensitive Deterministic Wireless Communication System |
-
2023
- 2023-07-31 CN CN202310949347.XA patent/CN116723551A/en active Pending
- 2023-11-03 WO PCT/CN2023/129489 patent/WO2025025388A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
CN116723551A (en) | 2023-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110943899B (en) | EPA industrial bus and time sensitive network adaptation system and method | |
WO2023273385A1 (en) | 5g and tsn joint scheduling method based on wireless channel information | |
CN112105080A (en) | Time-sensitive network data transmission system and transmission method | |
CN112260957B (en) | Hierarchical cross traffic scheduling system of time perception shaper | |
CN110048869A (en) | Resource allocation methods and system towards industrial time-sensitive software defined network | |
CN101557340B (en) | Method for realizing multilevel queue scheduling in data network and device | |
CN114666280B (en) | Industrial Internet time delay optimization method based on time-sensitive software defined network | |
CN101471854A (en) | Method and device for forwarding message | |
CN106656851B (en) | A queue scheduling method for a convergence node of a power system terminal communication access network | |
US20210135999A1 (en) | Packet Control Method, Flow Table Update Method, and Node Device | |
CN114245424A (en) | Method and apparatus for a communication network | |
CN113543210B (en) | 5G-TSN cross-domain QoS and resource mapping method, equipment and computer readable storage medium | |
WO2025025388A1 (en) | Delay guarantee method for cloud plc service in 5g-tsn architecture | |
CN108337744B (en) | Ethernet Media Converter for High-Speed Wireless Access Points | |
CN117692944A (en) | A 5G deterministic bearer networking method for power services | |
CN102209028A (en) | Flow control device and method for CPU (Central Processing Unit) | |
JP2001197110A (en) | Traffic control method | |
CN112615789A (en) | Out-of-band flow control method and device | |
CN110247859B (en) | Data sending method and device based on AIRT-ROS node | |
CN115766614B (en) | Service access method for distribution network equipment | |
Tang et al. | Simulation analysis on 5G-TSN scheduling algorithms based on OMNeT++ | |
CN110753007B (en) | QoS-based flow strategy configuration method and device | |
Min et al. | Traffic scheduling strategy of power communication network based on SDN | |
CN116016357B (en) | Data transmission method, device, storage medium and electronic device | |
CN112867166B (en) | Service data scheduling method for micro-power wireless communication network in smart power grid |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23947326 Country of ref document: EP Kind code of ref document: A1 |