Pursuant to 35 U.S.C. § 119(a), this application claims the benefit of earlier filing date and right of priority to Korean Application No. 10-2004-0106303, filed Dec. 15, 2004, the contents of which are hereby incorporated by reference herein in their entirety.
The present invention relates to an Ethernet switch system, and particularly to a clock synchronizing method having a multistage Ethernet switch structure.
A clock synchronization in Ethernet N/W can be achieved by a method in which a physical layer unit (PHY) located at a front end of a switch receives data transferred through a media. Received data is processed by restoring a reference clock from the data. Another PHY located at a rear end of the switch uses the restored reference clock to transmit the data.
In the Ethernet switch system having a multistage connection structure as shown in
When transmitting the stored Ethernet packet to another Ethernet switch, the PHY uses its reference clock signal for the transmission. When data (i.e., a packet) is received at the full-wire speed, if the clock frequency used for writing the packet in the buffer is even slightly higher than a clock frequency used to read from the buffer, the clock difference may result in an overflow in the buffer, which may in turn result in packet loss.
The above scenario may not affect an Ethernet system using a single Ethernet switch. Also, it is not problematic if the packet loss occurs between two single Ethernet switch systems within an acceptable range. However, if the packet loss occurs in a system in which two or more switches have a multistage connection structure, the system will not properly operate.
Systems and methods are needed to overcome the problem associated with the related art.
A preferred clock synchronizing method in a multistage switch structure is provided. The method comprises providing a first reference clock signal to a first switch via a first clock recovery unit; providing a second reference clock signal to a second switch via a Phase Lock Loop (PLL); and providing a third reference clock signal to a third switch via a second clock recovery unit to synchronize first, second and third switches.
In accordance with one embodiment, the first switch and the second switch comprise central office terminals (COTs) in an upper Ethernet switch system. The second switch is coupled to the first switch to form a multistage switch structure. The third switch comprises a remote terminal (RT) in a lower Ethernet switch system. The first reference clock signal is restored based on synchronization data transmitted to the first switch. The second reference clock signal is provided by the first reference clock via the PLL. The third reference clock signal is restored based on synchronization data transmitted to the third switch.
In another embodiment, a clock synchronizing method in a multistage switch structure in an Ethernet-based N/W system is provided in which a plurality of Ethernet switches are connected to one another. The method comprises providing a reference clock signal from an upper Ethernet switch to a lower Ethernet switch for synchronizing the upper and lower switches; modulating/demodulating data in the lower Ethernet switch using the reference clock signal; transferring the data to the upper Ethernet switch; and synchronizing clock signals between the Ethernet switches.
Preferably, the upper and lower Ethernet switches are connected via a backplane. The reference clock signal is restored based on data transmitted to the upper Ethernet switch. The lower Ethernet switch is synchronized based on the reference clock signal of the upper Ethernet switch provided via a Phase Lock Loop (PLL). The lower Ethernet switch may comprise a plurality of Ethernet switches.
In accordance with another embodiment, a clock synchronizing apparatus in a multistage switch structure in an Ethernet-based N/W switch system having a multistage structure is provided. The apparatus comprises a first system comprising a first Ethernet switch for receiving data and switching and transmitting the received data; and a first clock recovery unit for providing a reference clock signal to the first Ethernet switch.
Also included may be a second Ethernet switch for switching and transmitting the data transmitted from the first Ethernet switch, and a Phase Lock Loop (PLL) for providing the same clock signal as the reference clock signal to the second Ethernet switch. A second system comprising a second clock recovery unit for restoring a first clock signal from the data transmitted from the first system, and a third Ethernet switch for receiving a second clock symbol provided by the second clock recovery unit may be also included.
In a preferred embodiment, the first system comprises at least one of a central office terminal (COT) system and an optical line termination (OLT) system. The second system comprises at least one of a remote terminal (RT) system and an optical network unit (ONU) system. The first Ethernet switch is coupled to the second Ethernet switch via a communication medium in the first system. In the first system, the second Ethernet switch comprises a plurality of Ethernet switches coupled to the first Ethernet switch via the backplane.
In one embodiment, the first system further comprises one or more PLLs for providing clock signals to the second Ethernet switch. The first system and the second system are coupled via transmission media. The transmission media comprises a backplane, for example.
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention.
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings.
In accordance with one aspect of the invention, an independent clock is used in a switch of an Ethernet switch system having a multistage structure. To avoid a data overflow—that may be caused by an offset of clock frequency—a clock synchronization system is provided in which a reference clock signal is provided to an upper Ethernet switch and a lower Ethernet by way of a Phase Lock Loop (PLL), as provided in further detail below.
It should be noted that in the following an exemplary embodiment of the invention is described as applicable to an Ethernet switch system. This application, however, is by way of example and the invention in alternative embodiments can be applied to switch systems operating according to other communication or networking specifications.
For example, one embodiment of the invention may be applicable to a method and apparatus for synchronizing clocks of a system environment in which several Ethernet switches are coupled to one another on a Wavelength Division Multiplexing-Passive Optical Network (WDM-PON) or an Ethernet-PON (E-PON) network, for example.
Referring to
In some embodiments, the upper system 100 may comprise at least one of central office terminal (COT) system or an optical line termination (OLT) system, for example; and the lower system 200 may comprise at least one of a remote terminal (RT) system, an optical network unit (ONU) system, or an optical network termination (ONT) system, for example. The upper system 100 may also comprise a first Ethernet switch 120 as an upper switch; a second Ethernet switch 130 as a lower switch; and the PHYs 121, 122, 131 and 132.
Preferably, PHYs are located at the front and rear ends of the first Ethernet switch 120 and the second Ethernet switch 130. PHYs are configured for performing serial/parallel (S/P) or parallel/serial (P/S) converting and synchronizing of inputted or outputted data and transmitting/receiving the data. The clock recovery unit 150 is configured for providing a clock signal to the first Ethernet switch 120 and the PHYs 121 and 122.
The PLL 151 is configured for providing a clock to the second Ethernet switch 130 and the PHYs 131 and 132. The first Ethernet switch 120 in the upper system 100 is connected to the second Ethernet switch 130 via media (e.g., Media#1 in
The lower system 200 comprises a third Ethernet switch 220; the PHYs 221 and 222 located at front and rear ends of the third Ethernet switch 220 for converting and synchronizing of inputted or outputted data and transmitting/receiving the data. The clock recovery unit 250 is for providing a clock to the third Ethernet switch 220 and the PHYs 221 and 222. The lower system 200 is connected to the upper system 100 via transmission media such as a subscriber line (e.g., Media#2 in
In a preferred embodiment, the clock recovery unit 150 restores a reference clock signal from data transmitted to provide the restored reference clock signal to the first Ethernet switch 120 and the PHYs 121 and 122 for processing the data. The PHY 121 receives data modulated into an analog signal and demodulates the analog signal to a digital signal using the reference clock signal. Thereafter, the demodulated digital signal is transferred to the first Ethernet switch 120 via a media independence interface (MII).
The first Ethernet switch 120 switches the demodulated data and transfers the switched data to the PHY 122. The PHY 122 processes the transferred data and provides it to the PHY 131 via communication media such as the backplane. The PLL 151 provides the reference clock signal, provided to the first Ethernet switch 120, to the second Ethernet switch 130 and the PHYs 131 and 132, thereby synchronizing the clocks between the first Ethernet switch 120 and the second Ethernet switch 130.
When the data switched in the Ethernet switches of the upper system 100 is transferred to the lower system 200 via the subscriber line (e.g., the Media#2 in
In an exemplary embodiment, two Ethernet switches are dependently connected to each other as illustrated in
Referring to
In a preferred embodiment, the PLL 151 provides the same clock signal as the reference clock to the second Ethernet switch 130 and the PHYs 131 and 132 to achieve clock synchronization between the first Ethernet switch 120 and the second Ethernet switch 130 (S30).
In one embodiment, the data switched by the second Ethernet switch 130 and then processed by the PHY 132 in the upper system 100 is transferred to the third Ethernet switch 220 in the lower system 200 via the subscriber line (e.g., the Media#2 in
Thus, Ethernet switches having the multistage structure in an Ethernet-based environment can be synchronized according to the provided method, and an overflow effect which may occur due to offset of clock frequencies can be prevented by way of a PLL providing the same reference clock to the multistage structure Ethernet switches.
In one embodiment, an Ethernet data packet is transmitted from a first Ethernet switch 120 located in the upper system 100 to a third Ethernet switch 220 located in the lower system 200 via a second Ethernet switch 130 at a maximum transmission rate. The same reference clock signal is provided to the first, second and third Ethernet switches 120, 130 and 220. Thus, a buffer overflow which may occur if the reference clock signal of the first Ethernet switch 120 is higher than the clock signal of the second Ethernet switch 130 can effectively be prevented.
As the present invention may be embodied in several forms without departing from the spirit or essential characteristics thereof, it should also be understood that the above-described embodiments are not limited by any of the details of the foregoing description, but rather should be construed broadly within its spirit and scope as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2004-0106303 | Dec 2004 | KR | national |