Control device, control method, and program
By grouping flows with the same transmission cycle and designing a GCL based on network topology, the control device addresses the computational complexity of TAS technology, reducing queuing delays and collisions, and enhancing transmission efficiency in communication systems.
Patent Information
- Application Number
- PCT/JP2023/008386
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-12
AI Technical Summary
As the number of communication devices and transmission paths increases in a communication system, designing a Gate Control List (GCL) for Time Aware Shaper (TAS) technology becomes computationally intensive due to the exponential increase in calculations, leading to potential queuing delays and collisions between flows.
A control device and method that group flows with the same transmission cycle to reduce the number of flows considered, calculate a total time slot length, and design a GCL based on network topology, dividing time slots for each grouped flow to prevent collisions and queuing delays.
This approach reduces the computational load for GCL design, increases processing speed, and prevents queuing delays by treating grouped flows as single entities, thereby enhancing the efficiency of flow transmission in communication systems.
Smart Images

Figure JP2023008386_12092024_PF_FP_ABST
Abstract
Description
Control device, control method, and program
[0001] The present disclosure relates to a control device, a control method, and a program.
[0002] A technique is known in which multiple communication devices (e.g., Layer 2 (L2) switches) each transfer a flow, which is a frame that is periodically transmitted, according to a schedule indicated in a gate control list (GCL) using a time-aware shaper (TAS) technique in time-sensitive networking (TSN) (see, for example, Non-Patent Document 1). In this technique, the GCL is designed so that the communication device can transmit multiple flows without the multiple flows colliding with each other and without causing queuing delays.
[0003] Yuhei Kawakami and 5 others, "Applying Time-aware Shaper Considering User Identifier to Service Provider Network", IEEE 19th Annual Consumer Communications & Networking Conference, 2022
[0004] However, as the number of hops of communication devices included in a communication system increases and the number of transmission paths connecting multiple communication devices to each other increases, the number of communication paths for flows also increases. In such a case, as described above, as the number of flows increases, the amount of calculation required to design a GCL so that a communication device can transmit multiple flows without the multiple flows colliding with each other and without causing queuing delays increases exponentially. As a result, the calculations required to design a GCL may not be completed within a finite time. As such, designing a GCL in TAS, i.e., TAS scheduling, is known to be a nondeterministic plynomial-time (NP)-hard problem.
[0005] For example, it is conceivable to treat TAS scheduling as a constraint satisfaction problem and execute TAS scheduling using a known algorithm for solving constraint satisfaction problems. However, in this case, a flow isolation constraint is required to prevent multiple flows from being queued at the same time at the egress port of a single communication device. This is equivalent to confirming that multiple flows do not overlap in a single time slot, and the problem is that the more flows there are, the more processing of such confirmation becomes necessary.
[0006] In view of the above-mentioned problems, an object of the present disclosure is to provide a control device, a control method, and a program that can reduce the amount of calculation required for designing a GCL and increase the speed.
[0007] In order to solve the above problem, a control device according to the present disclosure is a control device that controls a plurality of communication devices that forward flows, which are frames that are periodically transmitted from a transmitting terminal to a receiving terminal, and includes: a grouping creation unit that creates, for each of the plurality of communication devices, a grouped flow by grouping two or more flows that have the same transmission period, and calculates a total time slot length that is the sum of the time slot lengths of the two or more flows; a gate control list design unit that designs, for each of the plurality of communication devices, a gate control list based on the transmission period of each of the plurality of flows that includes the grouped flow, the time slot lengths of each of the plurality of flows that includes the total time slot length, and a network topology that is the connection form of a communication network formed by connecting the plurality of communication devices; a grouping degrouping unit that creates a gate control list that divides the time slots for transmitting the grouped flows indicated in the gate control list into time slots for transmitting each of the two or more flows included in the grouped flow; and a gate control list update information transmission unit that transmits gate control list update information indicating the created gate control list to the corresponding plurality of communication devices.
[0008] Furthermore, in order to solve the above-mentioned problems, a control method according to the present disclosure is a control method executed by a control device that controls a plurality of communication devices that forward flows, which are frames that are periodically transmitted from a transmitting terminal to a receiving terminal, and includes the steps of: creating, for each of the plurality of communication devices, a grouped flow by grouping two or more flows having the same transmission period; and calculating a total time slot length that is the sum of the time slot lengths of the two or more flows; designing, for each of the plurality of communication devices, a gate control list based on the transmission period of each of the plurality of flows including the grouped flow, the time slot length of each of the plurality of flows including the total time slot length, and a network topology that is the connection form of a communication network formed by connecting the plurality of communication devices; creating a gate control list that divides the time slots for transmitting the grouped flows indicated in the gate control list into time slots for transmitting each of the two or more flows included in the grouped flow; and transmitting gate control list update information indicating the created gate control list to each of the plurality of communication devices.
[0009] In addition, in order to solve the above problem, a program according to the present disclosure causes a computer to function as the above-mentioned control device.
[0010] According to the control device, control method, and program of the present disclosure, the amount of calculation required for designing a GCL can be reduced and the speed can be increased.
[0011] 11 is a diagram illustrating an example of a communication system including a communication device for which a control device according to a first embodiment of the present disclosure designs a GCL. FIG. 12 is a block diagram illustrating an example of the configuration of the control device illustrated in FIG. 1. FIG. 13 is a diagram for explaining an example of a process in which the communication device illustrated in FIG. 1 transmits a frame. FIG. 14 is a diagram for explaining an example of a GCL. FIG. 15 is a diagram for explaining an example of a process in which the control device illustrated in FIG. 2 groups flows. FIG. 16 is a diagram illustrating an example of a time slot in which the communication device transmits a flow according to the GCL designed by the control device illustrated in FIG. 2. FIG. 6A is a diagram illustrating an example of a time slot in which the time slot illustrated in FIG. 6A is divided. FIG. 6B is a flowchart illustrating an example of an operation of the control device illustrated in FIG. 2. FIG. 17 is a block diagram illustrating an example of the configuration of a control device according to a second embodiment of the present disclosure. FIG. 18 is a diagram illustrating a time slot in which the communication device transmits a flow according to the GCL designed by the control device illustrated in FIG. 8. FIG. 19 is a diagram illustrating an example of a time slot in which the time slot illustrated in FIG. 9A is divided. FIG. 19 is a flowchart illustrating an example of an operation of the control device illustrated in FIG. 8. FIG. 19 is a block diagram illustrating an example of the configuration of a control device according to a third embodiment of the present disclosure. FIG. 11 is a diagram illustrating an example of a domain created by the NW domain creation unit illustrated in FIG. 11. FIG. 19 is a flowchart illustrating an example of an operation of the control device illustrated in FIG. 11. FIG. 19 is a block diagram illustrating an example of hardware of the control device.
[0012] <<First Embodiment>> A first embodiment of the present disclosure will be described below with reference to the drawings.
[0013] <Configuration of Control Device> As shown in FIG. 1 , a control device 1 according to a first embodiment of the present disclosure controls a plurality of communication devices 21 that transfer flows, which are frames periodically transmitted from a transmitting terminal 22 to a receiving terminal 23. The control device 1 may be, for example, a CNC (Central Network Controller). The communication devices 21 may be any device capable of transmitting and receiving flows, such as an L2 switch. The control device 1 may be configured with one CNC or multiple CNCs. The control device 1 may be configured integrally with the communication devices 21 or may be configured separately. The communication devices 21 may have the functions of the control device 1, which will be described in detail later.
[0014] Each of the plurality of communication devices 21 is connected to the other communication devices 21 via a transmission path. As a result, a flow transmitted from a transmitting terminal 22 is forwarded by one or more of the plurality of communication devices 21 included in the communication system 2, and is received by a receiving terminal 23.
[0015] As shown in FIG. 2, the control device 1 includes a management port 101, a network topology memory unit (NW topology memory unit) 102, a gate control list memory unit (GCL memory unit) 103, a design information receiving unit 104, a design information reference unit 105, a grouping creation unit 106, a gate control list design unit (GCL design unit) 107, a grouping release unit 108, and a gate control list update information transmission unit (GCL update information transmission unit) 109.
[0016] The NW topology storage unit 102 and the GCL storage unit 103 are configured with memory. The memory may be a hard disk drive (HDD), a solid state drive (SSD), an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a random access memory (RAM), or the like. The design information receiving unit 104 and the GCL update information transmitting unit 109 are configured with a communication interface. For example, standards such as Ethernet (registered trademark), FDDI (Fiber Distributed Data Interface), or Wi-Fi (registered trademark) may be used for the communication interface. The design information referring unit 105, the grouping creating unit 106, the GCL design unit 107, and the grouping releasing unit 108 are configured with a controller. The controller may be configured with dedicated hardware such as an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA), a processor, or both.
[0017] The management port 101 is a port for sending and receiving information to and from other devices via a communication network.
[0018] The NW topology storage unit 102 stores a network topology (NW topology), which is a connection configuration of a communication network formed by connecting a plurality of communication devices 21. The NW topology storage unit 102 also stores communication path information. The communication path information is information indicating a communication path along which each of a plurality of flows is transmitted.
[0019] The GCL storage unit 103 stores an existing gate control list (GCL) for each of the multiple communication devices 21. The GCL is information indicating a schedule for the communication device 21 to transmit multiple flows. The GCL storage unit 103 may also store gate control list update information (GCL update information), which will be described in detail later.
[0020] The GCL indicates the time slots in which flows are transmitted in each transmission cycle. Therefore, it can be said that the GCL indicates the transmission cycle and time slot length of each flow. In other words, it can be said that the GCL storage unit 103 stores design information including the transmission cycle and time slot length of each flow. Note that the time slot length is the length of a frame transmitted in each cycle in a flow that is periodically transmitted by the communication device 21.
[0021] Here, a process of transmitting a frame by the communication device 21 will be described with reference to Fig. 3. As shown in Fig. 3, when the receiving port 211 of the communication device 21 receives a frame, the queue 212 holds the frame (shown as a circle in Fig. 3). Then, when the gate 213 is opened according to the GCL, the transmitting port 214 transmits the frame held in the queue 212 associated with the opened gate 213.
[0022] Specifically, frames received by the receiving port 211 of the communication device 21 are held in queues 212 for each priority. In a configuration in which the frames are Ethernet frames, the priority may be Class of Service (CoS). The transmitting port 214 of the communication device 21 transmits frames held in queues 212 corresponding to open gates 213. In this example, the gate 213 corresponding to the queue 212 with priority C7 is open, which causes frames held in the queue 212 with priority C7 to be transmitted by the transmitting port 214 of the communication device 21. In the example shown in FIG. 3 , the gates 213 corresponding to the queues 212 with priorities C0 to C6 are closed (the queues 212 with priorities C1 to C5 are omitted in FIG. 3 ), which causes frames held in the queues 212 with priorities C0 to C6 to not be transmitted.
[0023] The GCL will be described in more detail with reference to Figure 4. In the example shown in Figure 4, five time slots, from time slot TS1 to time slot TS5, are set in the GCL. The GCL also indicates the time of each of time slots TS1 to TS5. The GCL also indicates that when the time indicated by the time information corresponds to time slot TS1, the gate 213 corresponding to queue 212 with priority C7 is opened ("o" in Figure 4), and the gates 213 corresponding to queues 212 with priorities C0 to C6 are closed ("c" in Figure 4). Note that "time corresponds to a time slot" refers to the time period in which the time slot is set.
[0024] When the time corresponding to time slot TS1 has passed 15 μs, the time corresponds to the next time slot TS2, and in time slot TS2, the gate 213 corresponding to queue 212 with priority C5 is opened, and the gates 213 corresponding to queues 212 with priorities C0 to C4, C6, and C7 are closed. In this way, when the time corresponding to time slots TS1 to TS5 has passed, the time again corresponds to time slot TS1, and this is repeated.
[0025] 2 , the design information receiving unit 104 receives design information related to a newly added flow transmitted from each of the plurality of communication devices 21. As described above, the design information includes the time slot length and transmission period of each of the plurality of flows. At this time, the design information receiving unit 104 receives the design information via the management port 101.
[0026] The design information reference unit 105 acquires the transmission period and time slot length of each flow indicated in the design information received by the design information receiving unit 104 .
[0027] The grouping creation unit 106 creates a grouped flow by grouping two or more flows having the same transmission period for each of the plurality of communication devices 21. Here, the flows included in the grouped flow may be existing flows transmitted by the communication devices 21 in accordance with an existing GCL stored in the GCL storage unit 103, or may be newly added flows whose transmission period and time slot length are included in the design information received by the design information receiving unit 104.
[0028] In a configuration in which the flows included in the grouped flows are newly added flows, the grouping creation unit 106 creates the grouped flows based on the transmission cycles included in the design information received by the design information receiving unit 104. In a configuration in which the flows included in the grouped flows are existing flows, the grouping creation unit 106 creates the grouped flows based on the transmission cycles included in the design information stored in the GCL storage unit 103. In a configuration in which the flows included in the grouped flows are both existing flows and newly added flows, the grouping creation unit 106 creates the grouped flows based on the transmission cycles included in the design information stored in the GCL storage unit 103 and the transmission cycles of the flows included in the design information received by the design information receiving unit 104.
[0029] 5, the multiple flows transmitted by one communication device 21-1 of the multiple communication devices 21 include flows F11, F12, and F13 with a transmission period of 10 μs, and flows F21 and F22 with a transmission period of 15 μs. In this example, the grouping creation unit 106 may group the flows F11, F12, and F13 to create a grouped flow G1. The grouping creation unit 106 may also group the flows F21 and F22 to create a grouped flow G2.
[0030] 5 , the grouping creation unit 106 may create a grouped flow G1 by grouping only two flows (e.g., flows F11 and F12) among flows F11, F12, and F13. Alternatively, the grouping creation unit 106 may create the grouped flow G1 without grouping flows F21 and F22. Alternatively, the grouping creation unit 106 may create a grouped flow G2 by grouping flows F21 and F22 without grouping flows F11, F12, and F13.
[0031] Furthermore, the grouping creation unit 106 calculates the total time slot length, which is the sum of the time slot lengths of the two or more grouped flows.
[0032] Furthermore, the grouping creation unit 106 does not group flows that do not have the same transmission period as other flows in each of the plurality of communication devices 21 .
[0033] The GCL design unit 107 can read out the GCL for each of the plurality of communication devices 21 stored in the GCL storage unit 103. The GCL design unit 107 can also read out the NW topology stored in the NW topology storage unit 102.
[0034] The GCL design unit 107 then designs a GCL for each of the plurality of communication devices 21 based on the transmission period of each of the plurality of flows including the grouped flows, the time slot length of each of the plurality of flows including the total time slot length, and the network topology. As described above, the network topology is the connection form of a communication network formed by connecting the plurality of communication devices 21. The GCL design unit 107 can design the GCL using TAS.
[0035] Specifically, the GCL design unit 107 designs a GCL by treating the grouped flows as a single flow. For example, the GCL design unit 107 can design a GCL so that each of the multiple communication devices 21 transmits each flow, including the single flow as a grouped flow, in a different time slot from each other and so that queuing delay does not occur.
[0036] 6A, the GCL design unit 107 can design a GCL so that one communication device 21-1 transmits grouped flow G1 at a cycle of 10 μs and grouped flow G2 at a cycle of 15 μs. In this case, the GCL design unit 107 can design a GCL so that grouped flow G1, grouped flow G2, and ungrouped flow F3 are transmitted in different time slots and so that queuing delays do not occur. In a similar manner, the GCL design unit 107 can design GCLs for communication devices 21 other than communication device 21-1 among the multiple communication devices 21.
[0037] The grouping release unit 108 creates a GCL that divides the time slots for transmitting the grouped flows indicated in the GCL designed by the GCL design unit 107 into time slots for transmitting each of the two or more flows included in the grouped flows.
[0038] For example, if the GCL design unit 107 designs a GCL so that one communication device 21-1 transmits grouped flow G1, grouped flow G2, and ungrouped flow F3 as shown in Fig. 6A, the grouping de-grouping unit 108 divides the time slot for transmitting grouped flow G1 and assigns flows F11, F12, and F13 included in grouped flow G1 to each of the divided time slots as shown in Fig. 6B. Similarly, the grouping de-grouping unit 108 divides the time slot for transmitting frames of grouped flow G2 and assigns flows F21 and F22 included in grouped flow G2 to each of the divided time slots.
[0039] In addition, if a hypercycle (the period from time slot TS1 to time slot TS5 in the example shown in FIG. 4), which is the total period of the time slots indicated in the GCL designed by the GCL design unit 107, is more than twice the transmission period of the flows included in the grouped flows, the grouping de-grouping unit 108 can set two or more flows included in the grouped flows to be repeatedly transmitted in the same order within the hypercycle. In the example shown in FIG. 6B, the grouping de-grouping unit 108 sets the GCL so that the communication device 21-1 repeatedly transmits flows F11, F12, and F13 in this order within the hypercycle. This allows the communication device 21 to transmit each of the multiple flows included in the grouped flows at the transmission period indicated in the design information.
[0040] In this way, the GCL update information indicating the GCL designed by the GCL design unit 107 and created by the grouping release unit 108 may be stored by the GCL storage unit 103 .
[0041] The GCL update information transmitter 109 transmits GCL update information indicating the GCL designed by the GCL design unit 107 and created by the grouping release unit 108 to the corresponding communication devices 21. As described above, in a configuration in which the GCL storage unit 103 stores GCL update information, the GCL update information transmitter 109 can transmit the GCL update information stored by the GCL storage unit 103 to the communication devices 21. The GCL update information transmitter 109 also transmits the GCL update information via the management port 101.
[0042] <Operation of Control Device> Here, the operation of the control device 1 according to the first embodiment will be described with reference to Fig. 7. Fig. 7 is a flowchart showing an example of the operation of the control device 1 according to the first embodiment. The operation of the control device 1 described with reference to Fig. 7 corresponds to an example of a control method executed by the control device 1 according to the first embodiment.
[0043] In step S11, the design information receiving unit 104 receives design information related to a newly added flow transmitted from each of the plurality of communication devices 21. As described above, the design information includes the time slot length and transmission period of each of the plurality of flows.
[0044] In step S12 , the design information reference unit 105 acquires the transmission cycle and time slot length of the flow (flow to be added) indicated in the design information received by the design information receiving unit 104 .
[0045] In step S13 , the grouping creation unit 106 reads out the transmission cycle and time slot length of the flow (existing flow) included in the design information stored in the GCL storage unit 103 .
[0046] In step S14, the grouping creation unit 106 creates a grouped flow for each of the plurality of communication devices 21 by grouping two or more flows having the same transmission period.
[0047] In step S15, the grouping creation unit 106 calculates the total time slot length, which is the sum of the time slot lengths of the two or more grouped flows.
[0048] In step S16, the GCL design unit 107 designs a GCL for each of the plurality of communication devices 21 based on the transmission period of each of the plurality of flows including the grouped flow, the time slot length of each of the plurality of flows including the total time slot length, and the network topology. As described above, the network topology is the connection form of a communication network formed by connecting the plurality of communication devices 21.
[0049] In step S17, the grouping release unit 108 creates a GCL that divides the time slots for transmitting the grouped flows indicated in the GCL designed by the GCL design unit 107 into time slots for transmitting each of the two or more flows included in the grouped flows.
[0050] In step S18, the GCL update information transmitting unit 109 transmits the GCL update information to the corresponding plurality of communication devices 21. As described above, the GCL update information is information indicating the GCL designed by the GCL design unit 107 and created by the grouping release unit 108.
[0051] In the above description, the control device 1 may execute step S13 before executing step S11 and step S12. Alternatively, the control device 1 may execute step S11 and step S12 and step S13 at the same time. Alternatively, the control device 1 may not execute step S13.
[0052] As described above, the control device 1 according to the first embodiment controls a plurality of communication devices 21 that transfer flows, which are frames that are periodically transmitted from a transmitting terminal 22 to a receiving terminal 23. The control device 1 includes: a grouping creation unit 106 that creates, for each of the plurality of communication devices 21, a grouped flow by grouping two or more flows having the same transmission period and calculates a total time slot length that is the sum of the time slot lengths of the two or more flows; a GCL design unit 107 that designs, for each of the plurality of communication devices 21, a GCL based on the transmission period of each of the plurality of flows including the grouped flow, the time slot lengths of each of the plurality of flows including the total time slot length, and the NW topology that is the connection topology of the communication network formed by connecting the plurality of communication devices 21; a grouping degrouping unit 108 that creates a GCL by dividing the time slot for transmitting the grouped flow indicated in the GCL into time slots for transmitting each of the two or more flows included in the grouped flow; and a GCL update information transmission unit 109 that transmits GCL update information indicating the created GCL to the corresponding plurality of communication devices 21.
[0053] In this way, the control device 1 designs a GCL by treating two or more flows with the same transmission period as a single flow, which reduces the number of flows that need to be considered when designing a GCL. This reduces the amount of calculation required when the control device 1 designs a GCL compared to when two or more flows are not grouped. This reduces the processing load on the control device 1, allowing the control device 1 to design a GCL faster.
[0054] Second Embodiment A second embodiment of the present disclosure will be described below with reference to the drawings. In the second embodiment, the same functional units as those in the first embodiment are denoted by the same reference numerals, and descriptions thereof will be omitted.
[0055] <Configuration of Control Device> A control device 1-1 according to a second embodiment of the present disclosure controls a plurality of communication devices 21 that transfer flows, which are frames periodically transmitted from a transmitting terminal 22 to a receiving terminal 23, as shown in FIG. 1 . As in the first embodiment, the control device 1-1 may be configured by one CNC or by a plurality of CNCs. The control device 1-1 may be configured integrally with the communication device 21 or may be configured separately. The communication device 21 may have the functions of the control device 1-1, which will be described in detail later.
[0056] 8, the control device 1-1 includes a management port 101, a NW topology storage unit 102, a GCL storage unit 103, a design information receiving unit 104, a design information reference unit 105, a grouping creation unit 106-1, a GCL design unit 107, a grouping release unit 108, a GCL update information transmitting unit 109, and a communication path reference unit 110. The grouping creation unit 106-1 and the communication path reference unit 110 are configured by a controller.
[0057] The communication path reference unit 110 reads out communication path information from the NW topology storage unit 102. As described above, the communication path information is information that indicates the communication path along which each of the multiple flows is transmitted.
[0058] The grouping creation unit 106-1 creates a grouped flow for each of a plurality of communication devices 21 by grouping a plurality of flows that have the same transmission period and at least a portion of the communication path (in this embodiment, all of the communication path) that are the same.
[0059] Similarly to the grouping creation unit 106 of the first embodiment, the grouping creation unit 106-1 also calculates a total time slot length, which is the sum of the time slot lengths of the multiple flows included in the grouped flow.
[0060] Furthermore, the grouping creation unit 106-1 does not group flows in each of the plurality of communication devices 21 that do not have the same transmission period or communication path as other flows.
[0061] As in the first embodiment, the GCL design unit 107 designs a GCL for each of the plurality of communication devices 21 based on the transmission period of each of the plurality of flows, including the grouped flow, the time slot length of each of the plurality of flows, including the total time slot length, and the network topology. As a result, the GCL design unit 107 can design a GCL such that each of the communication devices 21-1 to 21-3 among the plurality of communication devices 21 transmits a grouped flow G1, a grouped flow G2, and an ungrouped flow F3, as shown in FIG. 9A . In this case, the GCL design unit 107 can design a GCL such that the grouped flow G1, the grouped flow G2, and the ungrouped flow F3 are transmitted in different time slots, thereby preventing queuing delays. Similarly, the GCL design unit 107 can design GCLs for communication devices 21 other than the communication devices 21-1 to 21-3 among the plurality of communication devices 21.
[0062] As in the first embodiment, the grouping release unit 108 creates a GCL for each of the multiple communication devices 21 (in the example of FIG. 9B, communication devices 21-1 to 21-3) in which the time slot for transmitting the grouped flow shown in the GCL designed by the GCL design unit 107 is divided into time slots for transmitting each of two or more flows included in the grouped flow, as shown in FIG. 9B.
[0063] <Operation of control device> Here, the operation of the control device 1-1 according to the second embodiment will be described with reference to Fig. 10. Fig. 10 is a flowchart showing an example of the operation of the control device 1-1 according to the second embodiment. The operation of the control device 1-1 described with reference to Fig. 10 corresponds to an example of a control method executed by the control device 1-1 according to the second embodiment.
[0064] First, the control device 1-1 according to the second embodiment executes the operations from step S21 to step S23. The operations from step S21 to step S23 are the same as the operations from step S11 to step S13 in the first embodiment.
[0065] In step S24, the communication path reference unit 110 reads the communication path information from the NW topology storage unit 102.
[0066] In step S25, the grouping creation unit 106-2 creates a grouped flow for each of the multiple communication devices 21 by grouping two or more flows that have the same transmission period and at least a portion of the communication path (in this embodiment, all of the communication path) that are the same.
[0067] Subsequently, the control device 1-1 executes the operations from step S26 to step S29. The operations from step S26 to step S29 are the same as the operations from step S15 to step S18 in the first embodiment.
[0068] In the above description, the control device 1-1 may execute step S23 before executing step S21 and step S22. Alternatively, the control device 1-1 may execute step S21 and step S22 and step S23 at the same time. Alternatively, the control device 1-1 may not execute step S23.
[0069] As described above, in the control device 1-1 according to the second embodiment, the grouping creation unit 106-1 creates a grouped flow by grouping two or more flows that have the same transmission period and all of the same communication paths. This reduces the number of flows that must be considered when designing a GCL. Therefore, the amount of calculation required for the control device 1-1 to design a GCL is reduced compared to when two or more flows are not grouped. This reduces the processing load on the control device 1-1, allowing the control device 1-1 to design a GCL faster. Furthermore, because two or more flows on the same communication path are grouped into a single flow, time slots can be set for each of the multiple communication devices 21 on the communication path so that the flow can be transmitted with reduced delay.
[0070] <<Third Embodiment>> A third embodiment of the present disclosure will be described below with reference to the drawings. In the third embodiment, the same functional units as those in the first or second embodiment are denoted by the same reference numerals, and descriptions thereof will be omitted.
[0071] <Configuration of Control Device> A control device 1-2 according to a third embodiment of the present disclosure controls a plurality of communication devices 21 that transfer flows, which are frames periodically transmitted from a transmitting terminal 22 to a receiving terminal 23, as shown in FIG. 1. As in the second embodiment, the control device 1-2 may be configured by one CNC or by a plurality of CNCs. The control device 1-2 may be configured integrally with the communication device 21 or may be configured separately. The communication device 21 may also have the functions of the control device 1-2, which will be described in detail later.
[0072] 11, the control device 1-2 includes a management port 101, a NW topology storage unit 102, a GCL storage unit 103, a design information receiving unit 104, a design information reference unit 105, a grouping creation unit 106-2, a GCL design unit 107, a grouping release unit 108, a GCL update information transmitting unit 109, a communication path reference unit 110, and a network domain creation unit (NW domain creation unit) 111. The grouping creation unit 106-2 and the NW domain creation unit 111 are configured by a controller.
[0073] The NW domain creation unit 111 creates a domain that includes some of the communication devices 21 among the plurality of communication devices 21. The NW domain creation unit 111 can create a domain of any range. The NW domain creation unit 111 may also create a domain for each period.
[0074] 12, the NW domain creation unit 111 creates a domain D1 that includes a plurality of communication devices 21-1, 21-2, and 21-3. The NW domain creation unit 111 also creates a domain D2 that includes a plurality of communication devices 21-4, 21-5, and 21-6. The NW domain creation unit 111 also creates a domain D3 that includes a plurality of communication devices 21-3, 21-7, and 21-8. The NW domain creation unit 111 also creates a domain D4 that includes a communication device 21-9.
[0075] The grouping creation unit 106-2 creates a grouped flow by grouping two or more flows that have the same transmission period and at least a portion of the communication path (in the third embodiment, the communication path within the domain) for each of the multiple communication devices 21. In this case, the grouping creation unit 106-2 may create domains such that one communication device 21 is included in multiple domains. However, the grouping creation unit 106-2 creates domains such that the flows transmitted by each communication device 21 correspond to one domain.
[0076] 12, the grouping creation unit 106-2 creates a grouped flow by grouping flows F31, F32, and F33, which have the same transmission period and the same communication path within domain D1, in each of communication devices 21-1, 21-2, and 21-3 included in domain D1. In this example, since there are no flows with the same communication path in domain D2, the grouping creation unit 106-2 does not group any flows in each of communication devices 21-4, 21-5, and 21-6 included in domain D2. Also, in this example, the grouping creation unit 106-2 creates a grouped flow by grouping flows F41 and F42, which have the same transmission period and the same communication path within domain D3, in each of communication devices 21-3, 21-7, and 21-8 included in domain D3. In this example, since there are no flows with the same communication path in domain D4, the grouping creating unit 106-2 does not group any flows in the communication device 21-9 included in domain D4.
[0077] Similarly to the grouping creation unit 106 of the first embodiment, the grouping creation unit 106-2 calculates a total time slot length, which is the sum of the time slot lengths of the multiple flows included in the grouped flow.
[0078] Furthermore, the grouping creation unit 106-2 does not group flows in each of the plurality of communication devices 21 that do not have the same transmission cycle or communication path within the domain as other flows.
[0079] As in the first embodiment, the GCL design unit 107 designs a GCL for each of the plurality of communication devices 21 based on the transmission period of each of the plurality of flows including the grouped flows, the time slot length of each of the plurality of flows including the total time slot length, and the network topology. In this embodiment, in designing the GCL, the time phase may not be synchronized between the plurality of divided domains, and frame queuing may be allowed. Furthermore, since the range of the domain differs for each group, the phase may be synchronized in one group to transfer flows without queuing, and queuing may be allowed in another group without phase synchronization.
[0080] As in the first embodiment, the grouping release unit 108 creates a GCL for each of the GCLs of the multiple communication devices 21, dividing the time slots for transmitting the grouped flows indicated in the GCL designed by the GCL design unit 107 into time slots for transmitting each of two or more flows included in the grouped flows.
[0081] Note that the wider the range of the domain created by the NW domain creation unit 111, the fewer flows that can be grouped, but the shorter the total time slot length of the grouped flows. This tends to increase the degree of freedom in GCL design and make GCL design easier. On the other hand, the narrower the range of the domain, the more flows that can be grouped, but the longer the total time slot length of the grouped flows. This tends to increase the difficulty of GCL design. Therefore, the range of the domain may be determined appropriately in consideration of the number of flows that can be grouped and the time slot length of the grouped flows. For example, a domain may be created so that a communication device 21 serving as a hub switch (hub SW) is at the end of the domain, or a domain may be created so that a larger number of flows can be grouped depending on the characteristics of the communication path.
[0082] <Operation of control device> Here, the operation of the control device 1-2 according to the third embodiment will be described with reference to Fig. 13. Fig. 13 is a flowchart showing an example of the operation of the control device 1-2 according to the third embodiment. The operation of the control device 1-2 described with reference to Fig. 13 corresponds to an example of a control method executed by the control device 1-2 according to the third embodiment.
[0083] First, the control device 1-2 according to the third embodiment executes the operations from step S31 to step S34. The operations from step S31 to step S34 are the same as the operations from step S21 to step S24 in the second embodiment.
[0084] In step S35, the NW domain creation unit 111 creates a domain.
[0085] In step S36, the grouping creation unit 106-2 creates a grouped flow for each of the multiple communication devices 21 by grouping multiple flows that have the same transmission period and at least a portion of the communication path (in this embodiment, the communication path within the domain) that is the same.
[0086] Subsequently, the control device 1-2 executes the operations from step S37 to step S40, which are the same as the operations from step S26 to step S29 in the second embodiment.
[0087] In the above description, the control device 1-2 may execute step S33 and then execute steps S31 and S32. Alternatively, the control device 1-2 may execute steps S31 and S32 and step S33 at the same time. Alternatively, the control device 1-2 may not execute step S33.
[0088] As described above, in the control device 1-2 according to the third embodiment, the grouping creation unit 106-2 creates a grouped flow in each of the multiple communication devices 21 by grouping multiple flows that have the same transmission period and some of the communication paths (communication paths within the domain) as one group.
[0089] This reduces the number of flows that need to be considered when designing a GCL. Therefore, the amount of calculation required for the control device 1-2 to design a GCL is reduced compared to when two or more flows are not grouped. This reduces the processing load on the control device 1-2, allowing the control device 1-2 to design a GCL faster. Furthermore, in the second embodiment, the control device 1-1 groups flows whose entire communication paths are the same, whereas in the third embodiment, the control device 1-2 groups flows whose part of the communication path (communication path within a domain) is the same. Therefore, the control device 1-2 according to the third embodiment can group more flows than the control device 1-1 according to the second embodiment, and as a result, the control device 1-2 can design a GCL even faster using the control device 1-1.
[0090] <Program> The above-described control devices 1, 1-1, and 1-2 can be realized by a computer. Furthermore, a program for causing a computer to function as each of the control devices 1, 1-1, and 1-2 may be provided. Furthermore, the program may be stored in a storage medium or provided via a network. FIG. 14 is a block diagram showing the schematic configuration of a computer 401 functioning as the control device 1. The computers functioning as the control devices 1-1 and 1-2 are configured similarly to the computer 401 functioning as the control device 1. Here, the computer 401 may be a general-purpose computer, a dedicated computer, a workstation, a PC (Personal Computer), an electronic notepad, or the like. The program instructions may be program code, code segments, or the like for executing necessary tasks.
[0091] 14 , the computer 401 includes a processor 410, a read-only memory (ROM) 420, a random access memory (RAM) 430, a storage 440, an input unit 450, an output unit 460, and a communication interface (I / F) 470. Each component is communicably connected to one another via a bus 480. The processor 410 is specifically a central processing unit (CPU), a micro processing unit (MPU), a graphics processing unit (GPU), a digital signal processor (DSP), a system on a chip (SoC), or the like, and may be configured by multiple processors of the same type or different types.
[0092] The processor 410 controls each component and executes various arithmetic processes. That is, the processor 410 reads a program from the ROM 420 or the storage 440 and executes the program using the RAM 430 as a work area. The processor 410 controls each component and executes various arithmetic processes in accordance with the program stored in the ROM 420 or the storage 440. In the above-described embodiment, the program according to the present disclosure is stored in the ROM 420 or the storage 440.
[0093] The program may be stored in a storage medium readable by the computer 401. Using such a storage medium, the program can be installed in the computer 401. Here, the storage medium on which the program is stored may be a non-transitory storage medium. The non-transitory storage medium is not particularly limited, and may be, for example, a CD-ROM, a DVD-ROM, or a USB (Universal Serial Bus) memory. Furthermore, the program may be downloaded from an external device via a network.
[0094] The ROM 420 stores various programs and various data. The RAM 430 temporarily stores programs or data as a working area. The storage 440 is configured with an HDD (Hard Disk Drive) or an SSD (Solid State Drive) and stores various programs including the operating system and various data.
[0095] The input unit 450 includes one or more input interfaces that receive input operations from a user and acquire information based on the user operations. For example, the input unit 450 may be, but is not limited to, a pointing device, a keyboard, a mouse, or the like.
[0096] The output unit 460 includes one or more output interfaces that output information. For example, the output unit 460 may be, but is not limited to, a display that outputs information as a video or a speaker that outputs information as an audio. If the output unit 460 is a touch panel display, it also functions as the input unit 450.
[0097] The communication interface (communication I / F) 470 is an interface for communicating with external devices.
[0098] The following supplementary note is further disclosed in relation to the above embodiment: [Supplementary Note 1] A control device that controls a plurality of communication devices that transfer flows, which are frames periodically transmitted from a transmitting terminal to a receiving terminal, comprising a controller, the controller: for each of the plurality of communication devices, creates a grouped flow by grouping two or more flows having the same transmission period, and calculates a total time slot length that is the sum of the time slot lengths of the two or more flows, designs a gate control list for each of the plurality of communication devices based on the transmission period of each of the plurality of flows including the grouped flow, the time slot lengths of each of the plurality of flows including the total time slot length, and a network topology that is a connection form of a communication network formed by connecting the plurality of communication devices, creates a gate control list that divides the time slots for transmitting the grouped flows indicated in the gate control list into time slots for transmitting each of the two or more flows included in the grouped flow, and transmits gate control list update information indicating the created gate control list to each of the plurality of corresponding communication devices. [Supplementary Item 2] The control device according to Supplementary Item 1, wherein the controller creates a grouped flow for each of the plurality of communication devices, the grouped flow being a group of flows that have the same transmission period and at least a part of the same communication path. [Supplementary Item 3] The control device according to Supplementary Item 2, wherein the controller creates a grouped flow for each of the plurality of communication devices, the grouped flow being a group of flows that have the same transmission period and all of the same communication path.[Supplementary Item 4] A control method executed by a control device that controls multiple communication devices that forward flows, which are frames periodically transmitted from a transmitting terminal to a receiving terminal, comprising: for each of the multiple communication devices, creating a grouped flow by grouping two or more flows having the same transmission period, and calculating a total time slot length that is the sum of the time slot lengths of the two or more flows; for each of the multiple communication devices, designing a gate control list based on the transmission period of each of the multiple flows including the grouped flow, the time slot lengths of each of the multiple flows including the total time slot length, and a network topology that is a connection form of a communication network formed by connecting the multiple communication devices; creating a gate control list that divides the time slots for transmitting the grouped flows indicated in the gate control list into time slots for transmitting each of the two or more flows included in the grouped flow; and transmitting gate control list update information that indicates the created gate control list to each of the multiple corresponding communication devices. [Supplementary Item 5] A non-transitory storage medium that stores a program executable by a computer, the non-transitory storage medium storing a program that causes the computer to function as the control device described in any one of Supplementary Item 1 to 3.
[0099] Although the above-described embodiments have been described as typical examples, it will be apparent to those skilled in the art that many modifications and substitutions can be made within the spirit and scope of the present disclosure. Therefore, the present invention should not be interpreted as being limited by the above-described embodiments, and various modifications or alterations are possible without departing from the scope of the claims. For example, multiple building blocks shown in the block diagrams of the embodiments can be combined into one, or one building block can be divided.
[0100] 1, 1-1, 1-2 Control device 2 Communication system 21, 21-1 to 21-9 Communication device 22 Transmission terminal 23 Reception terminal 101 Management port 102 Network topology storage unit (NW topology storage unit) 103 Gate control list storage unit (GCL storage unit) 104 Design information reception unit 105 Design information reference unit 106, 106-1, 106-2 Grouping creation unit 107 Gate control list design unit (GCL design unit) 108 Grouping release unit 109 Gate control list update information transmission unit (GCL update information transmission unit) 110 Communication path reference unit 111 Network domain creation unit (NW domain creation unit) 211 Reception port 212 Queue 213 Gate 214 Transmission port 401 Computer 410 Processor 420 ROM 430 RAM 440 Storage 450 Input unit 460 Output unit 470 Communication interface (communication I / F) 480 Bus
Claims
1. A control device that controls a plurality of communication devices that transfer flows, which are frames transmitted periodically from a transmitting terminal to a receiving terminal, comprising: a grouping creation unit that creates, for each of the plurality of communication devices, a grouped flow by grouping two or more flows having the same transmission period, and calculates a total time slot length that is the sum of the time slot lengths of the two or more flows; a gate control list design unit that designs, for each of the plurality of communication devices, a gate control list based on the transmission period of each of the plurality of flows including the grouped flow, the time slot length of each of the plurality of flows including the total time slot length, and a network topology that is the connection form of a communication network formed by connecting the plurality of communication devices; a grouping release unit that creates a gate control list in which the time slots for transmitting the grouped flows indicated in the gate control list are divided into time slots for transmitting each of the two or more flows included in the grouped flows; and a gate control list update information transmission unit that transmits gate control list update information indicating the created gate control list to each of the plurality of corresponding communication devices.
2. The control device according to claim 1, wherein the grouping creation unit creates the grouped flow for each of the plurality of communication devices by grouping together a plurality of flows that have the same transmission period and at least a portion of the same communication path.
3. The control device according to claim 2, wherein the grouping creation unit creates the grouped flows for each of the plurality of communication devices by grouping together a plurality of flows having the same transmission period and all of the same communication paths.
4. A control method executed by a control device that controls multiple communication devices that transfer flows, which are frames that are periodically transmitted from a transmitting terminal to a receiving terminal, comprising the steps of: creating, for each of the multiple communication devices, a grouped flow by grouping two or more flows having the same transmission period, and calculating a total time slot length that is the sum of the time slot lengths of the two or more flows; designing, for each of the multiple communication devices, a gate control list based on the transmission period of each of the multiple flows including the grouped flow, the time slot length of each of the multiple flows including the total time slot length, and a network topology that is the connection form of a communication network formed by connecting the multiple communication devices; creating a gate control list in which the time slot for transmitting the grouped flow indicated in the gate control list is divided into time slots for transmitting each of the two or more flows included in the grouped flow; and transmitting gate control list update information indicating the created gate control list to each of the multiple corresponding communication devices.
5. A program for causing a computer to function as the control device according to any one of claims 1 to 3.
Citation Information
Patent Citations
Communication device, communication method, and program
JP2021082868A
Packet processing device and packet processing method
JP2022189356A
Management device, management method, and management program
WO2017064766A1
Cited By
Control device, control method, and transfer device
WO2026105249A1
Control device, communication system, and control method
WO2026105276A1
