CLAIM OF PRIORITY  
       [0001]     This application claims priority to an application entitled “Local Switching Method Using Logical Link ID in Ethernet Passive Optical Network System,” filed in the Korean Intellectual Property Office on Feb. 14, 2005 and assigned Serial No. 2005-12087, the contents of which are hereby incorporated by reference  
       BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     The present invention relates an Ethernet passive optical network (EPON) system, and more particularly to a method for providing a local switching in an EPON system.  
         [0004]     2. Description of the Related Art  
         [0005]     A passive optical network (PON) system is defined by a distribution topology of a tree-like structure having a plurality of optical network units (ONUs) coupled to an optical line termination (OLT) using a 1×N optical distribution network (ODN). This PON system may be classified into an EPON, GPON, CDMA-PON, WDM-PON, and others.  
         [0006]     In the current EPON system, a user of an ONU cannot communicate with another user associated with the same OLT. This is because it is impossible to retransmit frames, which have been transmitted to an input port, to the same port, according to the Ethernet protocol that is the basis of the EPON. In order to solve this, a method of separating subscribers into virtual LANs (VLANs) in a Layer 3 (L3) function using an L3 switch provided at an upper end of the OLT in the EPON has been researched.  
         [0007]      FIG. 1  is a view illustrating the construction of a conventional EPON system using an L3 switch, in which OLT  12  is connected to a plurality of ONUs  13 - 1  to  13 - n,  and each of the ONUs  13 - 1  to  13 - n  is provided with a user port.  
         [0008]     The OLT  12  transmits/receives data to/from the ONUs  13 - 1  to  13 - n.  Here, the data includes LAN traffic  102 - 1 ,  102 - n,    131 - 1 ,  131 - 2 ,  131 - 3 ,  131 - 4  and  131 - 5  for short-distance communications, and wide area network (WAN) traffic  101 - 1 ,  103 - 1 ,  101 - n  and  103 - n  for long-distance communications.  
         [0009]     As described above, the transmission of the LAN traffic  131 - 1 ,  131 - 2 ,  131 - 3 ,  131 - 4  and  131 - 5  for communications with ONUs in the OLT  12 , among the LAN traffic  102 - 1 ,  102 - n,    131 - 1 ,  131 - 2 ,  131 - 3 ,  131 - 4  and  131 - 5  cannot be performed due to the limitations in the Ethernet communication design.  
         [0010]     Accordingly, the LAN traffic  102 - 1 ,  102 - n,    131 - 1 ,  31 - 2 ,  131 - 3 ,  131 - 4  and  131 - 5 , and the WAN traffic  101 - 1 ,  103 - 1 , 101 - n  and  103 - n  are transmitted to an outside of the OLT  12  ( 113  and  114 ), re-inputted to the OLT  12  by being switched through an external Layer  3  (L 3 ) switch  11  for subsequent transmissions to the respective ONUs.  
         [0011]     However, the operation of the L3 switch located outside the OLT as described above is not desirable in terms of its operation and the efficient usage of an Internet protocol (IP). Accordingly, the transfer of the LAN traffic within the OLT should be performed in other improved ways. A new device must be developed, and in order for such hardware to be added to the EPON system, the hardware logic of the whole EPON system must be changed. Further, there is a need for securing a quality of service (QoS) for internal traffic in an EPON local switching environment when performing the transfer of the LAN traffic.  
       SUMMARY OF THE INVENTION  
       [0012]     Accordingly, the present invention has been designed to solve the above and other problems occurring in the prior art and further provides additional advantages, by providing a local switching method using a logical link ID (LLID) in an EPON system that can implement a local switching function through a software change in the EPON system, by allocating the LLID to the respective traffic in an ONU, and secure the QoS for the locally switched traffic.  
         [0013]     In one embodiment, there is provided a local switching method using a logical link ID (LLID) in an Ethernet passive optical network (EPON) system, which includes a first step of an optical network unit (ONU) receiving and separating data inputted through a user port into a wide area network (WAN) traffic and a local area network (LAN) traffic, allocating the LLID according to a service for each traffic to the separated WAN traffic and LAN traffic, and transmitting the WAN traffic and LAN traffic with the LLIDs allocated thereto; and a second step of an optical line termination (OLT) receiving the WAN traffic and LAN traffic with the LLIDs allocated thereto transferred from the ONU, extracting a destination of the corresponding traffic through the LLIDs, and transmitting the respective traffic accordingly.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0014]     The above features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which:  
         [0015]      FIG. 1  illustrates the construction of an exemplary conventional EPON system using an L3 switch;  
         [0016]      FIG. 2  is a view illustrating the construction of an EPON system to which a local switching method using an LLID is applied according to an embodiment of the present invention;  
         [0017]      FIG. 3  is a view illustrating a detailed construction of an ONU in the EPON system to which a local switching method using an LLID is applied according to an embodiment of the present invention;  
         [0018]      FIG. 4  is a flowchart illustrating a local switching method using an LLID of an ONU in an EPON system according to an embodiment of the present invention; and  
         [0019]      FIG. 5  is a flowchart illustrating a local switching method using an LLID of an OLT in an EPON system according to an embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION  
       [0020]     Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. For the purposes of clarity and simplicity, a detailed description of well-known functions and configurations incorporated herein will be omitted as it may obscure the subject matter of the present invention.  
         [0021]      FIG. 2  is a view illustrating the construction of an EPON system to which a local switching method using an LLID is applied according to an embodiment of the present invention.  
         [0022]     As shown, OLT  12  is connected to a plurality of ONUs  13 - 1  to  13 - n,  and each of the ONUs  13 - 1  to  13 - n  is provided with a user port.  
         [0023]     In operation, the OLT  12  transmits/receives data to/from the ONUs  13 - 1  to  13 - n,  and the data includes LAN traffic  202 - 1  and  203 - n  for short-distance communications as well as WAN traffic  201 - 1  and  204 - n  for long-distance communications.  
         [0024]     Briefly, the EPON system using the LLID according to the present invention separates the LAN traffic  202 - 1  and  203 - n  and the WAN traffic  201 - 1  and  204 - n  inputted through a user port using a classification function of the ONU, and transmits the separated traffic to different ports.  
         [0025]     The EPON system allocates LLIDs to the WAN traffic and the LAN traffic according to the type of the traffic. That is, the WAN traffic and the LAN traffic inputted to the user ports of the ONUs  13 - 1  and  13 - n  are separated into the WAN traffic and the LAN traffic according to the classification functions of the ONUs  13 - 1  and  13 - n,  and transmitted to the OLT  12  through different ports.  
         [0026]     The OLT  12  has a self routing table for a traffic transmission, and performs a routing of the WAN traffic  201 - 1  and  204 - n  transmitted to the OLT  12  using the routing table. Particularly, if no corresponding destination exists in the routing table in the case of the WAN traffic, the OLT  12  transfers the WAN traffic to an upper WAN interface ( 205 ), and transmits the LAN traffic to an address of another ONU that is registered in the corresponding routing table to the destination in the case of the LAN traffic  202 - 1  and  203 - n,  so as to perform a local switching operation.  
         [0027]     In this case, in order to secure the QoS of the LAN traffic  202 - 1  and  203 - n,  the ONUs  13 - 1  and  13 - n  can prevent a packet loss with respect to a specified traffic by separating the traffic using the classification function and allocating specified queues to the respective traffic. Also, since it is possible to allocate weight values of a dynamic bandwidth allocation (DBA), which is one of band allocation methods of the EPON system, to the specified traffic during an upper transmission, this function can be used for the traffic that require the security of QoS.  
         [0028]     The reason that the ONUs allocate specified queues to the traffic and assign the weight value of DBA is that the characteristics of the traffic can be recognized by the OLT  12  by separating the respective traffic and allocating the LLIDs to the traffic separated according to the classification.  
         [0029]     In addition, in the case of transmitting down-data, it is possible to secure the QoS through the DBA weight value allocation and the specified queue allocation in the same manner as the case of transmitting up-data as described above.  
         [0030]      FIG. 3  is a view illustrating the detailed construction of an ONU in the EPON system which a local switching method using an LLID is applied according to an embodiment of the present invention.  
         [0031]     Referring to  FIG. 3 , the ONU in the EPON system, to which the local switching method using the LLID according to the present invention is applied, includes an Ethernet switch  31  for receiving and separating the LAN traffic  202 - 1  and the WAN traffic  201 - 1  inputted through the user port, and a classification control unit  32  for allocating the LLIDs according to the types of the traffic inputted from the Ethernet switch  31  through the respective ports, and transferring the traffic with the LLIDs allocated thereto to the OLT  12 .  
         [0032]     In particular, the classification control unit  32  may further include a control function of allocating the DBA weight values to a specified traffic and setting specified queues to the specified traffic in order to secure the QoS.  
         [0033]      FIG. 4  is a flowchart illustrating a local switching method using an LLID of an ONU in an EPON system according to an embodiment of the present invention.  
         [0034]     Referring to  FIG. 4 , in the EPON system to which the local switching method using the LLID is applied according to the present invention, the ONU receives the WAN traffic and the LAN traffic from a user port ( 41 ). Then, the ONU separates them into the WAN traffic and the LAN traffic according to the classification function ( 42 ).  
         [0035]     Then, the ONU allocates LLIDs according to services for the respective traffic to the separated WAN traffic and LAN traffic ( 43 ).  
         [0036]     Then, the ONU sets and transmits the queuing for the LLIDs for the respective services and the DBA weight values to the OLT ( 44 ).  
         [0037]      FIG. 5  is a detailed flowchart illustrating a local switching method using an LLID of an OLT in an EPON system according to an embodiment of the present invention.  
         [0038]     As illustrated in  FIG. 5 , in the EPON system to which the local switching method using the LLID is applied according to the present invention, the OLT receives traffic data composed of the WAN traffic and the LAN traffic from the ONU ( 51 ).  
         [0039]     Then, the OLT confirms whether the received traffic is the LAN traffic, and if the received traffic is the LAN traffic as a result of confirmation, it extracts the destination of the corresponding traffic ( 53 ), and transmits the corresponding traffic to the extracted destination with reference to a built-in destination routing table ( 54 ). Here, the OLT applies a control function for securing the QoS such as the queuing according to the LLID from the ONU and the DBA weight value setting to the traffic to perform a down-transmission of the traffic.  
         [0040]     If the received traffic is not the LAN traffic as a result of confirmation, the OLT extracts the destination of the corresponding traffic ( 55 ), and confirms whether the extracted destination exists in the built-in destination routing table ( 56 ). If the corresponding destination exists, the OLT transmits the corresponding traffic to the corresponding destination ( 57 ). If no corresponding destination exists, the OLT transmits the corresponding traffic to an upper WAN interface ( 58 ).  
         [0041]     Through the above-described operation, the local switching operation for switching and transmitting the LAN traffic transferred from the ONU to the ONU in the same OLT is performed. The inventive operation can be performed through a softwired process without the necessity of a new construction. Accordingly, the local switching operation according to the present invention can be achieved only by upgrading the software of the EPON system.  
         [0042]     As described above, according to the present invention, the local switching function can be implemented only by changing the software in the EPON system by allocating the LLIDs to the respective traffic. In addition, the present invention can secure the QoS for the traffic according to the local switching function using internal software of the EPON system.  
         [0043]     It should be noted that the method according to the present invention as described above may be implemented by a program and stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, optomagnetic disk, and others) in a computer-readable form.  
         [0044]     While the present invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.
A local switching method using a logical link ID (LLID) in an Ethernet passive optical network (EPON) system is disclosed. The local switching method includes a first step of an optical network unit (ONU) receiving and separating data inputted through a user port into a wide area network (WAN) traffic and a local area network (LAN) traffic, allocating the LLID according to a service for each traffic to the separated WAN traffic and LAN traffic, and transmitting the WAN traffic and LAN traffic with the LLIDs allocated thereto; and a second step of an optical line termination (OLT) receiving the WAN traffic and LAN traffic with the LLIDs allocated thereto transferred from the ONU, extracting a destination of the corresponding traffic through the LLIDs, and transmitting the respective traffic accordingly.