Time-sensitive network increment scheduling method based on link state

By adopting the incremental scheduling method based on link status in time-sensitive networks, splitting the scheduling problem and optimizing path selection, the success rate and delay problems of time-triggered traffic scheduling are solved, the scheduling efficiency and success rate are improved, and the resource consumption is reduced. waste.

CN118694702APending Publication Date: 2024-09-24STATE GRID SHANDONG ELECTRIC POWER CO
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410716285.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In time-sensitive networks, traditional traffic scheduling mechanisms are difficult to meet the high real-time requirements of time-triggered traffic, especially because the link status is not fully considered, resulting in excessive end-to-end delay and low scheduling success rate and efficiency.

Method used

A time-sensitive network incremental scheduling method based on link status is adopted. By splitting the large-scale joint scheduling problem into two sub-problems, routing table and scheduling table, incremental scheduling and global scheduling are combined, and the original scheduling configuration is given priority for optimal solution. , using link transmission capabilities and load balancing to select paths and optimize the scheduling of time-triggered traffic.

Benefits of technology

It effectively improves the scheduling success rate and scheduling effect of time-triggered traffic, reduces scheduling time, reduces resource waste, optimizes delay, and improves scheduling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694702A
    Figure CN118694702A
Patent Text Reader

Abstract

The invention discloses a time-sensitive network increment scheduling method based on a link state, and relates to the technical field of time-sensitive networks. The method is oriented to a newly added traffic scheduling scene, is suitable for scheduling requirements of periodic time-triggered traffic low delay in an electric power communication network, and solves negative effects on traffic scheduling caused by neglecting routing selection in the network. According to the provided joint scheduling method, a distributed user / centralized network configuration model is adopted, candidate routing and preset routing are selected based on the link state, the minimum flow average end-to-end time delay is taken as a scheduling target, and optimization solution is carried out through an optimization mode theory method. The scheduling time is effectively shortened, and the scheduling success rate and the scheduling effect are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of time-sensitive networks, and in particular to a time-sensitive network incremental scheduling method based on link status. Background Art

[0002] The typical symbol of the new generation of industrial revolution is the informatization and intelligence of the manufacturing process. With the rapid development of the national economy, the demand for electricity in all walks of life is increasing, and the quality requirements for electricity supply provided by the power supply department are also getting higher and higher. Realizing the intelligence and automation of medium and low voltage distribution systems can effectively reduce the number of faults, reduce the scope of accidents and shorten the time of accidents, and provide corresponding effective basis for power supply recovery and rapid analysis and reporting of accident causes. For power services that are highly sensitive to latency, real-time monitoring of business status and flexible resource scheduling are also required. The best-effort forwarding mechanism of traditional Ethernet cannot meet such high latency requirements. Time-sensitive Networking (TSN) proposed and standardized by the IEEE802.1 TSN working group not only meets the low latency and high reliability requirements of real-time applications, but also has obvious advantages in technology integration and compatibility.

[0003] Time-triggered (TT) traffic is the highest priority traffic in the network. It is transmitted periodically in the network and has strict time requirements. Under the traffic scheduling mechanism of time-sensitive networks, the most stringent time-aware shaper can be used to schedule and shape traffic by configuring the gating list. When the traffic is transmitted, the link transmission capacity and load conditions will directly affect the end-to-end delay of the traffic. If the influence of the link status is not fully considered, it is likely to cause the end-to-end delay to be too large, and it is difficult to meet the high real-time requirements of time-triggered traffic. Therefore, when configuring traffic scheduling, the time-triggered traffic can be scheduled in conjunction with routing planning to improve the success rate and scheduling effect of traffic scheduling. Furthermore, the combined routing planning for traffic scheduling will lead to an increase in the scale of the problem and a decrease in the efficiency of solving the problem. Therefore, fast scheduling has become a research hotspot for related technologies. Summary of the invention

[0004] In order to improve the scheduling success rate and scheduling effect of time-triggered traffic in a time-sensitive network, the present invention proposes a time-sensitive network incremental scheduling method based on link status for new traffic scheduling scenarios. In order to solve the problems of low traffic scheduling success rate and poor scheduling effect caused by simple routing algorithms, this method fully considers the impact of link status on time-triggered traffic scheduling, and performs routing selection based on link transmission capacity and link load. Furthermore, when new traffic appears in the network and needs to be incrementally scheduled, scheduling by recalculating global traffic and updating the configuration may have a greater impact on the original solution, and large jitter may occur during reconfiguration. In response to this problem, this method gives priority to the original scheduling configuration and quickly optimizes the traffic scheduling by means of fixed parameter constraints.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] A time-sensitive network incremental scheduling method based on link status, based on the traffic scheduling mechanism of a time-aware shaper of a time-sensitive network, fully considers the link status, and splits the large-scale joint scheduling problem into two sub-problems: routing table solution and scheduling table solution; when new traffic appears in the network, the incremental scheduling method is used in conjunction with routing planning to optimize the scheduling effect of time-triggered traffic in the time-sensitive network, and the method comprises the following steps:

[0007] (1) Check the traffic changes in the network. When the traffic change is less than the threshold, use the incremental scheduling method to solve it. When the traffic change is greater than the threshold, use the global scheduling method to solve it.

[0008] (2) Use a delay-based link load balancing method to add routes for new traffic;

[0009] (3) After selecting a candidate path for the new traffic, the existing time-triggered traffic configuration in the system is used as a constraint condition for fixed parameters. The scheduling optimization goal of the new traffic is to minimize the end-to-end transmission delay. After the optimization goal and the constraint condition are converted, they are input into the solver to solve the scheduling table;

[0010] (4) When the solution fails, global optimization is used to solve the problem again.

[0011] In particular, in the flow change check in step (1), when the flow in the network increases or decreases, it is recorded as a flow change, so that global optimization can be performed in time according to the change to avoid resource waste.

[0012] In particular, the delay-based link load balancing method of step (2) is specifically as follows: the k shortest paths algorithm is used to calculate the k shortest paths between all transmission terminals, and then, based on the idea of ​​the greedy algorithm, routes are selected from the candidate k shortest paths for each flow. The criterion for route selection is that the increase in link load is minimized after the route is added. After all flow routes are selected, the selected flow routes generate a routing table and are added to the flow set.

[0013] In particular, when solving the scheduling table in step (3), the constraints are: frame constraint, timing constraint, end-to-end delay constraint, link conflict constraint and frame isolation constraint. The constraints are satisfied by first-order logic expression and modeled as an optimization module theory problem. The solver is used to solve the problem. The optimization goal is to minimize the average end-to-end transmission delay of the newly added time-triggered traffic.

[0014] Beneficial effects of the present invention:

[0015] 1 The present invention aims to improve the scheduling effect of time-triggered traffic, combines routing planning with incremental scheduling to optimize scheduling, effectively improves the scheduling success rate and scheduling effect and reduces the scheduling time.

[0016] 2 Link selection based on link status is conducive to selecting a path with lower transmission delay according to the link transmission capacity, thereby reducing the average end-to-end delay of traffic transmission.

[0017] 3 The problem is modeled as an optimization modulus theory problem, with minimizing the average end-to-end delay of the traffic as the scheduling goal, which effectively optimizes the delay and improves the scheduling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a system framework model diagram;

[0019] Figure 2 It is a schematic diagram of time-aware shaping based on the gated list;

[0020] Figure 3 It is the algorithm flow chart of joint routing traffic scheduling. DETAILED DESCRIPTION

[0021] In order to more clearly describe the technical content of the present invention, the present invention is further described below in conjunction with the accompanying drawings.

[0022] Figure 1It is a system framework model diagram. The network adopts a distributed user / centralized network model. As the most logically direct TSN configuration model. Distributed users are each user terminal device, which interacts with the network through the user network interface to exchange its own information and needs. A centralized network means that there is a centralized network configuration (Centralized Network Controller, CNC) functional entity in the network. This functional entity can be placed on any device and is responsible for managing network devices. It can usually be understood as a network controller. CNC has a complete view of the physical topology of the network and the capabilities of each bridge, and can perform complex centralized calculations; use remote network management protocols to discover physical topology, retrieve bridge functions, and configure TSN features in each bridge. Configuration information directly points to / comes from the centralized network configuration entity.

[0023] The nodes in the system include time-sensitive network switch nodes and network terminal nodes. Network terminal nodes include sensors, controllers, programmable logic control devices, etc., which are the generation and reception nodes of time-triggered traffic. As a transit node, the switch can have multiple ports, and each outbound port has eight priority queues.

[0024] All links in the network are full-duplex Ethernet links, and the network terminals are the source nodes and receiving nodes that generate the traffic. In the system model we consider, there are transmission links with different transmission capabilities. Since the difference in link transmission capacity may directly affect the generation of planned scheduling, when reasonable scheduling cannot be performed based on the difference in link transmission capacity, it is easy to cause scheduling failure or the planned traffic exceeds the carrying limit of the link with low load capacity.

[0025] The network model can be abstracted as a directed graph G(V,E,W), where V is a point set, which is used to represent the nodes in the network, including end nodes and switches. The end nodes in the network are the source nodes and receiving nodes that generate traffic. They can be sensors, controllers, programmable logic control devices, etc., with only one output port and one input port. The switch forwards frames as a transit node and can have multiple ports. Each output port has 8 priority queues. E is an edge set, which is used to represent a unidirectional link in the network. All links in the network are full-duplex Ethernet links, so there are two unidirectional links between two nodes. W is a weight set, which corresponds one-to-one to the edge set. Each link [a,b] can be defined by a triple. They represent link bandwidth, propagation delay and switch processing delay respectively.

[0026] The traffic types in TSN mainly include TT flow, AVB flow and BE flow. This method mainly considers the TT flow set F with strict time constraints and requires deterministic low-latency transmission. Each flow f i It can be defined with a 6-tuple {src i,dst i ,per i ,ddl i ,size i ,path i} respectively represent the source node, target node, cycle, worst end-to-end delay, size, and transmission path. The traffic source node and target node are both end nodes that generate and receive information in the network. In the TAS scheduling mechanism, it is only necessary to determine the GCL within one super cycle and execute it in multiple super cycles. When a stream is transmitted in TSN, it is transmitted in frames, and the size of each frame does not exceed the Ethernet Maximum Transmission Unit (MTU). Since the stream whose size exceeds the MTU can be split into multiple frames for transmission, this method considers that the size of each traffic transmission instance does not exceed the MTU. The transmission path of the traffic can be composed of two parts link i is the jth transmission link of the traffic, is the time when the traffic starts to be transmitted on the corresponding link. The transmission delay and link occupancy time of the instance on the link can be calculated based on the traffic size, link bandwidth, propagation delay and switch delay.

[0027] Figure 2 This is a schematic diagram of time-aware shaping based on a gating list. The system described in this method uses a time-aware shaper (TAS) based on a gating list. Its strict time guarantee mechanism can guarantee the arrival delay of traffic to the greatest extent. Therefore, it is more suitable for TT flows that are most sensitive to delay requirements. The TAS mechanism is a traffic shaping mechanism based on the idea of ​​time division multiple access and defined by the IEEE802.1 Qbv standard. Figure 2 As shown in Figure 1, TAS stipulates that each device in the network has 8 priority queues on its output port, and each queue is controlled by a transmission gate. When the transmission gate is open, the queue transmits, and when it is closed, the queue does not transmit. All transmission gate combinations constitute a gated scheduling list. The gated list is generated and configured by the central gateway controller.

[0028] Figure 3 is based on Figure 2The specific method flow chart of the gated list based on the time-aware shaper described in . The main process of the routing selection algorithm based on link state information can be described as: first, use Yen's Algorithm to select k shortest paths as candidate paths according to the link delay, and then use a greedy strategy to select a link from the k shortest paths one by one with the smallest increase in link load after adding the current flow, and add it until all flows are added. It should be noted that when selecting k shortest paths, the classic method usually uses the number of hops as the basis for measuring the length of the path. In this method, the length of the link transmission delay is used as the selection basis.

[0029] The specific implementation steps of the incremental scheduling method are as follows:

[0030] Step 1: CNC selects global scheduling or incremental scheduling according to the traffic changes in the network. The system sets the incremental scheduling change threshold. When the number of traffic changes in the system reaches the threshold, global optimization is performed to release occupied time slots and better schedule the new traffic. The following steps are specific steps for scheduling the new traffic using incremental scheduling.

[0031] Step 2: CNC obtains the traffic set to be scheduled and the network topology and calculates the k shortest paths between all end nodes in the network topology as the candidate routing set. When calculating the shortest path, the link transmission delay is directly related to the flow size and link bandwidth. Therefore, the reciprocal of the link bandwidth, that is, As a weight to measure the length of the link.

[0032] Step 3: Assign routes to each flow. The specific method is: adopt a greedy strategy and select the link with the smallest link load increase after adding it from the candidate route set in order as the preset route. The link load is calculated as follows:

[0033] Step 4: Add the calculated preset routing information to the flow set, and CNC performs calculations based on the flow set with routing information. In particular, the problem described in this method is an NP-hard problem. The constraints are mainly:

[0034] Constraint 1: Frame constraint, f i The initial transfer time is non-negative and the transfer can be completed within the period.

[0035] Constraint 2: Flow transmission timing constraint, the transmission of traffic on the switch must be carried out in a timely manner.

[0036] Constraint 3: End-to-end delay constraint, all traffic needs to be transmitted before the deadline.

[0037] Constraint 4: Link non-conflict constraint, which ensures that there is no time conflict when all traffic is transmitted on the same link.

[0038] Constraint 5: Frame isolation constraint. During the flow transmission process, the arrival time of multiple flows in the same scheduling queue may be uncertain, so the time when the frame enters the queue may be uncertain, which leads to the uncertainty of the transmission order. In order to solve this problem, Figure 2 As shown, this paper separates the flows into different queues so that each frame can be deterministically scheduled according to the scheduling of the corresponding timing gate.

[0039] The optimization goal is to minimize the average end-to-end delay of the traffic, so that more link resources can be reserved for traffic of other priorities while minimizing the average end-to-end delay of the link.

[0040]

[0041] Where k is the sequence number of the last link, represents the time when the traffic starts to be transmitted on the last link. The propagation delay on the last link can be expressed as represents the transmission delay on the last link, is the time when the flow starts to be transmitted, i is the i-th flow, and flownum is the total number of flows.

[0042] Specific solution method for the problem, the constraints of the scheduling problem described in this method can be expressed as first-order logic expressions and have been proven to be solvable using Satisfiability Modulo Theories (SMT) / Optimization Modulo Theory (OMT) solvers.

[0043] Among them, SMT adds some first-order theory content on the basis of SAT. Compared with the problem of determining the satisfiability of propositional logic formulas in SAT, SMT has two characteristics: some first-order logic expressions are mixed into propositional logic formulas, and it has an arbitrary Boolean structure. OMT uses SMT as the basic part of the solution, iterates multiple times, and optimizes the optimal solution of the objective function on the basis of finding a feasible solution.

Claims

1. A time-sensitive network incremental scheduling method based on link status, based on the traffic scheduling mechanism of a time-aware shaper of a time-sensitive network, fully considering the link status, splitting the large-scale joint scheduling problem into two sub-problems: routing table solution and scheduling table solution; when new traffic appears in the network, the incremental scheduling method is used in conjunction with routing planning to optimize the time-triggered traffic scheduling effect in the time-sensitive network, and the method comprises the following steps: (1) Check the traffic changes in the network. When the traffic change is less than the threshold, use the incremental scheduling method to solve it. When the traffic change is greater than the threshold, use the global scheduling method to solve it. (2) Use a delay-based link load balancing method to add routes for new traffic; (3) After selecting a candidate path for the new traffic, the existing time-triggered traffic configuration in the system is used as a constraint condition for fixed parameters. The scheduling optimization goal of the new traffic is to minimize the end-to-end transmission delay. After the optimization goal and the constraint condition are converted, they are input into the solver to solve the scheduling table; (4) When the solution fails, global optimization is used to solve the problem again.

2. The time-sensitive network incremental scheduling method based on link status according to claim 1, Features: In the flow change check in step (1), when the flow in the network increases or decreases, it is recorded as a flow change, so that global optimization can be carried out in time according to the change to avoid waste of resources.

3. The time-sensitive network incremental scheduling method based on link status according to claim 1, Features: The delay-based link load balancing method of step (2) is specifically as follows: the k shortest paths algorithm is used to calculate the k shortest paths between all transmission terminals. Then, based on the idea of ​​the greedy algorithm, routes are selected from the candidate k shortest paths for each flow. The criterion for route selection is that the increase in link load is minimized after the route is added. After all flow routes are selected, the selected flow routes generate a routing table and are added to the flow set.

4. The time-sensitive network incremental scheduling method based on link status according to claim 1, Features: When solving the scheduling table in step (3), the constraints are: frame constraint, timing constraint, end-to-end delay constraint, link conflict constraint and frame isolation constraint. The constraints are satisfied by first-order logic expression and modeled as an optimization module theory problem. The solver is used to solve the problem. The optimization goal is to minimize the average end-to-end transmission delay of the newly added time-triggered traffic.

Citation Information

Cited By

  • Dynamic credit shaping management method and device for communication network, and storage medium

    CN119211970A

  • Routing and flow joint scheduling method and system based on link load peak value

    CN119814666A

  • Routing and Traffic Joint Scheduling Method and System Based on Link Load Peak

    CN119814666B

  • Airborne network centralized configuration management method

    CN119892623A