Network device, scheduling method, program, and node graph display method
The network device effectively schedules data streams by determining packet transmission order based on constraint information and requesting upstream adjustments, addressing the challenge of timing conflicts in TSN networks, resulting in efficient data stream management.
Patent Information
- Application Number
- PCT/JP2024/008739
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-07
- Publication Date
- 2024-10-31
AI Technical Summary
Network devices configuring TSN networks face difficulties in observing data streams and grasping timing conflicts across the network, leading to inadequate scheduling of data streams.
A network device with a receiving unit for constraint information and a control unit that determines packet transmission order based on constraint information, requesting upstream devices to adjust constraints if necessary, along with a node graph display method showing timing charts and notification routes for constraint changes.
Enables appropriate scheduling of data streams and distributed scheduling across the network, reducing unnecessary waiting times and optimizing packet transmission.
Smart Images

Figure JP2024008739_31102024_PF_FP_ABST
Abstract
Description
Network device, scheduling method, program, and node graph display method
[0001] The present disclosure relates to a network device, a scheduling method, a program, and a node graph display method.
[0002] The introduction of Ethernet (registered trademark)-based Time Sensitive Networking (TSN) is being considered as a technology that ensures real-time communication between FA (Factory Automation) devices such as manufacturing equipment and production lines in factories.
[0003] Patent Document 1 discloses a technology for determining a transmission path and scheduling of a data stream between a talker device and a listener device using SRP (Stream Reservation Protocol) and TAS (Time Aware Shaper), which are methods of TSN.
[0004] Special table 2021-536708 publication
[0005] However, it is difficult for network devices that configure TSN networks and determine traffic scheduling and transmission paths to observe data streams across the entire network, understand the state of timing conflicts across the entire network, and perform scheduling accordingly, which can result in network devices being unable to properly schedule data streams.
[0006] Non-limiting embodiments of the present disclosure contribute to providing a network device, a scheduling method, a program, and a node graph display method that can appropriately schedule data streams in a network.
[0007] A network device according to one embodiment of the present disclosure is a network device that constitutes a network and includes: a receiving unit that receives constraint information regarding constraints on packet transmission and reception from an upstream network device; and a control unit that, when the transmission timings of multiple packets to be transmitted to a downstream network device overlap, determines the transmission order of the multiple packets based on the constraint information of each of the multiple packets; and when the control unit cannot satisfy the constraint information of the multiple packets in determining the transmission order, it requests the upstream network device to change the constraint information.
[0008] A scheduling method according to one embodiment of the present disclosure is a scheduling method for network devices that constitute a network, which receives constraint information regarding constraints on packet transmission and reception from an upstream network device, and when the transmission timings of multiple packets to be transmitted to a downstream network device overlap, determines a transmission order for the multiple packets based on the constraint information for each of the multiple packets, and when the constraint information for the multiple packets cannot be satisfied in determining the transmission order, requests the upstream network device to change the constraint information.
[0009] A program according to one embodiment of the present disclosure is a program for a network device that constitutes a network, and causes a processor to receive constraint information regarding constraints on the transmission and reception of packets from an upstream network device, and if the transmission timings of multiple packets to be sent to a downstream network device overlap, determine the transmission order of the multiple packets based on the constraint information of each of the multiple packets, and if the constraint information of the multiple packets cannot be satisfied in determining the transmission order, request the upstream network device to change the constraint information.
[0010] A node graph display method according to one embodiment of the present disclosure displays a node graph of network devices that constitute a network, displays a timing chart of input packets of a network device selected on the node graph, displays a timing chart of output packets in a transmission order determined based on constraint information regarding constraints on the transmission and reception of the input packets, and displays on the node graph a notification path of a request to change constraint information sent by a network device that cannot satisfy the constraint information of the input packets when determining the transmission order of the output packets.
[0011] These comprehensive or specific aspects may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a recording medium, or may be realized as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium.
[0012] According to one embodiment of the present disclosure, a network device can appropriately schedule data streams in the network.
[0013] Further advantages and benefits of an embodiment of the present disclosure will become apparent from the specification and drawings. Such advantages and / or benefits may be provided by some of the embodiments and features described in the specification and drawings, respectively, but not necessarily all of them may be provided to obtain one or more identical features.
[0014] 7 is a diagram showing an example of a network system according to an embodiment of the present disclosure; FIG. 1 is a diagram showing an example of a block configuration of a network device constituting the network system of FIG. 1; FIG. 2 is a diagram showing an example of a detailed block configuration of a switch; FIG. 3 is a diagram showing an example of a timing chart of an input packet and an output packet; FIG. 4 is a diagram showing an example of a node graph of the network system of FIG. 1;
[0015] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or redundant explanation of substantially identical configurations may be omitted. This is to avoid unnecessary redundancy in the following explanation and to facilitate understanding by those skilled in the art.
[0016] The accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.
[0017] <System Configuration Diagram> Fig. 1 is a diagram illustrating an example of a network system 100 according to an embodiment of the present disclosure. The network system 100 is a network system in which TSN is implemented. As shown in Fig. 1, the network system 100 includes switches 1011 and 1012, talkers 1031 to 1033, and a listener 1034. The switches 1011 and 1012, the talkers 1031 to 1033, and the listener 1034 are connected via, for example, Ethernet. The network system 100 is constructed, for example, on a production line in a factory.
[0018] The switches 1011 and 1022 are network devices that relay data streams (packets). The switch 1011 has a port 1021. The switch 1012 has a port 1022. The switches 1011 and 1012 relay packets between the ports 1021 and 1022, for example, by executing an application stored in a storage unit. The switches may also be referred to as relay nodes or relay devices.
[0019] Port 1021 of switch 1011 outputs a packet input to a certain port 1021 from the certain port 1021 in accordance with, for example, the packet's destination, priority, and a predetermined schedule. Port 1022 of switch 1012, like port 1021 of switch 1011, also outputs a packet input to a certain port 1022 from the certain port 1022 in accordance with the packet's destination, priority, and a predetermined schedule.
[0020] The talkers 1031 to 1033 are network devices that act as packet senders. The talkers 1031 to 1033 operate as packet senders by, for example, executing an application stored in a storage unit.
[0021] The talkers 1031 to 1033 are devices such as, for example, personal computers (PCs), factory automation devices such as programmable logic controllers (PLCs), sensors, and actuators. The talkers 1031 to 1033 may also be referred to as end devices, transmission nodes, or transmission devices.
[0022] The listener 1034 is a network device that receives packets. The listener 1034 operates as a packet receiver by, for example, executing an application stored in a storage unit.
[0023] The listener 1034 is a device such as a PC, an FA such as a PLC, a sensor, or an actuator. The listener 1034 may also be referred to as an end device, a receiving node, or a receiving apparatus.
[0024] The talkers 1031 to 1033 and the listener 1034 each have at least one port (not shown) and are connected to other network devices.
[0025] Note that one end device may act as both a talker and a listener, and one end device may act as multiple talkers and / or multiple listeners.
[0026] <Block Diagram> Fig. 2 is a diagram showing an example of a block configuration of a network device 200 that constitutes the network system 100 of Fig. 1. As shown in Fig. 2, the network device 200 has a receiving unit 201, a control unit 202, a transmitting unit 203, a UI (User Interface) unit 204, and a storage unit 105.
[0027] The receiving unit 201 performs a receiving process for packets input from the Ethernet connected to the port.
[0028] The control unit 202 controls the entire network device 200. The control unit 202 performs data processing based on the packets received by the receiving unit 201.
[0029] The control unit 202 may be configured by a processor such as a central processing unit (CPU). The control unit 202 may implement the network communication processing functions of the switch and / or end device in accordance with a program (application) stored in the storage unit 205.
[0030] The transmitting unit 203 performs a transmitting process of outputting packets generated based on the data processing in the control unit 202 to the Ethernet connected to the port.
[0031] The UI unit 204 is an input / output device such as a keypad, a touch panel, and / or a display. The UI unit 204 outputs a signal corresponding to a user's operation to the control unit 202. The UI unit 204 displays an image corresponding to the signal output from the control unit 202 on the display.
[0032] The storage unit 205 stores an operating system (OS) program and application programs to be executed by the control unit 202. The storage unit 205 also stores various data necessary for processing by the control unit 202. The storage unit 205 may be, for example, a solid state drive (SSD), random access memory (RAM), flash memory, read only memory (ROM), and / or a hard disk drive (HDD). There may be one storage unit 205 or multiple storage units 205.
[0033] Depending on the functions of the network device, the network device 200 may not include the UI unit 204. The network device 200 may be remotely connected to another device such as a PC, and the other device may provide a user interface for the network device 200.
[0034] 3 is a diagram showing an example of a detailed block configuration of the switch 1011. As shown in Fig. 3, the switch 1011 has an input port 301, a destination filter 302, a queue 303, a gate 304, an output port 305, a scheduler 306, and a GCL (Gate Control List) unit 307. The switch 1012 also has a block configuration similar to that of the switch 1011.
[0035] The input port 301 may correspond to, for example, the receiving unit 201 in Fig. 2. The destination filter 302, the queue 303, the gate 304, the scheduler 306, and the GCL unit 307 may correspond to, for example, the control unit 202 in Fig. 2. The output port 305 may correspond to, for example, the transmitting unit 203 in Fig. 2. The above-described correspondence is an example, and the correspondence is not limited to the above-described correspondence. For example, the input port 301 and the destination filter 302 may correspond to the receiving unit 201 in Fig. 2. For example, the gate 304 and the output port 305 may correspond to the transmitting unit 203 in Fig. 2.
[0036] The input port 301 converts the signal from the Ethernet cable into packets (packet data). For example, the input port 301 converts the signal from the Ethernet cable into packets P30-0, P30-1, P30-2, and P30-3 and outputs them to the destination filter 302.
[0037] Destination filter 302 analyzes the header of each packet and determines which queue of which output port the packet should be output to. In the example of FIG. 3, destination filter 302 outputs packets P30-0, P30-1, P30-2, and P30-3 to queue 303 of output port 305.
[0038] The destination filter 302 also analyzes the packet headers and determines the priorities of the packets P30-0, P30-1, P30-2, and P30-3. The destination filter 302 outputs the packets P30-0, P30-1, P30-2, and P30-3 to the queue 303 corresponding to the determined priorities. The priorities may be priorities related to the order in which the packets are transmitted from the output port 305.
[0039] The queue 303 holds packets output from the destination filter 302 on a first-in, first-out (FIFO) basis. A plurality of queues 303 are provided for different priorities. For example, the queues 303 have queues ranging from the highest priority "0" to the lowest priority "3." Note that the number of queues 303 may be provided according to the number of priorities. For example, if eight priorities are set, eight queues 303 may be provided.
[0040] The gate 304 outputs packets to be output from the queue 303 to the output port 305 under the control of the scheduler 306 .
[0041] The output port 305 converts the packet output from the gate 304 into an Ethernet signal and outputs it to an Ethernet cable.
[0042] The scheduler 306 determines, based on an instruction (list) from the GCL unit 307 , when and for how long a packet held in which queue will be output, and controls the gate 304 .
[0043] The GCL unit 307 generates a list (GCL) for setting the opening and closing of the gate 304. The GCL includes information indicating when and for how long packets of which priority (queue) are to be output.
[0044] For example, suppose that packets P30-0, P30-1, P30-2, and P30-3 are input from different talkers to input port 301. The packets P30-0, P30-1, P30-2, and P30-3 have the highest priority in this order. The GCL unit 307 generates a GCL that outputs packets in the order of priority 0, 1, 2, and 3 (the output period is omitted here).
[0045] In this case, packets P30-0, P30-1, P30-2, and P30-3 are output to queues 303 of 0, 1, 2, and 3 by destination filter 302. Based on the GCL of GCL unit 307, scheduler 306 controls gate 304 so that packets P30-0, P30-1, P30-2, and P30-3 are output from output port 305 in the transmission order.
[0046] <Timing Chart> Fig. 4 shows an example of a timing chart of input packets and output packets. Timing chart TC1 in Fig. 4 shows a timing chart of a packet input to a switch. Timing charts TC2 and TC3 show timing charts of packets output from the switch.
[0047] The horizontal axis t in Figure 4 represents time. The period when the rectangular wave in timing chart TC1 is high indicates the period when packets are input to the switch. The period when the rectangular wave in timing charts TC2 and TC3 is high indicates the period when packets are output from the switch. The vertical line indicated by arrow A4a in Figure 4 indicates the desired arrival time of packet P30-0. Similarly, the vertical lines in packets P30-1, P30-2, and P30-3 indicate the desired arrival times of packets P30-1, P30-2, and P30-3. The desired arrival time may be considered to be the time limit for a packet to arrive at the listener.
[0048] As shown in timing chart TC1, assume that packets P30-0, P30-1, P30-2, and P30-3 are input to the switch. The arrival order of packets P30-0, P30-1, P30-2, and P30-3 (the falling timing of the rectangular wave) is P30-0, P30-3, P30-1, and P30-2.
[0049] In this disclosure, for example, a store-and-forward system is assumed, so that a packet is input (reception of the packet starts), and after the entire packet is stored (after the square wave rises and falls), processing such as header analysis is performed, and the packet is forwarded.
[0050] When the GCL generated by the GCL unit 307 is GCL1[0,1,2,3], the packet output order is {P30-0, P30-1, P30-2, P30-3}, as shown in timing chart TC2 in Figure 4. In this case, after outputting packet P30-0 (after the falling edge of the rectangular wave), the switch waits for the arrival of packet P30-1, so there is a period between packets P30-0 and P30-1 during which no packets are output. Furthermore, packet P30-3, which arrived earlier, is delayed because its output is delayed due to the arrival of a packet with a higher priority.
[0051] When the GCL generated by the GCL unit 307 is GCL2[0,3,1,2], the packet output order is {P30-0, P30-3, P30-1, P30-2}, as shown in timing chart TC3 in Figure 4. In this case, the output order of the output packets matches the arrival order of the input packets, and the switch can output the packets almost immediately (with only internal processing delays) after the input packets arrive. Therefore, as shown by arrow A4b in Figure 4, GCL2[0,3,1,2] has a shorter overall output delay than GCL1[0,1,2,3].
[0052] The time from a certain reference time until a packet is transmitted is called a transmission offset. For example, the double-headed arrow A4c in Fig. 4 indicates the transmission offset of packet P30-1. The transmission offset may also be called transmission timing.
[0053] <Node Graph> Fig. 5 is a diagram showing an example of a node graph of the network system 100 of Fig. 1. Below, the switches 1011 and 1012 may be referred to as switches S1 and S2. The port 1021 of the switch 1011 may be referred to as port P1, and the port 1022 of the switch 1012 may be referred to as port P1. The talkers 1031, 1032, and 1033 may be referred to as talkers T1, T2, and T3, and the listener 1034 may be referred to as listener L1.
[0054] The node graph shows the transmission path of a data stream. In the node graph of Figure 5, talkers T1, T2, and T3 transmit packets, and listener L1 receives the packets. Port P1 of switch S1 relays the packets to switch S2, and port P1 of switch S2 relays the packets to listener L1.
[0055] Packets sent from talkers T1 and T2 merge at switch S1 and are sent from port P1 of switch S1 to switch S2. Packets output from switch S1 (packets output from talkers T1 and T2) merge with packets sent from talker T3 at switch S2 and are sent from port P1 of switch S2 to listener L1. That is, in the node graph of Figure 5, packets merge at port P1 of switch S1 and at port P1 of switch S2.
[0056] When packet transmission periods overlap due to the merging of packets, the switches S1 and S2 generate GCLs for scheduling the packet transmission order so that the packet transmission periods do not overlap. For example, as shown in GCL1 and GCL2 in Figure 4, the switches S1 and S2 generate GCLs so that the packet transmission periods do not overlap.
[0057] 4, packets have desired arrival times. Switches S1 and S2 generate GCLs (determine the order in which packets are sent) so as to satisfy the desired arrival times of the packets.
[0058] Packets output from a switch may not meet the desired arrival time. For example, no matter how switch S2 determines the packet transmission order, the packets may not meet the desired arrival time. In this case, for example, switch S2 requests the preceding switch S1 to change the packet transmission order, etc. Switch S2 regenerates the GCL based on the packet transmission order changed by the preceding switch S1. If the packets meet the desired arrival time in the regenerated GCL, switch S2 determines the packet transmission order in the regenerated GCL. In other words, switches schedule the packet transmission order in a distributed manner in network system 100.
[0059] In the following description, the talker side of a packet transmission path may be referred to as the upstream side, and the listener side as the downstream side.
[0060] <Data Structure of Stream Information> Fig. 6 is a diagram showing an example of the data structure of stream information 601. As shown in Fig. 6, stream information 601 has fields for type, length, destination information, transmission offset, transmission period, desired arrival time, maximum packet length, number of hops, and constraint relaxation request flag. The fields of stream information 601 may be included in a dedicated control packet or in a normal data packet.
[0061] 6 is a field of the stream information 601. The length indicates the data length of the stream information 601 (field length).
[0062] Following the type and length, an information field regarding packet transmission constraints is inserted into the stream information 601. For example, following the type and length, the stream information 601 includes destination information such as an address indicating the packet destination and priority, a packet transmission offset (transmission start time), a transmission cycle, a desired arrival time, a maximum packet length, the number of hops required to reach the packet destination, and a constraint relaxation request flag.
[0063] Stream information 601 is generated by a talker and transmitted downstream, and is also transmitted upstream from a switch, for example, when the switch determines that a packet does not meet the desired arrival time.
[0064] The talker sets the type, length, destination information, transmission offset, transmission period, desired arrival time, and maximum packet length of the stream information 601. The number of hops is set by, for example, a switch.
[0065] The switch generates a GCL based on stream information 601. The stream information 601 includes a desired arrival time. As will be described with reference to FIGS. 7 and 8, each switch on the route calculates the remaining margin time (the time remaining until the desired arrival time at which the packet arrives at the destination) based on the desired arrival time and the combination of packet transmission orders, and performs distributed scheduling of the packets.
[0066] When a switch joins and transmits packets (see, for example, FIGS. 4 and 5), it concatenates the stream information 601 of each packet in GCL order (packet transmission order) and transmits it to a downstream switch. The downstream switch can recognize the stream information 601 and transmission order of each packet joined by the upstream switch based on the joined stream information 601 and the concatenation order of the stream information 601.
[0067] If a switch cannot generate a GCL that makes the remaining time equal to or greater than 0, it sets a constraint relaxation request flag (for example, sets it to 1) and transmits it upstream. An upstream switch that receives stream information 601 with the constraint relaxation request flag set regenerates a GCL that changes the packet transmission order and / or changes (shortens) the packet transmission offset, for example. The upstream switch transmits stream information 601 based on the regenerated GCL and / or stream information 601 including the changed transmission offset to a downstream switch.
[0068] If the upstream switch, for example, regenerates the GCL and / or changes the transmission offset, but the packet does not meet the desired arrival time (if the residual margin time does not become equal to or greater than 0), the stream information 601 may be traced back to the talker. In this case, for example, the destination information (priority), transmission offset, transmission period, desired arrival time, and maximum packet length are changed (relaxed) in the talker. For example, the priority of the packet is lowered and / or the transmission offset is shortened. For example, the transmission period and / or desired arrival time of the packet are lengthened. For example, the maximum packet length is shortened.
[0069] The stream information 601 may include information regarding transmission constraints for multiple packets and the transmission order determined by the switch. The stream information 601 may also include fields indicating which of the transmission constraints is to be relaxed. For example, the stream information 601 may include a flag field indicating a request to change the transmission order, a flag field indicating a request to change the transmission offset, and / or a flag field indicating a request to change the desired arrival time.
[0070] <Switch Operation> Fig. 7 is a flowchart showing an example of switch operation. The process of the flowchart shown in Fig. 7 may be executed when the network system 100 is constructed or when the network system 100 is changed, for example.
[0071] The talker transmits (notifies) stream information regarding packets to be transmitted downstream. The switch receives stream information transmitted from the talker or another switch (S701).
[0072] Based on the received stream information, the switch determines the path for the packet to reach the destination (S702), and also identifies the number of hops indicating how many nodes the packet must pass through before it reaches the destination listener from the switch (S702).
[0073] Based on the stream information received in S701, the switch identifies, from among the output ports where multiple packets converge, an output port where the arrival times of the packets are close and the output timing of the packets overlaps (S703).The switch also identifies the overlap period (confluence period) of the packets at the identified output port (S703).For example, the switch identifies the output timing overlap from the transmission offset, transmission period, and maximum packet size of the stream information.Note that if the input packets shown in FIG. 4 are converged and output as is, the output timing of the packets will overlap.
[0074] In S703, the switch identifies the output ports with overlapping output timings and the overlapping period of packets, and then generates a GCL for the identified output ports based on the remaining margin time until each packet arrives within the desired arrival time (S704). For example, the switch generates a GCL for the output ports identified in S703 so that the remaining margin time is 0 or greater. Details of S704 will be described with reference to the flowchart in FIG. 8.
[0075] The switch determines whether or not it has received stream information with a constraint relaxation request flag set (constraint relaxation request) from a downstream switch (S705). If the switch has not received a constraint relaxation request from a downstream switch (No in S705), it ends the processing of this flowchart. If the switch has received a constraint relaxation request from a downstream switch (Yes in S705), it proceeds to S702.
[0076] FIG. 8 is a flowchart showing a detailed example of the operation of S704 in FIG. 7 . The switch calculates the residual margin time for each packet based on the desired arrival time and maximum packet length of each packet of the stream information received at S701 or S705 in FIG. 7 at the output port identified at S703 in FIG. 7 (S801). For example, the switch subtracts the delay time (transmission offset) based on the packet transmission order, the maximum packet length, and the time based on the number of hops (propagation time) from the desired arrival time to calculate the residual margin time for each packet. The switch then determines the transmission order of packets that maximizes the total residual margin time (S801). Note that various algorithms can be used to determine the packet transmission order. For example, various search methods, such as a branch-and-bound algorithm used in combinatorial optimization, or metaheuristics, such as a genetic algorithm, can be used.
[0077] The switch determines whether the remaining time of each packet in the transmission order determined in S801 is equal to or greater than 0 (S802). That is, the switch determines whether each packet in the transmission order determined in S801 will arrive at the destination listener by the desired arrival time.
[0078] If there is no packet whose remaining time margin is not equal to or greater than 0 (Yes in S802), the switch generates a GCL based on the transmission order determined in S801 (S803).Then, the switch generates stream information based on the generated GCL and transmits it downstream (S803).
[0079] If there is a packet whose residual margin time does not satisfy the condition of 0 or more (No in S802), the switch notifies the upstream switch that transmitted the packet that did not satisfy the condition (the packet whose residual margin time is 0 or less) of a constraint relaxation request (S804).The switch then proceeds to S801.That is, the switch transmits stream information with the constraint relaxation request flag set (see FIG. 6) to the upstream switch and generates a CGL again.
[0080] The constraint relaxation request is sent to each packet, going back up to the previous switch until the remaining slack time is met. If the remaining slack time cannot be met through adjustments between switches, the constraint relaxation request reaches the talker. The talker that receives the constraint relaxation request may notify the user that an application change is required.
[0081] In this way, each switch schedules packets for the merging period where timing conflicts occur and for the packets that merge at each switch. If a switch performs scheduling that does not allow packets to meet their desired arrival times, it requests the upstream switch to relax the constraints. In other words, each switch observes (determines) partial packet overlaps throughout the entire network system 100 and performs scheduling in a distributed manner throughout the entire network system 100.
[0082] For example, an upstream switch notifies a downstream switch of the desired arrival time of each packet. The downstream switch calculates the remaining time margin of the packets based on the notified desired arrival time and determines the transmission order of the packets. If the determined transmission order does not allow the packets to meet the desired arrival time, the downstream switch requests the upstream switch to relax the constraints.
[0083] Furthermore, upstream switches do not need to consider the merging of streams at downstream switches; downstream switches that are no longer able to satisfy the remaining slack time will receive a notification of the constraint relaxation request. This allows switches to adjust schedules in a distributed manner. If a switch cannot satisfy a transmission constraint, it can notify the talker application or user that the transmission constraint cannot be satisfied.
[0084] <Sequence> Sequence in which a constraint relaxation request is not made Fig. 9 is a diagram showing an example of a sequence in which a constraint relaxation request is not made. Fig. 9 describes an example of a sequence in the node graph of Fig. 5. T1, T2, and T3 shown in Fig. 9 correspond to the talkers T1, T2, and T3 described in Fig. 5. S1 and S2 shown in Fig. 9 correspond to the switches S1 and S2 described in Fig. 5. L1 shown in Fig. 9 corresponds to the listener L1 described in Fig. 5.
[0085] The talker T1 transmits stream information to the listener L1 before transmitting packets (S901).
[0086] Talker T2 transmits stream information to listener L1 before transmitting packets (S902).
[0087] Switch S1 receives the stream information transmitted in S901 and S902. Based on the received stream information, switch S1 determines that packets transmitted from talkers T1 and T2 will merge and that their merge periods will overlap, and generates a GCL for the packets (S903).
[0088] Talker T3 transmits stream information prior to transmitting packets to listener L1 (S904).
[0089] The switch S1 generates stream information based on the GCL generated in S903 and transmits it to the downstream switch S2 (S905).
[0090] Switch S2 receives the stream information transmitted in S904 and S905. Based on the received stream information, switch S2 determines that the packets transmitted from talker T3 and switch S1 will merge and that their merging periods will overlap, and generates a GCL for the packets (S906).
[0091] The switch S2 generates stream information based on the GCL generated in S906 and transmits it to the downstream listener L1 (S907).
[0092] If the switch S2 does not receive a request for relaxing the constraints from the listener L1 at the downstream stage, the switch S2 confirms the GCL created in S906 (S908). Then, the switch S2 performs gate control on packets sent from upstream using the confirmed GCL.
[0093] If the switch S1 does not receive a constraint relaxation request from the downstream switch S2, the switch S1 confirms the GCL created in S903 (S909). Then, the switch S1 performs gate control on packets transmitted from upstream using the confirmed GCL.
[0094] If no request for relaxation of constraints is notified, talkers T1, T2, and T3 start transmitting packets (S910a, S910b, S910c).
[0095] In this way, the network system 100 can propagate scheduling for packets for each destination in order from the previous stage on the route, thereby enabling the network system 100 to distribute and allocate gate times efficiently while suppressing unnecessary waiting time.
[0096] The order of the processes is not limited to the example in Fig. 9. For example, the order of the processes of S901 and S902, the order of the processes of S904 and S905, and the order of the processes of S908 and S909 may be interchanged.
[0097] 10 is a diagram showing an example of a sequence in which a constraint relaxation request is made between switches. In Fig. 10, as in Fig. 9, an example of a sequence in the node graph of Fig. 5 will be described.
[0098] The talker T1 transmits stream information to the listener L1 before transmitting packets (S1001).
[0099] Talker T2 transmits stream information to listener L1 before transmitting packets (S1002).
[0100] Switch S1 receives the stream information transmitted in S1001 and S1002. Based on the received stream information, switch S1 determines that packets transmitted from talkers T1 and T2 will merge and that their merge periods will overlap, and generates a GCL for the packets (S1003).
[0101] Before transmitting packets to the listener L1, the talker T3 transmits stream information (S1004).
[0102] The switch S1 generates stream information based on the GCL generated in S1003 and transmits it to the downstream switch S2 (S1005).
[0103] Switch S2 receives the stream information transmitted in S1004 and S1005. Based on the received stream information, switch S2 determines that the packets transmitted from talker T3 and switch S1 will merge and that their merging periods will overlap, and generates a GCL for the packets (S1006).
[0104] In the GCL generated in S1006, the switch S2 determines that, for example, the packet transmitted from the talker T1 cannot satisfy the remaining margin time (the remaining margin time is not equal to or greater than 0), and transmits a constraint relaxation request to the upstream switch S1 that transmits (relays) the packet that cannot satisfy the remaining margin time (S1007). That is, the switch S2 transmits stream information with a constraint relaxation request flag set to the switch S1.
[0105] When the switch S1 receives a constraint relaxation request from the downstream switch S2, it regenerates the GCL (S1008). For example, if the remaining slack time can be satisfied by switching the packet transmission order between talker T1 and talker T2, the switch S1 regenerates the GCL with the packet transmission order switched.
[0106] The switch S1 generates stream information based on the GCL regenerated in S1008 and transmits it to the downstream switch S2 (S1009).
[0107] The switch S2 receives the stream information transmitted in S1009. The switch S2 regenerates a GCL for the packet based on the stream information transmitted in S1009 and the stream information transmitted in S1004 (S1010). Here, the switch S2 regenerates a GCL that satisfies the remaining margin time.
[0108] The switch S2 generates stream information based on the GCL regenerated in S1010 and transmits it to the downstream listener L1 (S1011).
[0109] If the switch S2 does not receive a request for relaxing the constraints from the listener L1 at the downstream stage, the switch S2 confirms the GCL regenerated in S1010 (S1012). Then, the switch S2 performs gate control on packets transmitted from upstream using the confirmed GCL.
[0110] If the switch S1 does not receive a constraint relaxation request from the downstream switch S2, the switch S1 confirms the GCL regenerated in S1008 (S1013). Then, the switch S1 performs gate control on packets transmitted from upstream using the confirmed GCL.
[0111] If a constraint relaxation request is not notified, the talkers T1, T2, and T3 start transmitting packets (S1014a, S1014b, and S1014c).
[0112] In this way, the network system 100 schedules packets for each destination in order from upstream to downstream on the route, and when the transmission constraints can no longer be satisfied, it notifies the upstream node of a constraint relaxation request. That is, the network system 100 propagates the rescheduling request backward from downstream to upstream. This allows the network system 100 to distribute and efficiently allocate gate times while suppressing unnecessary waiting time.
[0113] The order of the processes is not limited to the example in Fig. 10. For example, the order of the processes in S1001 and S1002, the order of the processes in S1004 and S1005, and the order of the processes in S1012 and S1013 may be interchanged.
[0114] 11 is a diagram showing an example of a sequence in which a constraint relaxation request is made to a talker. In Fig. 11, as in Fig. 9, an example of a sequence in the node graph of Fig. 5 will be described.
[0115] The talker T1 transmits stream information to the listener L1 before transmitting packets (S1101).
[0116] Talker T2 transmits stream information to listener L1 before transmitting packets (S1102).
[0117] Switch S1 receives the stream information transmitted in S1011 and S1012. Based on the received stream information, switch S1 determines that the packets transmitted from talkers T1 and T2 will merge and that their merge periods will overlap, and generates a GCL for the packets (S1103).
[0118] Talker T3 transmits stream information to listener L1 prior to transmitting packets (S1104).
[0119] The switch S1 generates stream information based on the GCL generated in S1103 and transmits it to the downstream switch S2 (S1105).
[0120] Switch S2 receives the stream information transmitted in S1104 and S1105. Based on the received stream information, switch S2 determines that the packets transmitted from talker T3 and switch S1 will merge and that their merging periods will overlap, and generates a GCL for the packets (S1106).
[0121] In the GCL generated in S1106, the switch S2 determines that, for example, the packet transmitted from the talker T1 cannot satisfy the remaining margin time (the remaining margin time is not equal to or greater than 0), and transmits a constraint relaxation request to the upstream switch S1 that transmits (relays) the packet that cannot satisfy the remaining margin time (S1107). That is, the switch S2 transmits stream information with a constraint relaxation request flag set to the switch S1.
[0122] When the switch S1 receives a constraint relaxation request from the switch S2 at the subsequent stage, the switch S1 regenerates the GCL (S1108).
[0123] If the remaining slack time at switch S2 is not satisfied even after regenerating the GCL, switch S1 sends a constraint relaxation request to the preceding talker T1 (the talker that transmits packets that do not satisfy the remaining slack time at switch S2) (S1109). For example, if the remaining slack time at switch S2 is not satisfied even after switching the transmission order of packets from talker T1 and talker T2, switch S1 sends a constraint relaxation request to the preceding talker T1. That is, switch S1 transmits stream information with a constraint relaxation request flag set to the preceding talker T1.
[0124] When talker T1 receives the constraint relaxation request sent in S1109, it determines that packet transmission is not possible under the transmission constraints of the stream information sent in S1101 (see the description of FIG. 6 ), and executes constraint adjustment processing (application) (S1110). Talker T1 changes the transmission constraints through the constraint adjustment processing, and generates stream information based on the changed transmission constraints. Talker T1 then transmits the generated stream information downstream (not shown). Note that if the remaining slack time of switch S2 is not satisfied even with the stream information based on the transmission constraints changed through the constraint adjustment processing, talker T1 may notify the user via a user interface. The user may then perform the constraint adjustment.
[0125] In this way, the network system 100 schedules streams for each destination, starting from the upstream node on the path, and notifies the preceding node of a constraint relaxation request when the transmission constraints can no longer be satisfied. In other words, the network system 100 propagates the rescheduling request backward from downstream to upstream. If scheduling adjustments cannot be made between switches, the notification of the constraint relaxation request is traced back to the talker, where the talker makes adjustments or notifies the user. This allows the network system 100 to distribute and efficiently allocate gate times while suppressing unnecessary waiting time. Furthermore, as will be described later, information such as which packets are constraining bandwidth (time) can also be notified, making it easier for users to recognize areas where adjustments to transmission constraints at the talker or changes to the design of the network system 100 are required.
[0126] The order of the processes is not limited to the example in Fig. 11. For example, the order of the processes in S1101 and S1102 and the order of the processes in S1104 and S1105 may be reversed.
[0127] <User Interface> Fig. 12 is a diagram showing an example of a user interface. A GUI (Graphical User Interface) screen 1200 shown in Fig. 12 may be displayed on, for example, a display provided in a network device. The GUI screen 1200 may also be displayed on, for example, a display of an information processing device such as a PC connected to the network device. The GUI screen 1200 may also be displayed on, for example, a display of an information processing device such as a PC that implements a program that simulates the configuration and operation described above.
[0128] As shown in Fig. 12, a GUI screen 1200 has a path display section 1201, an input display section 1202, an output display section 1203, a node selection section 1204, and port selection sections 1205 and 1206. T0 to T5 shown in Fig. 12 indicate talkers. S1 and S2 indicate switches. P1 indicates a port of switch S1, and P2 indicates a port of switch S2. L2 indicates a listener.
[0129] When a listener is selected in the node selection section 1204, the path display section 1201 displays the path of the data stream whose destination is the selected listener.
[0130] For example, in FIG. 12 , when listener L2 (Listener2) is selected, talkers T0 and T2 whose packets are destined for listener L2 are displayed with solid lines. Other data streams and nodes that merge and / or branch along the route are displayed with dotted lines. That is, other data streams and sending nodes that affect the target data stream shown with a solid line are displayed with dotted lines. For example, in FIG. 12 , data streams of talkers T1, T3, T4, and T5 that are not destined for listener L2 merge into the edge connecting port P1 of switch S1 to port P2 of switch S2, and the data streams of talkers T1, T3, T4, and T5 branch off to ports other than port P2 of switch S2.
[0131] When an edge connecting nodes is selected, the edge is highlighted and the bandwidth (time) occupancy rate of the edge is displayed. For example, in FIG. 12, when edge 1207 is selected, the bandwidth occupancy rate of edge 1207 is displayed as "50%." This allows the user to easily recognize which edges are congested and how much bandwidth is available.
[0132] If a constraint relaxation request is made between nodes during the scheduling process, an image is displayed showing the path along which the constraint relaxation request was propagated. For example, as shown in constraint relaxation request display 1208 in FIG. 12, a constraint relaxation request is notified from port P2 of switch S2 to talker T4 via port P1 of switch S1. This allows the user to easily recognize the situation, such as which data stream on which path is exerting pressure on the bandwidth constraint and where.
[0133] When a node displayed in the port selection section 1205 or the path display section 1201 is selected, a timing chart of packets input to the port of the selected node is displayed in the input display section 1202. For example, in Fig. 12, a timing chart of packets of talkers T0 to T5 input to port P1 (Sw1 Port1) of switch S1 is displayed.
[0134] In Figure 12, double-headed arrow 1209 indicates the transmission offset of talker T0's packet. Double-headed arrow 1210 indicates the maximum packet length of talker T0's packet. Double-headed arrow 1211 indicates the remaining margin time. Triangular marker 1212 indicates the desired arrival time. The number on arrow 1213 indicates the remaining number of hops from switch S1 to the destination. For example, packets from talkers T0 and T2 at switch S1 reach the destination listener L2 with one hop remaining.
[0135] The rising and falling portions of the square waves and the triangular markers in each timing chart of the input display unit 1202 may be used as handles that can be moved left and right by the user. In other words, the user may be able to adjust the transmission constraints by manipulating the rising and falling portions of the square waves and the triangular markers.
[0136] When a node displayed in the port selection section 1206 or the path display section 1201 is selected, the output display section 1203 displays a candidate schedule (GCL) to be set for the port of the selected node and a timing chart of the output packets in that GCL.
[0137] 12, for example, schedule candidates for GCL0, GCL1, and FIFO are displayed. Also, a timing chart is displayed showing how packets from talkers T0 to T5 input to port P1 (Sw1 Port1) of switch S1 are output from GCL0, GCL1, and FIFO, respectively.
[0138] 12 indicates the desired arrival times of talkers T0 to T5. In GCL0, packets are output in the order of talkers {T3, T5, T4, T2, T0, T1}. In GCL0, all packets from talkers T0 to T5 meet the desired arrival times (residual margin time 0 or more).
[0139] In GCL1, packets are output in the order of talkers {T0, T1, T2, T3, T4, T5}. In GCL1, packets from talkers T3, T4, and T5 do not meet the desired arrival times.
[0140] In the FIFO, packets are output in the order of talkers {T3, T5, T1, T2, T4, T0}. In the FIFO, all packets from talkers T0 to T5 meet the desired arrival time.
[0141] Packets that do not meet the desired arrival time may be highlighted in red, for example, which allows the user to easily recognize when and in what order packets will be transmitted in multiple scheduling candidates, how much remaining time is available, and whether unnecessary waiting time is occurring.
[0142] In each timing chart in the output display section 1203, the user may move the packets left and right using the transmitted packet label as a handle. In other words, the user may be able to adjust the transmission order of the packets.
[0143] By providing a network device or simulator with the user interface shown in FIG. 12 , a user can easily recognize how data streams merge and / or branch, which edges are congested, and how much bandwidth is available. Furthermore, a user can easily recognize situations such as which data stream on which path is pressuring the bandwidth constraint and where. Furthermore, a user can easily recognize situations such as which data stream on which path is pressuring the bandwidth constraint and where. It is also possible to easily recognize how much remaining time is available, whether unnecessary waiting time is occurring, and so on. Furthermore, by allowing a user to operate each part of the time chart as a handle, the user can easily operate and / or adjust the transmission constraint information.
[0144] As described above, a switch constituting a network in TSN includes a receiving unit 201 that receives constraint information relating to constraints on packet transmission and reception from an upstream network device, and a control unit 202 that determines the transmission order of multiple packets based on the constraint information of each of the multiple packets when the transmission timings of multiple packets to be transmitted to a downstream network device overlap. When the control unit 202 cannot satisfy the constraint information of the multiple packets in determining the transmission order, it requests the upstream network device to change the constraint information.
[0145] With this configuration, the switches that make up the network determine the packet transmission order, starting from the upstream of the network. When the determined transmission order no longer satisfies the constraint information, the switches notify upstream network devices of a request to relax the constraint information. Therefore, the switches can appropriately schedule data streams without having to observe data streams across the entire network and understand the state of timing conflicts across the entire network.
[0146] In addition, the network devices or simulators that make up the network display a node graph of the network devices that make up the network, display timing charts of input packets of a network device selected on the node graph, display timing charts of output packets in a transmission order determined based on constraint information regarding constraints on the transmission and reception of input packets, and display on the node graph notification paths of requests to change constraint information sent by network devices that cannot satisfy the constraint information of input packets when determining the transmission order of output packets.
[0147] This configuration allows the user to easily understand the transmission order of output packets in the network devices, and also allows the user to easily recognize the situation, such as which network devices are causing pressure on bandwidth constraints.
[0148] Although the embodiments have been described above with reference to the drawings, the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications or alterations within the scope of the claims. It is understood that such modifications or alterations also fall within the technical scope of the present disclosure. Furthermore, the components in the embodiments may be combined in any manner without departing from the spirit of the present disclosure.
[0149] In the above-described embodiments, the notation "... part" used for each component may be replaced with other notations such as "... circuit," "... assembly," "... device," "... unit," or "... module."
[0150] The present disclosure can be realized by software, hardware, or software in conjunction with hardware. Each functional block used in the description of the above embodiments may be partially or entirely realized as an LSI, which is an integrated circuit, and each process described in the above embodiments may be partially or entirely controlled by a single LSI or a combination of LSIs. The LSI may be composed of individual chips, or may be composed of a single chip that includes some or all of the functional blocks. The LSI may have data input and output. Depending on the degree of integration, the LSI may also be called an IC, system LSI, super LSI, or ultra LSI.
[0151] The integrated circuit method is not limited to LSI, and may be realized by a dedicated circuit, a general-purpose processor, or a dedicated processor. Also, a field programmable gate array (FPGA) that can be programmed after LSI manufacturing, or a reconfigurable processor that can reconfigure the connections and settings of circuit cells within the LSI, may be used. The present disclosure may be realized as digital processing or analog processing.
[0152] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or other derivative technologies, it is natural that such technology may be used to integrate functional blocks. The application of biotechnology, etc. is also a possibility.
[0153] The present disclosure can be expressed as a control method executed in a wireless communication device or a control device. The present disclosure can also be expressed as a program for causing a computer to operate such a control method. Furthermore, the present disclosure can also be expressed as a recording medium on which such a program is recorded in a computer-readable state. For example, the present disclosure can be expressed in any of the categories of a device, a method, a program, and a recording medium.
[0154] The present disclosure may be implemented in any type of apparatus, device, or system with communications capabilities (collectively referred to as a communications device). A communications device may include a wireless transceiver (transceiver) and processing / control circuitry. The wireless transceiver may include a receiver and / or a transmitter. The wireless transceiver (transmitter and receiver) may include a radio frequency (RF) module and one or more antennas. The RF module may include an amplifier, an RF modulator / demodulator, or the like. Non-limiting examples of communications devices include telephones (e.g., mobile phones, smartphones, etc.), tablets, personal computers (PCs) (e.g., laptops, desktops, notebooks, etc.), cameras (e.g., digital still / video cameras), digital players (e.g., digital audio / video players), wearable devices (e.g., wearable cameras, smartwatches, tracking devices, etc.), game consoles, digital book readers, telehealth / telemedicine devices, communications-enabled vehicles or mobile transportation (e.g., automobiles, airplanes, ships, etc.), and combinations of the above devices.
[0155] Communication devices are not limited to portable or mobile devices, but also include any type of non-portable or fixed equipment, device, or system, such as smart home devices (such as home appliances, lighting equipment, smart meters or measuring devices, control panels, etc.), vending machines, and any other "things" that may exist on an IoT (Internet of Things) network.
[0156] Communications include data communications via cellular systems, wireless LAN systems, communication satellite systems, and the like, as well as data communications via combinations of these.
[0157] A communications apparatus also includes devices such as controllers and sensors connected or coupled to a communications device that performs the communications functions described in this disclosure, such as controllers and sensors that generate control and data signals used by the communications device to perform the communications functions of the communications apparatus.
[0158] The communication apparatus also includes infrastructure facilities, such as base stations, access points, and any other apparatus, device, or system that communicates with or controls the various apparatuses listed above, but are not limited to these.
[0159] Although specific examples of the present disclosure have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above.
[0160] The disclosures of the specification, drawings and abstract contained in Japanese Patent Application No. 2023-073511, filed on April 27, 2023, are incorporated herein by reference in their entirety.
[0161] The present disclosure is useful for techniques for adjusting networks in which TSN is introduced.
[0162] 100 Network system 1011, 1012, S1, S2 Switch 1021, 1022, P1, P2 Port 1031 to 1033, T1 to T3 Talker 1034, L1 Listener 200 Network device 201 Receiving unit 202 Control unit 203 Transmitting unit 204 UI unit 205 Storage unit 301 Input port 302 Destination filter 303 Queue 304 Gate 305 Output port 306 Scheduler 307 GCL unit
Claims
1. A network device that constitutes a network, comprising: a receiving unit that receives constraint information regarding constraints on the transmission and reception of packets from an upstream network device; and a control unit that, when the transmission timings of multiple packets to be transmitted to a downstream network device overlap, determines a transmission order of the multiple packets based on the constraint information of each of the multiple packets, wherein, when the constraint information of the multiple packets cannot be satisfied in determining the transmission order, the control unit requests the upstream network device to change the constraint information.
2. The network device according to claim 1, wherein said control unit changes constraint information of a packet to be transmitted to said downstream network device based on a constraint information change request from said downstream network device.
3. The network device according to claim 1, wherein the control unit calculates a remaining time until arrival at a destination network device for each of the plurality of packets based on the constraint information, and determines the transmission order so that the remaining time is equal to or greater than 0.
4. The network device according to claim 3, wherein the control unit determines the transmission order so as to maximize the sum of the remaining times of each of the plurality of packets.
5. The network device according to claim 3, wherein the control unit requests the upstream network device, which transmits a packet whose remaining time does not become equal to or greater than 0, to change the constraint information.
6. The network device of claim 3, wherein the constraint information includes a desired arrival time of the packet and a maximum packet length, and the control unit calculates the remaining time by subtracting from the desired arrival time a delay time based on the packet transmission order, the maximum packet length, and a time based on the number of hops to the packet's destination.
7. A scheduling method for network devices that make up a network, comprising the steps of: receiving constraint information regarding constraints on packet transmission and reception from an upstream network device; determining a transmission order for a plurality of packets to be transmitted to a downstream network device based on the constraint information for each of the plurality of packets when the transmission timings of the plurality of packets overlap; and requesting the upstream network device to change the constraint information when the constraint information for the plurality of packets cannot be satisfied in determining the transmission order.
8. A program for a network device that constitutes a network, the program causing a processor to execute the following process: receive constraint information regarding constraints on packet transmission and reception from an upstream network device; when the transmission timing of multiple packets to be transmitted to a downstream network device overlaps, determine a transmission order of the multiple packets based on the constraint information of each of the multiple packets; and when the constraint information of the multiple packets cannot be satisfied in determining the transmission order, request the upstream network device to change the constraint information.
9. A node graph display method comprising: displaying a node graph of network devices that constitute a network; displaying a timing chart of input packets of a network device selected on the node graph; displaying a timing chart of output packets in a transmission order determined based on constraint information relating to constraints on transmission and reception of the input packets; and displaying on the node graph a notification path of a request to change constraint information sent by a network device that cannot satisfy the constraint information of an input packet in determining the transmission order of output packets.
Citation Information
Patent Citations
gaming machines
JP2023073511A
Repeater, method for controlling repeater, and program
WO2012132264A1
Interface device and bus system
WO2014128802A1
