A method to configure nodes (v1, . . . , v8) in a real-time network, wherein the nodes (v1, . . . , v8) of the real-time network are connected with links (E1a, . . . , E8a, E1b, . . . , E8b) to each other directly or indirectly via other nodes (v1, . . . , v8) and communicate with each other using said links (E1a, . . . , E8a, E1b, . . . , E8b) by exchanging frames (F1, . . . , F4), the method comprising:
- associating, by at least one node of the nodes (v1, . . . , v8), at least one queue (Q1, . . . , Q3) with at least one link of the links (E1a, . . . , E8a, E1b, . . . , E8b), wherein said at least one node (v1, . . . , v8) is connected to said at least one queue (Q1, . . . , Q3), and
- placing, by said at least one node (v1, . . . , v8), the frames (F1, . . . , F4) in said at least one queue (Q1, . . . , Q3) for transmission on the at least one link (E1a, . . . , E8a, E1b, . . . , E8b) associated with the at least one queue,
- wherein said at least one queue is associated with a gate (G1, . . . , G3) which comprises an open state or a closed state,
- wherein said at least one node selects (TS) the frames that are placed in said at least one queue on the at least one link associated with said at least one queue for transmission if a state of the gate associated with said at least one queue is in the open state, and does not select the frames for transmission from said at least one queue on said at least one link associated with said at least one queue when said gate is in the closed state,
- wherein said gate changes the state with a progress of time from open to closed and from closed to open to form windows (W1, . . . , W4) as indicated by configuration data (GCL),
- wherein said configuration data (GCL) is produced by a tool, wherein said tool is configured to solve constraints in array theory,
- wherein said tool accepts input that is formulated as constraints in the array theory (CON),
- wherein said input is provided to said tool by a human user and/or by communication requests from the nodes in the real-time network,
- wherein said configuration data (GCL) is communicated to the nodes (v1, . . . , v8) in the real-time network, wherein the nodes apply at least parts of said configuration data (GCL) as local configuration, and
- wherein some of the constraints in the array theory are well-formed windows constraints (CON-WELLFORMED), queue assignment constraints (CON-QUEUEASS), stream instance constraints (CON-STREAMINST), ordered windows constraints (CON-ORDWIND1, CON-ORDWIND2), frame-to-window assignment constraints (CON-FRTOWIND), window size constraints (CON-WINDSIZE1, CON-WINDSIZE2), stream constraints (CON-STREAM), and/or stream isolation constraints (CON-STREAMISOL),
- wherein the well-formed windows constraints are defined as
- ∀e ∈ε:∀k∈{1, . . . ,e}:
- (ϕe[k]≥0)∧(τe[k]<Ts),
- where Ts is a schedule cycle (hyperperiod) of all communication streams in the real-time network,
- wherein the queue assignment constraints are defined as
- ∀e∈ε:∀k∈{1z, . . . ,e}:
- 0≤κe[k]<MAX,
- wherein the stream instance constraints are defined as
- ∀
- s
- i
- ∈
- 𝒮
-
- :
-
- ∀
- e
- ∈
- ℰ
-
- :
-
- ∀
- j
- ∈
- [
- 0
- ,
- T
- s
- T
- i
- -
- 1
- ]
-
- :
- (
- ϕ
- e
-
- [
- ω
- i
- ,
- j
- e
- ]
- ≥
- j
- ×
- T
- i
- )
- ⋀
-
- (
- τ
- e
-
- [
- ω
- i
- ,
- j
- e
- ]
- <
- (
- j
- +
- 1
- )
- ×
- T
- i
- )
- ,
- wherein a first ordered windows constraint of the ordered windows constraints is defined as
- ∀e∈ε:∀i,j∈{1, . . . ,e}, i≠j:
- (τe[i]≤ϕe[j])∨(τe[j]≤ϕe[i]),
- wherein a second ordered windows constraint of the ordered windows constraints is defined as
- ∀e∈ε:∀i∈{1, . . . ,e−1}:
- τe[i]≤ϕe[i+1],
- wherein the frame-to-window assignment constraints are defined as
- ∀e∈ε:∀fi,je∈e:
- (ωi,je≥1)∨(ωi,je≤e),
- wherein a first window size constraint of the window size constraints is defined as
- ∀e∈ε:∀k∈{1, . . . ,e}:
- τek←ϕe[k],
- wherein a second window size constraint of the window size constraints is defined as
- ∀e∈ε:∀fi,je∈e:
- τeωi,je←τe[ωi,je]+lie,
- wherein the stream isolation constraints is defined as
- ∀
- k
- ∈
- [
- 0
- ,
- T
- s
- T
- i
- -
- 1
- ]
-
- :
-
- ∀
- l
- ∈
- [
- 0
- ,
- T
- s
- T
- i
- -
- 1
- ]
-
- :
- (
- (
- τ
- e
- a
-
- [
- ω
- i
- ,
- k
- e
- a
- ]
- +
- δ
- ≤
- ϕ
- e
- y
-
- [
- ω
- j
- ,
- l
- e
- y
- ]
- )
- ⋁
-
- (
- τ
- e
- a
-
- [
- ω
- j
- ,
- l
- e
- a
- ]
- +
- δ
- ≤
- ϕ
- e
- x
-
- [
- ω
- i
- ,
- k
- e
- x
- ]
- )
- )
- ⋁
-
- (
- κ
- e
- a
-
- [
- ω
- i
- ,
- k
- e
- a
- ]
- ≠
- κ
- e
- a
-
- [
- ω
- j
- ,
- l
- e
- a
- ]
- )
- ⋁
-
- (
- ω
- i
- ,
- k
- e
- a
- =
- ω
- j
- ,
- l
- e
- a
- )
- ,
- wherein the stream constraints are defined as
- ∀
- s
- i
- ∈
- 𝒮
-
- :
-
- ∀
- e
- k
- ∈
- ℛ
- i
- ,
- k
- ∈
- {
- 1
- ,
- …
-
- ,
- n
- -
- 1
- }
-
- :
- ∀
- j
- ∈
- {
- 0
- ,
- …
-
- ,
- T
- s
- T
- i
- -
- 1
- }
-
- :
- ∀
- f
- i
- ,
- j
- e
- k
- ∈
- ℱ
- i
- e
- k
-
- :
- ∀
- f
- i
- ,
- j
- e
- k
- +
- 1
- ∈
- ℱ
- i
- e
- k
- +
- 1
-
- :
- τ
- e
- k
-
- [
- ω
- i
- ,
- j
- e
- k
- ]
- +
- δ
- ≤
- ϕ
- e
- k
- +
- 1
-
- [
- ω
- i
- ,
- j
- e
- k
- +
- 1
- ]
- ,
- wherein ν is a set of nodes and ε is a set of directed links connecting nodes to each other,
- wherein δ is a constant value representing a network precision,
- wherein a set of streams in the network with ,
- wherein a stream si∈ is defined by a tuple Ci, Ti, Li, Ji, denoting a frame size in bytes, a period, a maximum allowed end-to-end latency, and a maximum allowed jitter of the stream, respectively,
- wherein a route of a stream si∈ from a talker ν1 to a listener νn routed through intermediary nodes ν2, ν3 . . . , νn-1 is denoted as i=[e1, . . . , en-1],
- wherein an instance of a stream si∈ routed through link e∈ε is defined by a set of frames fi,j∈ie, where ie⊂e is the set of all frames of stream si that are to be scheduled on a link e,
- wherein e is the set of all frames routed through link e,
- wherein Ts is the schedule cycle of all scheduled streams in the real-time network,
- wherein each periodic frame on link e∈ε is characterized by a frame transmission duration lie,
- wherein an array κi,je denotes an assigned queue for each window on link e∈ε in a range of [0 . . . MAX],
- wherein e is a maximum number of windows per link e∈ε derived,
- wherein for each link e two arrays, ϕe and τe over a sort array, containing integer variables for, respectively, open time instants and close time instants of the windows indexed by a position in said arrays for an egress port associated to link e, and
- wherein for each frame instance fi,je∈ie a window index ωi,je over a sort index represents a frame-to-window assignment index in said arrays.