Device and method for managing performance decreases in hybrid wired / wireless tsn networks

EP4430773A1Inactive Publication Date: 2024-09-18COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022809483
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-09
Filing Date
2022-11-03
Publication Date
2024-09-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Hybrid wired/wireless Time-Sensitive Networks (TSN) face performance degradation due to clock drift and skipping, affecting time synchronization and Quality of Service (QoS) scheduling, with existing solutions failing to effectively address these issues in hybrid networks.

Method used

The approach involves creating separated sub-domains within the network, assigning a secondary GrandMaster (GM) in each sub-domain for redundancy, and coordinating TSN switches to apply corrected Qbv schedules, thereby mitigating clock drift and skipping impacts on AS and Qbv standards.

Benefits of technology

This method effectively manages performance degradation by ensuring precise time synchronization and QoS scheduling, even in the presence of wireless link failures, by utilizing hot-standby GMs and independent sub-domains, thus maintaining network accuracy and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The present invention relates to a method for attenuating decreases in performance in a hybrid wired / wireless IEEE 802.1 Time Sensitive Network (TSN) in terms of time synchronization and quality-of-service (QoS) planning. The method makes it possible to lessen the impact of clock drift relative to the standard IEEE 802.1AS and the impact of jitter on Qbv scheduling. The method comprises two mechanisms which consist in (i) grouping the nodes of the network into subdomains and assigning a redundancy GrandMaster per subdomain; and (ii) coordinating the TSN switches of a subdomain before applying corrected Qbv scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

DESCRIPTION Title of the invention: Device and method for managing performance degradation in hybrid wired / wireless TSN networks

[0001] Field of invention

[0002] The present invention relates to the field of time-sensitive networks (TSNs), and more particularly to such TSNs having wired and wireless links. The invention provides methods and devices for addressing performance degradations in wired / wireless TSNs, also referred to as hybrid wired / wireless TSNs or, more condensedly, as hybrid TSNs in the present description. The invention particularly addresses degradations in time synchronization and scheduling with consideration of quality of service (QoS Scheduling).

[0003] State of the Art

[0004] TSN is a set of standards, defined by the IEEE 802.1 working group, that extend the Ethernet network to meet the stringent requirements of real-time communications.

[0005] Data transmission for critical real-time applications (e.g., fast control systems, signal acquisition in power grids, or motion control) and data-intensive applications (e.g., video streams or IT systems) is currently implemented in separate networks to avoid mutual interference. The increasing flexibility and digitalization of work processes, however, has required an increasing merger of IT and industrial operations, and thus a merger of the previously separate systems. By extending and adapting existing Ethernet standards, TSN creates a convergence between information technology (IT) and industrial operations technology (OT) in industrial networks.This means that critical real-time data and data-intensive applications can be implemented over a common Ethernet cable without interfering with each other.

[0006] TSN (IEEE 802.1) specifications provide deterministic services, enabling real-time transmission of data in a predictable framework within a known time frame, in industrial environments, such as machine control applications in production processes, from sensor to cloud. TSN offers guaranteed latency and quality of service with time synchronization.

[0007] The various documents in the TSN standard provide a complete real-time communication solution when used together in a coordinated manner. The specifications generally fall into four categories: Time synchronization corresponding to the IEEE 802.1 AS standard, where all equipment participating in real-time communication must have a common understanding of time; Low latency corresponding for example to the IEEE 802.1 Qbv standard to ensure quality of service QoS; High reliability corresponding for example to the IEEE 802.1 CB standard; The network configuration corresponds for example to the IEEE 802.1 Qcc standard.

[0008] Regarding time synchronization, unlike standard Ethernet in IEEE 802.3, time plays an important role in TSN networks. For real-time communication, with anomalies and non-negotiable time limits for end-to-end transmission latencies, all devices in this network must have a common time reference and must synchronize their clocks with each other. This is not only true for the end devices in a communication flow, such as an industrial controller and a manufacturing robot, but also for network components, such as Ethernet switches. Only through synchronized clocks is it possible to make all devices in the network work in unison and perform the required operations exactly at the required time.

[0009] Time synchronization in TSN networks can be achieved using different technologies. In theory, it is possible to configure all network equipment and switches with a radio or GPS clock. This would be expensive and there is no guarantee that the signal will always be accessible to everyone. For these reasons, time in TSN networks is usually distributed from a central time source directly through the network itself.

[0010] Moreover, TSN is initially designed for Ethernet network. However, there are currently increasing demands for wireless TSN network and hybrid wired / wireless TSN network.

[0011] Figure 1a illustrates a simplified example of a hybrid wired / wireless TSN network 100, comprising two devices (102, 110) capable of communicating data through a succession of switches (“bridge or switch” 104, 106, 108) which are connected either to the devices or to each other, by wired (103, 107, 109) or non-wired (105) links. In the example of Figure 1a, the equipment 102 is connected by wire 103 to a switch 104 which is connected by a wireless link 105 to a switch 106 which is connected by a wired link 107 to a switch 108 which is connected by a wired link 109 to an equipment 110. The person skilled in the art understands that the representation of the hybrid TSN network of Figure 1a is simplified to the extreme to allow the problem of performance degradation to be clearly exposed.This representation is not limiting, and a hybrid wired / wireless TSN network may comprise a plurality of TSN nodes made of equipment, switches and wired and wireless links. TSN nodes within the meaning of the present invention may encompass any type of device or machine or apparatus, capable of transmitting and receiving data via the communication protocols implemented for the TSN network.

[0012] In the network of Figure 1a, a node 102 having the role of master according to the TSN principles, announces its clock as being the reference clock for the network, and it sends announcement messages to the other nodes of the network (104, 106, 108, 110), which themselves have a role of slave.

[0013] In general, any node in the network can be designated as a master. The node that acts as the master is commonly referred to as the GrandMaster (GM), and the other nodes that act as slaves are each referred to as Slaves. Role assignment can be done by a human or by an algorithm such as the Best Master Clock Algorithm (BMCA).

[0014] The IEEE 802.1 AS standard, which will be referred to as AS in the rest of the description, allows TSN devices (i.e., those in the TSN network) to synchronize their clocks with the reference clock of a GM. The well-known protocol "Precision Time Protocol" (PTP) and its improved version, the protocol (gPTP) "Generalized Precision Time Protocol", are used to synchronize the clocks. This protocol is established according to the principle of a master clock and slave clocks. The master clock serving as a time reference is called the "reference clock" and its time can be possibly synchronized (via GPS, NTP, etc.) with a clock called the global clock.

[0015] TSN devices continuously exchange PTP or gPTP messages. During operation, the master distributes the time signal to its slaves to determine the delay. For this purpose, a time stamp in the form of a synchronization message "PTP SYNC" is sent at T1 from the master reference clock to the slave, which determines the reception time T2 of the timestamps from its own time. The slave also transmits a delay request message "Delay REQ" to the master at T3, the reception time T4 of which is then returned to the slave as a delay response message "Delay RESP". The master-slave delay 'T4-T3' and the slave-master delay 'T2-TT' which are determined as the differences between the timestamps allow to calculate an average delay '[(T4-T3) + (T2-T1)] / 2, from which the slave knows the difference between its clock and the master's clock, and which then allows it to set its clock.

[0016] Regarding QoS, the IEEE 802.1 Qbv standard, referred to as Qbv in the following description, contributes to guaranteed latency services in TSN. The Qbv standard allows TSN switches to perform QoS-based scheduling, for example, to guarantee the quality of priority traffic.

[0017] Figure 1 b illustrates on the architecture 100 of the TSN network of Figure 1 a, an example with two network flows (112, 114) between two devices (102, 110), which can be scheduled in transmission by switches (104, 106, 108) which periodically open their gates to transmit data for the two flows. In addition, if a flow has a higher priority, for example the first flow 112, it is then served longer than the second flow 114 of lower priority.

[0018] The AS and Qbv standards are important in future industrial communication systems, especially in smart factories with autonomous manufacturing systems. In these systems, devices such as robots, actuators, and sensors must communicate with each other quickly because they must react very quickly to the command and control system or to unexpected events. In this way, these systems can ensure the accuracy of a manufacturing process and minimize any defects.

[0019] In TSN for Ethernet, wired links provide high reliability in terms of delay and delay variation or "jitter." When these wired links coexist with wireless links, TSN services can be degraded due to unexpected delay and jitter from the wireless links.

[0020] The GM may then become inaccessible if PTP or gPTP messages, i.e. synchronization and announcement messages, are not received by the slaves for a certain time.

[0021] Two main reasons for GM inaccessibility are (i) GM malfunction and (ii) unreliable wireless links. This highlights the impacts of GM inaccessibility on AS and Qbv standards.

[0022] The impact on the AS is such that when the GM is inaccessible, the clocks of the slave devices can drift relative to the GM reference clock. This clock drift then causes inaccuracy in time synchronization.

[0023] The impact on Qbv is such that when the GM is again accessible and reachable, the slave devices' clocks are again synchronized with the GM's reference clock, but the resynchronization can potentially cause the slaves' clocks to jump or skew significantly. This clock drift and clock jump or skew can lead to inaccuracy or asynchronous scheduling in Qbv.

[0024] There are known approaches to addressing these issues.

[0025] In the IEEE 802.1AS 2019 and 802.1AS 2020 standards, the authors presented the idea of ​​GM deduplication, in order to have a primary GM and a backup GM. The TSN network is separated into two subdomains (we speak of domain and PTP or gPTP subdomain), the subdomains being defined to overlap and each of them covering the entire network. The limitations of this approach are that it does not take into account how to select the backup GM, nor how to handle Qbv degradation.

[0026] Some publications only discuss the issue of clock drift and improving PTP performance in industrial wireless LANs, but without considering Qbv.

[0027] Other papers propose solutions to improve the accuracy of AS by estimating the delays and clock drift of a hybrid wired / wireless network. They introduce a Path Deviation Delay filter to exclude outlier delay values ​​caused by congestion or loss.

[0028] Patent application WQ2020067977A1 ​​deals with the interworking between a cellular communication network and a TSN, and aims at mitigating time synchronization degradation. The authors focused on how to pass PTP messages through the wireless cellular network. To calculate the residence time on the cellular domain, the approach is based on "translators" that are placed at the entry and exit nodes of the domain and that take the timestamp of PTP messages. However, the Qbv is not taken into account in this approach.

[0029] US Patents 9,577,817 and US Patents 9,692,614 propose using a redundant GM to improve the time synchronization performance of an in-vehicle network. However, these solutions only concern in-vehicle wired networks and do not discuss the questions of "how to select the redundant GM?", "how to assign subdomains?", and "how to handle Qbv degradation?".

[0030] More specifically, in the aforementioned patent US 9,692,614, the authors proposed that a switch can switch from a normal operating mode with the primary GM to an operating mode with a secondary or redundant GM if the network detects that the primary GM is lost. For example, a node closest to the primary GM can serve as a secondary GM. When the primary GM restarts, the slaves synchronize with the secondary GM and the procedure of selecting a new GM is not necessary. This solution does not considers only wired embedded networks which are generally smaller and less complicated than industrial hybrid wired / wireless networks. This approach, like that of the standard AS, does not consider the scenario where a wireless link separates a group of nodes from all GMs. Finally, details are not provided on how to select the secondary GM to mitigate jitter or clock skipping, and consideration of Qbv performance degradation and Qbv scheduling recovery is not discussed.

[0031] Also, there is no solution for hybrid wired / wireless TSN networks, which allows to deal with performance degradations, in particular to jointly deal with degradations of time synchronization and scheduling with consideration of quality of service.

[0032] The present invention meets these different needs.

[0033] Summary of the invention

[0034] An object of the present invention is to provide a method and a device for its implementation, for managing performance degradation in hybrid wired / wireless time-sensitive networks (TSNs), and more specifically mitigating performance degradation of AS and Qbv, caused by clock drift and clock hopping.

[0035] Another object of the present invention is a method which aims to eliminate the drift factor of the oscillator frequency both on the device having the role of GM and on the slave equipment.

[0036] Generally speaking, the principle of the invention is based on a so-called domain and sub-domain approach to address both performance degradation issues for the AS and for the Qbv.

[0037] The invention proposes a new definition of a sub-domain to adapt to a new hybrid wired / wireless TSN network topology. The sub-domains of the present invention, instead of overlapping as in the AS standard, are separated from each other. The wireless links will make it possible to establish virtual separations across an entire TSN network, in order to create several distinct sub-domains, each sub-domain grouping a plurality of nodes, in smaller number than the nodes of the domain, and where all the nodes of the same sub-domain are connected by wire.

[0038] Advantageously, the method of the present invention operates in a modular manner, each module being a functional group corresponding to an independent sequence of steps. Thus, the method of the invention comprises a sub-method for reorganizing the general network by dividing it into a plurality of sub-domains, with a primary sub-domain and a plurality of secondary sub-domains, and determining how to assign a respective sub-domain to a set of equipment; a sub-method for determining how to select a secondary master or secondary GM in each sub-domain, a sub-method for determining how to calculate a deferral time or waiting time ("Defer Time" in English), and a sub-method for determining how to recover a corrected Qbv schedule.

[0039] Advantageously, depending on the characteristics and requirements of the actual system for which the process is implemented, each of the sub-processes is modifiable and adaptable, independently of the other sub-processes.

[0040] The present invention can be implemented in industrial systems such as an automation control system network. It can also be implemented in all other networks using the TSN protocol, such as the networks of future intelligent transportation systems. Thus, the present invention is particularly suitable for a hybrid wired / wireless TSN network, even when it is a relatively large-scale network composed of many devices.

[0041] However, even though manufacturing systems are important applications, the present invention is not limited to these systems, and it can be applied to any system where TSN is used. Thus, for example, autonomous driving systems where TSN is required to transmit critical traffic to infrastructures either within a vehicle, from vehicle to vehicle, or from a vehicle to road infrastructures. In these systems, the link between the vehicle and the infrastructures which is generally wireless is vulnerable. The present invention can be advantageously used to address this vulnerability.

[0042] The invention may be implemented directly in hardware and / or software. It may take the form of a product for industrial system solution providers sold to customers such as factory owners. These solutions may be purely hardware-based, purely software-based, or both. Software solutions may be provided via software and firmware updates.

[0043] The invention may also be of direct interest to factory owners who can implement it themselves and use it in their factories. It may also find application among network equipment suppliers, particularly 5G / 6G equipment suppliers.

[0044] The advantageous features of the present invention are mainly as follows: it does not rely on complex algorithms; it is widely applicable in the field of smart manufacturing and Industry 4.0, which is a rapidly growing market; it addresses the most important problems of AS and Qbv standards, which are clock drift and clock jump. These two standards are also among the most important TSN standards; it addresses the problem of unreachable GM, which is highly possible in wired-wireless hybrid networks.This issue is particularly important in critical industrial systems because it can affect the timing and quality of manufacturing processes; it relies on the concept of "hot-standby GM" present in the AS standard, thus avoiding the introduction and implementation of new concepts in the standard; it is based on independent subdomains that have their own secondary GM with which to synchronize.

[0045] To achieve the desired results, a method for managing performance degradation of a time-sensitive network TSN is provided as claimed in the independent method claim.

[0046] The invention may be implemented according to alternative or combined embodiments, as claimed in the dependent method claims.

[0047] The invention also relates to a device for managing the performance degradation of a time-sensitive network TSN comprising a plurality of nodes, a node being a data stream transmitter and / or receiver equipment or a data stream transmitter switch, the nodes being connected by wired links or wireless links, the TSN network having a node acting as GM master according to the TSN principles to announce its clock as the reference clock to the slave nodes of the network, the device comprising means for implementing the steps of the method of the invention.

[0048] The invention addresses the use of the claimed device, in a centralized time-sensitive network, the architecture of the centralized network being an architecture implemented according to the so-called "Software Defined Network" model.

[0049] The invention also relates to a computer program product which comprises code instructions making it possible to carry out the steps of the method of the invention, when the program is executed on a computer.

[0050] Description of figures

[0051] Other characteristics and advantages of the invention will appear with the aid of the following description and the figures of the appended drawings in which:

[0052] [Fig.1a] illustrates a simplified example of a hybrid wired / wireless TSN network;

[0053] [Fig.1 b] illustrates on the TSN network architecture of figure 1a, an example of two flows between two devices;

[0054] [Fig.2] illustrates another simplified example of a hybrid wired / wireless TSN network making it possible to implement the invention in an industrial context, according to one embodiment;

[0055] [Fig.3a] illustrates sub-domains on the example of the network architecture of figure 1a, according to an embodiment of the invention;

[0056] [Fig.3b] illustrates a failed wireless link between the subdomains of Fig. 3a, according to one embodiment of the invention;

[0057] [Fig.4] is a flowchart to illustrate the different functionalities operated by different equipment of a hybrid wired / wireless TSN network I, in one embodiment of the invention;

[0058] [Fig.5a] is a temporal representation of the cyclical scheduling for transmitting flows through wired and wireless switches of a hybrid TSN network;

[0059] [Fig.5b] illustrates the reestablishment of a lost wireless link, and the drift of the clocks of the wired and wireless switches for the time representation of Figure 5a;

[0060] [Fig.5c] illustrates a recalibration of the clocks of the wired and wireless switches;

[0061] [Fig.6] is a temporal representation of different steps of the method of the invention, in an exemplary embodiment.

[0062] Detailed description of the invention

[0063] A context for an implementation of the invention in an industrial environment is illustrated in Figure 2, which presents a simplified TSN network topology to enable the principles of the present invention to be described clearly. Those skilled in the art will be able to generalize these principles to any other environment, whatever the application domain, whatever the complexity of the network topology.

[0064] Figure 2 includes a controller 202 of an automation system 200, configured to communicate with end devices (210, 212) by wired and wireless paths via different switches (204, 206, 208). In the context of an Industry 4.0, the end devices can be robots 212 and sensors 210.

[0065] Typically, the controller 202 of the automation system is located at a remote site separated from the field devices (206, 208, 210, 212) by a wireless link, for example a 5G link. Among the field devices, robots (212) and actuators are typically separated from the sensors (210) by wireless links of a local area network, for example a WLAN network.

[0066] In this environment, the implementation of TSN standards allows network devices to synchronize their clocks and forward network traffic deterministically, i.e., with a limited range of drift and latency. For example, devices must have a common clock time for robots 212 to synchronize their movements and perform highly precise actions. The common clock time also allows robots to quickly receive signals from the controller 202 and sensors 210, in order to react in real time to operational events and thus avoid manufacturing defects.

[0067] In one embodiment, controller 202 is designated as the device that acts as the GrandMaster and holds the reference clock to which all slave clocks in the TSN network synchronize.

[0068] The method of the invention which makes it possible to mitigate the impact of clock drift on the AS and the impact of clock jumping on the Qbv scheduling, comprises two mechanisms.

[0069] The first mechanism consists of creating subdomains of the general network domain where each subdomain groups together several network nodes, and assigning for each subdomain, except the one containing the GrandMaster, a backup GrandMaster or redundancy GrandMaster or “Hot-Standby GM”.

[0070] The second mechanism of the invention is to coordinate TSN switches before applying corrected Qbv schedules, if there is potentially a significant clock jump.

[0071] Figures 3a and 3b illustrate the first mechanism for creating subdomains with a backup GrandMaster, for the simplified TSN network topology of Figure 1a. The references of identical elements remain the same.

[0072] In order to mitigate the impact of clock drift on the AS, the general domain 302 of the TSN network (gPTP or PTP domain, but for simplicity of description it is only referred to as gPTP) is divided into several gPTP subdomains (304, 306), and a backup GM 108 is assigned to each subdomain, except the one containing the primary GM 102.

[0073] In one embodiment, the subdomains are assigned such that two subdomains are separated only by wireless links. Thus in Figure 3a, subdomain 304 is separated from subdomain 306 by wireless link 105.

[0074] In other embodiments depending on the context, other subdomain assignment rules may be defined. Another rule may, for example, be defined such that each subdomain must have at least one node with a very accurate clock, for example, the Global Positioning System (GPS) clock.

[0075] Each subdomain thus has an ingress node, which is the node in wireless connection with another subdomain. In the example of Figure 3a, node 106 is the ingress node of subdomain 306.

[0076] After creating the subdomains, the first mechanism is to assign a redundant GM role to a node for each subdomain.

[0077] In one embodiment, assigning the role of redundancy GM to a node consists of determining and selecting from among all the nodes of the same subdomain, the node whose clock frequency best matches that of the primary GM, i.e. which is closest.

[0078] In another embodiment, assigning the redundancy GM role to a node involves determining and selecting from among all the nodes in the same subdomain, the node with the most accurate clock.

[0079] Those skilled in the art may establish other node selection criteria to define the redundancy GMs of the subdomains.

[0080] Thus, the topology of a TSN network after applying the first mechanism of creating subdomains, contains three types of nodes which are: the main GM node, redundancy GM nodes, and slave nodes.

[0081] In the example of Figure 3a, node 108 is designated redundancy GM for sub-domain 306 grouping nodes (106, 108, 110), node 102 being the initial GM of the global TSN network and becoming the GM of its sub-domain 304 grouping nodes (102, 104).

[0082] When a node is designated as a primary GM, it is configured for and assigned only to the master role. When a node is assigned to be a slave, it is configured for and assigned only to the slave role. When a node is assigned to be a redundant GM, it is configured to sometimes act as a slave, and to sometimes act as both a slave and a master for its subdomain.

[0083] Thus, in the example of Figure 3a, node 102 is configured to act only as master (i.e. GM of subdomain 304); nodes (104, 106, 110) are configured to act only as slaves; node 108 is configured to act either only as slave when the wireless link between subdomains (304, 306) is active, or to act as slave and master of its subdomain 306 when the wireless link between subdomains (304, 306) is broken.

[0084] When the selection of the set of GMs is completed for a plurality of subdomains 'rï, the network has a main GM designated primary GM which is assigned to the whole network and to a primary subdomain, and it has as many backup GMs ("hot-standby GMs" in English) designated secondary GMs, as secondary subdomains 'nT.

[0085] During normal operational operation of the network, a secondary GM synchronizes its clock with the primary GM like any other slave node in the network.

[0086] In an advantageous embodiment, the time synchronization via PTP IEEE 802.1 AS can be evaluated using simple software, i.e. the difference between the clock frequency of each node and the clock frequency of the primary GM is measured by AS software, in the form of a clock frequency correction.

[0087] When the primary GM is unreachable, for example if the wireless link 105 between the primary subdomain 304 and a secondary subdomain 306 is down as illustrated in Figure 3b, the clocks of the slave nodes that have a different clock frequency than the primary GM will start to drift. Advantageously, according to the method of the invention, when the primary GM 102 is unreachable and the slaves of one or more other subdomains can no longer synchronize accurately to this GM, all the slaves (106, 110) belonging to the same subdomain will synchronize on the secondary GM 108 assigned to their subdomain.

[0088] Thus, in the example of Figure 3b, the slave nodes (106, 110) will synchronize on the secondary GM 108 of the sub-domain 306 to which they belong. Given that the secondary GM was selected because it is the node of this sub-domain which has a clock frequency closest to that of the primary GM, the difference between the clock of the primary GM and the clocks of the slaves decreases, and the performance degradations of the AS are reduced.

[0089] Advantageously, the method of the invention operates in a distributive and independent manner between the subdomains. In a practical embodiment, clock drift is detected at each subdomain by the secondary GM. Clock drift detection is then independent between the subdomains, meaning that clock drift can be detected in one subdomain but is not detected in another subdomain.

[0090] Figure 4 illustrates on a flowchart, the different functionalities operated by the different equipment of a hybrid wired / wireless TSN network, in one embodiment of the invention.

[0091] An “initiator” entity 402 is configured to create in a TSN network, a plurality of sub-domains, then select and assign the role of secondary GM 406 to a node in each sub-domain.

[0092] In one embodiment, the initiator may be the same entity that designates the initial GM of the global TSN. The initiator may be either a person, a distributed algorithm, or a centralized algorithm that runs on a centralized controller such as a Software Defined Network (SDN) controller.

[0093] For those skilled in the art, a so-called SDN approach corresponds to a network architecture model that allows network administrators to manage network services by abstracting functionality, to control or configure the network intelligently and centrally using software applications. This consists of a set of technologies having the following common points: - centralized control of network resources; - centralized orchestration; - virtualization of physical resources.

[0094] A TSN network is composed of a plurality of devices which are sources and / or recipients of data flows in the TSN network. A centralized network configuration system comprises an SDN controller coupled to a functional entity which comprises software applications of the SDN service type, and which may in particular comprise a software application making it possible to carry out steps of the method of the invention.

[0095] This functional entity implemented in the form of an SDN service (i.e. virtualized network service) interfaces to the SDN controller via an interface "Northbound" of the controller. The SDN controller interfaces with the TSN network via its "Southbound" interface, in particular to TSN switches and optionally directly to destination nodes ("TSN EndNodes"). In one embodiment, the SDN service is implemented within the CNC / CUC, "Centralized Network Configuration / Centralized User Configuration" according to the established Anglicism, as a computer program comprising code instructions making it possible to carry out steps of the method of the invention in the operational phase of the network.

[0096] Returning to Figure 4, after the roles are assigned to the nodes in the TSN network, the initial GM of the global network becomes the primary GM 404 for all subdomains and it acts only as a master, broadcasting SYNC messages to the slave nodes in a common and known manner 405 in the network.

[0097] Once assigned the role of Secondary GM 406, a Secondary GM node acts only as a slave, and it receives and accepts SYNC messages from the Primary GM in a known manner 407 in order to synchronize with the Primary GM at all times.

[0098] Each secondary GM will then enter a verification loop, to check 409 regularly whether a clock drift with the clock of the primary GM is observed. The method makes it possible to determine whether the clock frequency correction value which is continuously calculated, for example by the AS software, corresponds to a clock drift. As long as the value is below a threshold, the check continues (non-branch of 409).

[0099] In one embodiment, the threshold value is chosen based on the timing accuracy requirement of the actual system application (e.g., a factory robot system). The threshold value is configurable, and may be initially chosen by the person configuring the TSN, or chosen algorithmically.

[0100] If the calculated value is greater than a threshold, a clock drift occurs. When a clock drift is detected (yes branch of 409), the subprocess at the secondary GM maintains the node as a slave of the primary GM, and it additionally activates 411 a local GM function, to allow the secondary GM to act at the same time as a local GM for all the nodes belonging to its subdomain. The secondary GM that is activated broadcasts 413 SYNC synchronization messages to all the nodes of its subdomain, and checks 413 regularly if a clock drift is detected by determining whether the clock frequency correction value that is continuously calculated corresponds to a clock drift.

[0101] As long as a drift is present (yes branch of 413), the secondary GM continues to act as local master for all nodes in its subdomain. If no more drift is detected (no branch of 413), the process deactivates the local master function and only keeps the slave function of the primary GM active.

[0102] Regarding the slave nodes 414 in a subdomain, each node acts 415 as a slave of the primary GM, receiving 415 in a known manner the SYNC synchronization messages from the primary GM, in order to synchronize with the primary GM at all times.

[0103] Each slave node will then check 417 regularly to see if it receives a SYNC synchronization message from the secondary GM of its subdomain of belonging.

[0104] When a slave node receives a local SYNC synchronization message, i.e. from the secondary GM of its subdomain of belonging which then acts as local master, it continues to act as a slave by receiving and accepting 419 local SYNC messages as long as they are sent by the secondary GM.

[0105] When the primary GM becomes accessible again, the slaves immediately resynchronize with the primary GM. At that point, the secondary GM ceases to act as the local master for its subdomain, while continuing to synchronize with the primary GM.

[0106] However, there is a risk that these slaves make a significant clock jump, due to too large a drift. When there is a jump forward or backward, the schedule of the Qbv scheduler is shifted forward or backward, respectively. As a result, the accuracy of the Qbv scheduling is affected. In order to mitigate the impact of a clock jump on the Qbv scheduling, the method of the present invention implements steps that coordinate the TSN switches with each other, before applying the corrected Qbv schedules.

[0107] Figures 5a to 5c illustrate the restoration method according to the invention for the example of Figures 3a and 3b where: - Figure 5a is a time representation of a Qbv scheduling cycle for transmitting two flows (112, 114) via wired 108 and wireless switches (104, 106) of a hybrid TSN network according to Figure 3a. In the example, flow 112 has a higher priority than flow 114, which is represented by a longer duration in the cycle; - Figure 5b illustrates the drift of the clocks of the wireless 106 and wired 108 switches resulting from the loss of the wireless link 105 between the primary subdomain 304 and the subdomain 306, then the reestablishment of the wireless link, where a corrected scheduling cycle is calculated but not yet executed; and - Figure 5c illustrates a recalibration of the clocks of the wireless 106 and wired 108 switches with the application of the corrected planning cycle Qbv.

[0108] In more detail, at the beginning of the Qbv process, all nodes in the TSN network define a common base time (Figure 5a), which allows them to know when and which Qbv schedule to execute over time.

[0109] Following the loss of a wireless link 105 between the primary subdomain 304 and a secondary subdomain 306, the primary GM becomes inaccessible, and the frequency clock drift of the switches (104, 106) of the isolated subdomain deviates from each other, the switches being no longer able to synchronize to the clock of the main GM. Depending on the distance of a switch of the isolated subdomain from the main GM, the clock drift may be greater. In the example illustrated in Figure 5b, the wired switch 108 has a higher clock drift than the wireless switch 106.

[0110] Once the main GM can be reached again (wireless link 105 reestablished in Figure 5b), the switches in the isolated subdomain can each synchronize their clock frequency and clock time with the main GM again (principle of accepting SYNC messages sent by the main GM), but they do not yet apply the new corrected Qbv cycle, i.e. the cycle is planned but it is not yet executed.

[0111] In one embodiment of the method of the invention, a deferral time is determined by each TSN switch of the same secondary subdomain, as illustrated in Figure 5c. During this deferral time, the switches are in a waiting mode before applying a new corrected Qbv cycle. During the duration of the deferral time, however, each switch continues to execute its planned Qbv schedule.

[0112] At the end of the postponement time countdown, all individual switches apply the new corrected Qbv scheduling cycle for their subdomain.

[0113] In one embodiment, the deferral time is calculated using PTP message exchanges.

[0114] The standard messages referred to, in particular the “Sync”, “Pdelay_Req” and “Pdelay_Resp” messages, are defined and described in detail in the IEEE 802.1AS-2020 standard - “IEEE Standard for Local and Metropolitan Area Networks-Timing and Synchronization for Time-Sensitive Applications”, IEEE P802.1ASRev, Jan 2020, to which those skilled in the art may refer.

[0115] A preliminary step allows you to define a “DomainJD” identifier for each subdomain and an initial accumulated delay value "Accumulated_Delay" between the entry node of the affected subdomain and the node furthest from it in that subdomain.

[0116] The domain identifier is used to identify in a PTP message the subdomain concerned by the message, which can cross several subdomains. The nodes (i.e. the devices) of a subdomain only work with PTP messages that belong to their subdomain.

[0117] In one embodiment, the farthest node is the node that requires the greatest number of hops to reach. Each subdomain updates and maintains its DomainJD identifier and the accumulated delay value Accumulated_Delay.

[0118] In embodiments, the DomainJD identifier and the initial accumulated delay value Accumulated_Delay are set either by a person configuring the TSN, by a distributed algorithm, or by a centralized algorithm running on a centralized controller such as a software-defined network (SDN) controller.

[0119] In one embodiment, the method makes it possible to use the Suffix field in the header of PTP or gPTP messages, in particular the Suffix field of Sync messages and Pdelay_Req messages to declare the identifier of the DomainJD domain, the initial value of the accumulated delay AccumulatedJDelay then its update (current value of the accumulated delay).

[0120] The method of the invention allows each node of a secondary subdomain to update the value of the accumulated delay AccumulatedJDelay. In one embodiment, the update of the AccumulatedJDelay value is done by adding a 'Pdelay' value to the current value of the Accumulated_Delay inherited from its neighbor upon receipt of a Pdelay_Resp message.

[0121] In this way, at any time, the ingress node of a subdomain, for example the wireless switch 106 of the subdomain 306 of Figure 3a, knows (by the value of the AccumulatedJDelay field in the last received Pdelay J^eq message), the accumulated delay towards its most distant node, i.e. the node 110 of Figures 3a and 3b.

[0122] Another phase of the invention occurs when it is determined that the main GM becomes accessible again after a wireless link with a subdomain has been broken. The ingress node of each subdomain will then use another Suffix field, designated as the 'flag' field, to announce to all switches in its subdomain that they must postpone by a certain time - the postponement time - the application of a new corrected Qbv cycle.

[0123] The indication of the activation of a deferral time can for example be translated by the change of the value of a bit in the flag field (0 or 1). The value of the deferral time, identified by a variable 't' in figure 6, corresponds for each node to the value of the accumulated delay Accumulated_Delay for this node.

[0124] Figure 6 illustrates for several nodes (N1, N2, ... Ni, ... , Nn) of a sub-domain having as identifier "Sub-domain2", the evolution of the different fields of the Suffix implemented during the propagation of a PTP 602 message. As illustrated, one field, the one on the left, is reserved to fill in the domain identifier, here indicated at 2 for reasons of simplicity; one field, the one on the right, is reserved to fill in and update the value of the accumulated delay "Accumulated_Delay" for each node; and one field, i.e. the central field named 'flag', is reserved to indicate the moment to trigger the application of a new corrected Qbv schedule.

[0125] The example of Figure 6 illustrates the exchanges of a plurality of PTP messages between the different nodes N1 to Nn, for a first phase P1 where the primary GM belonging to a primary sub-domain “Sub-domain1” is accessible; then for a second phase P2 where the primary GM is inaccessible, the wireless link between the primary sub-domain and the secondary sub-domain being broken, the PTP messages from the primary sub-domain no longer reach the secondary sub-domain; then for a third phase P3 where the primary GM becomes accessible again, and PTP messages can again be received by the secondary sub-domain.

[0126] In the first phase P1, a message 601 from the primary subdomain arrives at the entry node N1 of subdomain 2. The node updates the identifier of its domain in the corresponding field, the Suffix fields then indicating respectively “2 / 0 / 0”, and the message 602-1 is propagated from the node input node Nl to the next neighbor node N2, which in the example has been assigned the role of secondary GM. Node N2 relays message 602-1 to its neighbor node N3, and so on until the last node Nn of subdomain 2 which is the most distant node (in number of hops) from the input node N1.

[0127] Using the delay request Pdelay_Req and response Pdelay_Resp messages, each node calculates a value 'd' for the delay offset Pdelay in a conventional PTP manner. In the example, node N2 calculates a value of d=2, which means that the delay offset Pdelay is equal to 2 microseconds (for this unit of time).

[0128] According to the method of the invention, each node updates the value of the accumulated delay in the Accumulated-Delay field when it receives a Pdelay_Req message from a neighbor.

[0129] In one embodiment, when the "Accumulated_Delay" field contains a value meaning that the accumulated delay is zero (value equal to 0 or empty field for example), the nodes consider that this field is empty and ignore it; and if the "Accumulated_Delay" field is not empty or contains a value meaning that there is an accumulated delay, the nodes take into account the value contained in this field.

[0130] Using Pdelay_Req messages, the accumulated delay value is propagated from the farthest node to the input node, in backward propagation mode.

[0131] In the example, the Accumulated_delay field was updated by the most distant node Nn when sending a Pdelay_Req message (602-2), by adding the value of d=2.

[0132] In turn, node N2+1 updates the accumulated delay value by adding the value of its delay offset (d=2) to the accumulated delay value existing in the Accumulated_delay field of the Pdelay_Req message received from the neighbor node. The accumulated delay value is in the example equal to 4. Node N2+1 propagates to its neighbor N2 with a Pdelay_Req message (602-3), the accumulated delay value. After several rounds of this propagation, each node knows the accumulated delay of itself at the node furthest from the input node.

[0133] Each node stores in a local memory the accumulated delay value received by its neighbor, as a variable 't' that allows calculating the deferral time before applying the corrected Qbv schedule. In the example, for the secondary N2 GM node, the deferral time has a value t=4, indicating that its deferral time is 4 microseconds.

[0134] In the example of Figure 6, node N2 stores the value t=4 corresponding to the value entered in the Accumulated_delay field of message 602-3 received from its neighbor N2+1.

[0135] When sending a next Pdelay_Req message (602-4) by node N2 to its neighbor N1, node N2 updates the Accumulated_Delay field by adding the value of its delay offset (here set to d=3) to the value of the accumulated delay existing in the Accumulated_delay field (here equal to 4). The value of the accumulated delay is in the example then equal to 7.

[0136] This accumulated delay value is stored by the input node N1 as variable 't' to define the carryover time.

[0137] Once the primary GM, which was inaccessible during a P2 phase where the secondary GM N2 activated its GM role for the nodes of its subdomain, becomes accessible again in phase P3, the entry node N1 of the secondary subdomain, upon receiving a new SYNC message, modifies the value of the 'Flag' field (for example from 0 to 1), before sending the new 602-6 message to its neighbor node N2. The propagation of the SYNC message informs the other nodes to prepare to apply a new corrected Qbv schedule.

[0138] Upon receipt of the SYNC message, each node starts a counter to count down a deferral time, equal to the last value of the variable 't' that it has stored, before applying the corrected Qbv schedule.

[0139] The corrected schedule is applied 604 at the same time for all nodes in the restored subdomain.

[0140] Thus, when the main GM becomes accessible again, all switches receiving the new PTP or gPTP message sent by this GM know that they will have to execute the corrected Qbv scheduling for a priority network flow according to the principles of TSN scheduling. However, since some When switches are not scheduled correctly due to clock drift, they coordinate through the deferral time to agree on the execution of the priority network flow scheduling, after a certain number of clock cycles. The switches also update the base time. In this way, the inaccuracy of Qbv scheduling is limited only to past Qbv schedules, not to future Qbv schedules.

[0141] In another embodiment, the deferral time may consist of predefining a value large enough that this value is most of the time greater than the accumulated delay of transmitting a packet between any two nodes within the same subdomain. The application of a corrected Qbv schedule is done for all the nodes of the restored subdomain, after the predetermined deferral time value has counted down.

[0142] Figure 5c illustrates an example where both wired and wireless switches apply a new corrected Qbv schedule after 6 clock cycles, which has been predefined as the deferral time value, for a basic cycle of 10 clock cycles.

[0143] Advantageously, the process of defining or calculating the deferral time is performed locally within each subdomain. Across an entire TSN, this is done subdomain by subdomain in a propagative manner. In other words, each subdomain calculates and maintains its deferral time distributively locally within its subdomain. In this way, the deferral time can differ from one subdomain to another.

[0144] The process of calculating the carryover time is performed in a distributed manner for at least two reasons.

[0145] First, in general, clocks within the same subdomain are synchronized more precisely than clocks between different subdomains.

[0146] Second, it is generally more important to stay synchronized with nodes inside the same subdomain than with nodes outside the subdomain. This is because there are potentially local network flows that have a listener and a talker co-existing in the same subdomain. In addition, there are potentially transmissions that may have been completed by other subdomains, and the rest of the data to be transmitted ("back-off" in English) can be done locally within a subdomain.

[0147] A method for mitigating Qbv degradation due to the inaccessibility of the main GM has been described. However, the method can be applied to other scenarios, such as, for example, it can be implemented for a TSN network that has a frequently congested link.

Claims

26 Demands 1. A method for managing performance degradation in a time-sensitive network (TSN) comprising a plurality of nodes, a node being a device that transmits and / or receives data streams or a switch that transmits data streams, the nodes being connected by wired or wireless links, the TSN network having a node acting as a GM master according to TSN principles to advertise its clock as the reference clock to the slave nodes of the network, the method being implemented by computer and comprising the following steps: - divide the TSN network into a primary subdomain and a plurality of secondary subdomains, each subdomain grouping a set of different nodes connected only by wired links, the primary subdomain grouping at least the GM master node, each secondary subdomain having an entry node in wireless connection with another subdomain; - select in each secondary subdomain a node to act as master with respect to the other slave nodes of said subdomain, said selected node being configured to operate as a slave node of the GM master node in normal operating mode of the TSN network with a predefined Qbv schedule for said TSN network according to the IEEE 802.1 Qbv standard which allows TSN switches to perform QoS-based scheduling, and said node being configured to operate as a secondary master node according to TSN principles to advertise its clock as the reference clock to the slave nodes of its subdomain, when the wireless link with the primary subdomain is broken; - calculate a delay time for each node in the same secondary subdomain, the delay time corresponding to a waiting time for each node before applying a corrected Qbv schedule after the restoration of a lost wireless link for that subdomain; and - After restoring a wireless link for a secondary subdomain, deduct, for each node of said secondary subdomain, the determined postponement time and apply a corrected Qbv schedule to the secondary master node said secondary subdomain operating again as a slave node of the master node GM.

2. The method according to claim 1 wherein the step of dividing the TSN network consists of creating subdomains such that two subdomains are separated only by wireless links.

3. The method according to claim 1 wherein the step of dividing the TSN network consists of creating subdomains such that each subdomain has at least one node with a very precise clock, for example, the clock of the global positioning system (GPS).

4. The method according to any one of claims 1 to 3 wherein the step of selecting in each secondary subdomain a node to act as master consists of determining among all the nodes of the same subdomain, the node whose clock frequency corresponds best to that of the primary GM, in particular the node whose clock frequency is closest to that of the GM.

5. The method according to claim 3 wherein the step of selecting in each secondary subdomain a node to act as master, consists of selecting said node whose clock is very precise.

6. The method according to any one of claims 1 to 5, wherein the step of calculating a delay time for each node of the same secondary subdomain, comprises the steps of: - define an identifier "DomainJD" for said secondary subdomain and an initial value of accumulated delay "Accumulated_Delay" between the entry node of said secondary subdomain and the node furthest from it; - calculate a delay offset value (Pdelay) for each node; - update by each node the initial value of accumulated delay, by adding the delay offset value to an accumulated delay value received from a neighbor of said node.

7. The method according to claim 6 further comprising a step by each node of storing the updated accumulated delay value, said last stored value corresponding for said node to the value of the delay time after the re-establishment of a wireless link for said secondary subdomain.

8. The method according to any one of claims 1 to 7 comprising, prior to the step of counting down a delay time, a step of determining when a wireless link between the primary subdomain and a secondary subdomain is broken, and a step of determining when said wireless link is re-established.

9. The method according to claim 8 wherein the step of determining when a wireless link between the primary subdomain and a secondary subdomain is broken consists of determining whether or not there is a clock drift between the reference clock of the GM master node and the clocks of the slave nodes of said secondary subdomain, and the step of determining when said wireless link is re-established consists of determining whether or not there is a clock drift between the reference clock of the secondary master node and the clocks of the slave nodes of said secondary subdomain.

10. The method according to any one of claims 1 to 9 wherein the step of calculating a delay time is carried out using the message Suffix fields "Sync", "Pdelay_Req" and "Pdelay_Resp" defined by the IEEE 802.1 AS standard.

11. A computer program product, said computer program comprising 29 code instructions enabling the steps of the process to be carried out according to any one of claims 1 to 10, when said program is executed on a computer.

12. A device for managing the performance degradation of a time-sensitive network (TSN) comprising a plurality of nodes, a node being a data stream transmitter and / or receiver or a data stream transmitter switch, the nodes being connected by wired or wireless links, the TSN having a node acting as GM master according to TSN principles to advertise its clock as the reference clock to the network's slave nodes, the device comprising means for implementing the steps of the method according to any one of claims 1 to 10.

13. Use of the device according to claim 12 in a centralized time-sensitive network, the architecture of the centralized network being an architecture implemented according to the so-called "Software Defined Network" model.