Downstream frame transfer device, transfer method, and transfer program

11777607 · 2023-10-03

Assignee

Inventors

Cpc classification

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 [ Math . 1 ] N = .Math. 1 q .Math. i = 1 p .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. .Math. , ( 1 ) and determines r.sub.ik to satisfy the following equation based on the determined N [ Math . 2 ] .Math. k = 1 q r ik = .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. . ( 2 )

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 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.

6. 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.

7. The transfer device according to claim 6, 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 [ Math . 1 ] N = .Math. 1 q .Math. i = 1 p .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. .Math. , ( 1 ) and r.sub.ik is determined to satisfy the following equation based on the determined N [ Math . 2 ] .Math. k = 1 q r ik = .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. . ( 2 )

8. The transfer method according to claim 6, 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.

Description

BRIEF DESCRIPTION OF DRAWINGS

(1) FIG. 1 is a diagram illustrating an example of a configuration of a system using an OLT-side transfer device according to a first embodiment.

(2) FIG. 2 is a diagram illustrating an example of a configuration of the OLT-side transfer device according to the first embodiment.

(3) FIG. 3 is a diagram illustrating an example of a configuration of an ONU-side transfer device.

(4) FIG. 4 is a diagram illustrating an example of a process of the OLT-side transfer device transferring downstream frames.

(5) FIG. 5 is a diagram illustrating an example of a process of the ONU-side transfer device transferring downstream frames.

(6) FIG. 6 is a diagram illustrating an example of a configuration of a system according to a second embodiment.

(7) FIG. 7 is a diagram illustrating an example of a network consisting of a plurality of host devices and a plurality of subordinate devices.

(8) FIG. 8 illustrates an example in which a PON is applied between host devices and subordinate devices.

(9) FIG. 9 illustrates an example of a configuration in which frames between host devices and subordinate devices are distributed and transferred in parallel in a wavelength group consisting of a plurality of wavelengths.

(10) FIG. 10 is a diagram illustrating an example of a queue configuration when downstream frames are distributed and transferred in parallel over a plurality of wavelengths.

(11) FIG. 11 is a diagram illustrating an example of a configuration of an OLT-side transfer device 113 for implementing an RR method.

(12) FIG. 12 illustrates an example of a state in which frames are out of order.

DESCRIPTION OF EMBODIMENTS

(13) 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

(14) FIG. 1 is a diagram illustrating an example of a configuration of a system using an OLT-side transfer device 103 according to a first embodiment. The system of FIG. 1 corresponds to the system of FIG. 9 described in the related art, and the blocks with the same reference numerals as those of FIG. 9 operate the same as or similarly to those of FIG. 9. In particular, the OLT-side transfer device 103 in FIG. 1 and the OLT-side transfer device 113 in FIG. 9 differ in configuration and operation. Note that the OLT-side transfer device 103 corresponds to the frame transfer device according to the present invention.

(15) In FIG. 1, the OLT-side transfer device 103 determines the number of frames to be input to each queue in a single round in which a plurality of queues take turns according to an amount of traffic output by the host devices 101, and performs control to distribute the frames so that all of the frames satisfy delay requirements. Here, the number of frames input in one round is referred to as “the number of distributed frames”. Note that a method of calculating the number of distributed frames will be described below in detail.

(16) FIG. 2 is a diagram illustrating an example of a configuration of the OLT-side transfer device 103 according to the first embodiment. In FIG. 2, the number of host devices 101 is p from the host device 101(1) to the host device 101(p), and the number of wavelengths is q from λ.sub.1 to λ.sub.q. Here, an OLT 104(k) (k is an integer satisfying 1≤k≤q) uses a wavelength λ.sub.k. Note that, although multiple wavelengths are exemplified in the present embodiment, the number of wavelengths q corresponds to the number of parallels when a plurality of PON sections are arranged in parallel.

(17) In FIG. 2, the OLT-side transfer device 103 includes a frame sorting unit 301, a frame storage unit 302, a frame information acquisition unit 303, and a distribution control determination unit 304.

(18) 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 FIG. 11, the difference is that the number of frames calculated by the distribution control determination unit 304, which will be described below, is used for the number of distributed frames input to each queue in the frame storage unit 302 in one round, rather than a preset value. Then, the frame sorting unit 301 inputs the frames from each of the host devices 101 to the queues included in the frame storage unit 302 based on the number of distributed frames (which corresponds to a frame sorting process).

(19) The frame storage unit 302 is the same block as the frame storage unit 302 for the RR and WRR methods described in FIG. 11. The frame storage unit 302 includes the same number of queues (an OLT-side queue 201(1) to an OLT-side queue 201(q)) as the number of wavelengths q, and a queue to which a frame is to be input by the frame sorting unit 301 is determined, the frame is stored in the determined queue, and the frame is output to an OLT 104 to which the OLT-side queue 201 is connected (which corresponds to a frame storage process).

(20) 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.

(21) 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.

(22) Method for Calculating Maximum Number of Rounded Frames and Number of Distributed Frames

(23) 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.

(24) 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.

(25) 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.

(26) [ Math . 3 ] N = .Math. 1 q .Math. i = 1 p .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. .Math. ( 1 ) .Math. k = 1 q r ik = .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. ( [ x ] indicates a minimum integer of x or greater ) ( 2 )

(27) Moreover, the variables of the equations (1) and (2) indicate as follows.

(28) p: The number of host devices 101

(29) i: Host device 101 number

(30) q: The number of OLTs 104 (the number of wavelengths)

(31) k: OLT 104 number (wavelength number)

(32) N: The maximum number of rounded frames

(33) s: Statistical value of maximum frame size [bit]

(34) n.sub.i: Statistical value of the number of frames per monitoring cycle of the host device 101(i)

(35) R.sub.i: Frame output speed of the host device 101(i) [bps]

(36) B: Optical communication speed per wavelength (bps)

(37) y: Delay upper limit [s]

(38) r.sub.ik: The number of frames from the host device 101(i) to the OLT 104(k) (the number of distributed frames)

(39) 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.

(40) Derivation Process of Equations (1) and (2)

(41) The derivation process of the equations (1) and (2) will be described below.

(42) 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.

(43) 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”).

(44) Next, methods for deriving a queuing delay and an order-controlled delay, respectively, will be described.

(45) 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).

(46) [ Math . 4 ] I ( n ) = I ( n - 1 ) + s R [ s ] ( 3 )

(47) 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).

(48) [ Math . 5 ] O ( n ) = O ( n - 1 ) + s R [ s ] ( 4 )

(49) 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).

(50) [ Math . 6 ] D ( n ) = O ( n ) - I ( n ) = D ( n - 1 ) + s ( 1 B - 1 R ) [ s ] ( 5 )

(51) The equation (6) is established for the leading frame of the burst (n=1).

(52) [ Math . 7 ] D ( 1 ) = O ( 1 ) - I ( 1 ) = { I ( 1 ) + s B } - I ( 1 ) = s B [ s ] ( 6 )

(53) From the equations (5) and (6), a general equation for queuing delays can be expressed as the equation (7).

(54) 0 [ Math . 8 ] D ( n ) = ns B - ( n - 1 ) s R [ s ] ( 7 )

(55) 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.

(56) .Math. k = 1 q r ik [ Number ( of frames ) ] [ Math . 9 ]

(57) Thus, a total frame output speed from the plurality of queues can be estimated as follows.

(58) .Math. k = 1 q r ik N B [ bps ] [ Math . 10 ]

(59) As described above, the queuing delay of the host device 101(i) is obtained using the equation (8).

(60) [ Math . 11 ] D i ( n i ) = n i s .Math. k = 1 q r ik N B - ( n i - 1 ) s R i [ s ] ( 8 )

(61) 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.

(62) s ( N - 1 ) B [ s ] [ Math . 12 ]

(63) This is the maximum value of the order-controlled delay.

(64) As described above, the delay time of the host device 101(i) can be expressed using the equation (9).

(65) [ Math . 13 ] n i s .Math. k = 1 q r ik N B - ( n i - 1 ) s R i + s ( N - 1 ) B ( 9 )

(66) 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).

(67) [ Math . 14 ] n i s .Math. k = 1 q r ik N B - ( n i - 1 ) s R i + s ( N - 1 ) B y .Math. k = 1 q r ik NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s ( 10 )

(68) 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).

(69) 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.

(70) [ Math . 15 ] .Math. i = 1 p .Math. k = 1 q r ik = .Math. i = 1 p .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. ( 11 )

(71) Here, the equation (12) is established on the left side of the equation (11).

(72) [ Math . 16 ] .Math. i = 1 p .Math. k = 1 q r ik = .Math. k = 1 q .Math. i = 1 p r ik [ Number of f rames transferred at each wavelength in one round : .Math. i = 1 p r ik [ Number ( of frames ) ] ] ( 12 )

(73) 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.

(74) [ Math . 17 ] .Math. k = 1 q .Math. i = 1 p r ik ( .Math. k = 1 q N = ) qN ( 13 )

(75) Then, the equation (14) is established using the equations (11) and (12), and the relationship (13).

(76) 0 [ Math . 18 ] qN .Math. i = 1 p .Math. NR i n i s ( n i - 1 ) Bs + yBR i - ( N - 1 ) R i s .Math. ( 14 )

(77) 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.

(78) 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.

(79) Example of Configuration of ONU-side Transfer Device 108

(80) FIG. 3 is a diagram illustrating an example of a configuration of the ONU-side transfer device 108. In FIG. 3, one i-th subordinate device 102(i) (1≤i≤p) is connected, and q ONUs including an ONU 106(i1) to an ONU 106(iq) corresponding to the i-th subordinate device 102(i) are connected. Here, the ONU 106(ik) (1≤k≤q) indicates the k-th ONU 106 that receives the frame corresponding to the i-th host device 101(i), and uses a wavelength λ.sub.k.

(81) Next, each unit of the ONU-side transfer device 108 illustrated in FIG. 3 will be described in detail. In FIG. 3, the ONU-side transfer device 108 includes a frame storage unit 401 and a frame output unit 402.

(82) 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).

(83) 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).

(84) Transfer Process of OLT-Side Transfer Device 103

(85) Next, a process of the OLT-side transfer device 103 to transfer downstream frames will be described.

(86) FIG. 4 illustrates an example of a process of the OLT-side transfer device 103 to transfer downstream frames. Note that, in FIG. 4, this process will be described by dividing it into processing on a main signal and processing for control is described. Here, the processing on a main signal is performed by the frame sorting unit 301 and the frame storage unit 302 of the OLT-side transfer device 103 described in FIG. 2. Furthermore, the processing for control is performed by the frame information acquisition unit 303 and the distribution control determination unit 304 of the OLT-side transfer device 103 described in FIG. 2.

(87) First, the processing for control will be described.

(88) In step S101, the system with the OLT-side transfer device 103 according to the present embodiment starts operating.

(89) In step S102, the frame information acquisition unit 303 monitors frames received from the host devices 101.

(90) 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.

(91) 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.

(92) 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.

(93) 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.

(94) 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.

(95) As described above, each unit of the OLT-side transfer device 103 repeatedly performs the operation described above at each monitoring cycle.

(96) Next, processing on a main signal will be described.

(97) In step S201, frames are input from the host devices 101 to the OLT-side transfer device 103.

(98) In step S202, the frame sorting unit 301 gives sequence numbers to the frames input from the host devices 101.

(99) 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.

(100) In step S204, the frame storage unit 302 stores the frames sorted by the frame sorting unit 301 in the OLT-side queues 201.

(101) As described above, each unit of the OLT-side transfer device 103 repeatedly performs the operation described above at each frame input.

(102) 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.

(103) Transfer Process of ONU-Side Transfer Device 108

(104) Next, a process of the ONU-side transfer device 108 to transfer downstream frames will be described.

(105) FIG. 5 is a diagram illustrating an example of a process of the ONU-side transfer device 108 transferring downstream frames. Note that the process in FIG. 5 is performed by the frame storage unit 401 and the frame output unit 402 of each ONU-side transfer device 108 illustrated in FIG. 3.

(106) In step S301, frames are input from the ONUs 106 to the ONU-side transfer devices 108.

(107) 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.

(108) 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).

(109) 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.

(110) 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

(111) 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.

(112) 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.

(113) In the first embodiment, because whether the monitoring cycle has been updated is determined in step S103 of FIG. 4, if updated, the processing from step S104 to step S107 is executed to calculate the number of distributed frames, and the frame sorting unit 301 is notified of the number of distributed frames to be updated, the update cycle of the number of distributed frames is the same as the monitoring cycle.

(114) 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 FIG. 4, and if the monitoring cycle has been updated five times, the process proceeds to the process of step S104, and if the monitoring cycle has not been updated five times, the process returns to the process of step S102 and the same process is repeated. As a result, the update cycle of the number of distributed frames can be 5 times the monitoring cycle. Note that the update cycle of the number of distributed frames may not be an integer multiple of the monitoring cycle.

(115) 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

(116) 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.

(117) FIG. 6 is a diagram illustrating an example of a configuration of a system according to the second embodiment. Note that, in FIG. 6, blocks with the same reference signs as those illustrated in FIG. 9 operate similarly to the case of FIG. 9.

(118) 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 FIG. 9, in the second embodiment, all the OLTs 104 use an identical wavelength. In the example of FIG. 6, there is no wavelength multiplexing filter 107 installed between the groups of OLTs 104 and the optical splitter 105 in FIG. 9, and the same number of optical splitters 105 as the number of OLTs 104 is installed, and the OLTs 104 are connected to the optical splitters 105 in a one-to-one manner. In this way, each of the OLTs 104 can use an identical wavelength.

(119) Note that, although the number of OLTs 104 is set to two in FIG. 6, the number of OLTs 104 may be any positive integer.

(120) Also, although all of the subordinate devices 102 are connected to two ONUs 106 via an ONU-side transfer device 108 in FIG. 6, the number of ONUs 106 connected to a subordinate device 102 may vary.

(121) 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.

(122) 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.

(123) 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

(124) 101 Host device 102 Subordinate device 103, 113 OLT-side transfer device 104 OLT 105 Optical splitter 106 ONU 107 Wavelength multiplexing filter 108 ONU-side transfer device 201 OLT-side queue 301, 311 Frame sorting unit 302 Frame storage unit 303 Frame information acquisition unit 304 Distribution control determination unit 401 Frame storage unit 402 Frame output unit 501 ONU-side queue