DOWNSTREAM FRAME TRANSFER DEVICE, TRANSFER METHOD, AND TRANSFER PROGRAM
20220123838 · 2022-04-21
Assignee
Inventors
- Rintaro HARADA (Musashino-shi, Tokyo, JP)
- Hiroyuki UZAWA (Musashino-shi, Tokyo, JP)
- Hirotaka NAKAMURA (Musashino-shi, Tokyo, JP)
- Jun TERADA (Musashino-shi, Tokyo, JP)
Cpc classification
H04Q3/52
ELECTRICITY
International classification
Abstract
A transfer device installed between a host device and a plurality of OLTs in a communication system to which a network with a PON configuration including the plurality of OLTs between the host device and a subordinate device is applied, the transfer device including a frame information acquisition unit configured to monitor downstream frames input from the host device and calculate a statistical value of the downstream frames per a predetermined fixed cycle, a frame storage unit including a plurality of queues each configured to store downstream frames to be transferred to the plurality of OLTs, the frame storage unit configured to store the downstream frames input from the host device, a frame sorting unit configured to input the downstream frames to the plurality of queues in the frame storage unit, and a distribution control determination unit configured to determine the number of frames to be sequentially input by the frame sort unit to the plurality of queues based on the statistical value.
Claims
1. A transfer device installed between a host device and a plurality of OLTs in a communication system to which a network with a PON configuration including the plurality of OLTs between the host device and a subordinate device is applied, the transfer device comprising: a frame information acquisition unit configured to monitor downstream frames input from the host device and calculate a statistical value of the downstream frames per a predetermined fixed cycle; a frame storage unit including a plurality of queues each configured to store downstream frames to be transferred to the plurality of OLTs, the frame storage unit configured to store the downstream frames input from the host device; a frame sorting unit configured to input the downstream frames to the plurality of queues included in the frame storage unit; and a distribution control determination unit configured to determine the number of frames to be sequentially input by the frame sorting unit to the plurality of queues based on the statistical value.
2. The transfer device according to claim 1, wherein, when the number of host devices is p, the number of parallels in a PON section is q, a minimum integer exceeding the number obtained by dividing the value of the total number of frames input until the frames of all of the host devices take turns around the plurality of queues by the number of OLTs is N, an optical communication speed in the PON section is B, a speed at which a host device i (i is an integer from 1 to p) outputs frames to the transfer device is Ri, the statistical value of the number of downstream frames per the predetermined fixed cycle of the host device i is ni, the statistical value of a maximum value of a downstream frame size per the predetermined fixed cycle is s, a predetermined delay upper limit is y, and the number of frames of the host device i that the frame sorting unit sequentially inputs to the queue connected to an OLTk (k is an integer from 1 to q) is r.sub.ik, the distribution control determination unit determines N to satisfy the following equation
3. The transfer device according to claim 2, wherein the distribution control determination unit sets, in an initial state, the number of downstream frames sequentially input to the plurality of queues in the frame storage unit to 0 or 1, and after the frame information acquisition unit completes calculation of the statistical value, determines the number of downstream frames to be sequentially input into the plurality of queues in the frame storage unit using the statistical value.
4. The transfer device according to claim 1, wherein the frame information acquisition unit calculates, as the statistical value, an average of the number of downstream frames per the predetermined fixed cycle and an average of the maximum value of a downstream frame size per the predetermined fixed cycle.
5. A transfer method for processing of a transfer device installed between a host device and a plurality of OLTs in a communication system to which a network with a PON configuration including the plurality of OLTs between the host device and a subordinate device is applied, the transfer method comprising: a frame information acquisition process of monitoring downstream frames input from the host device and calculating a statistical value of the downstream frames per a predetermined fixed cycle; a frame storage process of storing, downstream frames input from the host device to be transferred to the plurality of OLTs in a plurality of queues; a frame sorting process of inputting the downstream frames to the plurality of queues; and a distribution control determination process of determining the number of frames to be sequentially input to the plurality of queues in the frame sorting process unit based on the statistical value.
6. The transfer device according to claim 5, wherein, in the distribution control determination process, when the number of host devices is p, the number of parallels in a PON section is q, a minimum integer exceeding the number obtained by dividing the value of the total number of frames input until the frames of all of the host devices take turns around the plurality of queues by the number of OLTs is N, an optical communication speed in the PON section is B, a speed at which a host device i (i is an integer from 1 to p) outputs frames to the transfer device is Ri, the statistical value of the number of downstream frames per the predetermined fixed cycle of the host device i is ni, the statistical value of a maximum value of a downstream frame size per the predetermined fixed cycle is s, a predetermined delay upper limit is y, and the number of frames of the host device i that the frame sorting unit sequentially inputs to the queue connected to an OLTk (k is an integer from 1 to q) is r.sub.ik, N is determined to satisfy the following equation
7. The transfer method according to claim 5, wherein, in the frame information acquisition process, an average of the number of downstream frames per the predetermined fixed cycle and an average of the maximum value of the downstream frame size per the predetermined fixed cycle are calculated as the statistical value.
8. A non-transitory computer-readable storage medium storing a transfer program causing a computer to execute a process performed by the transfer device according to claim 1.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
[0049]
[0050]
DESCRIPTION OF EMBODIMENTS
[0051] Embodiments of a frame transfer device, a transfer method, and a transfer program according to the present invention will be described below with reference to the drawings. Note that the frame transfer device described in the following embodiments corresponds to a system in which a PON is applied to frame transfer between host devices and subordinate devices, and particularly can satisfy delay requirements of downstream frames.
First Embodiment
[0052]
[0053] In
[0054]
[0055] In
[0056] The frame sorting unit 301 identifies which host device 101 the frame input to the OLT-side transfer device 103 is from. A unique value (e.g., a VID) is used to identify each of the plurality of host devices 101. Next, the frame sorting unit 301 gives a sequence number to a frame input from each host device 101. Although the processing up to this point is basically similar to that of the frame sorting unit 311 using the RR method and the WRR method in the related art described in
[0057] The frame storage unit 302 is the same block as the frame storage unit 302 for the RR and WRR methods described in
[0058] The frame information acquisition unit 303 monitors the number of frames output from each of the p host devices 101 and the frame sizes (which corresponds to a frame information acquisition process). Note that, with respect to the number of frames, a statistical value of the number of frames per monitoring cycle is calculated based on the monitoring result for each predetermined fixed cycle (referred to as a “monitoring cycle”). The statistical value is, for example, the average of the number of frames in multiple monitoring cycles. On the other hand, with respect to the frame sizes, the maximum frame sizes observed within the monitoring cycles are retained and a statistical value of the maximum frame sizes per monitoring cycle is further calculated. The statistical value is, for example, the average of the maximum frame sizes in multiple monitoring cycles.
[0059] The distribution control determination unit 304 calculates the number of frames (the number of distributed frames) input by the frame sorting unit 301 in one round in which the plurality of queues included in the frame storage unit 302 take turns (which corresponds to a distribution control determination process). The number of distributed frames is determined by first determining a maximum value per wavelength of the number of frames to be transmitted at each wavelength in one round (referred to as “the maximum number of rounded frames”) and then based on a statistical value of an amount of traffic (e.g., the number of frames) of each host device 101 based on the determined maximum number of rounded frames. Here, an update cycle of the maximum number of rounded frames and the number of distributed frames is set to the same length as the monitoring cycle of the frame information acquisition unit.
[0060] Method for Calculating Maximum Number of Rounded Frames and Number of
[0061] Distributed Frames Next, a method for the distribution control determination unit 304 to calculate the maximum number of rounded frames and the number of distributed frames will be described in detail.
[0062] The distribution control determination unit 304 first determines the maximum number of rounded frames N (N is a positive integer) to satisfy the following equation (1). Note that the maximum number of rounded frames N is a minimum integer greater than the number obtained by dividing a total number of frames input by all of the host devices 101 until the frames take turns around the plurality of OLT-side queues 201 by the number of OLTs 104.
[0063] Based on the determined maximum number of rounded frames N, the distribution control determination unit 304 determines the number of frames (the number of distributed frames r.sub.ik) from the host device 101(i) to be input in one round to the OLT-side queue 201(k) to satisfy the following equation (2). The distribution control determination unit 304 repeatedly executes the procedure at each monitoring cycle of the frame information acquisition unit 303.
[0064] Moreover, the variables of the equations (1) and (2) indicate as follows.
p: The number of host devices 101
i: Host device 101 number
q: The number of OLTs 104 (the number of wavelengths)
k: OLT 104 number (wavelength number)
N: The maximum number of rounded frames
s: Statistical value of maximum frame size [bit]
n.sub.i: Statistical value of the number of frames per monitoring cycle of the host device 101(i)
R.sub.i: Frame output speed of the host device 101(i) [bps]
B: Optical communication speed per wavelength (bps)
y: Delay upper limit [s]
r.sub.ik: The number of frames from the host device 101(i) to the OLT 104(k) (the number of distributed frames)
Here, in the equations (1) and (2), the number of host devices 101p, the number of OLTs 104 (the number of wavelengths) q, the maximum number of rounded frames N, the statistical value of the maximum frame sizes s, the optical communication speed B, and the delay upper limit y are values that are not dependent on the host devices 101. On the other hand, the statistical value n.sub.i of the number of frames and the frame output speed R.sub.i per monitoring cycle of the host device 101(i) (1≤i≤p) may differ depending on the host devices 101. Moreover, the individual frame sizes, number of frames, optical communication speed B, and frame output speed R.sub.i are values that are systematically determined. Note that, for the delay upper limit y, a value systematically determined may be used, or a value determined in advance based on a value determined systematically may be used. In addition, although a value common for all of the host devices 101 (all of the subordinate devices 102) is used for the delay upper limit y in the present embodiment, the delay upper limit y may differ depending on each host device 101 (each subordinate device 102) or each ONU.
[0065] Derivation Process of Equations (1) and (2)
The derivation process of the equations (1) and (2) will be described below.
[0066] The maximum number of rounded frames and the number of distributed frames are determined such that a frame delay time estimated under an assumed worst condition is less than or equal to a preset delay upper limit based on statistical values of the number of frames output by each host device 101 at each monitoring cycle and the frame size. In this way, by estimating a delay time under the worst condition, it is possible to determine the maximum number of rounded frames and the number of distributed frames r.sub.ik that allow all frames to be transferred from the host devices 101 to the subordinate devices 102 for a period of time within the delay upper limit.
[0067] Here, the delay time is a total value of the difference between a time at which frames are input to the queues in the OLT-side transfer device 103 and a time at which the frames are output from the queues (referred to as a “queuing delay”) and a delay for arranging a group of frames that are out of order in order of the sequence numbers in the ONU-side transfer devices 108 (“order-controlled delay”).
[0068] Next, methods for deriving a queuing delay and an order-controlled delay, respectively, will be described.
[0069] First, a queuing delay can be determined as follows. In general, supposing that a frame input speed with respect to a queue is R [bps], a frame output speed from a queue is B [bps], and a frame size is s [bit] and assuming that B<R and frames are input to the queues in a burst fashion from a time 0, then, an input time of an n-th (n≥2) frame from the beginning of the burst to the queue can be expressed using the equation (3).
[0070] On the other hand, an output time of the n-th (n≥2) frame from the beginning of the burst from the queue can be expressed using the equation (4).
[0071] In addition, when a queuing delay of the n-th (n≥2) frame from the beginning of the burst is D(n), the recurrence equation between the two terms of the equation (5) is established for D(n).
[0072] The equation (6) is established for the leading frame of the burst (n=1).
[0073] From the equations (5) and (6), a general equation for queuing delays can be expressed as the equation (7).
[0074] In the frame transfer method according to the present embodiment, a frame input speed from the host device 101(i) to the OLT-side transfer device 103 is R.sub.i [bps], a frame output speed from the OLT-side queue 201(k) is B [bps], the number of frames per monitoring cycle (statistical value) is n.sub.i, and a maximum frame size (statistical value) is s [bit]. In addition, for the host device 101(i), the following number of frames are input to the plurality of queues in one round.
[0075] Thus, a total frame output speed from the plurality of queues can be estimated as follows.
[0076] As described above, the queuing delay of the host device 101(i) is obtained using the equation (8).
[0077] Next, a method for obtaining a maximum value of an order-controlled delay will be described. An order-controlled delay has a maximum value when only one host device 101 (e.g., the host device 101(1)) uses a plurality of wavelengths (e.g., a wavelength λ.sub.1 and a wavelength λ.sub.2). In this case, the maximum value of the number of frames transferred at one wavelength in one round (the maximum number of rounded frames) is N, and thus the first frame to the N-th frame of one round are stored in the OLT-side queue 201(1), and the (N+1)-th frame to the 2N-th frame are stored in the OLT-side queue 201(2). The frames stored in the OLT-side queue 201(1) are transferred at the wavelength λ.sub.1 and the frames stored in the OLT-side queue 201(2) are transferred at the wavelength λ.sub.2 in parallel. On the other hand, the (N+1)-th frame stored at the beginning of the OLT-side queue 201(2) is not received by a subordinate device 102 until the N-th frame stored at the end of the OLT-side queue 201(1) is received by a subordinate device 102. In other words, an order-controlled delay equivalent to N−1 frames occurs at the (N+1)-th frame, and the value is as follows.
[0078] This is the maximum value of the order-controlled delay.
[0079] As described above, the delay time of the host device 101(i) can be expressed using the equation (9).
[0080] The condition of the number of distributed frames r.sub.ik for the delay time obtained using the equation (9) to be within the delay upper limit is expressed by the relationship (10).
[0081] The number of distributed frames may be expressed as the equation (2) described above because the number of distributed frames may be a minimum integer satisfying the equation (10).
[0082] Here, in order for the total host devices (the host devices 101(1) to 101(p)) to satisfy the delay requirement, the equation (10) needs to be established for all of the host devices, and the maximum number of rounded frames N must be determined such that the equation (2) is established for all of the host devices. If both sides of the equation (2) are summed for all of the host devices to derive the equation (1) for determining such a maximum number of rounded frames N, equation (11) is obtained.
[0083] Here, the equation (12) is established on the left side of the equation (11).
[0084] The relationship (13) is established on the right side of the equation (12) because the number of frames transferred at each wavelength in one round is determined to be equal to or less than the maximum number of rounded frames N.
[0085] Then, the equation (14) is established using the equations (11) and (12), and the relationship (13).
[0086] The maximum number of rounded frames may be expressed as the equation (1) described above because the maximum number of rounded frames may be considered as an integer satisfying the equation (14). That is, the maximum number of rounded frames N is a minimum integer greater than the number obtained by dividing a total number of frames input by all of the host devices 101 until the frames take turns around the plurality of OLT-side queues 201 by the number of OLTs 104.
[0087] As described above, the equations (1) and (2), which are required in the procedure of the distribution control determination unit 304 to determine the maximum number of rounded frames and the number of distributed frames, can be derived.
[0088] Example of Configuration of ONU-side Transfer Device 108
[0089] Next, each unit of the ONU-side transfer device 108 illustrated in
[0090] The frame storage unit 401 includes q queues (referred to as an ONU-side queue 501(i, 1) to an ONU-side queue 501(i, q)), q being the number equal to the number of wavelengths. The q ONUs 106 connected to the ONU-side transfer device 108 and the q ONU-side queues 501 in the frame storage unit 401 correspond one-to-one, and frames from the ONU 106(ik) are stored in an ONU-side queue 501(ik).
[0091] The frame output unit 402 refers to the sequence number of the leading frame of each ONU-side queue 501 in the frame storage unit 401, and outputs the frame with the smallest sequence number and transfers it to the subordinate device 102(i).
[0092] Transfer Process of OLT-Side Transfer Device 103
Next, a process of the OLT-side transfer device 103 to transfer downstream frames will be described.
[0093]
[0094] First, the processing for control will be described.
[0095] In step S101, the system with the OLT-side transfer device 103 according to the present embodiment starts operating.
[0096] In step S102, the frame information acquisition unit 303 monitors frames received from the host devices 101.
[0097] In step S103, the frame information acquisition unit 303 determines whether the monitoring cycle has been updated. If the monitoring cycle has been updated, the process proceeds to step S104. If the monitoring cycle has not been updated, the process returns to the process of step S102 to repeat the same process.
[0098] If the monitoring cycle has been updated, the frame information acquisition unit 303 calculates a statistical value for frames for each ended monitoring cycle while keep monitoring the frames in step S104.
[0099] In step S105, the distribution control determination unit 304 uses the statistical value calculated in step S104 to calculate the maximum number of rounded frames according to the equation (1) described above.
[0100] In step S106, the distribution control determination unit 304 calculates the number of distributed frames according to the equation (2) described above based on the maximum number of rounded frames calculated in step S105. However, the distribution control determination unit 304 sets the number of distributed frames to 0 or 1 until the frame information acquisition unit 303 calculates the number of frames per monitoring cycle and the statistical value of the maximum frame size in the monitoring cycle in the initial state.
[0101] In step S107, the distribution control determination unit 304 notifies the frame sorting unit 301 of the number of distributed frames calculated in step S106.
[0102] As described above, each unit of the OLT-side transfer device 103 repeatedly performs the operation described above at each monitoring cycle.
[0103] Next, processing on a main signal will be described.
[0104] In step S201, frames are input from the host devices 101 to the OLT-side transfer device 103.
[0105] In step S202, the frame sorting unit 301 gives sequence numbers to the frames input from the host devices 101.
[0106] In step S203, the frame sorting unit 301 sorts the frames with the sequence numbers given in step S202 to the OLT-side queues 201 in the frame storage unit 302 based on the number of distributed frames determined by the distribution control determination unit 304.
[0107] In step S204, the frame storage unit 302 stores the frames sorted by the frame sorting unit 301 in the OLT-side queues 201.
[0108] As described above, each unit of the OLT-side transfer device 103 repeatedly performs the operation described above at each frame input.
[0109] Here, the frame storage unit 302 sequentially outputs the frames stored in each of the queues and transfers the frames to the OLTs 104. Then, the frames transferred to each of the OLTs 104 are transferred to each of the ONUs 106 serving as destinations. Furthermore, the frames transferred to each of the ONUs 106 are transferred to the ONU-side transfer devices 108 connected to the ONUs 106.
[0110] Transfer Process of ONU-Side Transfer Device 108
Next, a process of the ONU-side transfer device 108 to transfer downstream frames will be described.
[0111]
[0112] In step S301, frames are input from the ONUs 106 to the ONU-side transfer devices 108.
[0113] In step S302, the frame storage unit 401 stores the frames input from the ONUs 106 in the ONU-side queues 501 corresponding to each of the ONUs 106.
[0114] In step S303, the frame output unit 402 refers to the sequence numbers of the leading frames on all of the ONU-side queues 501 in the frame storage unit 401, and outputs the frame with the smallest sequence number and transfers it to the subordinate device 102(i).
[0115] As described above, each unit of the ONU-side transfer device 108 repeatedly performs the operation described above each time a frame is input from the ONUs 106.
[0116] As described above, in the communication system in which a PON is applied to frame transfer between the host devices and the subordinate devices, the present embodiment enables downstream frames to be distributed to the plurality of OLTs using the plurality of wavelengths to satisfy the desired delay requirement.
Application Example of First Embodiment
[0117] In the first embodiment, the update cycle of the number of distributed frames is equal to the monitoring cycle of the frame information acquisition unit 303. However, in an application example, the update cycle of the number of distributed frames may be different from the monitoring cycle. For example, in the present application example, the update cycle of the number of distributed frames is greater than the monitoring cycle. This is because, if the number of frames and the maximum frame size in traffic to be monitored do not greatly fluctuate at each monitoring cycle, the update cycle of the number of distributed frames may be greater than the monitoring cycle.
[0118] Note that, in a frame transfer method of the present application example, a configuration of the OLT-side transfer device and the ONU-side transfer device, a calculation method for the maximum number of rounded frames and the number of distributed frames, and the flow of processing on a main signal in the frame transfer method are the same as those in the first embodiment. The difference between the present application example and the first embodiment is that the maximum number of rounded frames and the update cycle of the number of distributed frames differ.
[0119] In the first embodiment, because whether the monitoring cycle has been updated is determined in step S103 of
[0120] In contrast, in the present application example, for example, the frame information acquisition unit 303 determines whether the monitoring cycle has been updated a preset number of times (for example, five times) in step S103 of
[0121] In this manner, because the update cycle of the number of distributed frames can be increased in the present application example, the number of times of the update processing and notification processing of the number of distributed frames is reduced, and thus processing loads can be reduced.
Second Embodiment
[0122] In a frame transfer method according to a second embodiment, a configuration of the OLT-side transfer device and the ONU-side transfer device, a calculation method for the maximum number of rounded frames and the number of distributed frames, and a frame transfer method are the same. The first embodiment and the second embodiment differ in the configuration of the system.
[0123]
[0124] Although the OLTs 104 connected to the OLT-side transfer device 103 use the plurality of wavelengths unique to the OLTs 104 in the system of the first embodiment as shown in
[0125] Note that, although the number of OLTs 104 is set to two in
[0126] Also, although all of the subordinate devices 102 are connected to two ONUs 106 via an ONU-side transfer device 108 in
[0127] As described above, in the communication system in which a PON is applied to frame transfer between the host devices 101 and the subordinate devices 102 in the present embodiment, downstream frames can be distributed to the plurality of OLTs each using an identical wavelength to satisfy a desired delay requirement.
[0128] Note that the transfer method for downstream frames performed by the OLT-side transfer device 103 described in the first and second embodiments can also be realized by a computer and a program, and the program can be recorded in a recording medium and/or provided through a network.
[0129] The transfer device, the transfer method, and the transfer program for downstream frames according to the present invention enable downstream frames to be distributed to a plurality of OLTs to satisfy a desired delay requirement in a communication system in which a PON is applied to frame transfer between a host device and a subordinate device.
REFERENCE SIGNS LIST
[0130] 101 Host device [0131] 102 Subordinate device [0132] 103, 113 OLT-side transfer device [0133] 104 OLT [0134] 105 Optical splitter [0135] 106 ONU [0136] 107 Wavelength multiplexing filter [0137] 108 ONU-side transfer device [0138] 201 OLT-side queue [0139] 301, 311 Frame sorting unit [0140] 302 Frame storage unit [0141] 303 Frame information acquisition unit [0142] 304 Distribution control determination unit [0143] 401 Frame storage unit [0144] 402 Frame output unit [0145] 501 ONU-side queue