WO2015100534A1 - Ethernet passive optical network communication method, device and system - Google Patents

Ethernet passive optical network communication method, device and system Download PDF

Info

Publication number
WO2015100534A1
WO2015100534A1 PCT/CN2013/090878 CN2013090878W WO2015100534A1 WO 2015100534 A1 WO2015100534 A1 WO 2015100534A1 CN 2013090878 W CN2013090878 W CN 2013090878W WO 2015100534 A1 WO2015100534 A1 WO 2015100534A1
Authority
WO
WIPO (PCT)
Prior art keywords
uplink
onu
olt
message
registration
Prior art date
Application number
PCT/CN2013/090878
Other languages
French (fr)
Chinese (zh)
Inventor
李三中
万席峰
梁选勤
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380002996.3A priority Critical patent/CN105210325A/en
Priority to PCT/CN2013/090878 priority patent/WO2015100534A1/en
Publication of WO2015100534A1 publication Critical patent/WO2015100534A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0064Arbitration, scheduling or medium access control aspects

Definitions

  • the present invention relates to the field of optical communications, and more particularly to a communication method, apparatus and system for an Ethernet passive optical network. Background technique
  • Ethernet Passive Optical Network is a new type of optical access network technology that uses a point-to-multipoint architecture and transmits over passive optical fibers to provide multiple services over Ethernet.
  • the original EPON can provide uplink and downlink symmetrical 1.25 Gb/s (Gigabit per Second) line rate.
  • the downlink rate ie 10G EPON.
  • the existing 10G EPON standard defines an asymmetric mode, the uplink line rate supports 1.25Gb/s (1G), and the downlink rate is 10.3125Gb/s; the uplink 10G/uplink 1G mode uplink rate ( Bandwidth) is only 1.25G.
  • the embodiments of the present invention provide a communication method, device, and system for an Ethernet passive optical network, which can support a higher uplink rate, thereby reducing the user experience degradation caused by insufficient bandwidth.
  • the first aspect provides a communication method, including: the optical line terminal OLT sends an uplink 2.5G discovery window message; the OLT receives a registration request message sent by the optical network unit ONU supporting the uplink 2.5G according to the discovery window message; The OLT sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU; and the OLT receives a registration success message sent by the ONU.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message received by the OLT includes: a capability field of G; and indicating that the ONU is currently requesting registration as Upstream 2.5G request field.
  • the initial working mode of the ONU is an uplink 1G
  • the registration request message received by the OLT includes: The ONU supports both the uplink 1G and uplink 2.5G capability fields; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • a third implementation manner of the first aspect after the OLT receives the registration request message sent by the optical network unit ONU supporting the uplink 2.5G according to the discovery window message, Determining, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and an upper limit of a laser switching time allocated to the ONU; generating an LLID, a synchronization time, and an upper limit of a laser switching time. Registration message.
  • the method further includes: performing, on the logical link corresponding to the LLID, The ONU performs data transmission of a maximum downlink 10G/uplink 2.5G.
  • the initial working mode of the ONU is an uplink 1G
  • the optical line terminal OLT includes before sending an uplink 2.5G discovery window message.
  • Sending an uplink 1G discovery window message ; receiving a registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports uplink 1G, and is used to indicate
  • the ONU currently requests to register as a request field of the uplink 1G; and sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU; and receiving a registration success message sent by the ONU, To complete the registration of the ONU uplink 1G.
  • the method further includes: sending a query message to the ONU, so as to query the location The uplink transmission capability of the ONU is received; the response message sent by the ONU is received, the response message indicates that the ONU supports uplink 1G and uplink 2.5G; and the ONU is sent to indicate that the ONU switches to the uplink 2.5G working mode.
  • the indication message is such that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the uplink 2.5G discovery window sent by the OLT. G registration.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports a downlink 10G/uplink 1G, At least one of a downlink 10G/upstream 10G and a downlink 1G/uplink 1G.
  • the second aspect provides a communication method, including: an optical network unit ONU receives an uplink 2.5G discovery window message sent by an optical line terminal OLT, where the ONU supports an uplink 2.5G; and the ONU finds according to the uplink 2.5G.
  • the window message sends a registration request message to the OLT; the ONU receives a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; Said ONU to said
  • the OLT sends a registration success message.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message includes: an capability field for indicating that the ONU supports an uplink 2.5G And a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • the initial working mode of the ONU is uplink 1G
  • the ONU sends the uplink 2.5G discovery window message to the OLT according to the uplink
  • the method further includes: switching the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and generating a registration request message carrying the capability field and the request field, where the capability field indicates that the ONU is simultaneously Supporting uplink 1G and uplink 2.5G, the request field indicates that the ONU currently requests registration as an uplink 2.5G.
  • the registration message includes an LLID, a synchronization time, and an upper limit of a laser switch time allocated by the OLT to the ONU.
  • the method further includes: performing, on the logical link corresponding to the LLID The OLT performs maximum downlink 10G/uplink 2.5G data transmission.
  • the method before the optical network unit ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, the method further includes: receiving, by the OLT, An uplink 1G discovery window message is sent to the OLT according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports uplink 1G, and is used to indicate that the ONU is currently Requesting registration as an uplink 1G request field; receiving a registration message sent by the OLT according to the registration request message, the registration message includes an LLID assigned by the OLT to the ONU; sending a registration success message to the OLT, The registration of the ONU uplink 1G is completed.
  • the method further includes: receiving, by the OLT, a query for querying the ONU And the OLT sends a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G; and receives an indication message sent by the OLT to indicate that the ONU switches to the uplink 2.5G working mode; Switching to the uplink 2.5G working mode according to the indication message and recording the current working mode as 2.5G; waiting for the uplink 2.5G discovery window message sent by the OLT after the offline reset and online again.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
  • the third aspect provides an optical line terminal, including: a sending unit, configured to send an uplink 2.5G discovery window message, and a receiving unit, configured to receive, by the optical network unit ONU supporting the uplink 2.5G, according to the discovery window message. a registration request message; the sending unit is configured to send a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; the receiving unit is configured to receive the sending by the ONU Registration success message.
  • the initial working mode of the ONU is an uplink 2.5G
  • the receiving request message received by the receiving unit includes: a capability field of 2.5G; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • the initial working mode of the ONU is an uplink 1G
  • the receiving request message received by the receiving unit includes: The ONU supports both the uplink 1G and uplink 2.5G capability fields; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • the optical line terminal further includes a determining unit, where the determining unit is configured to: according to the capability field of the registration request message And the request field, determining an LLID, a synchronization time, and a laser switch time upper limit allocated to the ONU; generating a registration message including the LLID, the synchronization time, and the laser switch time upper limit.
  • the sending unit and the receiving unit are further configured to: perform, on the logical link corresponding to the LLID, with the ONU Maximum downlink 10G/uplink 2.5G data transmission.
  • the initial working mode of the ONU is an uplink 1G
  • the sending unit is further configured to: send an uplink 1G discovery window message
  • the receiving unit is further configured to receive a registration request message that is sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports the uplink 1G, and is used to indicate that the ONU is currently Requesting to register as a request field of the uplink 1G
  • the sending unit is further configured to send a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; Receiving a registration success message sent by the ONU to complete registration of the ONU uplink 1G.
  • the sending unit is further configured to: send a query message to the ONU, so as to query an uplink sending capability of the ONU;
  • the receiving unit receives a response message sent by the ONU, where the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G; and sends an indication message to the ONU to indicate that the ONU switches to the uplink 2.5G working mode. So that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the 2.5G registration when the uplink 2.5G discovery window sent by the OLT is received.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
  • the fourth aspect provides an optical network unit, including: a receiving unit, configured to receive an uplink 2.5G discovery window message sent by an optical line terminal OLT, where the ONU supports an uplink 2.5G, and a sending unit, configured to The uplink 2.5G discovery window message sends a registration request message to the OLT; the receiving unit is configured to receive a registration message sent by the OLT according to the registration request message, where the registration message includes the OLT assigning to the ONU The logical link identifies the LLID; the sending unit is configured to send a registration success message to the OLT.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message includes: an capability field for indicating that the ONU supports an uplink 2.5G And a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • the initial working mode of the ONU is an uplink 1G
  • the ONU further includes a switching unit and a generating unit, where the switching unit is used by : Switching the working mode to uplink according to the uplink 2.5G discovery window message 2.5G; and the generating unit is configured to generate a registration request message carrying a capability field and a request field, where the capability field indicates that the ONU supports both uplink 1G and uplink 2.5G, and the request field indicates that the ONU is currently Request to register as an upstream 2.5G.
  • the registration message includes an LLID, a synchronization time, and an upper limit of a laser switch time allocated by the OLT to the ONU.
  • the sending unit and the receiving unit are further configured to: perform, on the logical link corresponding to the LLID, with the OLT Maximum downlink 10G / uplink 2.5G data transmission.
  • the receiving unit is further configured to: receive an uplink 1G discovery window message sent by the OLT;
  • the uplink 1G discovery window message sends a registration request message to the OLT, where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G, and a request for indicating that the ONU currently requests to register as the uplink 1G.
  • the receiving unit is further configured to receive a registration message that is sent by the OLT according to the registration request message, where the registration message includes an LLID that is allocated by the OLT to the ONU, and the sending unit is further configured to The OLT sends a registration success message to complete the registration of the ONU uplink 1G.
  • the ONU further includes a recording unit and a reset unit, where the receiving unit is further configured to: receive the OLT sent for query And the sending unit is further configured to send, to the OLT, a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G, where the sending unit is further configured to receive the An indication message sent by the OLT to indicate that the ONU switches to an uplink 2.5G working mode; the recording unit is configured to switch to an uplink 2.5G working mode according to the indication message and record a current working mode of 2.5G; After the offline is reset and goes online again, the uplink 2.5G discovery window message sent by the OLT is awaited.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
  • the fifth aspect provides an Ethernet passive optical network system, including: an optical line terminal, an optical connection, where the optical line terminal includes any optical line terminal according to the foregoing third aspect,
  • the optical network unit includes any one of the optical network units as described in the above fourth aspect.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • FIG. 1 is a block diagram of an Ethernet passive optical network system according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention
  • FIG. 5 is a flowchart of online registration of an optical network unit according to an embodiment of the present invention.
  • FIG. 6 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • FIG. 7 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • Figure 8 is a schematic block diagram of an optical line terminal in accordance with one embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of an optical network unit according to an embodiment of the present invention.
  • Figure 10 is a schematic block diagram of an optical line terminal according to another embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of an optical network unit in accordance with another embodiment of the present invention. detailed description
  • FIG. 1 is a block diagram of an Ethernet passive optical network system according to an embodiment of the present invention.
  • the Ethernet Passive Optical Network (EPON) system usually consists of an optical line terminal (OLT) at the central office, an optical distribution network (ODN), and an optical network terminal at the user end.
  • ONT optical line terminal
  • ONT optical distribution network
  • ONU Optical Network Unit
  • ONT optical network terminal
  • ONU Optical Network Unit
  • the 10G EPON OLT can access and control multiple types of ONUs through the Multi-Point Control Protocol (MPCP), that is, support downlink 1G/uplink 1G, downlink 10G/uplink 1G, downlink 10G/uplink 2.5G. And access and control of the downstream 10G/upstream 10G ONU.
  • An ONU can support one or more of the above four modes of operation. Generally speaking, an ONU that supports multiple working modes will determine and maintain a working mode with the OLT when registering online. The ONU working mode switching needs to be reset by the ONU and re-registered for another working mode. It is also possible to initiate a special working mode switching process by the OLT when the ONU is online, so that the ONU completes the switching of the working mode.
  • MPCP Multi-Point Control Protocol
  • FIG. 1 is a block diagram showing an architecture of an EPON system according to an embodiment of the present invention, including an OLT ODN, a legacy ONU (downlink 1G/uplink 1G), a downlink 10G/uplink 1G, and a downlink 10G/uplink 2.5G dual working mode ONU. And downlink 10G / uplink 10G ONU and so on.
  • the ONU can support at least one of the above four working modes, that is, the ONUs in the actual EPON system are not limited to the three types shown in FIG. 1, and the actual EPON system can have multiple supporting different working modes.
  • the ONU combined with the working mode is not limited by the present invention.
  • the downlink rate of the OLT to the ONU is 10.3125G
  • the wavelength is 1577nm
  • the uplink speed of the EPON ONU to the OLT is 1.25G
  • the wavelength is 1310nm
  • the uplink rate of the mode ONU to the OLT is 1.25G or 2.5G (depending on the current working mode of the ONU), and the wavelengths of the two working modes are 1310.
  • An ONU that supports the downstream 10G/uplink 2.5G mode of operation, because its operating wavelength is still 1310nm, the laser of its optical module can use a lower cost laser, such as Fabry-Perot Laser (FP) or distribution. Display Feedback Laser (DFB) and so on.
  • FP Fabry-Perot Laser
  • DFB Display Feedback Laser
  • the OLT implements access and control of multiple types of ONUs through MPCP, so access and control are implemented for the downlink uplink 2.5G ONU.
  • the downlink 10G/uplink 1G and downlink 10G/uplink 2.5G dual working mode ONUs can switch the working mode according to actual service requirements or OLT control.
  • 2 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention. The method of Figure 2 is performed by an optical line termination OLT.
  • the OLT sends an uplink 2.5G discovery window message.
  • the OLT receives a registration request message that is sent by the ONU according to the discovery window message.
  • the OLT sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU.
  • the OLT receives a registration success message sent by the ONU.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message received by the OLT includes: an capability field for indicating that the ONU supports the uplink 2.5G; and indicating that the ONU currently requests to register as Upstream 2.5G request field.
  • the ONU needs to complete the discovery and registration process.
  • the OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, and provides an opportunity for the ONU that has not been registered yet to register.
  • the OLT sends an uplink 2.5G discovery window message, which means that the ONU registration of the uplink 2.5G is allowed.
  • the ONU can be an ONU of the downlink 10G/uplink 2.5G, or an ONU of the multi-operation mode supporting the uplink 2.5G.
  • the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT. Instructing it to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field for requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP.
  • the extension field is indicated to the OLT.
  • the initial working mode of the ONU is uplink 1G
  • the registration request message received by the OLT includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and is used to indicate the current ONU Request to register as an uplink 2.5G request field.
  • the ONU is an ONU that supports a multi-operation mode of downlink 10G/uplink 2.5G, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G.
  • the multi-working mode ONU supporting the uplink 2.5G may send a registration request message to the OLT in response to the discovery window message and indicate to the OLT that it wishes to perform access registration, that is,
  • the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, and more specifically, may be extended by an extension field in the registration request message (Register_Req) of the MPCP. Indicated by the OLT.
  • the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
  • the method further includes: determining, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and a laser switch time upper limit allocated to the ONU; generating the LLID, the synchronization time, and the laser Registration message for the upper limit of the switch time.
  • the OLT can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and further send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT. Synchronous calibration, and limiting the upper limit of the ONU laser switching time, to avoid the upstream transmission of the ONU conflict with the uplink transmission of other ONUs, improving efficiency.
  • the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
  • the ONU after receiving the LLID allocated by the OLT, the ONU can store the LLID in the register of the ONU.
  • the logical link between the ONU and the OLT is successfully established, and then the ONU can successfully send the registration to the OLT through the logical link.
  • the message (Register_Ack) after receiving the acknowledgment message, the OLT indicates that the registration process of the ONU has been completed, and the ONU performs data transmission at a maximum uplink rate of 2.5G through the logical link according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the initial working mode of the ONU is uplink 1G
  • the method further includes: sending an uplink 1G discovery window message; receiving a registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes The capability field for indicating that the ONU supports the uplink 1G and the request field for indicating that the ONU currently requests to register as the uplink 1G; sending a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU; receiving the registration sent by the ONU A success message to complete the registration of the ONU upstream 1G.
  • the ONU For an ONU with multiple working modes, you can register with the working mode of the above 1G, that is, In response to the uplink 1G discovery window message sent by the OLT, the LLID assigned by the OLT is accepted, the 1G registration is completed, and data transmission is performed at an uplink rate of 1 GG on the logical link corresponding to the LLID. Then, in step 201, when the ONU receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service requirement, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window message. To complete the uplink 2.5G registration, if the current working mode is maintained, the uplink 2.5G discovery window message may not be responded to.
  • the method further includes: sending an inquiry message to the ONU, so as to query the uplink transmission capability of the ONU; receiving a response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G;
  • the ONU sends an indication message for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the uplink 2.5 sent by the OLT.
  • G finds the window it will register 2.5G above.
  • the ONU of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user.
  • the uplink transmission capability query message may be sent to the ONU by using the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-work mode sends the supported uplink transmission capability to the OLT through a response message, for example, indicating to the OLT.
  • OAM Operation Administration and Maintenance
  • the ONU supports the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT can instruct the ONU to switch to the uplink 2.5G working mode. After receiving the indication from the OLT, the ONU can record the current working mode as 2.5G uplink.
  • the OLT After obtaining the OLT confirmation, it can switch to the working mode of the uplink 2.5G, and reset the device to make the ONU go offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT is received, the response is completed and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
  • FIG. 3 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention. The method of Figure 3 is performed by the optical network unit ONU.
  • the ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports the uplink 2.5G.
  • the ONU sends a registration request message to the OLT according to the uplink 2.5G discovery window message.
  • the ONU receives a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU.
  • the ONU sends a registration success message to the OLT.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message includes: an capability field for indicating that the ONU supports the uplink 2.5G; and an indication that the ONU currently requests to register as the uplink 2.5G. Request field.
  • the discovery module in the OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, and provides registration for the ONU that has not been registered yet. chance.
  • the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU to support the uplink 2.5G.
  • the ONU can be an ONU of the downlink 10G/uplink 2.5G, or an ONU that supports the uplink 2.5G.
  • the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT. Instructing it to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP.
  • the extension field is indicated to the OLT.
  • the initial working mode of the ONU is uplink 1G.
  • the method further includes: switching the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and generating the carried capability field and the request field.
  • Registration request message where the capability field indicates ONU Supporting both upstream 1G and upstream 2.5G, the request field indicates that the ONU is currently requesting registration as an upstream 2.5G.
  • the ONU is an ONU that supports the downlink 10G/uplink 2.5G multi-operation mode, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G.
  • the initial default working mode of the ONU is downlink 10G/uplink 1G
  • the multi-operation mode ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery.
  • the registration request message may include a capability field indicating that the ONU supports uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, more specifically , can be indicated to the OLT through an extension field in the MPCP registration request message (Register_Req).
  • the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
  • the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU.
  • the OLT can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and also send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT. Synchronous calibration, and limiting the upper limit of the ONU laser switching time, to avoid the upstream transmission of the ONU conflict with the uplink transmission of other ONUs, improving efficiency.
  • the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID.
  • the ONU after receiving the LLID allocated by the OLT, the ONU can store the LLID in the register of the ONU.
  • the logical link between the ONU and the OLT is successfully established, and then the ONU can successfully send the registration to the OLT through the logical link.
  • the message (Register_Ack) after receiving the acknowledgment message, the OLT indicates that the registration process of the ONU has been completed, and the ONU performs data transmission at a maximum uplink rate of 2.5G through the logical link according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the method further includes: receiving an uplink 1G discovery window message sent by the OLT; sending a registration request message to the OLT according to the uplink 1G discovery window message, where the registration request message is used to indicate that the ONU supports the uplink a capability field of 1G and a request field for indicating that the ONU currently requests to register as an uplink 1G; the receiving OLT sends a message according to the registration request message
  • the registration message sent, the registration message includes the LLID assigned by the OLT to the ONU; and the registration success message is sent to the OLT to complete the registration of the ONU uplink 1G.
  • the ONUs in the multi-operation mode you can register in the upper 1G working mode, that is, respond to the uplink 1G discovery window message sent by the OLT, accept the LLID assigned by the OLT, complete the 1G registration, and maximize the logical link corresponding to the LLID.
  • the uplink rate of 1G is used for data transmission.
  • the ONU when the ONU receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service requirement, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window message. To complete the uplink 2.5G registration, if the current working mode is maintained, the uplink 2.5G discovery window message may not be responded to.
  • the method further includes: receiving, by the OLT, a query message for querying an uplink sending capability of the ONU; and sending, to the OLT, a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G; Receiving an indication message sent by the OLT indicating that the ONU switches to the uplink 2.5G working mode; switching to the uplink 2.5G working mode according to the indication message and recording the current working mode as 2.5G; after the offline is reset and goes online again, waiting for the uplink 2.5 sent by the OLT G found the window message.
  • the ONU of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user.
  • the uplink transmission capability query message may be sent to the ONU by using the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-work mode sends the supported uplink transmission capability to the OLT through a response message, for example, indicating to the OLT.
  • OAM Operation Administration and Maintenance
  • the ONU supports the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT can instruct the ONU to switch to the uplink 2.5G working mode. After receiving the indication from the OLT, the ONU can record the current working mode as 2.5G uplink.
  • the OLT After obtaining the OLT confirmation, it can switch to the working mode of the uplink 2.5G, and reset the device to make the ONU go offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT is received, the response is completed and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
  • FIG. 4 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • the OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet.
  • the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU registration of the uplink 2.5G to be supported.
  • the uplink discovery window message can be implemented by extending the MDPC message:
  • the message format of the uplink 2.5G discovery window by extending the MPCP's discovery window message is exemplarily shown in Table 1.
  • the 0th bit indicates the OLT's receiving capability for the uplink 1G
  • the 1st bit indicates the OLT's receiving capability for the uplink 10G
  • the new 2nd bit indicates the OLT's receiving capability for the uplink 2.5G
  • the 2nd bit is A bit value of 1 indicates that the OLT has an uplink 2.5G reception capability.
  • US indicates upstream (Up Stream).
  • the OLT can have several receiving capabilities at the same time. For example, it can support receiving uplink 1G, uplink 2.5G, and uplink 10G at the same time, and only needs to set the bit value of the corresponding bit to 1.
  • bit bits that support or do not support some uplink capability are specifically indicated, and the bit value may be pre-agreed, which is not limited by the present invention.
  • the fourth bit can indicate that the discovery window message is an uplink 1G discovery window
  • the 5 bits can indicate that the discovery window message is an uplink 10G discovery window
  • the newly added 6th bit can indicate that the discovery window message is an uplink 2.5G discovery window.
  • the OLT sends a discovery window message only for opening one type.
  • the discovery window where the bit value of the 6th bit is 1 indicates that the discovery window message is an upstream 2.5G discovery window. It should be understood that the above is only a specific example, which facilitates the description of the message format, and specifically indicates that the bit type of the discovery window type and the bit value can be pre-agreed, which is not limited by the present invention.
  • the ONU supporting the uplink 2.5G may send a registration request message to the OLT in response to the discovery window message.
  • the ONU here supports uplink 2.5G, for example, uplink 1G.
  • the current working mode of the ONU is downlink 10G/uplink 2.5G.
  • the working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the default line 10G/uplink 2.5G mode works.
  • the ONU After receiving the uplink 2.5G discovery window message of the OLT, the ONU generates a registration request message, where the message specifically includes an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G, and is used to indicate that the ONU currently requests to register as the uplink 2.5. G's request field. More specifically, it can be implemented by extending the MPCP registration request message:
  • Table 2 exemplarily shows that the registration request of the uplink 2.5G is implemented by extending the registration request message message Register_Req of the MPCP.
  • the 0th bit indicates the ONU's transmission capability for the uplink 1G
  • the 1st bit indicates the ONU's transmission capability for the uplink 10G
  • the new 2nd bit indicates the ONU's transmission capability for the uplink 2.5G.
  • a bit value of 1 indicates that the ONU has an uplink 2.5G transmission capability.
  • US indicates upstream (Up Stream).
  • Multi-mode ONUs can have several uplink transmission capabilities at the same time, for example To support both uplink 1G, uplink 2.5G, and uplink 10G, it is only necessary to set the bit value of the corresponding bit to 1.
  • the 4th bit may indicate that the registration request is an uplink 1G registration request
  • the 5th bit may indicate that the registration request is an uplink 10G registration request
  • the added 6th bit may indicate that the registration request is an uplink 2.5G request.
  • the registration request usually, the ONU only requests registration as an uplink mode when registering once, where the bit value of the 6th bit is 1 indicating that the ONU requests registration as the uplink 2.5G. It should be understood that the above is only a specific example, which facilitates the description of the message format, and specifically indicates that the bit of the registration request and the bit value can be pre-agreed, which is not limited by the present invention.
  • the ONU when it receives the discovery window message, it needs to feed back the registration request message to the OLT within the discovery window time. Because in a discovery window, more than 4 ONUs that are not registered and meet the discovery window condition can send a registration request message to the OLT, so that an uplink conflict may occur, so in order to reduce the probability of uplink conflict, the registration success is shortened. At the time, the ONU can be randomly delayed for a period of time before sending the registration request message.
  • the OLT may allocate an LLID to the ONU according to the registration request message, that is, assign a logical link to the ONU, and send the LLID to the ONU through a registration message (Register).
  • the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
  • the OLT may successfully receive the registration request message of multiple ONUs, and the OLT may process according to the order in which the multiple registration request messages arrive.
  • the ONU After receiving the registration message in step 403, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established.
  • the ONU can send a registration success message (Register_Ack) to the OLT through the logical link.
  • the OLT After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process.
  • Corresponding logical link with a maximum of 2.5G The uplink rate is used for data transmission.
  • the optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G.
  • the transmitting wavelength is 1310nm, and the ONU media is connected.
  • the line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard.
  • the MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G.
  • the OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing.
  • the OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G.
  • the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
  • FIG. 5 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • the ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G.
  • the current working mode of the ONU is downlink 10G/uplink 1G.
  • the working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
  • the OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet.
  • the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU registration of the uplink 2.5G to be supported.
  • the uplink discovery window message can be implemented by extending the MDPC message, which is similar to the discovery window message in step 401 above. , will not repeat them here.
  • the multi-mode ONU working on the upstream 1G receives the uplink 2.5G discovery window message. According to actual business needs, or user selection, it is determined whether to respond to the discovery window message, that is, whether the above 2.5G work is required. If it is determined that it is to be registered as the uplink 2.5G, the Media Access Control (MAC) chip/module of the ONU switches from the uplink 1G to the uplink 2.5G working mode.
  • MAC Media Access Control
  • the ONU may generate a registration request message and send the registration request message to the OLT in response to the discovery window message.
  • the message specifically includes an capability field for indicating that the ONU supports both uplink 1G and uplink 2.5G, and a request field for indicating that the ONU currently requests to register as the uplink 2.5G. More specifically, it may be implemented by extending the registration request message of the MPCP, which is similar to the registration request message in the above step 402, and details are not described herein again.
  • the ONU when it receives the discovery window message, it needs to feed back the registration request message to the OLT within the discovery window time. Because in a discovery window, more than 4 ONUs that are not registered and meet the discovery window condition can send a registration request message to the OLT, so that an uplink conflict may occur, so in order to reduce the probability of uplink conflict, the registration success is shortened. At the time, the ONU can be randomly delayed for a period of time before sending the registration request message.
  • the OLT may allocate an LLID to the ONU according to the registration request message, that is, assign a logical link to the ONU, and send the LLID to the ONU through a registration message (Register).
  • the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
  • the OLT may successfully receive the registration request message of multiple ONUs, and the OLT may process according to the order in which the multiple registration request messages arrive.
  • the ONU After receiving the registration message in step 505, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established.
  • the ONU can send a registration success message (Register_Ack) to the OLT through the logical link.
  • the OLT After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the corresponding logical link transmits data at an uplink rate of up to 2.5G.
  • the optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G.
  • the transmitting wavelength is 1310nm, and the ONU media is connected.
  • the line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard.
  • the MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G.
  • the OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing.
  • the OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G.
  • the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
  • FIG. 6 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • the ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G.
  • the current working mode of the ONU is downlink 10G/uplink 1G.
  • the working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
  • the OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet.
  • the OLT sends an uplink 1G discovery window message, which means that ONU registration of the uplink 1G is allowed.
  • the ONU may generate a registration request message and send the registration request message to the OLT to respond to the discovery window message.
  • the OLT may allocate the ONU according to the registration request message.
  • LLID which assigns a logical link to the ONU, and sends the LLID to the ONU through a registration message (Register).
  • the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
  • the ONU After receiving the registration message in step 604, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established.
  • the ONU can send a registration success message (Register_Ack) to the OLT through the logical link.
  • the OLT After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the corresponding logical link performs data transmission at an uplink rate of up to 1G.
  • the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, for the ONU that has completed the uplink 1G registration in step 605, the OLT may send an uplink sending capability query message to the ONU, instructing the ONU to report its uplink capability, and information such as user configuration and service requirements.
  • the ONU After receiving the uplink capability query message, the ONU can report its uplink capability to the OLT. For example, the ONU supports the ONU to support uplink 1G and uplink 2.5G. In addition, the information about the user configuration and service requirements can be used. For example, the ONU currently works on the uplink 1G, but the user configures the working mode to be 2.5G uplink, or the upstream service requires 2.5G uplink rate.
  • the OLT can instruct the ONU to switch to the working mode of the uplink 2.5G.
  • the ONU can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the uplink 2.5G working mode and reset the device to make the ONU go offline.
  • the optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G.
  • the transmitting wavelength is 1310nm, and the ONU media is connected.
  • the line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard.
  • the MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G.
  • the OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing.
  • the OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G.
  • the uplink 2.5G two independent channels after the OLT module receives the uplink 1G and the uplink 2.5G optical signals at the same time, the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
  • FIG. 7 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
  • the ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G.
  • the current working mode of the ONU is downlink 10G/uplink 1G.
  • the working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
  • the OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet.
  • the OLT sends an uplink 1G discovery window message, which means that ONU registration of the uplink 1G is allowed.
  • the ONU may generate a registration request message and send the registration request message to the OLT to respond to the discovery window message.
  • the OLT may allocate the ONU according to the registration request message.
  • LLID which assigns a logical link to the ONU, and sends the LLID to the ONU through a registration message (Register).
  • the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
  • the ONU After receiving the registration message in step 604, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established.
  • the ONU can send a registration success message (Register_Ack) to the OLT through the logical link.
  • the OLT After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the corresponding logical link performs data transmission at an uplink rate of up to 1G.
  • the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, for the ONU that has completed the uplink 1G registration in step 705, the OLT may send an uplink sending capability query message to the ONU, instructing the ONU to report its uplink capability, and information such as user configuration and service requirements.
  • the ONU After receiving the uplink capability query message, the ONU can report its uplink capability to the OLT. For example, the ONU supports the ONU to support uplink 1G and uplink 2.5G. In addition, the information about the user configuration and service requirements can be used. For example, the ONU currently works on the uplink 1G, but the user configures the working mode to be 2.5G uplink, or the upstream service requires 2.5G uplink rate.
  • the OLT can instruct the ONU to switch to the working mode of the uplink 2.5G.
  • the ONU can switch to the working mode of the uplink 2.5G, that is, the media access control (MAC) chip/module of the ONU switches from the uplink 1G to the uplink 2.5G working mode, and the ONU after the handover is completed.
  • a handover success message can be sent to the OLT.
  • the OLT After receiving the handover success message sent by the ONU, the OLT needs to increase the upstream bandwidth of the ONU.
  • line rate is set to 2.5G so that it can receive and process correctly from the ONU Upstream data. At this point, the ONU's working mode is switched.
  • the optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G.
  • the transmitting wavelength is 1310nm, and the ONU media is connected.
  • the line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard.
  • the MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G.
  • the OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing.
  • the OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G.
  • the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
  • the communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
  • FIG. 8 is a schematic block diagram of an optical line terminal in accordance with one embodiment of the present invention.
  • the optical line terminal OLT 800 shown in Fig. 8 includes a transmitting unit 801 and a receiving unit 802.
  • the sending unit 801 sends an uplink 2.5G discovery window message; the receiving unit 802 receives the support uplink.
  • the discovery window enables the ONU supporting the upstream 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message received by the receiving unit 802 includes: an capability field for indicating that the ONU supports the uplink 2.5G; and is used to indicate the current request of the ONU. Registered as an uplink 2.5G request field.
  • the ONU needs to complete the discovery and registration process, and the OLT 800 periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, which is not yet online. Registered ONUs offer registration opportunities.
  • the OLT sends an uplink 2.5G discovery window message, which means that the ONU registration of the uplink 2.5G is allowed.
  • the ONU can be the ONU of the downlink 10G/uplink 2.5G, or the ONU of the multi-operation mode supporting the uplink 2.5G.
  • the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT.
  • the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP.
  • the extension field is indicated to the OLT.
  • the initial working mode of the ONU is uplink 1G
  • the receiving unit is
  • the registration request message received by the 802 includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and a request field for indicating that the ONU currently requests to register as the uplink 2.5G.
  • the ONU is an ONU that supports the downlink 10G/uplink 2.5G multi-operation mode, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G.
  • the initial default working mode of the ONU is downlink 10G/uplink 1G
  • the multi-operation mode ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery.
  • the registration request message may include a capability field indicating that the ONU supports uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, more specifically , can be indicated to the OLT through an extension field in the MPCP registration request message (Register_Req).
  • the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
  • the OLT 800 further includes a determining unit and a generating unit: the determining unit determines, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and a laser switching time upper limit allocated to the ONU; Contains registration messages with LLID, synchronization time, and laser switch time cap.
  • the OLT 800 can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and also send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT.
  • the synchronous calibration of 800 and the upper limit of the ONU laser switching time are limited to avoid the collision between the uplink transmission of the ONU and the uplink transmission of other ONUs, thereby improving efficiency.
  • the sending unit 801 and the receiving unit 802 are further configured to perform maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
  • the ONU can store the LLID in the register of the ONU.
  • the logical link between the ONU and the OLT 800 is successfully established, and then the ONU can pass the logical link to the OLT 800.
  • the OLT 800 receives the confirmation message, indicating that the registration process of the ONU has been completed, and the ONU will use the logical link to uplink the maximum 2.5G in the subsequent process according to the uplink transmission authorization given by the OLT 800.
  • Rate for data transfer Data transmission refers to transmission and reception, which can be done by the transmitting unit 801 and the receiving unit 802.
  • the initial working mode of the ONU is uplink 1G
  • the sending unit is
  • the 801 sends an uplink 1G discovery window message.
  • the receiving unit 802 receives the registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports the uplink 1G, and is used to indicate that the ONU currently requests to register as an uplink.
  • the request unit of the 1G sends the registration message to the ONU, and the registration message includes the logical link identifier LLID assigned by the OLT 800 to the ONU.
  • the receiving unit 802 receives the registration success message sent by the ONU to complete the registration of the ONU uplink 1G.
  • the operation mode of the uplink 1G can be registered first, that is, in response to the uplink 1G discovery window message sent by the OLT 800, the LLID assigned by the OLT 800 is accepted, and the 1G registration is completed and on the logical link corresponding to the LLID. Data transmission is performed at an uplink rate of up to 1G.
  • step 201 when the ONU receives the uplink 2.5G discovery window message sent by the OLT 800, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service demand, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window. The message completes the uplink 2.5G registration, and may not respond to the uplink 2.5G discovery window message if the current working mode is maintained.
  • the sending unit 801 sends an inquiry message to the ONU, so as to query the uplink sending capability of the ONU.
  • the receiving unit 802 receives the response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G.
  • the unit 801 sends an indication message to the ONU for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the OLT 800.
  • the uplink 2.5G discovery window is sent, the above 2.5G registration is performed.
  • the ONU of the multi-work mode is first registered in the working mode of the above-mentioned 1G, and then the OLT 800 can initiate an uplink capability query to query whether the uplink rate of the ONU and the rate configured by the user are one.
  • the uplink transmission capability query message may be sent to the ONU through the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-operation mode sends the supported uplink transmission capability to the OLT 800 by using a response message, for example, to the OLT 800.
  • the ONU is instructed to support the uplink 1G and the uplink 2.5G.
  • the OLT 800 can instruct the ONU to switch to the working mode of the uplink 2.5G.
  • the ONU After receiving the indication from the OLT 800, the ONU can record the current working mode as the uplink 2.5G. After obtaining the OLT 800 confirmation, the ONU can switch to the working mode of the uplink 2.5G, and reset the device, so that the ONU goes offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT 800 is received, the response is made and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT 800 may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G.
  • the discovery window enables the ONU supporting the upstream 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/uplink 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
  • FIG. 9 is a schematic block diagram of an optical network unit in accordance with one embodiment of the present invention.
  • the optical network unit ONU 900 of Fig. 9 includes a receiving unit 901 and a transmitting unit 902.
  • the receiving unit 901 receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports the uplink 2.5G; the sending unit 902 sends a registration request message to the OLT according to the uplink 2.5G discovery window message; the receiving unit 901 receives the OLT according to the registration request message.
  • the registered registration message includes a logical link identifier LLID assigned by the OLT to the ONU; the sending unit 902 sends a registration success message to the OLT.
  • the discovery window enables the ONU 900 supporting the uplink 2.5G to complete registration and works at the downstream 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience.
  • the initial working mode of the ONU 900 is an uplink 2.5G
  • the registration request message includes: an capability field for indicating that the ONU 900 supports the uplink 2.5G; and an indication that the ONU 900 currently requests to register as an uplink. 2.5G request field.
  • the ONU 900 in the network needs to complete the discovery and registration process.
  • the discovery module in the OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU 900, which is an ONU that has not been registered yet. 900 offers an opportunity to register.
  • the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU 900 to support the uplink 2.5G registration.
  • the ONU 900 can be the ONU 900 of the downlink 10G/uplink 2.5G, or the multi-operation mode supporting the uplink 2.5G.
  • the ONU 900 supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery.
  • the window message indicates to the OLT that it wishes to perform access registration, that is, the registration request message may include a capability field indicating that the ONU 900 supports the uplink 2.5G and a request field for requesting registration, and more specifically, registration by the MPCP.
  • the extension field in the request message (Register_Req) is indicated to the OLT.
  • the initial working mode of the ONU 900 is uplink 1G, ONU.
  • the 900 further includes a switching unit and a generating unit: the switching unit switches the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and the generating unit generates a registration request message carrying the capability field and the request field, where the capability field indicates that the ONU 900 simultaneously Supporting uplink 1G and uplink 2.5G, the request field indicates that the ONU 900 is currently requesting registration as an uplink 2.5G.
  • the ONU 900 is an ONU 900 that supports a multi-operation mode of downlink 10G/uplink 2.5G, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G.
  • the initial default working mode of the ONU 900 is downlink 10G/uplink 1G
  • the multi-operation mode ONU 900 supporting the uplink 2.5G may send a registration request message to the OLT.
  • the window message should be found and indicated to the OLT that it wishes to register for access, that is, the registration request message can include a capability field indicating that the ONU 900 supports the uplink 2.5G and other modes of operation, and a request field requesting uplink 2.5G registration. More specifically, it can be indicated to the OLT through an extension field in the registration request message (Register_Req) of the MPCP.
  • the registration request message can include a capability field indicating that the ONU 900 supports the uplink 2.5G and other modes of operation, and a request field requesting uplink 2.5G registration. More specifically, it can be indicated to the OLT through an extension field in the registration request message (Register_Req) of the MPCP.
  • the ONU 900 can switch the working mode to 2.5G according to the 2.5G discovery window, so as to be 2.5G uplink in the subsequent registration interaction process.
  • the line rate communicates with the OLT.
  • the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU 900.
  • the OLT can allocate an LLID to the ONU 900 according to the message, that is, assign a logical link to the ONU 900, and also send a synchronization time and a laser switch time upper limit to the ONU 900 through the message, so as to complete the ONU. Synchronous calibration of the 900 and the OLT, and limiting the upper limit of the ONU 900 laser switching time, to prevent the uplink transmission of the ONU 900 from colliding with the uplink transmission of other ONUs 900, thereby improving efficiency.
  • the receiving unit 901 and the sending unit 902 are configured to perform maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID.
  • Data transmission refers to the transmission and reception of data, which can be performed by the receiving unit 901 and the transmitting unit 902.
  • the ONU 900 can store the LLID in the register of the ONU 900.
  • the logical link between the ONU 900 and the OLT is successfully established, and then the ONU 900 can pass through the logical link.
  • the OLT sends a registration success message (Register- _Ack).
  • the OLT indicates that the registration process of the ONU 900 has been completed, and the ONU 900 passes the logical link at the maximum 2.5 according to the uplink transmission authorization given by the OLT in the subsequent process.
  • the uplink rate of G is used for data transmission.
  • the receiving unit 901 receives the uplink 1G discovery window message sent by the OLT; the sending unit 902 sends a registration request message to the OLT according to the uplink 1G discovery window message, where the registration request message includes an indication that the ONU 900 supports the uplink. a capability field of 1G and a request field for instructing the ONU 900 to request registration as an uplink 1G; the receiving unit 901 receives a registration message sent by the OLT according to the registration request message, the registration message includes an LLID assigned by the OLT to the ONU 900; the sending unit 902 to the OLT A registration success message is sent to complete the registration of the ONU 900 upstream 1G.
  • the operation mode of the uplink 1G can be registered first, that is, in response to the uplink 1G discovery window message sent by the OLT, the LLID assigned by the OLT is accepted, the 1G registration is completed, and the logical link corresponding to the LLID is used. Data transmission is performed at an uplink rate of up to 1G. Then, in step 201, when the ONU 900 receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to actual service requirements, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window.
  • the ONU 900 further includes a recording unit and a reset unit.
  • the receiving unit 901 receives a query message sent by the OLT for querying the uplink sending capability of the ONU 900.
  • the sending unit 902 sends the OLT to the OLT for indicating the ONU 900.
  • the receiving unit 901 receives the indication message sent by the OLT indicating that the ONU 900 switches to the uplink 2.5G working mode; the recording unit switches to the uplink 2.5G working mode according to the indication message and records the current working mode as 2.5G; The reset unit resets the ONU 900 offline and goes online again, waiting for the upstream 2.5G discovery window message sent by the OLT.
  • the ONU 900 of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU 900 is consistent with the rate configured by the user.
  • the uplink transmission capability query message may be sent to the ONU 900 by using the Operation Administration and Maintenance (OAM) function, and then the ONU 900 in the multi-operation mode sends the supported uplink transmission capability to the OLT through a response message, for example, to the OLT.
  • OAM Operation Administration and Maintenance
  • the ONU 900 is instructed to support the uplink 1G and the uplink 2.5G.
  • the OLT may instruct the ONU 900 to switch to the uplink 2.5G working mode.
  • the ONU 900 After receiving the indication from the OLT, the ONU 900 can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the uplink 2.5G working mode and reset the device to make the ONU 900 go offline. After the ONU 900 is reset, when it receives the upstream 2.5G discovery window sent by the OLT, it responds and completes the uplink 2.5G registration. At this point, the ONU 900 is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONG 900 uplink 2.5G registration is complete, the OLT can also initiate an uplink capability query to determine whether the current uplink rate of the ONU 900 is consistent with the rate configured by the user, which is not limited by the present invention.
  • the ONU 900 supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G.
  • the discovery window enables the ONU 900 supporting uplink 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU 900 has a lower cost, and can be combined with the downlink 10G/uplink 1G working mode to form a multi-mode ONU 900, and the working mode can be switched according to different needs, which is easy to implement and popularize.
  • FIG. 10 is a schematic block diagram of an optical line terminal in accordance with another embodiment of the present invention.
  • Figure 10 shows the end of the optical line
  • the end OLT 100 includes a memory 101, a processor 102, a transmitting circuit 103, and a receiving circuit 104.
  • the logical link identifies the LLID; receives the registration success message sent by the ONU through the receiving circuit 104.
  • the discovery window enables the ONU supporting the uplink 2.5G to complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience.
  • the processor 102 controls the operation of the OLT 100, which may also be referred to as a CPU (Central).
  • CPU Central
  • Memory 101 can include read only memory and random access memory and provides instructions and data to processor 102. A portion of the memory 101 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the various components of the OLT 100 are coupled together by a bus system 105, which may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 105 in the figure.
  • Processor 102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method may be completed by an integrated logic circuit of the hardware in the processor 102 or an instruction in the form of software.
  • the processor 102 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by the hardware decoding processor, or by a combination of hardware and software modules in the decoding processor.
  • the software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 101, and the processor 102 reads the information in the memory 101 and combines the hardware to perform the steps of the above method.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message received by the OLT includes: an capability field for indicating that the ONU supports the uplink 2.5G; and A request field indicating that the ONU is currently requesting registration as an uplink 2.5G.
  • the initial working mode of the ONU is uplink 1G
  • the registration request message received by the OLT includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and is used to indicate the current ONU Request to register as an uplink 2.5G request field.
  • the method further includes: determining, according to the capability field and the request field of the registration request message, the allocation to the ONU. LLID, synchronization time, and laser switching time cap; generate a registration message containing the LLID, synchronization time, and laser switch time cap.
  • the OLT after receiving the registration success message sent by the ONU, the OLT further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
  • the initial working mode of the ONU is uplink 1G
  • the method further includes: sending an uplink 1G discovery window message; and receiving the ONU according to the uplink 1G discovery window message.
  • a registration request message where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G and a request field for indicating that the ONU currently requests to register as the uplink 1G; sending a registration message to the ONU, where the registration message includes logic allocated by the OLT to the ONU
  • the link identifier LLID is received by the ONU to complete the registration of the ONU uplink 1G.
  • the method further includes: sending an inquiry message to the ONU, so as to query the uplink transmission capability of the ONU; receiving a response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G. And uplink 2.5G; sending an indication message to the ONU for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives
  • the upstream 2.5G discovery window sent by the OLT is sent, the above 2.5G registration is performed.
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G.
  • the discovery window enables the ONU supporting the uplink 2.5G to complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a lower cost, and can be downlink 10G/uplink 1G.
  • the working modes together form a multi-mode ONU, and the switching of the working mode according to different needs is easy to implement and popularize.
  • the optical network unit 110 of Fig. 11 includes a memory 111, a processor 112, a transmitting circuit 113, and a receiving circuit 114.
  • the registration message, the registration message includes the logical link identifier LLID assigned by the OLT to the ONU; the registration success message is sent to the OLT through the transmitting circuit 113.
  • the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU 110 through the OLT, so that the ONU supporting the uplink 2.5G can complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink. Rate/bandwidth, which improves the user experience.
  • the processor 112 controls the operation of the ONU 110, which may also be referred to as a CPU (Central Processing Unit).
  • Memory 111 can include read only memory and random access memory and provides instructions and data to processor 112.
  • a portion of the memory 111 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the various components of the ONU 110 are coupled together by a bus system 115, which may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as the bus system 115 in the figure.
  • Processor 112 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 112 or an instruction in a form of software.
  • the processor 112 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, Registers and other mature storage media in the field.
  • the storage medium is located in the memory 111, and the processor 112 reads the information in the memory 111 and combines the hardware to complete the steps of the above method.
  • the initial working mode of the ONU is an uplink 2.5G
  • the registration request message includes: an capability field for indicating that the ONU supports the uplink 2.5G; and an indication that the ONU currently requests to register as the uplink 2.5G. Request field.
  • the initial working mode of the ONU is uplink 1G
  • the method further includes: switching the working mode to the uplink according to the uplink 2.5G discovery window message. 2.5G; and generating a registration request message carrying the capability field and the request field, wherein the capability field indicates that the ONU supports both the uplink 1G and the uplink 2.5G, and the request field indicates that the ONU currently requests to register as the uplink 2.5G.
  • the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU.
  • the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID.
  • the method before the optical network unit ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, the method further includes: receiving an uplink 1G discovery window message sent by the OLT; and sending the message to the OLT according to the uplink 1G discovery window message.
  • a registration request message where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G, and a request field for indicating that the ONU currently requests to register as the uplink 1G; receiving the registration message sent by the OLT according to the registration request message, where the registration message includes the OLT allocation
  • the LLID of the ONU is sent to the OLT to complete the registration of the ONU uplink 1G.
  • the method further includes: receiving, by the OLT, an inquiry message for querying an uplink sending capability of the ONU; sending, to the OLT, the ONU to support the uplink 1G and the uplink 2.5G.
  • the response message sent by the OLT indicating that the ONU switches to the uplink 2.5G working mode; switches to the uplink 2.5G working mode according to the indication message and records the current working mode as 2.5G; after the offline reset and goes online again, waits for the OLT
  • the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G.
  • the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU 110 through the OLT, so that the ONU supporting the uplink 2.5G can complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink. Rate/bandwidth, which improves the user experience.
  • the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
  • an Ethernet passive optical network system includes: an optical line terminal, an optical splitter, and a plurality of optical network units, wherein the optical line terminal passes the optical splitter and the optical The network unit is connected, wherein the optical line terminal may include an optical line terminal in the embodiment corresponding to FIG. 8 and FIG. 10, and the optical network unit may include the embodiment in FIG. 9 and FIG. Optical network unit, which will not be described here.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place. Or it can be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential to the prior art or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

Provided in an embodiment of the present invention are an Ethernet passive optical network communication method, device and system, capable of supporting a higher uplink rate, thus solving the problem of poor user experience resulting from insufficient bandwidth. The method comprises: an optical link terminal (OLT) transmits an uplink 2.5 G discovery window message; the OLT receives a registration request message transmitted by an optical network unit (ONU) supporting uplink 2.5 G according to the discovery window message; The OLT transmits to the ONU a registration message comprising a logical link identifier (LLID) allocated by the OLT for the ONU; the OLT receives a registration success message transmitted by the ONU. The Ethernet passive optical network of the embodiment of the present invention opens an uplink 2.5 G discovery window for an ONU via an OLT, so that the ONU supporting the uplink 2.5 G can complete registration and work at downlink 10 G/uplink 2.5 G, providing a higher uplink rate/bandwidth and thus improving user experience.

Description

以太网无源光网络的通信方法、 设备和系统 技术领域  Communication method, device and system for Ethernet passive optical network
本发明涉及光通信领域, 并且更具体地, 涉及一种以太网无源光网络的 通信方法、 设备和系统。 背景技术  The present invention relates to the field of optical communications, and more particularly to a communication method, apparatus and system for an Ethernet passive optical network. Background technique
以太网无源光网络( Ethernet Passive Optical Network, EPON )是一种新 型的光接入网技术, 它采用点到多点的结构、 通过无源光纤传输, 在以太网 之上提供多种业务。最初的 EPON可以提供上下行对称的 1.25 Gb/s( Giga bit per Second, 吉比特 /每秒) 的线路速率, 随着技术的发展, 目前的 EPON已 经升级到 10.3125Gb/s (筒称 10G )的下行线路速率, 即 10G EPON。 现有的 10G EPON的标准中定义了一种非对称模式,上行线路速率支持 1.25Gb/s(筒 称 1G ), 下行线路速率是 10.3125Gb/s; 下行 10G/上行 1G模式的上行线路 速率(带宽)仅 1.25G。 在目前的网络数据流量膨胀的情况下, 尤其是在光 纤到办公室 ( Fiber to the Office, FTTO ) 即政企接入的场景下, 存在大量的 对称流量数据业务, 例如视频实时监控等应用, 对上行带宽要求较大, 下行 10G/上行 1G模式由于上行带宽的不足, 将严重制约实际应用, 使得用户体 验降低。 发明内容  Ethernet Passive Optical Network (EPON) is a new type of optical access network technology that uses a point-to-multipoint architecture and transmits over passive optical fibers to provide multiple services over Ethernet. The original EPON can provide uplink and downlink symmetrical 1.25 Gb/s (Gigabit per Second) line rate. With the development of technology, the current EPON has been upgraded to 10.3125 Gb/s (10G) The downlink rate, ie 10G EPON. The existing 10G EPON standard defines an asymmetric mode, the uplink line rate supports 1.25Gb/s (1G), and the downlink rate is 10.3125Gb/s; the uplink 10G/uplink 1G mode uplink rate ( Bandwidth) is only 1.25G. In the current situation of network data traffic bloating, especially in the case of fiber to the office (FTTO), that is, the government and enterprise access, there are a large number of symmetric traffic data services, such as video real-time monitoring and other applications, The uplink bandwidth requirement is large. The downlink 10G/uplink 1G mode will seriously restrict the actual application due to the shortage of uplink bandwidth, which will reduce the user experience. Summary of the invention
本发明实施例提供一种以太网无源光网络的通信方法、 设备和系统, 能 够支持更高的上行线路速率, 从而解决带宽不足所导致的用户体验降低。  The embodiments of the present invention provide a communication method, device, and system for an Ethernet passive optical network, which can support a higher uplink rate, thereby reducing the user experience degradation caused by insufficient bandwidth.
第一方面,提供了一种通信方法, 包括: 光线路终端 OLT发送上行 2.5G 发现窗消息; 所述 OLT接收支持上行 2.5G的光网络单元 ONU根据所述发 现窗消息发送的注册请求消息; 所述 OLT向所述 ONU发送注册消息, 所述 注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; 所述 OLT 接收所述 ONU发送的注册成功消息。  The first aspect provides a communication method, including: the optical line terminal OLT sends an uplink 2.5G discovery window message; the OLT receives a registration request message sent by the optical network unit ONU supporting the uplink 2.5G according to the discovery window message; The OLT sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU; and the OLT receives a registration success message sent by the ONU.
结合第一方面, 在第一方面的第一种实现方式中, 所述 ONU的初始工 作模式为上行 2.5G, 所述 OLT接收到的注册请求消息, 包括: 用于指示所 述 ONU支持上行 2.5G的能力字段; 和用于指示所述 ONU当前请求注册为 上行 2.5G的请求字段。 With reference to the first aspect, in a first implementation manner of the first aspect, the initial working mode of the ONU is an uplink 2.5G, and the registration request message received by the OLT includes: a capability field of G; and indicating that the ONU is currently requesting registration as Upstream 2.5G request field.
结合第一方面及其上述实现方式, 在第一方面的第二种实现方式中, 所 述 ONU的初始工作模式为上行 1G, 所述 OLT接收到的注册请求消息, 包 括: 用于指示所述 ONU同时支持上行 1G和上行 2.5G的能力字段; 和用于 指示所述 ONU当前请求注册为上行 2.5G的请求字段。  With reference to the first aspect and the foregoing implementation manner, in a second implementation manner of the first aspect, the initial working mode of the ONU is an uplink 1G, and the registration request message received by the OLT includes: The ONU supports both the uplink 1G and uplink 2.5G capability fields; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
结合第一方面及其上述实现方式, 在第一方面的第三种实现方式中, 所 述 OLT接收支持上行 2.5G的光网络单元 ONU根据所述发现窗消息发送的 注册请求消息之后, 还包括: 根据所述注册请求消息的所述能力字段和所述 请求字段,确定分配给所述 ONU的 LLID、同步时间和激光器开关时间上限; 生成包含有所述 LLID、 同步时间和激光器开关时间上限的注册消息。  With reference to the first aspect and the foregoing implementation manner, in a third implementation manner of the first aspect, after the OLT receives the registration request message sent by the optical network unit ONU supporting the uplink 2.5G according to the discovery window message, Determining, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and an upper limit of a laser switching time allocated to the ONU; generating an LLID, a synchronization time, and an upper limit of a laser switching time. Registration message.
结合第一方面及其上述实现方式, 在第一方面的第四种实现方式中, 所 述 OLT接收所述 ONU发送的注册成功消息之后, 还包括: 在所述 LLID对 应的逻辑链路上与所述 ONU进行最大下行 10G/上行 2.5G的数据传输。  With reference to the first aspect and the foregoing implementation manner, in a fourth implementation manner of the first aspect, after the OLT receives the registration success message sent by the ONU, the method further includes: performing, on the logical link corresponding to the LLID, The ONU performs data transmission of a maximum downlink 10G/uplink 2.5G.
结合第一方面及其上述实现方式, 在第一方面的第五种实现方式中, 所 述 ONU的初始工作模式为上行 1G, 所述光线路终端 OLT发送上行 2.5G发 现窗消息之前, 还包括: 发送上行 1G发现窗消息; 接收所述 ONU根据所 述上行 1G发现窗消息发送的注册请求消息, 其中所述注册请求消息包括用 于指示所述 ONU支持上行 1G的能力字段和用于指示所述 ONU当前请求注 册为上行 1G的请求字段; 向所述 ONU发送注册消息, 所述注册消息包括 所述 OLT分配给所述 ONU的逻辑链路标识 LLID;接收所述 ONU发送的注 册成功消息, 以完成所述 ONU上行 1G的注册。  With reference to the first aspect and the foregoing implementation manner, in a fifth implementation manner of the first aspect, the initial working mode of the ONU is an uplink 1G, and the optical line terminal OLT includes before sending an uplink 2.5G discovery window message. Sending an uplink 1G discovery window message; receiving a registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports uplink 1G, and is used to indicate The ONU currently requests to register as a request field of the uplink 1G; and sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU; and receiving a registration success message sent by the ONU, To complete the registration of the ONU uplink 1G.
结合第一方面及其上述实现方式, 在第一方面的第六种实现方式中, 所 述接收所述 ONU发送的注册成功消息之后, 还包括: 向所述 ONU发送查 询消息, 以便于查询所述 ONU的上行发送能力; 接收所述 ONU发送的响 应消息,所述响应消息指示所述 ONU支持上行 1G和上行 2.5G;向所述 ONU 发送用于指示所述 ONU切换至上行 2.5G工作模式的指示消息,以使得所述 ONU切换至上行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复 位,以便于所述 ONU接收到所述 OLT发送的上行 2.5G发现窗时以上行 2.5G 注册。  With reference to the first aspect and the foregoing implementation manner, in a sixth implementation manner of the first aspect, after the receiving the registration success message sent by the ONU, the method further includes: sending a query message to the ONU, so as to query the location The uplink transmission capability of the ONU is received; the response message sent by the ONU is received, the response message indicates that the ONU supports uplink 1G and uplink 2.5G; and the ONU is sent to indicate that the ONU switches to the uplink 2.5G working mode. The indication message is such that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the uplink 2.5G discovery window sent by the OLT. G registration.
结合第一方面及其上述实现方式, 在第一方面的第七种实现方式中, 所 述 ONU支持下行 10G/上行 2.5G的工作模式,并且还支持下行 10G/上行 1G, 下行 10G/上行 10G和下行 1G/上行 1G中的至少一种工作模式。 In combination with the first aspect and the foregoing implementation manner, in a seventh implementation manner of the first aspect, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports a downlink 10G/uplink 1G, At least one of a downlink 10G/upstream 10G and a downlink 1G/uplink 1G.
第二方面, 提供了一种通信方法, 包括: 光网络单元 ONU接收光线路 终端 OLT发送的上行 2.5G发现窗消息, 其中所述 ONU支持上行 2.5G; 所 述 ONU根据所述上行 2.5G发现窗消息向所述 OLT发送注册请求消息; 所 述 ONU接收所述 OLT根据所述注册请求消息发送的注册消息,所述注册消 息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID;所述 ONU向所述 The second aspect provides a communication method, including: an optical network unit ONU receives an uplink 2.5G discovery window message sent by an optical line terminal OLT, where the ONU supports an uplink 2.5G; and the ONU finds according to the uplink 2.5G. The window message sends a registration request message to the OLT; the ONU receives a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; Said ONU to said
OLT发送注册成功消息。 The OLT sends a registration success message.
结合第二方面, 在第二方面的第一种实现方式中, 所述 ONU的初始工 作模式为上行 2.5G, 所述注册请求消息, 包括: 用于指示所述 ONU支持上 行 2.5G的能力字段; 和用于指示所述 ONU当前请求注册为上行 2.5G的请 求字段。  With reference to the second aspect, in a first implementation manner of the second aspect, the initial working mode of the ONU is an uplink 2.5G, and the registration request message includes: an capability field for indicating that the ONU supports an uplink 2.5G And a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
结合第二方面及其上述实现方式, 在第二方面的第二种实现方式中, 所 述 ONU的初始工作模式为上行 1G,所述 ONU根据所述上行 2.5G发现窗消 息向所述 OLT发送注册请求消息之前, 还包括: 根据所述上行 2.5G发现窗 消息将工作模式切换为上行 2.5G;并且生成携带有能力字段和请求字段的注 册请求消息, 其中所述能力字段指示所述 ONU 同时支持上行 1G 和上行 2.5G, 所述请求字段指示所述 ONU当前请求注册为上行 2.5G。  With reference to the second aspect and the foregoing implementation manner, in a second implementation manner of the second aspect, the initial working mode of the ONU is uplink 1G, and the ONU sends the uplink 2.5G discovery window message to the OLT according to the uplink Before the registration request message, the method further includes: switching the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and generating a registration request message carrying the capability field and the request field, where the capability field indicates that the ONU is simultaneously Supporting uplink 1G and uplink 2.5G, the request field indicates that the ONU currently requests registration as an uplink 2.5G.
结合第二方面及其上述实现方式, 在第二方面的第三种实现方式中, 所 述注册消息包含所述 OLT分配给所述 ONU的 LLID、 同步时间和激光器开 关时间上限。  In conjunction with the second aspect and the foregoing implementation manner, in a third implementation manner of the second aspect, the registration message includes an LLID, a synchronization time, and an upper limit of a laser switch time allocated by the OLT to the ONU.
结合第二方面及其上述实现方式, 在第二方面的第四种实现方式中, 所 述 ONU向所述 OLT发送注册成功消息之后, 还包括: 在所述 LLID对应的 逻辑链路上与所述 OLT进行最大下行 10G /上行 2.5G的数据传输。  With reference to the second aspect and the foregoing implementation manner, in a fourth implementation manner of the second aspect, after the ONU sends the registration success message to the OLT, the method further includes: performing, on the logical link corresponding to the LLID The OLT performs maximum downlink 10G/uplink 2.5G data transmission.
结合第二方面及其上述实现方式, 在第二方面的第五种实现方式中, 光 网络单元 ONU接收光线路终端 OLT发送的上行 2.5G发现窗消息之前, 还 包括: 接收所述 OLT发送的上行 1G发现窗消息; 根据所述上行 1G发现窗 消息向所述 OLT发送注册请求消息, 其中所述注册请求消息包括用于指示 所述 ONU支持上行 1G的能力字段和用于指示所述 ONU当前请求注册为上 行 1G的请求字段; 接收所述 OLT根据所述注册请求消息发送的注册消息, 所述注册消息包括所述 OLT分配给所述 ONU的 LLID; 向所述 OLT发送注 册成功消息, 以完成所述 ONU上行 1G的注册。 结合第二方面及其上述实现方式, 在第二方面的第六种实现方式中, 所 述向所述 OLT发送注册成功消息之后, 还包括: 接收所述 OLT发送的用于 查询所述 ONU的上行发送能力的查询消息; 向所述 OLT发送用于指示所述 ONU支持上行 1G和上行 2.5G的响应消息; 接收所述 OLT发送的指示所述 ONU切换至上行 2.5G工作模式的指示消息; 根据所述指示消息切换至上行 2.5G工作模式并且记录当前工作模式为 2.5G; 下线复位并且再次上线后, 等待所述 OLT发送的所述上行 2.5G发现窗消息。 With reference to the second aspect and the foregoing implementation manner, in a fifth implementation manner of the second aspect, before the optical network unit ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, the method further includes: receiving, by the OLT, An uplink 1G discovery window message is sent to the OLT according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports uplink 1G, and is used to indicate that the ONU is currently Requesting registration as an uplink 1G request field; receiving a registration message sent by the OLT according to the registration request message, the registration message includes an LLID assigned by the OLT to the ONU; sending a registration success message to the OLT, The registration of the ONU uplink 1G is completed. With reference to the second aspect and the foregoing implementation manner, in a sixth implementation manner of the second aspect, after the sending the registration success message to the OLT, the method further includes: receiving, by the OLT, a query for querying the ONU And the OLT sends a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G; and receives an indication message sent by the OLT to indicate that the ONU switches to the uplink 2.5G working mode; Switching to the uplink 2.5G working mode according to the indication message and recording the current working mode as 2.5G; waiting for the uplink 2.5G discovery window message sent by the OLT after the offline reset and online again.
结合第二方面及其上述实现方式, 在第二方面的第七种实现方式中, 所 述 ONU支持下行 10G/上行 2.5G的工作模式,并且还支持下行 10G/上行 1G, 下行 10G /上行 10G和下行 1G/上行 1G中的至少一种工作模式。  With reference to the second aspect and the foregoing implementation manner, in the seventh implementation manner of the second aspect, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
第三方面,提供了一种光线路终端,包括:发送单元,用于发送上行 2.5G 发现窗消息; 接收单元, 用于接收支持上行 2.5G的光网络单元 ONU根据所 述发现窗消息发送的注册请求消息; 所述发送单元用于向所述 ONU发送注 册消息, 所述注册消息包括所述 OLT 分配给所述 ONU 的逻辑链路标识 LLID; 所述接收单元用于接收所述 ONU发送的注册成功消息。  The third aspect provides an optical line terminal, including: a sending unit, configured to send an uplink 2.5G discovery window message, and a receiving unit, configured to receive, by the optical network unit ONU supporting the uplink 2.5G, according to the discovery window message. a registration request message; the sending unit is configured to send a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; the receiving unit is configured to receive the sending by the ONU Registration success message.
结合第三方面, 在第三方面的第一种实现方式中, 所述 ONU的初始工 作模式为上行 2.5G, 所述接收单元接收到的注册请求消息, 包括: 用于指示 所述 ONU支持上行 2.5G的能力字段; 和用于指示所述 ONU当前请求注册 为上行 2.5G的请求字段。  With reference to the third aspect, in a first implementation manner of the third aspect, the initial working mode of the ONU is an uplink 2.5G, and the receiving request message received by the receiving unit includes: a capability field of 2.5G; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
结合第三方面及其上述实现方式, 在第三方面的第二种实现方式中, 所 述 ONU的初始工作模式为上行 1G, 所述接收单元接收到的注册请求消息, 包括: 用于指示所述 ONU同时支持上行 1G和上行 2.5G的能力字段; 和用 于指示所述 ONU当前请求注册为上行 2.5G的请求字段。  With reference to the third aspect and the foregoing implementation manner, in a second implementation manner of the third aspect, the initial working mode of the ONU is an uplink 1G, and the receiving request message received by the receiving unit includes: The ONU supports both the uplink 1G and uplink 2.5G capability fields; and a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
结合第三方面及其上述实现方式, 在第三方面的第三种实现方式中, 所 述光线路终端还包括确定单元, 所述确定单元用于: 根据所述注册请求消息 的所述能力字段和所述请求字段,确定分配给所述 ONU的 LLID、 同步时间 和激光器开关时间上限; 生成包含有所述 LLID、 同步时间和激光器开关时 间上限的注册消息。  With reference to the third aspect and the foregoing implementation manner, in a third implementation manner of the third aspect, the optical line terminal further includes a determining unit, where the determining unit is configured to: according to the capability field of the registration request message And the request field, determining an LLID, a synchronization time, and a laser switch time upper limit allocated to the ONU; generating a registration message including the LLID, the synchronization time, and the laser switch time upper limit.
结合第三方面及其上述实现方式, 在第三方面的第四种实现方式中, 所 述发送单元和所述接收单元还用于: 在所述 LLID对应的逻辑链路上与所述 ONU进行最大下行 10G/上行 2.5G的数据传输。 结合第三方面及其上述实现方式, 在第三方面的第五种实现方式中, 所 述 ONU的初始工作模式为上行 1G, 所述发送单元还用于: 发送上行 1G发 现窗消息; 所述接收单元还用于接收所述 ONU根据所述上行 1G发现窗消 息发送的注册请求消息, 其中所述注册请求消息包括用于指示所述 ONU支 持上行 1G的能力字段和用于指示所述 ONU当前请求注册为上行 1G的请求 字段; 所述发送单元还用于向所述 ONU发送注册消息, 所述注册消息包括 所述 OLT分配给所述 ONU的逻辑链路标识 LLID; 所述接收单元还用于接 收所述 ONU发送的注册成功消息, 以完成所述 ONU上行 1G的注册。 With reference to the third aspect and the foregoing implementation manner, in a fourth implementation manner of the third aspect, the sending unit and the receiving unit are further configured to: perform, on the logical link corresponding to the LLID, with the ONU Maximum downlink 10G/uplink 2.5G data transmission. With the third aspect and the foregoing implementation manner, in a fifth implementation manner of the third aspect, the initial working mode of the ONU is an uplink 1G, and the sending unit is further configured to: send an uplink 1G discovery window message; The receiving unit is further configured to receive a registration request message that is sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports the uplink 1G, and is used to indicate that the ONU is currently Requesting to register as a request field of the uplink 1G; the sending unit is further configured to send a registration message to the ONU, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU; Receiving a registration success message sent by the ONU to complete registration of the ONU uplink 1G.
结合第三方面及其上述实现方式, 在第三方面的第六种实现方式中, 所 述发送单元还用于: 向所述 ONU发送查询消息, 以便于查询所述 ONU的 上行发送能力; 通过所述接收单元接收所述 ONU发送的响应消息, 所述响 应消息指示所述 ONU支持上行 1G和上行 2.5G;向所述 ONU发送用于指示 所述 ONU切换至上行 2.5G工作模式的指示消息, 以使得所述 ONU切换至 上行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复位, 以便于所 述 ONU接收到所述 OLT发送的上行 2.5G发现窗时以上行 2.5G注册。  With the third aspect and the foregoing implementation manner, in a sixth implementation manner of the third aspect, the sending unit is further configured to: send a query message to the ONU, so as to query an uplink sending capability of the ONU; The receiving unit receives a response message sent by the ONU, where the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G; and sends an indication message to the ONU to indicate that the ONU switches to the uplink 2.5G working mode. So that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the 2.5G registration when the uplink 2.5G discovery window sent by the OLT is received.
结合第三方面及其上述实现方式, 在第三方面的第七种实现方式中, 所 述 ONU支持下行 10G/上行 2.5G的工作模式,并且还支持下行 10G/上行 1G, 下行 10G/上行 10G和下行 1G/上行 1G中的至少一种工作模式。  In combination with the third aspect and the foregoing implementation manner, in the seventh implementation manner of the third aspect, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
第四方面, 提供了一种光网络单元, 包括: 接收单元, 用于接收光线路 终端 OLT发送的上行 2.5G发现窗消息, 其中所述 ONU支持上行 2.5G; 发 送单元,用于根据所述上行 2.5G发现窗消息向所述 OLT发送注册请求消息; 所述接收单元用于接收所述 OLT根据所述注册请求消息发送的注册消息, 所述注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; 所述 发送单元用于向所述 OLT发送注册成功消息。  The fourth aspect provides an optical network unit, including: a receiving unit, configured to receive an uplink 2.5G discovery window message sent by an optical line terminal OLT, where the ONU supports an uplink 2.5G, and a sending unit, configured to The uplink 2.5G discovery window message sends a registration request message to the OLT; the receiving unit is configured to receive a registration message sent by the OLT according to the registration request message, where the registration message includes the OLT assigning to the ONU The logical link identifies the LLID; the sending unit is configured to send a registration success message to the OLT.
结合第四方面, 在第四方面的第一种实现方式中, 所述 ONU的初始工 作模式为上行 2.5G, 所述注册请求消息, 包括: 用于指示所述 ONU支持上 行 2.5G的能力字段; 和用于指示所述 ONU当前请求注册为上行 2.5G的请 求字段。  With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the initial working mode of the ONU is an uplink 2.5G, and the registration request message includes: an capability field for indicating that the ONU supports an uplink 2.5G And a request field for indicating that the ONU is currently requesting registration as an uplink 2.5G.
结合第四方面及其上述实现方式, 在第四方面的第二种实现方式中, 所 述 ONU的初始工作模式为上行 1G,所述 ONU还包括切换单元和生成单元, 所述切换单元用于: 根据所述上行 2.5G发现窗消息将工作模式切换为上行 2.5G; 并且所述生成单元用于生成携带有能力字段和请求字段的注册请求消 息, 其中所述能力字段指示所述 ONU同时支持上行 1G和上行 2.5G, 所述 请求字段指示所述 ONU当前请求注册为上行 2.5G。 With reference to the fourth aspect and the foregoing implementation manner, in a second implementation manner of the fourth aspect, the initial working mode of the ONU is an uplink 1G, where the ONU further includes a switching unit and a generating unit, where the switching unit is used by : Switching the working mode to uplink according to the uplink 2.5G discovery window message 2.5G; and the generating unit is configured to generate a registration request message carrying a capability field and a request field, where the capability field indicates that the ONU supports both uplink 1G and uplink 2.5G, and the request field indicates that the ONU is currently Request to register as an upstream 2.5G.
结合第四方面及其上述实现方式, 在第四方面的第三种实现方式中, 所 述注册消息包含所述 OLT分配给所述 ONU的 LLID、 同步时间和激光器开 关时间上限。  In conjunction with the fourth aspect and the foregoing implementation manner, in a third implementation manner of the fourth aspect, the registration message includes an LLID, a synchronization time, and an upper limit of a laser switch time allocated by the OLT to the ONU.
结合第四方面及其上述实现方式, 在第四方面的第四种实现方式中, 所 述发送单元和所述接收单元还用于: 在所述 LLID对应的逻辑链路上与所述 OLT进行最大下行 10G /上行 2.5G的数据传输。  With reference to the fourth aspect and the foregoing implementation manner, in a fourth implementation manner of the fourth aspect, the sending unit and the receiving unit are further configured to: perform, on the logical link corresponding to the LLID, with the OLT Maximum downlink 10G / uplink 2.5G data transmission.
结合第四方面及其上述实现方式, 在第四方面的第五种实现方式中, 所 述接收单元还用于: 接收所述 OLT发送的上行 1G发现窗消息; 所述发送单 元还用于根据所述上行 1G发现窗消息向所述 OLT发送注册请求消息,其中 所述注册请求消息包括用于指示所述 ONU支持上行 1G的能力字段和用于 指示所述 ONU当前请求注册为上行 1G的请求字段; 所述接收单元还用于 接收所述 OLT根据所述注册请求消息发送的注册消息, 所述注册消息包括 所述 OLT分配给所述 ONU的 LLID; 所述发送单元还用于向所述 OLT发送 注册成功消息, 以完成所述 ONU上行 1G的注册。  With reference to the fourth aspect and the foregoing implementation manner, in a fifth implementation manner of the fourth aspect, the receiving unit is further configured to: receive an uplink 1G discovery window message sent by the OLT; The uplink 1G discovery window message sends a registration request message to the OLT, where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G, and a request for indicating that the ONU currently requests to register as the uplink 1G. The receiving unit is further configured to receive a registration message that is sent by the OLT according to the registration request message, where the registration message includes an LLID that is allocated by the OLT to the ONU, and the sending unit is further configured to The OLT sends a registration success message to complete the registration of the ONU uplink 1G.
结合第四方面及其上述实现方式, 在第四方面的第六种实现方式中, 所 述 ONU还包括记录单元和复位单元, 所述接收单元还用于: 接收所述 OLT 发送的用于查询所述 ONU的上行发送能力的查询消息; 所述发送单元还用 于向所述 OLT发送用于指示所述 ONU支持上行 1G和上行 2.5G的响应消息; 所述接收单元还用于接收所述 OLT发送的指示所述 ONU切换至上行 2.5G 工作模式的指示消息;所述记录单元用于根据所述指示消息切换至上行 2.5G 工作模式并且记录当前工作模式为 2.5G;所述复位单元用于下线复位并且再 次上线后, 等待所述 OLT发送的所述上行 2.5G发现窗消息。  With reference to the fourth aspect and the foregoing implementation manner, in a sixth implementation manner of the fourth aspect, the ONU further includes a recording unit and a reset unit, where the receiving unit is further configured to: receive the OLT sent for query And the sending unit is further configured to send, to the OLT, a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G, where the sending unit is further configured to receive the An indication message sent by the OLT to indicate that the ONU switches to an uplink 2.5G working mode; the recording unit is configured to switch to an uplink 2.5G working mode according to the indication message and record a current working mode of 2.5G; After the offline is reset and goes online again, the uplink 2.5G discovery window message sent by the OLT is awaited.
结合第四方面及其上述实现方式, 在第四方面的第七种实现方式中, 所 述 ONU支持下行 10G/上行 2.5G的工作模式,并且还支持下行 10G/上行 1G, 下行 10G /上行 10G和下行 1G/上行 1G中的至少一种工作模式。  With reference to the fourth aspect and the foregoing implementation manner, in the seventh implementation manner of the fourth aspect, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports downlink 10G/uplink 1G, downlink 10G/uplink 10G. And at least one of the downlink 1G/uplink 1G modes of operation.
第五方面, 提供了一种以太网无源光网络系统, 包括: 光线路终端, 光 连接,其中,所述光线路终端包括如上述第三方面所述的任意一光线路终端, 所述光网络单元包括如上述第四方面所述的任意一光网络单元。 The fifth aspect provides an Ethernet passive optical network system, including: an optical line terminal, an optical connection, where the optical line terminal includes any optical line terminal according to the foregoing third aspect, The optical network unit includes any one of the optical network units as described in the above fourth aspect.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 附图说明  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. Obviously, the drawings described below are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是本发明一个实施例的以太网无源光网络系统的架构图;  1 is a block diagram of an Ethernet passive optical network system according to an embodiment of the present invention;
图 2是本发明一个实施例的以太网无源光网络的通信方法的流程图; 图 3是本发明一个实施例的以太网无源光网络的通信方法的流程图; 图 4是本发明一个实施例的光网络单元上线注册的流程图;  2 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention; FIG. 3 is a flowchart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention; A flowchart of online registration of an optical network unit of an embodiment;
图 5是本发明一个实施例的光网络单元上线注册的流程图;  FIG. 5 is a flowchart of online registration of an optical network unit according to an embodiment of the present invention; FIG.
图 6是本发明一个实施例的光网络单元上线注册的流程图;  6 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention;
图 7是本发明一个实施例的光网络单元上线注册的流程图;  7 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention;
图 8是本发明一个实施例的光线路终端的示意框图;  Figure 8 is a schematic block diagram of an optical line terminal in accordance with one embodiment of the present invention;
图 9是本发明一个实施例的光网络单元的示意框图;  9 is a schematic block diagram of an optical network unit according to an embodiment of the present invention;
图 10是本发明另一实施例的光线路终端的示意框图;  Figure 10 is a schematic block diagram of an optical line terminal according to another embodiment of the present invention;
图 11是本发明另一实施例的光网络单元的示意框图。 具体实施方式  11 is a schematic block diagram of an optical network unit in accordance with another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
图 1是本发明一个实施例的以太网无源光网络系统的架构图。  1 is a block diagram of an Ethernet passive optical network system according to an embodiment of the present invention.
以太网无源光网给( Ethernet Passive Optical Network, EPON )系统通常 由局端的光线路终端 (Optical Line Terminal, OLT ), 光配线网络(Optical Distribution Network , ODN ) 和用户端的光网络终端 ( Optical Network Terminal, ONT ) /光网络单元( Optical Network Unit, ONU )组成。 为了方 统称为 ONU。 The Ethernet Passive Optical Network (EPON) system usually consists of an optical line terminal (OLT) at the central office, an optical distribution network (ODN), and an optical network terminal at the user end. Network Terminal, ONT) / Optical Network Unit (ONU). For the sake of the unit, it is called ONU.
10G EPON OLT通过多点控制协议( Multi-Point Control Protocol, MPCP ) 可以实现对多种类型 ONU的接入和控制,即支持下行 1G/上行 1G、下行 10G/ 上行 1G、 下行 10G/上行 2.5G以及下行 10G/上行 10G的 ONU的接入和控 制。 一个 ONU可以同时支持上述四种工作模式中的一种或者多种。 通常来 说, 支持多种工作模式的 ONU会在上线注册时与 OLT确定并且维持一种工 作模式, ONU的工作模式切换需要通过 ONU的下线复位并重新上线注册为 另一种工作模式来实现,也可以在 ONU在线时由 OLT发起特殊的工作模式 切换过程使得 ONU完成工作模式的切换。  The 10G EPON OLT can access and control multiple types of ONUs through the Multi-Point Control Protocol (MPCP), that is, support downlink 1G/uplink 1G, downlink 10G/uplink 1G, downlink 10G/uplink 2.5G. And access and control of the downstream 10G/upstream 10G ONU. An ONU can support one or more of the above four modes of operation. Generally speaking, an ONU that supports multiple working modes will determine and maintain a working mode with the OLT when registering online. The ONU working mode switching needs to be reset by the ONU and re-registered for another working mode. It is also possible to initiate a special working mode switching process by the OLT when the ONU is online, so that the ONU completes the switching of the working mode.
图 1 实例性地示出了本发明一个实施例的 EPON 系统的架构图, 包括 OLT ODN、传统 ONU (下行 1G/上行 1G )、 下行 10G/上行 1G和下行 10G/ 上行 2.5G双工作模式 ONU和下行 10G/上行 10G ONU等。 应理解, ONU 可以支持上述四种工作模式中的至少一种, 也就是说, 实际 EPON系统中的 ONU并不止图 1中示出的 3种, 实际 EPON系统中可以有多个支持不同工 作模式及工作模式组合的 ONU, 本发明对此并不限定。  FIG. 1 is a block diagram showing an architecture of an EPON system according to an embodiment of the present invention, including an OLT ODN, a legacy ONU (downlink 1G/uplink 1G), a downlink 10G/uplink 1G, and a downlink 10G/uplink 2.5G dual working mode ONU. And downlink 10G / uplink 10G ONU and so on. It should be understood that the ONU can support at least one of the above four working modes, that is, the ONUs in the actual EPON system are not limited to the three types shown in FIG. 1, and the actual EPON system can have multiple supporting different working modes. The ONU combined with the working mode is not limited by the present invention.
如图所示, OLT到 ONU的下行线路速率为 10.3125G, 波长为 1577nm, EPON ONU到 OLT的上行线路速率为 1.25G, 波长为 1310nm, 下行 10G/ 上行 1G和下行 10G/上行 2.5G双工作模式 ONU到 OLT的上行线路速率为 1.25G或 2.5G (取决于该 ONU当前的工作模式 ), 两种工作模式的波长都为 1310  As shown in the figure, the downlink rate of the OLT to the ONU is 10.3125G, the wavelength is 1577nm, the uplink speed of the EPON ONU to the OLT is 1.25G, the wavelength is 1310nm, and the downlink 10G/uplink 1G and downlink 10G/uplink 2.5G dual work The uplink rate of the mode ONU to the OLT is 1.25G or 2.5G (depending on the current working mode of the ONU), and the wavelengths of the two working modes are 1310.
支持下行 10G/上行 2.5G 工作模式的 ONU 由于其工作波长仍然为 1310nm,其光模块的激光器可以采用较低成本的激光器,例如法不里 -珀罗 激光器( Fabry-Perot Laser, FP )或者分布示反馈激光器( Distributed Feedback Laser , DFB )等等。  An ONU that supports the downstream 10G/uplink 2.5G mode of operation, because its operating wavelength is still 1310nm, the laser of its optical module can use a lower cost laser, such as Fabry-Perot Laser (FP) or distribution. Display Feedback Laser (DFB) and so on.
OLT通过 MPCP实现对多种类型 ONU的接入和控制, 因此对于下行 上行 2.5G ONU实现接入和控制。  The OLT implements access and control of multiple types of ONUs through MPCP, so access and control are implemented for the downlink uplink 2.5G ONU.
下行 10G/上行 1G和下行 10G/上行 2.5G双工作模式 ONU可以根据实 际业务需求, 或者 OLT的控制来进行工作模式的切换。 图 2是本发明一个实施例的以太网无源光网络的通信方法的流程图。 图 2的方法由光线路终端 OLT执行。 The downlink 10G/uplink 1G and downlink 10G/uplink 2.5G dual working mode ONUs can switch the working mode according to actual service requirements or OLT control. 2 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention. The method of Figure 2 is performed by an optical line termination OLT.
201 , OLT发送上行 2.5G发现窗消息。  201. The OLT sends an uplink 2.5G discovery window message.
202, OLT接收支持上行 2.5G的光网络单元 ONU根据发现窗消息发送 的注册请求消息。  202. The OLT receives a registration request message that is sent by the ONU according to the discovery window message.
203, OLT向 ONU发送注册消息,注册消息包括 OLT分配给 ONU的逻 辑链路标识 LLID。  203. The OLT sends a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU.
204, OLT接收 ONU发送的注册成功消息。  204. The OLT receives a registration success message sent by the ONU.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
可选地, 作为一个实施例, ONU的初始工作模式为上行 2.5G, OLT接 收到的注册请求消息, 包括: 用于指示 ONU支持上行 2.5G的能力字段; 和 用于指示 ONU当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is an uplink 2.5G, and the registration request message received by the OLT includes: an capability field for indicating that the ONU supports the uplink 2.5G; and indicating that the ONU currently requests to register as Upstream 2.5G request field.
具体地, 要接入网络中的 ONU需要完成发现和注册过程, OLT会定期 或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为刚上线还没有注 册的 ONU提供注册的机会。 这里 OLT发送的为上行 2.5G发现窗消息, 也 就是说允许支持上行 2.5G的 ONU注册, ONU可以为下行 10G/上行 2.5G的 ONU, 也可以为支持上行 2.5G的多工作模式 ONU, 在其初始默认工作模式 为下行 10G/上行 2.5G的情况下, 当接收到 OLT的上行 2.5G发现窗消息, 支持上行 2.5G的 ONU可以向 OLT发送注册请求消息来响应该发现窗消息 并且向 OLT指示其希望进行接入注册, 也就是说, 该注册请求消息可以包 括表示 ONU支持上行 2.5G的能力字段以及请求进行注册的请求字段,更具 体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的扩展字段来向 OLT指示。  Specifically, the ONU needs to complete the discovery and registration process. The OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, and provides an opportunity for the ONU that has not been registered yet to register. Here, the OLT sends an uplink 2.5G discovery window message, which means that the ONU registration of the uplink 2.5G is allowed. The ONU can be an ONU of the downlink 10G/uplink 2.5G, or an ONU of the multi-operation mode supporting the uplink 2.5G. When the initial default working mode is downlink 10G/uplink 2.5G, when receiving the uplink 2.5G discovery window message of the OLT, the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT. Instructing it to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field for requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP. The extension field is indicated to the OLT.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, OLT接收 到的注册请求消息, 包括: 用于指示 ONU同时支持上行 1G和上行 2.5G的 能力字段; 和用于指示 ONU当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and the registration request message received by the OLT includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and is used to indicate the current ONU Request to register as an uplink 2.5G request field.
这里, ONU为支持下行 10G/上行 2.5G的多工作模式的 ONU, 即在支 持 2.5G的同时, 还可以支持下行 1G/上行 1G以及下行 10G/上行 10G等其 他工作模式。 在 ONU的初始默认工作模式为下行 10G/上行 1G的情况下, 当接收到 OLT的上行 2.5G发现窗消息,该支持上行 2.5G的多工作模式 ONU 可以向 OLT发送注册请求消息来响应该发现窗消息并且向 OLT指示其希望 进行接入注册,也就是说,该注册请求消息可以包括表示 ONU支持上行 2.5G 以及其他工作模式的能力字段以及请求进行上行 2.5G注册的请求字段, 更 具体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的扩展字段来 向 OLT指示。应理解,在默认工作在上行 1G的 ONU接收到 2.5G发现窗后, 该 ONU可以根据 2.5G发现窗将工作模式切换到 2.5G, 以便于在后续注册 的交互过程中以 2.5G上行线路速率与 OLT进行通信。 Here, the ONU is an ONU that supports a multi-operation mode of downlink 10G/uplink 2.5G, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G. In the case where the initial default working mode of the ONU is downlink 10G/uplink 1G, When receiving the uplink 2.5G discovery window message of the OLT, the multi-working mode ONU supporting the uplink 2.5G may send a registration request message to the OLT in response to the discovery window message and indicate to the OLT that it wishes to perform access registration, that is, The registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, and more specifically, may be extended by an extension field in the registration request message (Register_Req) of the MPCP. Indicated by the OLT. It should be understood that after the ONU that works by default in the uplink 1G receives the 2.5G discovery window, the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
可选地, 作为一个实施例, 步骤 202之后还包括: 根据注册请求消息的 能力字段和请求字段, 确定分配给 ONU的 LLID、 同步时间和激光器开关时 间上限; 生成包含有 LLID、 同步时间和激光器开关时间上限的注册消息。 OLT在接收到注册请求消息后, 可以根据该消息为 ONU分配 LLID , 即为 ONU分配逻辑链路,此外还可以通过该消息向 ONU发送同步时间和激光器 开关时间上限, 以便于完成 ONU与 OLT的同步校准, 以及限定 ONU激光 器开关时间的上限, 避免该 ONU的上行传输与其他 ONU的上行传输发生 沖突, 提高效率。  Optionally, as an embodiment, after step 202, the method further includes: determining, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and a laser switch time upper limit allocated to the ONU; generating the LLID, the synchronization time, and the laser Registration message for the upper limit of the switch time. After receiving the registration request message, the OLT can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and further send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT. Synchronous calibration, and limiting the upper limit of the ONU laser switching time, to avoid the upstream transmission of the ONU conflict with the uplink transmission of other ONUs, improving efficiency.
可选地, 作为一个实施例, 步骤 204之后还包括: 在 LLID对应的逻辑 链路上与 ONU进行最大下行 10G/上行 2.5G的数据传输。  Optionally, as an embodiment, after the step 204, the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
具体地, ONU在接收到 OLT分配的 LLID后, 可以将 LLID存入 ONU 的寄存器中, 至此, ONU与 OLT之间的逻辑链路建立成功, 之后 ONU可 以通过该逻辑链路向 OLT发送注册成功消息 (Register_Ack), OLT接收到这 个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过程中根据 OLT赋予的上行发送授权通过逻辑链路以最大 2.5G的上行速率进行数据传 输。  Specifically, after receiving the LLID allocated by the OLT, the ONU can store the LLID in the register of the ONU. The logical link between the ONU and the OLT is successfully established, and then the ONU can successfully send the registration to the OLT through the logical link. The message (Register_Ack), after receiving the acknowledgment message, the OLT indicates that the registration process of the ONU has been completed, and the ONU performs data transmission at a maximum uplink rate of 2.5G through the logical link according to the uplink transmission authorization given by the OLT in the subsequent process.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, 步骤 201 之前还包括: 发送上行 1G发现窗消息; 接收 ONU根据上行 1G发现窗消息 发送的注册请求消息, 其中注册请求消息包括用于指示 ONU 支持上行 1G 的能力字段和用于指示 ONU当前请求注册为上行 1G的请求字段; 向 ONU 发送注册消息, 注册消息包括 OLT分配给 ONU的逻辑链路标识 LLID; 接 收 ONU发送的注册成功消息, 以完成 ONU上行 1G的注册。  Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and before step 201, the method further includes: sending an uplink 1G discovery window message; receiving a registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes The capability field for indicating that the ONU supports the uplink 1G and the request field for indicating that the ONU currently requests to register as the uplink 1G; sending a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU; receiving the registration sent by the ONU A success message to complete the registration of the ONU upstream 1G.
对于多工作模式的 ONU, 可以先以上行 1G的工作模式进行注册, 即, 响应 OLT发送的上行 1G发现窗消息, 接受 OLT分配的 LLID, 完成 1G注 册并在 LLID对应的逻辑链路上以最大 1G的上行速率进行数据传输。 而后 承接步骤 201 , 当该 ONU接收到 OLT发送的上行 2.5G发现窗消息,可以根 据实际的业务需求确定是否切换到上行 2.5G的工作模式, 如果确定进行切 换, 则响应上行 2.5G发现窗消息以完成上行 2.5G注册, 如果维持当前工作 模式则可以不响应上行 2.5G发现窗消息。 For an ONU with multiple working modes, you can register with the working mode of the above 1G, that is, In response to the uplink 1G discovery window message sent by the OLT, the LLID assigned by the OLT is accepted, the 1G registration is completed, and data transmission is performed at an uplink rate of 1 GG on the logical link corresponding to the LLID. Then, in step 201, when the ONU receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service requirement, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window message. To complete the uplink 2.5G registration, if the current working mode is maintained, the uplink 2.5G discovery window message may not be responded to.
可选地, 作为一个实施例, 步骤 204之后还包括: 向 ONU发送查询消 息, 以便于查询 ONU的上行发送能力; 接收 ONU发送的响应消息, 响应 消息指示 ONU支持上行 1G和上行 2.5G; 向 ONU发送用于指示 ONU切换 至上行 2.5G工作模式的指示消息, 以使得 ONU切换至上行 2.5G工作模式 并且记录当前工作模式为 2.5G并且下线复位, 以便于 ONU接收到 OLT发 送的上行 2.5G发现窗时以上行 2.5G注册。  Optionally, as an embodiment, after the step 204, the method further includes: sending an inquiry message to the ONU, so as to query the uplink transmission capability of the ONU; receiving a response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G; The ONU sends an indication message for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the uplink 2.5 sent by the OLT. When G finds the window, it will register 2.5G above.
多工作模式的 ONU首先以上行 1G的工作模式完成注册, 之后 OLT可 以发起上行能力查询,来查询 ONU的上行速率与用户配置的速率是否一致。 具体地可以通过操作管理维护 ( Operation Administration and Maintenance, OAM )功能向 ONU发送上行发送能力查询消息, 之后多工作模式的 ONU 将其支持的上行发送能力通过响应消息发送给 OLT, 例如向 OLT指示该 ONU支持上行 1G以及上行 2.5G, OLT接收到该响应消息后可以指示 ONU 切换至上行 2.5G的工作模式。 ONU接收到 OLT的指示后可以记录当前的工 作模式为上行 2.5G,在获得 OLT的确认后可以切换到上行 2.5G的工作模式, 并且进行设备复位, 使得 ONU下线。 ONU复位完成后, 当接收到 OLT发 送的上行 2.5G发现窗, 则进行响应并完成上行 2.5G注册。 至此, ONU由 上行 1G切换至上行 2.5G的过程完成。 此外, 在 ONU上行 2.5G注册完成 后, OLT还可以再次发起上行能力查询, 来确定 ONU当前的上行速率与用 户配置的速率是否一致, 本发明对此并不限定。  The ONU of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, the uplink transmission capability query message may be sent to the ONU by using the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-work mode sends the supported uplink transmission capability to the OLT through a response message, for example, indicating to the OLT. The ONU supports the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT can instruct the ONU to switch to the uplink 2.5G working mode. After receiving the indication from the OLT, the ONU can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the working mode of the uplink 2.5G, and reset the device to make the ONU go offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT is received, the response is completed and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
可选地, 作为一个实施例, ONU支持下行 10G/上行 2.5G的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G/上行 10G和下行 1G/上行 1G中的 至少一种工作模式。  Optionally, as an embodiment, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。 The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. In addition, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
图 3是本发明一个实施例的以太网无源光网络的通信方法的流程图。 图 3的方法由光网络单元 ONU执行。  3 is a flow chart of a communication method of an Ethernet passive optical network according to an embodiment of the present invention. The method of Figure 3 is performed by the optical network unit ONU.
301 , ONU接收光线路终端 OLT发送的上行 2.5G发现窗消息,其中 ONU 支持上行 2.5G。  301. The ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports the uplink 2.5G.
302, ONU根据上行 2.5G发现窗消息向 OLT发送注册请求消息。  302. The ONU sends a registration request message to the OLT according to the uplink 2.5G discovery window message.
303, ONU接收 OLT根据注册请求消息发送的注册消息,注册消息包括 OLT分配给 ONU的逻辑链路标识 LLID。  303. The ONU receives a registration message sent by the OLT according to the registration request message, where the registration message includes a logical link identifier LLID allocated by the OLT to the ONU.
304 , ONU向 OLT发送注册成功消息。  304. The ONU sends a registration success message to the OLT.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience.
可选地, 作为一个实施例, ONU的初始工作模式为上行 2.5G, 注册请 求消息, 包括: 用于指示 ONU支持上行 2.5G的能力字段;和用于指示 ONU 当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is an uplink 2.5G, and the registration request message includes: an capability field for indicating that the ONU supports the uplink 2.5G; and an indication that the ONU currently requests to register as the uplink 2.5G. Request field.
具体地, 要接入网络中的 ONU需要完成发现和注册过程, OLT中的发 现模块会定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为刚 上线还没有注册的 ONU提供注册的机会。 这里 OLT发送的为上行 2.5G发 现窗消息,也就是说允许支持上行 2.5G的 ONU注册, ONU可以为下行 10G/ 上行 2.5G的 ONU, 也可以为支持上行 2.5G的多工作模式 ONU, 在其初始 默认工作模式为下行 10G/上行 2.5G的情况下, 当接收到 OLT的上行 2.5G 发现窗消息, 支持上行 2.5G的 ONU可以向 OLT发送注册请求消息来响应 该发现窗消息并且向 OLT指示其希望进行接入注册, 也就是说, 该注册请 求消息可以包括表示 ONU支持上行 2.5G的能力字段以及请求进行注册的请 求字段, 更具体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的 扩展字段来向 OLT指示。  Specifically, to access the ONU in the network, the discovery and registration process is completed. The discovery module in the OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, and provides registration for the ONU that has not been registered yet. chance. Here, the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU to support the uplink 2.5G. The ONU can be an ONU of the downlink 10G/uplink 2.5G, or an ONU that supports the uplink 2.5G. When the initial default working mode is downlink 10G/uplink 2.5G, when receiving the uplink 2.5G discovery window message of the OLT, the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT. Instructing it to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP. The extension field is indicated to the OLT.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, 步骤 302 之前, 还包括: 根据上行 2.5G发现窗消息将工作模式切换为上行 2.5G; 并 且生成携带有能力字段和请求字段的注册请求消息,其中能力字段指示 ONU 同时支持上行 1G和上行 2.5G, 请求字段指示 ONU 当前请求注册为上行 2.5G。 Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G. Before step 302, the method further includes: switching the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and generating the carried capability field and the request field. Registration request message, where the capability field indicates ONU Supporting both upstream 1G and upstream 2.5G, the request field indicates that the ONU is currently requesting registration as an upstream 2.5G.
这里, ONU为支持下行 10G/上行 2.5G的多工作模式的 ONU, 即在支 持 2.5G的同时, 还可以支持下行 1G/上行 1G以及下行 10G/上行 10G等其 他工作模式。 在 ONU的初始默认工作模式为下行 10G/上行 1G的情况下, 当接收到 OLT的上行 2.5G发现窗消息,该支持上行 2.5G的多工作模式 ONU 可以向 OLT发送注册请求消息来响应该发现窗消息并且向 OLT指示其希望 进行接入注册,也就是说,该注册请求消息可以包括表示 ONU支持上行 2.5G 以及其他工作模式的能力字段以及请求进行上行 2.5G注册的请求字段, 更 具体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的扩展字段来 向 OLT指示。应理解,在默认工作在上行 1G的 ONU接收到 2.5G发现窗后, 该 ONU可以根据 2.5G发现窗将工作模式切换到 2.5G, 以便于在后续注册 的交互过程中以 2.5G上行线路速率与 OLT进行通信。  Here, the ONU is an ONU that supports the downlink 10G/uplink 2.5G multi-operation mode, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G. In the case that the initial default working mode of the ONU is downlink 10G/uplink 1G, when receiving the uplink 2.5G discovery window message of the OLT, the multi-operation mode ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery. Window message and indicating to the OLT that it wishes to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, more specifically , can be indicated to the OLT through an extension field in the MPCP registration request message (Register_Req). It should be understood that after the ONU that works by default in the uplink 1G receives the 2.5G discovery window, the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
可选地, 作为一个实施例, 注册消息包含 OLT分配给 ONU的 LLID、 同步时间和激光器开关时间上限。 OLT在接收到注册请求消息后, 可以根据 该消息为 ONU分配 LLID , 即为 ONU分配逻辑链路, 此外还可以通过该消 息向 ONU发送同步时间和激光器开关时间上限, 以便于完成 ONU与 OLT 的同步校准, 以及限定 ONU激光器开关时间的上限, 避免该 ONU的上行 传输与其他 ONU的上行传输发生沖突, 提高效率。  Optionally, as an embodiment, the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU. After receiving the registration request message, the OLT can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and also send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT. Synchronous calibration, and limiting the upper limit of the ONU laser switching time, to avoid the upstream transmission of the ONU conflict with the uplink transmission of other ONUs, improving efficiency.
可选地, 作为一个实施例, 步骤 304之后还包括: 在 LLID对应的逻辑 链路上与 OLT进行最大下行 10G /上行 2.5G的数据传输。  Optionally, as an embodiment, after the step 304, the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID.
具体地, ONU在接收到 OLT分配的 LLID后, 可以将 LLID存入 ONU 的寄存器中, 至此, ONU与 OLT之间的逻辑链路建立成功, 之后 ONU可 以通过该逻辑链路向 OLT发送注册成功消息 (Register_Ack), OLT接收到这 个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过程中根据 OLT赋予的上行发送授权通过逻辑链路以最大 2.5G的上行速率进行数据传 输。  Specifically, after receiving the LLID allocated by the OLT, the ONU can store the LLID in the register of the ONU. The logical link between the ONU and the OLT is successfully established, and then the ONU can successfully send the registration to the OLT through the logical link. The message (Register_Ack), after receiving the acknowledgment message, the OLT indicates that the registration process of the ONU has been completed, and the ONU performs data transmission at a maximum uplink rate of 2.5G through the logical link according to the uplink transmission authorization given by the OLT in the subsequent process.
可选地, 作为一个实施例, 步骤 301之前, 还包括: 接收 OLT发送的 上行 1G发现窗消息; 根据上行 1G发现窗消息向 OLT发送注册请求消息, 其中注册请求消息包括用于指示 ONU支持上行 1G的能力字段和用于指示 ONU当前请求注册为上行 1G的请求字段; 接收 OLT根据注册请求消息发 送的注册消息, 注册消息包括 OLT分配给 ONU的 LLID; 向 OLT发送注册 成功消息, 以完成 ONU上行 1G的注册。 Optionally, as an embodiment, before step 301, the method further includes: receiving an uplink 1G discovery window message sent by the OLT; sending a registration request message to the OLT according to the uplink 1G discovery window message, where the registration request message is used to indicate that the ONU supports the uplink a capability field of 1G and a request field for indicating that the ONU currently requests to register as an uplink 1G; the receiving OLT sends a message according to the registration request message The registration message sent, the registration message includes the LLID assigned by the OLT to the ONU; and the registration success message is sent to the OLT to complete the registration of the ONU uplink 1G.
对于多工作模式的 ONU, 可以先以上行 1G的工作模式进行注册, 即, 响应 OLT发送的上行 1G发现窗消息, 接受 OLT分配的 LLID, 完成 1G注 册并在 LLID对应的逻辑链路上以最大 1G的上行速率进行数据传输。 而后 承接步骤 201 , 当该 ONU接收到 OLT发送的上行 2.5G发现窗消息,可以根 据实际的业务需求确定是否切换到上行 2.5G的工作模式, 如果确定进行切 换, 则响应上行 2.5G发现窗消息以完成上行 2.5G注册, 如果维持当前工作 模式则可以不响应上行 2.5G发现窗消息。  For the ONUs in the multi-operation mode, you can register in the upper 1G working mode, that is, respond to the uplink 1G discovery window message sent by the OLT, accept the LLID assigned by the OLT, complete the 1G registration, and maximize the logical link corresponding to the LLID. The uplink rate of 1G is used for data transmission. Then, in step 201, when the ONU receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service requirement, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window message. To complete the uplink 2.5G registration, if the current working mode is maintained, the uplink 2.5G discovery window message may not be responded to.
可选地, 作为一个实施例, 步骤 304之后, 还包括: 接收 OLT发送的 用于查询 ONU的上行发送能力的查询消息; 向 OLT发送用于指示 ONU支 持上行 1G和上行 2.5G的响应消息;接收 OLT发送的指示 ONU切换至上行 2.5G工作模式的指示消息; 根据指示消息切换至上行 2.5G工作模式并且记 录当前工作模式为 2.5G; 下线复位并且再次上线后, 等待 OLT发送的上行 2.5G发现窗消息。  Optionally, as an embodiment, after step 304, the method further includes: receiving, by the OLT, a query message for querying an uplink sending capability of the ONU; and sending, to the OLT, a response message for indicating that the ONU supports the uplink 1G and the uplink 2.5G; Receiving an indication message sent by the OLT indicating that the ONU switches to the uplink 2.5G working mode; switching to the uplink 2.5G working mode according to the indication message and recording the current working mode as 2.5G; after the offline is reset and goes online again, waiting for the uplink 2.5 sent by the OLT G found the window message.
多工作模式的 ONU首先以上行 1G的工作模式完成注册, 之后 OLT可 以发起上行能力查询,来查询 ONU的上行速率与用户配置的速率是否一致。 具体地可以通过操作管理维护 ( Operation Administration and Maintenance, OAM )功能向 ONU发送上行发送能力查询消息, 之后多工作模式的 ONU 将其支持的上行发送能力通过响应消息发送给 OLT, 例如向 OLT指示该 ONU支持上行 1G以及上行 2.5G, OLT接收到该响应消息后可以指示 ONU 切换至上行 2.5G的工作模式。 ONU接收到 OLT的指示后可以记录当前的工 作模式为上行 2.5G,在获得 OLT的确认后可以切换到上行 2.5G的工作模式, 并且进行设备复位, 使得 ONU下线。 ONU复位完成后, 当接收到 OLT发 送的上行 2.5G发现窗, 则进行响应并完成上行 2.5G注册。 至此, ONU由 上行 1G切换至上行 2.5G的过程完成。 此外, 在 ONU上行 2.5G注册完成 后, OLT还可以再次发起上行能力查询, 来确定 ONU当前的上行速率与用 户配置的速率是否一致, 本发明对此并不限定。  The ONU of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, the uplink transmission capability query message may be sent to the ONU by using the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-work mode sends the supported uplink transmission capability to the OLT through a response message, for example, indicating to the OLT. The ONU supports the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT can instruct the ONU to switch to the uplink 2.5G working mode. After receiving the indication from the OLT, the ONU can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the working mode of the uplink 2.5G, and reset the device to make the ONU go offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT is received, the response is completed and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
可选地, 作为一个实施例, 其特征在于, ONU支持下行 10G/上行 2.5G 的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G /上行 10G和下行 1G/ 上行 1G中的至少一种工作模式。 本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。 Optionally, as an embodiment, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G. Operating mode. The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. In addition, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
图 4是本发明一个实施例的光网络单元上线注册的流程图。  4 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
401 , 上行 2.5G发现窗消息  401, uplink 2.5G discovery window message
OLT会定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为 刚上线还没有注册的 ONU提供注册的机会。 这里 OLT发送的为上行 2.5G 发现窗消息, 也就是说允许支持上行 2.5G的 ONU注册, 具体地, 上行发现 窗消息可以通过扩展 MDPC消息来实现:  The OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet. Here, the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU registration of the uplink 2.5G to be supported. Specifically, the uplink discovery window message can be implemented by extending the MDPC message:
Figure imgf000017_0001
Figure imgf000017_0001
表 1  Table 1
表 1 中示例性地示出了通过扩展 MPCP的发现窗消息来实现上行 2.5G 发现窗的消息格式。 其中, 第 0比特位表示 OLT对于上行 1G的接收能力, 第 1比特位表示 OLT对于上行 10G的接收能力,新增的第 2比特位表示 OLT 对于上行 2.5G的接收能力, 这里第 2比特位的比特值为 1表示 OLT具有上 行 2.5G的接收能力。 其中 US表示上行流( Up Stream )。 OLT可以同时具有 几种接收能力, 例如可以同时支持接收上行 1G、 上行 2.5G和上行 10G, 只 需要将相应的比特位的比特值置为 1。 应理解, 以上仅为一个具体例子, 方 便对于消息格式的进行描述, 具体表示支持或不支持某种上行能力的比特 位, 以及比特值可以预先约定, 本发明对此并不限定。  The message format of the uplink 2.5G discovery window by extending the MPCP's discovery window message is exemplarily shown in Table 1. The 0th bit indicates the OLT's receiving capability for the uplink 1G, the 1st bit indicates the OLT's receiving capability for the uplink 10G, and the new 2nd bit indicates the OLT's receiving capability for the uplink 2.5G, where the 2nd bit is A bit value of 1 indicates that the OLT has an uplink 2.5G reception capability. Where US indicates upstream (Up Stream). The OLT can have several receiving capabilities at the same time. For example, it can support receiving uplink 1G, uplink 2.5G, and uplink 10G at the same time, and only needs to set the bit value of the corresponding bit to 1. It should be understood that the above is only a specific example, and the description of the message format is specifically described, and the bit bits that support or do not support some uplink capability are specifically indicated, and the bit value may be pre-agreed, which is not limited by the present invention.
对于发现窗, 第 4比特位可以表示该发现窗消息为上行 1G发现窗, 第 5比特位可以表示该发现窗消息为上行 10G发现窗, 新增的第 6比特位可以 表示该发现窗消息为上行 2.5G发现窗, 通常来说 OLT发送一次发现窗消息 只用于开启一种发现窗, 这里第 6比特位的比特值为 1表示该发现窗消息为 上行 2.5G发现窗。 应理解, 以上仅为一个具体例子, 方便对于消息格式的 进行描述, 具体表示发现窗类型的比特位以及比特值可以预先约定, 本发明 对此并不限定。 For the discovery window, the fourth bit can indicate that the discovery window message is an uplink 1G discovery window, The 5 bits can indicate that the discovery window message is an uplink 10G discovery window, and the newly added 6th bit can indicate that the discovery window message is an uplink 2.5G discovery window. Generally, the OLT sends a discovery window message only for opening one type. The discovery window, where the bit value of the 6th bit is 1 indicates that the discovery window message is an upstream 2.5G discovery window. It should be understood that the above is only a specific example, which facilitates the description of the message format, and specifically indicates that the bit type of the discovery window type and the bit value can be pre-agreed, which is not limited by the present invention.
402, 注册请求消息  402, registration request message
当接收到 OLT的上行 2.5G发现窗消息, 支持上行 2.5G的 ONU可以向 OLT发送注册请求消息来响应该发现窗消息。这里的 ONU为支持上行 2.5G 例如上行 1G。 该 ONU的当前工作模式为下行 10G/上行 2.5G, 该工作模式 可以为该 ONU的默认 /初始化工作模式, 即 ONU启动后, 或者重置后默认 以下行 10G/上行 2.5G的模式工作。该 ONU接收到 OLT的上行 2.5G发现窗 消息后, 生成注册请求消息, 该消息具体包括用于指示 ONU同时支持上行 1G和上行 2.5G的能力字段,和用于指示 ONU当前请求注册为上行 2.5G的 请求字段。 更具体地, 可以通过扩展 MPCP的注册请求消息来实现:  Upon receiving the uplink 2.5G discovery window message of the OLT, the ONU supporting the uplink 2.5G may send a registration request message to the OLT in response to the discovery window message. The ONU here supports uplink 2.5G, for example, uplink 1G. The current working mode of the ONU is downlink 10G/uplink 2.5G. The working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the default line 10G/uplink 2.5G mode works. After receiving the uplink 2.5G discovery window message of the OLT, the ONU generates a registration request message, where the message specifically includes an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G, and is used to indicate that the ONU currently requests to register as the uplink 2.5. G's request field. More specifically, it can be implemented by extending the MPCP registration request message:
Figure imgf000018_0001
Figure imgf000018_0001
表 2  Table 2
表 2 中示例性地示出了通过扩展 MPCP 的注册请求消息消息 Register_Req来实现上行 2.5G的注册请求。对于能力字段, 第 0比特位表示 ONU对于上行 1G的发送能力, 第 1比特位表示 ONU对于上行 10G的发送 能力, 新增的第 2比特位表示 ONU对于上行 2.5G的发送能力, 这里第 2比 特位的比特值为 1表示 ONU具有上行 2.5G的发送能力。 其中 US表示上行 流(Up Stream )。 多模式的 ONU可以同时具有几种上行发送能力, 例如可 以同时支持上行 1G、 上行 2.5G和上行 10G, 只需要将相应的比特位的比特 值置为 1。应理解, 以上仅为一个具体例子, 方便对于消息格式的进行描述, 具体表示支持或不支持某种上行能力的比特位, 以及比特值可以预先约定, 本发明对此并不限定。 Table 2 exemplarily shows that the registration request of the uplink 2.5G is implemented by extending the registration request message message Register_Req of the MPCP. For the capability field, the 0th bit indicates the ONU's transmission capability for the uplink 1G, the 1st bit indicates the ONU's transmission capability for the uplink 10G, and the new 2nd bit indicates the ONU's transmission capability for the uplink 2.5G. A bit value of 1 indicates that the ONU has an uplink 2.5G transmission capability. Where US indicates upstream (Up Stream). Multi-mode ONUs can have several uplink transmission capabilities at the same time, for example To support both uplink 1G, uplink 2.5G, and uplink 10G, it is only necessary to set the bit value of the corresponding bit to 1. It should be understood that the above is only a specific example, which is convenient for describing the message format, specifically indicating a bit that supports or does not support a certain uplink capability, and the bit value may be pre-agreed, which is not limited by the present invention.
对于请求字段, 第 4比特位可以表示该注册请求为上行 1G注册请求, 第 5比特位可以表示该注册请求为上行 10G注册请求,新增的第 6比特位可 以表示该注册请求为上行 2.5G注册请求,通常来说 ONU进行一次注册时只 请求注册为一种上行模式, 这里第 6比特位的比特值为 1表示该 ONU请求 注册为上行 2.5G。 应理解, 以上仅为一个具体例子, 方便对于消息格式的进 行描述, 具体表示注册请求的比特位以及比特值可以预先约定, 本发明对此 并不限定。  For the request field, the 4th bit may indicate that the registration request is an uplink 1G registration request, and the 5th bit may indicate that the registration request is an uplink 10G registration request, and the added 6th bit may indicate that the registration request is an uplink 2.5G request. The registration request, usually, the ONU only requests registration as an uplink mode when registering once, where the bit value of the 6th bit is 1 indicating that the ONU requests registration as the uplink 2.5G. It should be understood that the above is only a specific example, which facilitates the description of the message format, and specifically indicates that the bit of the registration request and the bit value can be pre-agreed, which is not limited by the present invention.
应理解, 当 ONU接收到发现窗消息后, 需要在该发现窗时间内向 OLT 反馈注册请求消息。 由于在一个发现窗内, 4艮多未注册并且符合发现窗条件 的 ONU都可以向 OLT发出注册请求消息, 从而 4艮有可能会产生上行沖突, 因此为了降低上行沖突的概率, 缩短注册成功的时间, ONU可以在发送注 册请求消息之前随机地延迟一段时间。  It should be understood that when the ONU receives the discovery window message, it needs to feed back the registration request message to the OLT within the discovery window time. Because in a discovery window, more than 4 ONUs that are not registered and meet the discovery window condition can send a registration request message to the OLT, so that an uplink conflict may occur, so in order to reduce the probability of uplink conflict, the registration success is shortened. At the time, the ONU can be randomly delayed for a period of time before sending the registration request message.
403, 注册消息  403, registration message
OLT在接收到注册请求消息后, 可以根据该注册请求消息为 ONU分配 LLID, 即为 ONU分配逻辑链路, 并通过注册消息 (Register)将该 LLID发送 给 ONU。 此外 OLT还可以通过该注册消息向 ONU发送同步时间和激光器 开关时间上限, 以便于完成 ONU与 OLT的同步校准, 以及限定 ONU激光 器开关时间的上限, 避免该 ONU的上行传输与其他 ONU的上行传输发生 沖突, 提高效率。  After receiving the registration request message, the OLT may allocate an LLID to the ONU according to the registration request message, that is, assign a logical link to the ONU, and send the LLID to the ONU through a registration message (Register). In addition, the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
应理解, OLT在发出发现窗消息后, 可能会成功的接收到多个 ONU的 注册请求消息, OLT可以按照多个注册请求消息到达的顺序来进行处理。  It should be understood that after the OLT sends the discovery window message, the OLT may successfully receive the registration request message of multiple ONUs, and the OLT may process according to the order in which the multiple registration request messages arrive.
404, 注册成功消息  404, registration success message
ONU接收步骤 403中的注册消息后, 提取其中的 LLID, 将其緩存到寄 存器中, 至此, ONU与 OLT之间的与该 LLID对应的逻辑链路建立成功。 ONU可以通过该逻辑链路向 OLT发送注册成功消息 ( Register_Ack ), OLT 接收到这个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过 程中根据 OLT赋予的上行发送授权通过该 LLID对应的逻辑链路以最大 2.5G 的上行速率进行数据传输。 After receiving the registration message in step 403, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established. The ONU can send a registration success message (Register_Ack) to the OLT through the logical link. After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process. Corresponding logical link with a maximum of 2.5G The uplink rate is used for data transmission.
本发明实施例中的多工作模式的 ONU的光模块支持上行 1G、上行 2.5G 等多种速率的工作模式, 当 ONU处于上行 1G或上行 2.5G工作模式时, 发 送波长 1310nm, ONU的媒体接入控制( Media Access Control, MAC )芯片 /模块的线路编码和协议可以采用现有 EPON标准定义, ONU的 MAC芯片 / 模块可以配置在上行 1G、 上行 2.5G等多种速率工作。 OLT光模块支持上行 1G、 上行 2.5G等多种速率的接收, 能够完成 1G/2.5G的光信号处理, OLT 的 MAC芯片 /模块内部对于不同的上行速率有不同的处理通道,例如具有上 行 1G和上行 2.5G两个独立通道,在 OLT的模块同时接收到上行 1G和上行 2.5G光信号后, MAC芯片 /模块内部可以采用信号复制, 将信号分配到上行 1G和上行 2.5G两个通道, 以分别完成两种信号的线路解码和协议处理。  The optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G. When the ONU is in the uplink 1G or uplink 2.5G working mode, the transmitting wavelength is 1310nm, and the ONU media is connected. The line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard. The MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G. The OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing. The OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G. And the uplink 2.5G two independent channels, after the OLT module receives the uplink 1G and the uplink 2.5G optical signals at the same time, the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
图 5是本发明一个实施例的光网络单元上线注册的流程图。  FIG. 5 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
501 , 默认上行 1G工作模式  501, default uplink 1G working mode
这里的 ONU为支持上行 1G和上行 2.5G的多模式 ONU。 该 ONU的当 前工作模式为下行 10G/上行 1G, 该工作模式可以为该 ONU的默认 /初始化 工作模式, 即 ONU启动后, 或者重置后默认以下行 10G/上行 1G的模式工 作。  The ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G. The current working mode of the ONU is downlink 10G/uplink 1G. The working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
502, 上行 2.5G发现窗消息  502, uplink 2.5G discovery window message
OLT会定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为 刚上线还没有注册的 ONU提供注册的机会。 这里 OLT发送的为上行 2.5G 发现窗消息, 也就是说允许支持上行 2.5G的 ONU注册, 具体地, 上行发现 窗消息可以通过扩展 MDPC消息来实现, 与上述步骤 401 中的发现窗消息 相类似, 此处不再赘述。  The OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet. Here, the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU registration of the uplink 2.5G to be supported. Specifically, the uplink discovery window message can be implemented by extending the MDPC message, which is similar to the discovery window message in step 401 above. , will not repeat them here.
503 , 工作模式切换  503, working mode switching
默认工作在上行 1G的多模式 ONU在接收到上行 2.5G发现窗消息后, 可以根据实际业务需要, 或者用户选择, 确定是否响应该发现窗消息, 即确 定是否需要以上行 2.5G工作。 如果确定要注册为上行 2.5G, 则 ONU的媒 体接入控制 ( Media Access Control, MAC ) 芯片 /模块从上行 1G切换至上行 2.5G的工作模式。 By default, the multi-mode ONU working on the upstream 1G receives the uplink 2.5G discovery window message. According to actual business needs, or user selection, it is determined whether to respond to the discovery window message, that is, whether the above 2.5G work is required. If it is determined that it is to be registered as the uplink 2.5G, the Media Access Control (MAC) chip/module of the ONU switches from the uplink 1G to the uplink 2.5G working mode.
504, 注册请求消息  504, registration request message
ONU在切换至上行 2.5G后,可以生成注册请求消息,并且向 OLT发送 该注册请求消息来响应该发现窗消息。 该消息具体包括用于指示 ONU同时 支持上行 1G和上行 2.5G的能力字段, 和用于指示 ONU当前请求注册为上 行 2.5G的请求字段。 更具体地, 可以通过扩展 MPCP的注册请求消息来实 现, 与上述步骤 402中的注册请求消息相类似, 此处不再赘述。  After switching to the upstream 2.5G, the ONU may generate a registration request message and send the registration request message to the OLT in response to the discovery window message. The message specifically includes an capability field for indicating that the ONU supports both uplink 1G and uplink 2.5G, and a request field for indicating that the ONU currently requests to register as the uplink 2.5G. More specifically, it may be implemented by extending the registration request message of the MPCP, which is similar to the registration request message in the above step 402, and details are not described herein again.
应理解, 当 ONU接收到发现窗消息后, 需要在该发现窗时间内向 OLT 反馈注册请求消息。 由于在一个发现窗内, 4艮多未注册并且符合发现窗条件 的 ONU都可以向 OLT发出注册请求消息, 从而 4艮有可能会产生上行沖突, 因此为了降低上行沖突的概率, 缩短注册成功的时间, ONU可以在发送注 册请求消息之前随机地延迟一段时间。  It should be understood that when the ONU receives the discovery window message, it needs to feed back the registration request message to the OLT within the discovery window time. Because in a discovery window, more than 4 ONUs that are not registered and meet the discovery window condition can send a registration request message to the OLT, so that an uplink conflict may occur, so in order to reduce the probability of uplink conflict, the registration success is shortened. At the time, the ONU can be randomly delayed for a period of time before sending the registration request message.
505, 注册消息  505, registration message
OLT在接收到注册请求消息后, 可以根据该注册请求消息为 ONU分配 LLID, 即为 ONU分配逻辑链路, 并通过注册消息 (Register)将该 LLID发送 给 ONU。 此外 OLT还可以通过该注册消息向 ONU发送同步时间和激光器 开关时间上限, 以便于完成 ONU与 OLT的同步校准, 以及限定 ONU激光 器开关时间的上限, 避免该 ONU的上行传输与其他 ONU的上行传输发生 沖突, 提高效率。  After receiving the registration request message, the OLT may allocate an LLID to the ONU according to the registration request message, that is, assign a logical link to the ONU, and send the LLID to the ONU through a registration message (Register). In addition, the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
应理解, OLT在发出发现窗消息后, 可能会成功的接收到多个 ONU的 注册请求消息, OLT可以按照多个注册请求消息到达的顺序来进行处理。  It should be understood that after the OLT sends the discovery window message, the OLT may successfully receive the registration request message of multiple ONUs, and the OLT may process according to the order in which the multiple registration request messages arrive.
506, 注册成功消息  506, registration success message
ONU接收步骤 505中的注册消息后, 提取其中的 LLID, 将其緩存到寄 存器中, 至此, ONU与 OLT之间的与该 LLID对应的逻辑链路建立成功。 ONU可以通过该逻辑链路向 OLT发送注册成功消息 ( Register_Ack ), OLT 接收到这个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过 程中根据 OLT赋予的上行发送授权通过该 LLID对应的逻辑链路以最大 2.5G 的上行速率进行数据传输。 本发明实施例中的多工作模式的 ONU的光模块支持上行 1G、上行 2.5G 等多种速率的工作模式, 当 ONU处于上行 1G或上行 2.5G工作模式时, 发 送波长 1310nm, ONU的媒体接入控制( Media Access Control, MAC )芯片 /模块的线路编码和协议可以采用现有 EPON标准定义, ONU的 MAC芯片 / 模块可以配置在上行 1G、 上行 2.5G等多种速率工作。 OLT光模块支持上行 1G、 上行 2.5G等多种速率的接收, 能够完成 1G/2.5G的光信号处理, OLT 的 MAC芯片 /模块内部对于不同的上行速率有不同的处理通道,例如具有上 行 1G和上行 2.5G两个独立通道,在 OLT的模块同时接收到上行 1G和上行 2.5G光信号后, MAC芯片 /模块内部可以采用信号复制, 将信号分配到上行 1G和上行 2.5G两个通道, 以分别完成两种信号的线路解码和协议处理。 After receiving the registration message in step 505, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established. The ONU can send a registration success message (Register_Ack) to the OLT through the logical link. After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process. The corresponding logical link transmits data at an uplink rate of up to 2.5G. The optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G. When the ONU is in the uplink 1G or uplink 2.5G working mode, the transmitting wavelength is 1310nm, and the ONU media is connected. The line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard. The MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G. The OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing. The OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G. And the uplink 2.5G two independent channels, after the OLT module receives the uplink 1G and the uplink 2.5G optical signals at the same time, the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
图 6是本发明一个实施例的光网络单元上线注册的流程图。  6 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
601 , 默认上行 1G工作模式  601, default uplink 1G working mode
这里的 ONU为支持上行 1G和上行 2.5G的多模式 ONU。 该 ONU的当 前工作模式为下行 10G/上行 1G, 该工作模式可以为该 ONU的默认 /初始化 工作模式, 即 ONU启动后, 或者重置后默认以下行 10G/上行 1G的模式工 作。  The ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G. The current working mode of the ONU is downlink 10G/uplink 1G. The working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
602, 上行 1G发现窗消息  602, uplink 1G discovery window message
OLT会定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为 刚上线还没有注册的 ONU提供注册的机会。 这里 OLT发送的为上行 1G发 现窗消息, 也就是说允许支持上行 1G的 ONU注册。  The OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet. Here, the OLT sends an uplink 1G discovery window message, which means that ONU registration of the uplink 1G is allowed.
603, 注册请求消息  603, registration request message
ONU接收到上行 1G发现窗消息后, 可以生成注册请求消息, 并且向 OLT发送该注册请求消息来响应该发现窗消息。  After receiving the uplink 1G discovery window message, the ONU may generate a registration request message and send the registration request message to the OLT to respond to the discovery window message.
604, 注册消息  604, registration message
OLT在接收到注册请求消息后, 可以根据该注册请求消息为 ONU分配 LLID, 即为 ONU分配逻辑链路, 并通过注册消息 (Register)将该 LLID发送 给 ONU。 此外 OLT还可以通过该注册消息向 ONU发送同步时间和激光器 开关时间上限, 以便于完成 ONU与 OLT的同步校准, 以及限定 ONU激光 器开关时间的上限, 避免该 ONU的上行传输与其他 ONU的上行传输发生 沖突, 提高效率。 After receiving the registration request message, the OLT may allocate the ONU according to the registration request message. LLID, which assigns a logical link to the ONU, and sends the LLID to the ONU through a registration message (Register). In addition, the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
605, 注册成功消息  605, registration success message
ONU接收步骤 604中的注册消息后, 提取其中的 LLID, 将其緩存到寄 存器中, 至此, ONU与 OLT之间的与该 LLID对应的逻辑链路建立成功。 ONU可以通过该逻辑链路向 OLT发送注册成功消息 (Register_Ack ), OLT 接收到这个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过 程中根据 OLT赋予的上行发送授权通过该 LLID对应的逻辑链路以最大 1G 的上行速率进行数据传输。  After receiving the registration message in step 604, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established. The ONU can send a registration success message (Register_Ack) to the OLT through the logical link. After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process. The corresponding logical link performs data transmission at an uplink rate of up to 1G.
606, ONU上行能力查询  606, ONU uplink capability query
对于已经注册的 ONU, OLT可以发起上行能力查询, 来查询 ONU的上 行速率与用户配置的速率是否一致。 具体地, 对于步骤 605中已经完成上行 1G注册的 ONU, OLT可以向该 ONU发送上行发送能力查询消息,指示 ONU 上报其上行能力, 以及用户配置、 业务需求等信息。  For an already registered ONU, the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, for the ONU that has completed the uplink 1G registration in step 605, the OLT may send an uplink sending capability query message to the ONU, instructing the ONU to report its uplink capability, and information such as user configuration and service requirements.
607, 上行能力上报  607, uplink capability report
ONU接收到上行能力查询消息后, 可以将其上行能力上报给 OLT, 例 如向 OLT支持 ONU支持上行 1G和上行 2.5G。 此外还可以上 >¾用户配置和 业务需求等信息, 例如, ONU当前工作在上行 1G, 但是用户将工作模式配 置为上行 2.5G, 或者上行业务需求 2.5G的上行线路速率。  After receiving the uplink capability query message, the ONU can report its uplink capability to the OLT. For example, the ONU supports the ONU to support uplink 1G and uplink 2.5G. In addition, the information about the user configuration and service requirements can be used. For example, the ONU currently works on the uplink 1G, but the user configures the working mode to be 2.5G uplink, or the upstream service requires 2.5G uplink rate.
608, 切换至上行 2.5G  608, switch to uplink 2.5G
OLT接收到 ONU的上行能力上报后可以指示 ONU切换至上行 2.5G的 工作模式。 ONU接收到 OLT的指示后可以记录当前的工作模式为上行 2.5G, 在获得 OLT的确认后可以切换到上行 2.5G的工作模式,并且进行设备复位, 使得 ONU下线。  After receiving the uplink capability report of the ONU, the OLT can instruct the ONU to switch to the working mode of the uplink 2.5G. After receiving the indication from the OLT, the ONU can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the uplink 2.5G working mode and reset the device to make the ONU go offline.
609, 上行 2.5G注册  609, uplink 2.5G registration
ONU复位完毕重新上线后,其工作模式已经为上行 2.5G,可以等待 OLT 的上行 2.5G发现窗, 从而进一步完成上行 2.5G的注册, 后续具体过程可以 参照上述图 4中步骤 401-步骤 404, 此处不再赘述。 本发明实施例中的多工作模式的 ONU的光模块支持上行 1G、上行 2.5G 等多种速率的工作模式, 当 ONU处于上行 1G或上行 2.5G工作模式时, 发 送波长 1310nm, ONU的媒体接入控制( Media Access Control, MAC )芯片 /模块的线路编码和协议可以采用现有 EPON标准定义, ONU的 MAC芯片 / 模块可以配置在上行 1G、 上行 2.5G等多种速率工作。 OLT光模块支持上行 1G、 上行 2.5G等多种速率的接收, 能够完成 1G/2.5G的光信号处理, OLT 的 MAC芯片 /模块内部对于不同的上行速率有不同的处理通道,例如具有上 行 1G和上行 2.5G两个独立通道,在 OLT的模块同时接收到上行 1G和上行 2.5G光信号后, MAC芯片 /模块内部可以采用信号复制, 将信号分配到上行 1G和上行 2.5G两个通道, 以分别完成两种信号的线路解码和协议处理。 After the ONU is reset and re-online, its working mode is already 2.5G upstream. It can wait for the upstream 2.5G discovery window of the OLT to further complete the registration of the uplink 2.5G. For the subsequent specific process, refer to step 401-step 404 in Figure 4 above. I will not repeat them here. The optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G. When the ONU is in the uplink 1G or uplink 2.5G working mode, the transmitting wavelength is 1310nm, and the ONU media is connected. The line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard. The MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G. The OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing. The OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G. And the uplink 2.5G two independent channels, after the OLT module receives the uplink 1G and the uplink 2.5G optical signals at the same time, the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
图 7是本发明一个实施例的光网络单元上线注册的流程图。  FIG. 7 is a flow chart of online registration of an optical network unit according to an embodiment of the present invention.
701 , 默认上行 1G工作模式  701, default uplink 1G working mode
这里的 ONU为支持上行 1G和上行 2.5G的多模式 ONU。 该 ONU的当 前工作模式为下行 10G/上行 1G, 该工作模式可以为该 ONU的默认 /初始化 工作模式, 即 ONU启动后, 或者重置后默认以下行 10G/上行 1G的模式工 作。  The ONU here is a multi-mode ONU that supports uplink 1G and uplink 2.5G. The current working mode of the ONU is downlink 10G/uplink 1G. The working mode can be the default/initialized working mode of the ONU, that is, after the ONU is started, or after reset, the following 10G/uplink 1G mode is disabled.
702, 上行 1G发现窗消息  702, uplink 1G discovery window message
OLT会定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为 刚上线还没有注册的 ONU提供注册的机会。 这里 OLT发送的为上行 1G发 现窗消息, 也就是说允许支持上行 1G的 ONU注册。  The OLT will open the discovery window periodically or irregularly, that is, broadcast the discovery window message to the ONU, and provide an opportunity to register for the ONU that has not been registered yet. Here, the OLT sends an uplink 1G discovery window message, which means that ONU registration of the uplink 1G is allowed.
703, 注册请求消息  703, registration request message
ONU接收到上行 1G发现窗消息后, 可以生成注册请求消息, 并且向 OLT发送该注册请求消息来响应该发现窗消息。  After receiving the uplink 1G discovery window message, the ONU may generate a registration request message and send the registration request message to the OLT to respond to the discovery window message.
704, 注册消息  704, registration message
OLT在接收到注册请求消息后, 可以根据该注册请求消息为 ONU分配 LLID, 即为 ONU分配逻辑链路, 并通过注册消息 (Register)将该 LLID发送 给 ONU。 此外 OLT还可以通过该注册消息向 ONU发送同步时间和激光器 开关时间上限, 以便于完成 ONU与 OLT的同步校准, 以及限定 ONU激光 器开关时间的上限, 避免该 ONU的上行传输与其他 ONU的上行传输发生 沖突, 提高效率。 After receiving the registration request message, the OLT may allocate the ONU according to the registration request message. LLID, which assigns a logical link to the ONU, and sends the LLID to the ONU through a registration message (Register). In addition, the OLT can also send the synchronization time and the laser switch time upper limit to the ONU through the registration message, so as to complete the synchronous calibration of the ONU and the OLT, and limit the upper limit of the ONU laser switching time, and avoid the uplink transmission of the ONU and the uplink transmission of other ONUs. Conflicts occur and efficiency is increased.
705, 注册成功消息  705, registration success message
ONU接收步骤 604中的注册消息后, 提取其中的 LLID, 将其緩存到寄 存器中, 至此, ONU与 OLT之间的与该 LLID对应的逻辑链路建立成功。 ONU可以通过该逻辑链路向 OLT发送注册成功消息 (Register_Ack ), OLT 接收到这个确认消息后则表示 ONU的注册过程已完成, ONU则会在后续过 程中根据 OLT赋予的上行发送授权通过该 LLID对应的逻辑链路以最大 1G 的上行速率进行数据传输。  After receiving the registration message in step 604, the ONU extracts the LLID and caches it in the register. At this point, the logical link corresponding to the LLID between the ONU and the OLT is successfully established. The ONU can send a registration success message (Register_Ack) to the OLT through the logical link. After receiving the confirmation message, the OLT indicates that the registration process of the ONU is completed, and the ONU passes the LLID according to the uplink transmission authorization given by the OLT in the subsequent process. The corresponding logical link performs data transmission at an uplink rate of up to 1G.
706, ONU上行能力查询  706, ONU uplink capability query
对于已经注册的 ONU, OLT可以发起上行能力查询, 来查询 ONU的上 行速率与用户配置的速率是否一致。 具体地, 对于步骤 705中已经完成上行 1G注册的 ONU, OLT可以向该 ONU发送上行发送能力查询消息,指示 ONU 上报其上行能力, 以及用户配置、 业务需求等信息。  For an already registered ONU, the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU is consistent with the rate configured by the user. Specifically, for the ONU that has completed the uplink 1G registration in step 705, the OLT may send an uplink sending capability query message to the ONU, instructing the ONU to report its uplink capability, and information such as user configuration and service requirements.
707, 上行能力上报  707, uplink capability report
ONU接收到上行能力查询消息后, 可以将其上行能力上报给 OLT, 例 如向 OLT支持 ONU支持上行 1G和上行 2.5G。 此外还可以上 >¾用户配置和 业务需求等信息, 例如, ONU当前工作在上行 1G, 但是用户将工作模式配 置为上行 2.5G, 或者上行业务需求 2.5G的上行线路速率。  After receiving the uplink capability query message, the ONU can report its uplink capability to the OLT. For example, the ONU supports the ONU to support uplink 1G and uplink 2.5G. In addition, the information about the user configuration and service requirements can be used. For example, the ONU currently works on the uplink 1G, but the user configures the working mode to be 2.5G uplink, or the upstream service requires 2.5G uplink rate.
708, 切换至上行 2.5G  708, switch to uplink 2.5G
OLT接收到 ONU的上行能力上报后可以指示 ONU切换至上行 2.5G的 工作模式。 ONU接收到 OLT的指示后可以切换到上行 2.5G的工作模式, 即 ONU的媒体接入控制( Media Access Control, MAC )芯片 /模块从上行 1G切 换至上行 2.5G的工作模式, 切换完成后 ONU可以向 OLT发送切换成功消 息。  After receiving the uplink capability report of the ONU, the OLT can instruct the ONU to switch to the working mode of the uplink 2.5G. After receiving the indication from the OLT, the ONU can switch to the working mode of the uplink 2.5G, that is, the media access control (MAC) chip/module of the ONU switches from the uplink 1G to the uplink 2.5G working mode, and the ONU after the handover is completed. A handover success message can be sent to the OLT.
709, 设置上行带宽  709, setting the upstream bandwidth
在接收到 ONU发送的切换成功消息后, OLT需要将 ONU的上行带宽 After receiving the handover success message sent by the ONU, the OLT needs to increase the upstream bandwidth of the ONU.
(线路速率)设置为 2.5G, 以便于能够正确地接收和处理来自于该 ONU的 上行数据。 至此, ONU的工作模式切换完成。 (line rate) is set to 2.5G so that it can receive and process correctly from the ONU Upstream data. At this point, the ONU's working mode is switched.
本发明实施例中的多工作模式的 ONU的光模块支持上行 1G、上行 2.5G 等多种速率的工作模式, 当 ONU处于上行 1G或上行 2.5G工作模式时, 发 送波长 1310nm, ONU的媒体接入控制( Media Access Control, MAC )芯片 /模块的线路编码和协议可以采用现有 EPON标准定义, ONU的 MAC芯片 / 模块可以配置在上行 1G、 上行 2.5G等多种速率工作。 OLT光模块支持上行 1G、 上行 2.5G等多种速率的接收, 能够完成 1G/2.5G的光信号处理, OLT 的 MAC芯片 /模块内部对于不同的上行速率有不同的处理通道,例如具有上 行 1G和上行 2.5G两个独立通道,在 OLT的模块同时接收到上行 1G和上行 2.5G光信号后, MAC芯片 /模块内部可以采用信号复制, 将信号分配到上行 1G和上行 2.5G两个通道, 以分别完成两种信号的线路解码和协议处理。  The optical module of the ONU in the multi-operation mode of the embodiment of the present invention supports multiple working modes of uplink 1G and uplink 2.5G. When the ONU is in the uplink 1G or uplink 2.5G working mode, the transmitting wavelength is 1310nm, and the ONU media is connected. The line coding and protocol of the Media Access Control (MAC) chip/module can be defined by the existing EPON standard. The MAC chip/module of the ONU can be configured to work at various rates such as uplink 1G and uplink 2.5G. The OLT optical module supports multiple rates of uplink 1G and uplink 2.5G, and can complete 1G/2.5G optical signal processing. The OLT MAC chip/module has different processing channels for different uplink rates, for example, with uplink 1G. And the uplink 2.5G two independent channels, after the OLT module receives the uplink 1G and the uplink 2.5G optical signals at the same time, the MAC chip/module can internally use the signal replication to distribute the signals to the uplink 1G and the uplink 2.5G channels. To complete the line decoding and protocol processing of the two signals separately.
本发明实施例的以太网无源光网络的通信方法通过 OLT向 ONU开启上 行 2.5G发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下 行 10G/上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上 行 1G等工作模式共同构成多模式 ONU,根据不同的需要进行工作模式的切 换, 易于实现和推广。  The communication method of the Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU through the OLT, so that the ONU supporting the uplink 2.5G can complete the registration, and works in the downlink 10G/upstream 2.5G, providing a higher Uplink rate/bandwidth, which improves the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/upstream 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
图 8是本发明一个实施例的光线路终端的示意框图。 图 8所示的光线路 终端 OLT 800包括发送单元 801和接收单元 802。  Figure 8 is a schematic block diagram of an optical line terminal in accordance with one embodiment of the present invention. The optical line terminal OLT 800 shown in Fig. 8 includes a transmitting unit 801 and a receiving unit 802.
发送单元 801发送上行 2.5G发现窗消息; 接收单元 802接收支持上行 The sending unit 801 sends an uplink 2.5G discovery window message; the receiving unit 802 receives the support uplink.
2.5G的光网络单元 ONU根据发现窗消息发送的注册请求消息;发送单元 801 向 ONU发送注册消息, 注册消息包括 OLT分配给 ONU的逻辑链路标识 LLID; 接收单元 802接收 ONU发送的注册成功消息。 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 The registration request message sent by the ONU of the 2.5G optical network unit ONU according to the discovery window message; the sending unit 801 sends a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU; and the receiving unit 802 receives the registration success message sent by the ONU. . The discovery window enables the ONU supporting the upstream 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience.
可选地, 作为一个实施例, ONU的初始工作模式为上行 2.5G, 接收单 元 802接收到的注册请求消息, 包括: 用于指示 ONU支持上行 2.5G的能力 字段; 和用于指示 ONU当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is an uplink 2.5G, and the registration request message received by the receiving unit 802 includes: an capability field for indicating that the ONU supports the uplink 2.5G; and is used to indicate the current request of the ONU. Registered as an uplink 2.5G request field.
具体地, 要接入网络中的 ONU需要完成发现和注册过程, OLT 800会 定期或者不定期的开启发现窗, 即向 ONU广播发现窗消息, 为刚上线还没 有注册的 ONU提供注册的机会。这里 OLT发送的为上行 2.5G发现窗消息, 也就是说允许支持上行 2.5G的 ONU注册, ONU可以为下行 10G/上行 2.5G 的 ONU, 也可以为支持上行 2.5G的多工作模式 ONU, 在其初始默认工作 模式为下行 10G/上行 2.5G的情况下, 当接收到 OLT的上行 2.5G发现窗消 息, 支持上行 2.5G的 ONU可以向 OLT发送注册请求消息来响应该发现窗 消息并且向 OLT指示其希望进行接入注册, 也就是说, 该注册请求消息可 以包括表示 ONU支持上行 2.5G的能力字段以及请求进行注册的请求字段, 更具体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的扩展字段 来向 OLT指示。 Specifically, the ONU needs to complete the discovery and registration process, and the OLT 800 periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU, which is not yet online. Registered ONUs offer registration opportunities. Here, the OLT sends an uplink 2.5G discovery window message, which means that the ONU registration of the uplink 2.5G is allowed. The ONU can be the ONU of the downlink 10G/uplink 2.5G, or the ONU of the multi-operation mode supporting the uplink 2.5G. When the initial default working mode is downlink 10G/uplink 2.5G, when receiving the uplink 2.5G discovery window message of the OLT, the ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery window message and to the OLT. Instructing it to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports the uplink 2.5G and a request field requesting registration, and more specifically, may be in the registration request message (Register_Req) of the MPCP. The extension field is indicated to the OLT.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, 接收单元 Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and the receiving unit is
802接收到的注册请求消息, 包括: 用于指示 ONU同时支持上行 1G和上行 2.5G的能力字段; 和用于指示 ONU当前请求注册为上行 2.5G的请求字段。 The registration request message received by the 802 includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and a request field for indicating that the ONU currently requests to register as the uplink 2.5G.
这里, ONU为支持下行 10G/上行 2.5G的多工作模式的 ONU, 即在支 持 2.5G的同时, 还可以支持下行 1G/上行 1G以及下行 10G/上行 10G等其 他工作模式。 在 ONU的初始默认工作模式为下行 10G/上行 1G的情况下, 当接收到 OLT的上行 2.5G发现窗消息,该支持上行 2.5G的多工作模式 ONU 可以向 OLT发送注册请求消息来响应该发现窗消息并且向 OLT指示其希望 进行接入注册,也就是说,该注册请求消息可以包括表示 ONU支持上行 2.5G 以及其他工作模式的能力字段以及请求进行上行 2.5G注册的请求字段, 更 具体地, 可以通过 MPCP的注册请求消息 ( Register_Req ) 中的扩展字段来 向 OLT指示。应理解,在默认工作在上行 1G的 ONU接收到 2.5G发现窗后, 该 ONU可以根据 2.5G发现窗将工作模式切换到 2.5G, 以便于在后续注册 的交互过程中以 2.5G上行线路速率与 OLT进行通信。  Here, the ONU is an ONU that supports the downlink 10G/uplink 2.5G multi-operation mode, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G. In the case that the initial default working mode of the ONU is downlink 10G/uplink 1G, when receiving the uplink 2.5G discovery window message of the OLT, the multi-operation mode ONU supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery. Window message and indicating to the OLT that it wishes to perform access registration, that is, the registration request message may include a capability field indicating that the ONU supports uplink 2.5G and other working modes, and a request field requesting uplink 2.5G registration, more specifically , can be indicated to the OLT through an extension field in the MPCP registration request message (Register_Req). It should be understood that after the ONU that works by default in the uplink 1G receives the 2.5G discovery window, the ONU can switch the working mode to 2.5G according to the 2.5G discovery window, so as to have a 2.5G uplink rate during the subsequent registration interaction. Communicate with the OLT.
可选地, 作为一个实施例, OLT 800还包括确定单元和生成单元: 确定 单元根据注册请求消息的能力字段和请求字段, 确定分配给 ONU的 LLID、 同步时间和激光器开关时间上限; 生成单元生成包含有 LLID、 同步时间和 激光器开关时间上限的注册消息。 OLT 800在接收到注册请求消息后, 可以 根据该消息为 ONU分配 LLID, 即为 ONU分配逻辑链路, 此外还可以通过 该消息向 ONU发送同步时间和激光器开关时间上限, 以便于完成 ONU与 OLT 800的同步校准, 以及限定 ONU激光器开关时间的上限, 避免该 ONU 的上行传输与其他 ONU的上行传输发生沖突, 提高效率。 可选地,作为一个实施例,发送单元 801和接收单元 802还用于在 LLID 对应的逻辑链路上与 ONU进行最大下行 10G/上行 2.5G的数据传输。 Optionally, as an embodiment, the OLT 800 further includes a determining unit and a generating unit: the determining unit determines, according to the capability field and the request field of the registration request message, an LLID, a synchronization time, and a laser switching time upper limit allocated to the ONU; Contains registration messages with LLID, synchronization time, and laser switch time cap. After receiving the registration request message, the OLT 800 can allocate an LLID to the ONU according to the message, that is, assign a logical link to the ONU, and also send a synchronization time and a laser switch time upper limit to the ONU through the message, so as to complete the ONU and the OLT. The synchronous calibration of 800 and the upper limit of the ONU laser switching time are limited to avoid the collision between the uplink transmission of the ONU and the uplink transmission of other ONUs, thereby improving efficiency. Optionally, as an embodiment, the sending unit 801 and the receiving unit 802 are further configured to perform maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
具体地, ONU在接收到 OLT 800分配的 LLID后, 可以将 LLID存入 ONU的寄存器中, 至此, ONU与 OLT 800之间的逻辑链路建立成功, 之后 ONU可以通过该逻辑链路向 OLT 800发送注册成功消息 (Register_Ack) , OLT 800接收到这个确认消息后则表示 ONU的注册过程已完成, ONU则会在后 续过程中根据 OLT 800赋予的上行发送授权通过逻辑链路以最大 2.5G的上 行速率进行数据传输。 数据传输指的是发送和接收, 可以通过发送单元 801 和接收单元 802来完成。  Specifically, after receiving the LLID allocated by the OLT 800, the ONU can store the LLID in the register of the ONU. At this point, the logical link between the ONU and the OLT 800 is successfully established, and then the ONU can pass the logical link to the OLT 800. After the registration success message (Register_Ack) is sent, the OLT 800 receives the confirmation message, indicating that the registration process of the ONU has been completed, and the ONU will use the logical link to uplink the maximum 2.5G in the subsequent process according to the uplink transmission authorization given by the OLT 800. Rate for data transfer. Data transmission refers to transmission and reception, which can be done by the transmitting unit 801 and the receiving unit 802.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, 发送单元 Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and the sending unit is
801发送上行 1G发现窗消息; 接收单元 802接收 ONU根据上行 1G发现窗 消息发送的注册请求消息, 其中注册请求消息包括用于指示 ONU支持上行 1G的能力字段和用于指示 ONU当前请求注册为上行 1G的请求字段; 发送 单元 801向 ONU发送注册消息, 注册消息包括 OLT 800分配给 ONU的逻 辑链路标识 LLID; 接收单元 802接收 ONU发送的注册成功消息, 以完成 ONU上行 1G的注册。 The 801 sends an uplink 1G discovery window message. The receiving unit 802 receives the registration request message sent by the ONU according to the uplink 1G discovery window message, where the registration request message includes an capability field for indicating that the ONU supports the uplink 1G, and is used to indicate that the ONU currently requests to register as an uplink. The request unit of the 1G sends the registration message to the ONU, and the registration message includes the logical link identifier LLID assigned by the OLT 800 to the ONU. The receiving unit 802 receives the registration success message sent by the ONU to complete the registration of the ONU uplink 1G.
对于多工作模式的 ONU, 可以先以上行 1G的工作模式进行注册, 即, 响应 OLT 800发送的上行 1G发现窗消息, 接受 OLT 800分配的 LLID, 完 成 1G注册并在 LLID对应的逻辑链路上以最大 1G的上行速率进行数据传 输。 而后承接步骤 201 , 当该 ONU接收到 OLT 800发送的上行 2.5G发现窗 消息, 可以根据实际的业务需求确定是否切换到上行 2.5G的工作模式, 如 果确定进行切换, 则响应上行 2.5G发现窗消息以完成上行 2.5G注册, 如果 维持当前工作模式则可以不响应上行 2.5G发现窗消息。  For the ONU of the multi-operation mode, the operation mode of the uplink 1G can be registered first, that is, in response to the uplink 1G discovery window message sent by the OLT 800, the LLID assigned by the OLT 800 is accepted, and the 1G registration is completed and on the logical link corresponding to the LLID. Data transmission is performed at an uplink rate of up to 1G. Then, in step 201, when the ONU receives the uplink 2.5G discovery window message sent by the OLT 800, it can determine whether to switch to the working mode of the uplink 2.5G according to the actual service demand, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window. The message completes the uplink 2.5G registration, and may not respond to the uplink 2.5G discovery window message if the current working mode is maintained.
可选地, 作为一个实施例, 发送单元 801向 ONU发送查询消息, 以便 于查询 ONU的上行发送能力; 接收单元 802接收 ONU发送的响应消息, 响应消息指示 ONU支持上行 1G和上行 2.5G;发送单元 801向 ONU发送用 于指示 ONU切换至上行 2.5G工作模式的指示消息, 以使得 ONU切换至上 行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复位,以便于 ONU 接收到 OLT 800发送的上行 2.5G发现窗时以上行 2.5G注册。  Optionally, as an embodiment, the sending unit 801 sends an inquiry message to the ONU, so as to query the uplink sending capability of the ONU. The receiving unit 802 receives the response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G and the uplink 2.5G. The unit 801 sends an indication message to the ONU for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives the OLT 800. When the uplink 2.5G discovery window is sent, the above 2.5G registration is performed.
多工作模式的 ONU首先以上行 1G的工作模式完成注册,之后 OLT 800 可以发起上行能力查询, 来查询 ONU的上行速率与用户配置的速率是否一 致。 具体地可以通过操作管理维护 ( Operation Administration and Maintenance, OAM )功能向 ONU发送上行发送能力查询消息, 之后多工作 模式的 ONU将其支持的上行发送能力通过响应消息发送给 OLT 800, 例如 向 OLT 800指示该 ONU支持上行 1G以及上行 2.5G, OLT 800接收到该响 应消息后可以指示 ONU切换至上行 2.5G的工作模式。 ONU接收到 OLT 800 的指示后可以记录当前的工作模式为上行 2.5G, 在获得 OLT 800的确认后 可以切换到上行 2.5G的工作模式, 并且进行设备复位, 使得 ONU下线。 ONU复位完成后, 当接收到 OLT 800发送的上行 2.5G发现窗, 则进行响应 并完成上行 2.5G注册。至此, ONU由上行 1G切换至上行 2.5G的过程完成。 此外, 在 ONU上行 2.5G注册完成后, OLT 800还可以再次发起上行能力查 询, 来确定 ONU当前的上行速率与用户配置的速率是否一致, 本发明对此 并不限定。 The ONU of the multi-work mode is first registered in the working mode of the above-mentioned 1G, and then the OLT 800 can initiate an uplink capability query to query whether the uplink rate of the ONU and the rate configured by the user are one. To. Specifically, the uplink transmission capability query message may be sent to the ONU through the Operation Administration and Maintenance (OAM) function, and then the ONU of the multi-operation mode sends the supported uplink transmission capability to the OLT 800 by using a response message, for example, to the OLT 800. The ONU is instructed to support the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT 800 can instruct the ONU to switch to the working mode of the uplink 2.5G. After receiving the indication from the OLT 800, the ONU can record the current working mode as the uplink 2.5G. After obtaining the OLT 800 confirmation, the ONU can switch to the working mode of the uplink 2.5G, and reset the device, so that the ONU goes offline. After the ONU reset is completed, when the uplink 2.5G discovery window sent by the OLT 800 is received, the response is made and the uplink 2.5G registration is completed. At this point, the ONU is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONU uplink 2.5G registration is completed, the OLT 800 may further initiate an uplink capability query to determine whether the current uplink rate of the ONU is consistent with the rate configured by the user, which is not limited by the present invention.
可选地, 作为一个实施例, ONU支持下行 10G/上行 2.5G的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G/上行 10G和下行 1G/上行 1G中的 至少一种工作模式。 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上行 1G 等工作模式共同构成多模式 ONU, 根据不同的需要进行工作模式的切换, 易于实现和推广。  Optionally, as an embodiment, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G. The discovery window enables the ONU supporting the upstream 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with the downlink 10G/uplink 1G working mode, and the working mode is switched according to different needs, which is easy to implement and popularize.
图 9是本发明一个实施例的光网络单元的示意框图。 图 9中的光网络单 元 ONU 900包括接收单元 901和发送单元 902。  Figure 9 is a schematic block diagram of an optical network unit in accordance with one embodiment of the present invention. The optical network unit ONU 900 of Fig. 9 includes a receiving unit 901 and a transmitting unit 902.
接收单元 901接收光线路终端 OLT发送的上行 2.5G发现窗消息, 其中 ONU支持上行 2.5G; 发送单元 902根据上行 2.5G发现窗消息向 OLT发送 注册请求消息; 接收单元 901接收 OLT根据注册请求消息发送的注册消息, 注册消息包括 OLT分配给 ONU的逻辑链路标识 LLID;发送单元 902向 OLT 发送注册成功消息。 发现窗,使得支持上行 2.5G的 ONU 900能够完成注册,并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 可选地, 作为一个实施例, ONU 900的初始工作模式为上行 2.5G, 注 册请求消息, 包括: 用于指示 ONU 900支持上行 2.5G的能力字段; 和用于 指示 ONU 900当前请求注册为上行 2.5G的请求字段。 The receiving unit 901 receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports the uplink 2.5G; the sending unit 902 sends a registration request message to the OLT according to the uplink 2.5G discovery window message; the receiving unit 901 receives the OLT according to the registration request message. The registered registration message includes a logical link identifier LLID assigned by the OLT to the ONU; the sending unit 902 sends a registration success message to the OLT. The discovery window enables the ONU 900 supporting the uplink 2.5G to complete registration and works at the downstream 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience. Optionally, as an embodiment, the initial working mode of the ONU 900 is an uplink 2.5G, and the registration request message includes: an capability field for indicating that the ONU 900 supports the uplink 2.5G; and an indication that the ONU 900 currently requests to register as an uplink. 2.5G request field.
具体地, 要接入网络中的 ONU 900需要完成发现和注册过程, OLT中 的发现模块会定期或者不定期的开启发现窗, 即向 ONU 900广播发现窗消 息, 为刚上线还没有注册的 ONU 900提供注册的机会。 这里 OLT发送的为 上行 2.5G发现窗消息,也就是说允许支持上行 2.5G的 ONU 900注册, ONU 900可以为下行 10G/上行 2.5G的 ONU 900,也可以为支持上行 2.5G的多工 作模式 ONU 900, 在其初始默认工作模式为下行 10G/上行 2.5G的情况下, 当接收到 OLT的上行 2.5G发现窗消息, 支持上行 2.5G的 ONU 900可以向 OLT发送注册请求消息来响应该发现窗消息并且向 OLT指示其希望进行接 入注册, 也就是说, 该注册请求消息可以包括表示 ONU 900支持上行 2.5G 的能力字段以及请求进行注册的请求字段, 更具体地, 可以通过 MPCP的注 册请求消息 ( Register_Req ) 中的扩展字段来向 OLT指示。  Specifically, the ONU 900 in the network needs to complete the discovery and registration process. The discovery module in the OLT periodically or irregularly opens the discovery window, that is, broadcasts a discovery window message to the ONU 900, which is an ONU that has not been registered yet. 900 offers an opportunity to register. Here, the OLT sends an uplink 2.5G discovery window message, that is, it allows the ONU 900 to support the uplink 2.5G registration. The ONU 900 can be the ONU 900 of the downlink 10G/uplink 2.5G, or the multi-operation mode supporting the uplink 2.5G. On the ONU 900, when the initial default working mode is downlink 10G/uplink 2.5G, when receiving the uplink 2.5G discovery window message of the OLT, the ONU 900 supporting the uplink 2.5G may send a registration request message to the OLT to respond to the discovery. The window message indicates to the OLT that it wishes to perform access registration, that is, the registration request message may include a capability field indicating that the ONU 900 supports the uplink 2.5G and a request field for requesting registration, and more specifically, registration by the MPCP. The extension field in the request message (Register_Req) is indicated to the OLT.
可选地, 作为一个实施例, ONU 900的初始工作模式为上行 1G, ONU Optionally, as an embodiment, the initial working mode of the ONU 900 is uplink 1G, ONU.
900还包括切换单元和生成单元:切换单元根据上行 2.5G发现窗消息将工作 模式切换为上行 2.5G;并且生成单元生成携带有能力字段和请求字段的注册 请求消息, 其中能力字段指示 ONU 900同时支持上行 1G和上行 2.5G, 请 求字段指示 ONU 900当前请求注册为上行 2.5G。 The 900 further includes a switching unit and a generating unit: the switching unit switches the working mode to the uplink 2.5G according to the uplink 2.5G discovery window message; and the generating unit generates a registration request message carrying the capability field and the request field, where the capability field indicates that the ONU 900 simultaneously Supporting uplink 1G and uplink 2.5G, the request field indicates that the ONU 900 is currently requesting registration as an uplink 2.5G.
这里, ONU 900为支持下行 10G/上行 2.5G的多工作模式的 ONU 900, 即在支持 2.5G的同时,还可以支持下行 1G/上行 1G以及下行 10G/上行 10G 等其他工作模式。 在 ONU 900的初始默认工作模式为下行 10G/上行 1G的 情况下, 当接收到 OLT的上行 2.5G发现窗消息,该支持上行 2.5G的多工作 模式 ONU 900可以向 OLT发送注册请求消息来响应该发现窗消息并且向 OLT指示其希望进行接入注册, 也就是说, 该注册请求消息可以包括表示 ONU 900 支持上行 2.5G 以及其他工作模式的能力字段以及请求进行上行 2.5G 注册的请求字段, 更具体地, 可以通过 MPCP 的注册请求消息 ( Register_Req ) 中的扩展字段来向 OLT指示。 应理解, 在默认工作在上行 1G的 ONU 900接收到 2.5G发现窗后,该 ONU 900可以根据 2.5G发现窗将 工作模式切换到 2.5G, 以便于在后续注册的交互过程中以 2.5G上行线路速 率与 OLT进行通信。 可选地,作为一个实施例,注册消息包含 OLT分配给 ONU 900的 LLID、 同步时间和激光器开关时间上限。 OLT在接收到注册请求消息后, 可以根据 该消息为 ONU 900分配 LLID, 即为 ONU 900分配逻辑链路, 此外还可以 通过该消息向 ONU 900发送同步时间和激光器开关时间上限, 以便于完成 ONU 900与 OLT的同步校准, 以及限定 ONU 900激光器开关时间的上限, 避免该 ONU 900的上行传输与其他 ONU 900的上行传输发生沖突, 提高效 率。 Here, the ONU 900 is an ONU 900 that supports a multi-operation mode of downlink 10G/uplink 2.5G, that is, while supporting 2.5G, it can also support other working modes such as downlink 1G/uplink 1G and downlink 10G/uplink 10G. In the case that the initial default working mode of the ONU 900 is downlink 10G/uplink 1G, when receiving the uplink 2.5G discovery window message of the OLT, the multi-operation mode ONU 900 supporting the uplink 2.5G may send a registration request message to the OLT. The window message should be found and indicated to the OLT that it wishes to register for access, that is, the registration request message can include a capability field indicating that the ONU 900 supports the uplink 2.5G and other modes of operation, and a request field requesting uplink 2.5G registration. More specifically, it can be indicated to the OLT through an extension field in the registration request message (Register_Req) of the MPCP. It should be understood that after receiving the 2.5G discovery window by the ONU 900 working in the uplink 1G by default, the ONU 900 can switch the working mode to 2.5G according to the 2.5G discovery window, so as to be 2.5G uplink in the subsequent registration interaction process. The line rate communicates with the OLT. Optionally, as an embodiment, the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU 900. After receiving the registration request message, the OLT can allocate an LLID to the ONU 900 according to the message, that is, assign a logical link to the ONU 900, and also send a synchronization time and a laser switch time upper limit to the ONU 900 through the message, so as to complete the ONU. Synchronous calibration of the 900 and the OLT, and limiting the upper limit of the ONU 900 laser switching time, to prevent the uplink transmission of the ONU 900 from colliding with the uplink transmission of other ONUs 900, thereby improving efficiency.
可选地, 作为一个实施例, 接收单元 901和发送单元 902用于在 LLID 对应的逻辑链路上与 OLT进行最大下行 10G /上行 2.5G的数据传输。 数据 传输指的是数据的发送和接收, 可以通过接收单元 901和发送单元 902来进 行。  Optionally, as an embodiment, the receiving unit 901 and the sending unit 902 are configured to perform maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID. Data transmission refers to the transmission and reception of data, which can be performed by the receiving unit 901 and the transmitting unit 902.
具体地, ONU 900在接收到 OLT分配的 LLID后, 可以将 LLID存入 ONU 900的寄存器中, 至此, ONU 900与 OLT之间的逻辑链路建立成功, 之后 ONU 900 可以通过该逻辑链路向 OLT发送注册成功消息 (Register- _Ack), OLT接收到这个确认消息后则表示 ONU 900的注册过程已完成, ONU 900则会在后续过程中根据 OLT赋予的上行发送授权通过逻辑链路以 最大 2.5G的上行速率进行数据传输。  Specifically, after receiving the LLID allocated by the OLT, the ONU 900 can store the LLID in the register of the ONU 900. At this point, the logical link between the ONU 900 and the OLT is successfully established, and then the ONU 900 can pass through the logical link. The OLT sends a registration success message (Register- _Ack). After receiving the acknowledgment message, the OLT indicates that the registration process of the ONU 900 has been completed, and the ONU 900 passes the logical link at the maximum 2.5 according to the uplink transmission authorization given by the OLT in the subsequent process. The uplink rate of G is used for data transmission.
可选地, 作为一个实施例, 接收单元 901接收 OLT发送的上行 1G发现 窗消息; 发送单元 902根据上行 1G发现窗消息向 OLT发送注册请求消息, 其中注册请求消息包括用于指示 ONU 900支持上行 1G的能力字段和用于指 示 ONU 900当前请求注册为上行 1G的请求字段; 接收单元 901接收 OLT 根据注册请求消息发送的注册消息, 注册消息包括 OLT分配给 ONU 900的 LLID; 发送单元 902向 OLT发送注册成功消息, 以完成 ONU 900上行 1G 的注册。  Optionally, as an embodiment, the receiving unit 901 receives the uplink 1G discovery window message sent by the OLT; the sending unit 902 sends a registration request message to the OLT according to the uplink 1G discovery window message, where the registration request message includes an indication that the ONU 900 supports the uplink. a capability field of 1G and a request field for instructing the ONU 900 to request registration as an uplink 1G; the receiving unit 901 receives a registration message sent by the OLT according to the registration request message, the registration message includes an LLID assigned by the OLT to the ONU 900; the sending unit 902 to the OLT A registration success message is sent to complete the registration of the ONU 900 upstream 1G.
对于多工作模式的 ONU 900, 可以先以上行 1G的工作模式进行注册, 即, 响应 OLT发送的上行 1G发现窗消息,接受 OLT分配的 LLID, 完成 1G 注册并在 LLID对应的逻辑链路上以最大 1G的上行速率进行数据传输。 而 后承接步骤 201 , 当该 ONU 900接收到 OLT发送的上行 2.5G发现窗消息, 可以根据实际的业务需求确定是否切换到上行 2.5G的工作模式, 如果确定 进行切换, 则响应上行 2.5G发现窗消息以完成上行 2.5G注册, 如果维持当 前工作模式则可以不响应上行 2.5G发现窗消息。 可选地, 作为一个实施例, ONU 900还包括记录单元和复位单元, 接收 单元 901接收 OLT发送的用于查询 ONU 900的上行发送能力的查询消息; 发送单元 902向 OLT发送用于指示 ONU 900支持上行 1G和上行 2.5G的响 应消息;接收单元 901接收 OLT发送的指示 ONU 900切换至上行 2.5G工作 模式的指示消息; 记录单元根据指示消息切换至上行 2.5G工作模式并且记 录当前工作模式为 2.5G; 复位单元使得 ONU 900下线复位并且再次上线, 等待 OLT发送的上行 2.5G发现窗消息。 For the ONU 900 in the multi-operation mode, the operation mode of the uplink 1G can be registered first, that is, in response to the uplink 1G discovery window message sent by the OLT, the LLID assigned by the OLT is accepted, the 1G registration is completed, and the logical link corresponding to the LLID is used. Data transmission is performed at an uplink rate of up to 1G. Then, in step 201, when the ONU 900 receives the uplink 2.5G discovery window message sent by the OLT, it can determine whether to switch to the working mode of the uplink 2.5G according to actual service requirements, and if it is determined to perform the handover, respond to the uplink 2.5G discovery window. The message completes the uplink 2.5G registration, and may not respond to the uplink 2.5G discovery window message if the current working mode is maintained. Optionally, as an embodiment, the ONU 900 further includes a recording unit and a reset unit. The receiving unit 901 receives a query message sent by the OLT for querying the uplink sending capability of the ONU 900. The sending unit 902 sends the OLT to the OLT for indicating the ONU 900. Supporting the uplink 1G and the uplink 2.5G response message; the receiving unit 901 receives the indication message sent by the OLT indicating that the ONU 900 switches to the uplink 2.5G working mode; the recording unit switches to the uplink 2.5G working mode according to the indication message and records the current working mode as 2.5G; The reset unit resets the ONU 900 offline and goes online again, waiting for the upstream 2.5G discovery window message sent by the OLT.
多工作模式的 ONU 900首先以上行 1G的工作模式完成注册,之后 OLT 可以发起上行能力查询, 来查询 ONU 900的上行速率与用户配置的速率是 否一致。 具体地可以通过操作管理维护 ( Operation Administration and Maintenance , OAM )功能向 ONU 900发送上行发送能力查询消息, 之后多 工作模式的 ONU 900将其支持的上行发送能力通过响应消息发送给 OLT, 例如向 OLT指示该 ONU 900支持上行 1G以及上行 2.5G, OLT接收到该响 应消息后可以指示 ONU 900切换至上行 2.5G的工作模式。 ONU 900接收到 OLT的指示后可以记录当前的工作模式为上行 2.5G, 在获得 OLT的确认后 可以切换到上行 2.5G的工作模式,并且进行设备复位,使得 ONU 900下线。 ONU 900复位完成后, 当接收到 OLT发送的上行 2.5G发现窗, 则进行响应 并完成上行 2.5G注册。 至此, ONU 900由上行 1G切换至上行 2.5G的过程 完成。 此外, 在 ONU 900上行 2.5G注册完成后, OLT还可以再次发起上行 能力查询, 来确定 ONU 900当前的上行速率与用户配置的速率是否一致, 本发明对此并不限定。  The ONU 900 of the multi-work mode is first registered in the working mode of the upper-layer 1G, and then the OLT can initiate an uplink capability query to check whether the uplink rate of the ONU 900 is consistent with the rate configured by the user. Specifically, the uplink transmission capability query message may be sent to the ONU 900 by using the Operation Administration and Maintenance (OAM) function, and then the ONU 900 in the multi-operation mode sends the supported uplink transmission capability to the OLT through a response message, for example, to the OLT. The ONU 900 is instructed to support the uplink 1G and the uplink 2.5G. After receiving the response message, the OLT may instruct the ONU 900 to switch to the uplink 2.5G working mode. After receiving the indication from the OLT, the ONU 900 can record the current working mode as 2.5G uplink. After obtaining the OLT confirmation, it can switch to the uplink 2.5G working mode and reset the device to make the ONU 900 go offline. After the ONU 900 is reset, when it receives the upstream 2.5G discovery window sent by the OLT, it responds and completes the uplink 2.5G registration. At this point, the ONU 900 is completed by the process of switching from the upstream 1G to the upstream 2.5G. In addition, after the ONG 900 uplink 2.5G registration is complete, the OLT can also initiate an uplink capability query to determine whether the current uplink rate of the ONU 900 is consistent with the rate configured by the user, which is not limited by the present invention.
可选地, 作为一个实施例, 其特征在于, ONU 900支持下行 10G/上行 2.5G的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G /上行 10G和下 行 1G/上行 1G中的至少一种工作模式。 发现窗,使得支持上行 2.5G的 ONU 900能够完成注册,并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU 900的光模块成本较低, 可以与下行 10G/上行 1G等工作模式共同构成多模式 ONU 900, 根据不同的需要进行工作模式的 切换, 易于实现和推广。  Optionally, as an embodiment, the ONU 900 supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G. Kind of work mode. The discovery window enables the ONU 900 supporting uplink 2.5G to complete registration and works at downlink 10G/upstream 2.5G, providing higher uplink speed/bandwidth, thereby improving the user experience. In addition, the optical module of the downlink 10G/uplink 2.5G ONU 900 has a lower cost, and can be combined with the downlink 10G/uplink 1G working mode to form a multi-mode ONU 900, and the working mode can be switched according to different needs, which is easy to implement and popularize.
图 10是本发明另一实施例的光线路终端的示意框图。 图 10的光线路终 端 OLT 100包括存储器 101、 处理器 102、 发射电路 103和接收电路 104。 发送上行 2.5G发现窗消息; 通过接收单元 104接收支持上行 2.5G的光网络 单元 ONU根据发现窗消息发送的注册请求消息;通过发射电路 103向 ONU 发送注册消息, 注册消息包括 OLT分配给 ONU的逻辑链路标识 LLID; 通 过接收电路 104接收 ONU发送的注册成功消息。 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 Figure 10 is a schematic block diagram of an optical line terminal in accordance with another embodiment of the present invention. Figure 10 shows the end of the optical line The end OLT 100 includes a memory 101, a processor 102, a transmitting circuit 103, and a receiving circuit 104. Sending an uplink 2.5G discovery window message; receiving, by the receiving unit 104, a registration request message sent by the optical network unit ONU supporting the uplink 2.5G according to the discovery window message; sending a registration message to the ONU through the transmitting circuit 103, where the registration message includes the OLT assigning to the ONU The logical link identifies the LLID; receives the registration success message sent by the ONU through the receiving circuit 104. The discovery window enables the ONU supporting the uplink 2.5G to complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience.
处理器 102控制 OLT100的操作, 处理器 102还可以称为 CPU ( Central The processor 102 controls the operation of the OLT 100, which may also be referred to as a CPU (Central).
Processing Unit, 中央处理单元)。 存储器 101可以包括只读存储器和随机存 取存储器, 并向处理器 102提供指令和数据。 存储器 101的一部分还可以包 括非易失性随机存取存储器( NVRAM )。 OLT100的各个组件通过总线系统 105耦合在一起, 其中总线系统 105除包括数据总线之外, 还可以包括电源 总线、 控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中将各种 总线都标为总线系统 105。 Processing Unit, central processing unit). Memory 101 can include read only memory and random access memory and provides instructions and data to processor 102. A portion of the memory 101 may also include non-volatile random access memory (NVRAM). The various components of the OLT 100 are coupled together by a bus system 105, which may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 105 in the figure.
上述本发明实施例揭示的方法可以应用于处理器 102中,或者由处理器 102实现。 处理器 102可能是一种集成电路芯片, 具有信号的处理能力。 在 实现过程中, 上述方法的各步骤可以通过处理器 102中的硬件的集成逻辑电 路或者软件形式的指令完成。 上述的处理器 102可以是通用处理器、 数字信 号处理器(DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 (FPGA )或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以 实现或者执行本发明实施例中的公开的各方法、 步骤及逻辑框图。 通用处理 器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明 实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成, 或者 用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存 储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。该存储介质位于存储器 101 ,处理器 102 读取存储器 101中的信息, 结合其硬件完成上述方法的步骤。  The method disclosed in the above embodiments of the present invention may be applied to the processor 102 or implemented by the processor 102. Processor 102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method may be completed by an integrated logic circuit of the hardware in the processor 102 or an instruction in the form of software. The processor 102 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by the hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium is located in the memory 101, and the processor 102 reads the information in the memory 101 and combines the hardware to perform the steps of the above method.
可选地, 作为一个实施例, ONU的初始工作模式为上行 2.5G, OLT接 收到的注册请求消息, 包括: 用于指示 ONU支持上行 2.5G的能力字段; 和 用于指示 ONU当前请求注册为上行 2.5G的请求字段。 Optionally, as an embodiment, the initial working mode of the ONU is an uplink 2.5G, and the registration request message received by the OLT includes: an capability field for indicating that the ONU supports the uplink 2.5G; and A request field indicating that the ONU is currently requesting registration as an uplink 2.5G.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, OLT接收 到的注册请求消息, 包括: 用于指示 ONU同时支持上行 1G和上行 2.5G的 能力字段; 和用于指示 ONU当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and the registration request message received by the OLT includes: an capability field for indicating that the ONU supports both the uplink 1G and the uplink 2.5G; and is used to indicate the current ONU Request to register as an uplink 2.5G request field.
可选地, 作为一个实施例, OLT接收支持上行 2.5G的光网络单元 ONU 根据发现窗消息发送的注册请求消息之后, 还包括: 根据注册请求消息的能 力字段和请求字段,确定分配给 ONU的 LLID、 同步时间和激光器开关时间 上限; 生成包含有 LLID、 同步时间和激光器开关时间上限的注册消息。  Optionally, as an embodiment, after the OLT receives the registration request message sent by the optical network unit ONU that supports the uplink 2.5G according to the discovery window message, the method further includes: determining, according to the capability field and the request field of the registration request message, the allocation to the ONU. LLID, synchronization time, and laser switching time cap; generate a registration message containing the LLID, synchronization time, and laser switch time cap.
可选地, 作为一个实施例, OLT接收 ONU发送的注册成功消息之后, 还包括:在 LLID对应的逻辑链路上与 ONU进行最大下行 10G/上行 2.5G的 数据传输。  Optionally, as an embodiment, after receiving the registration success message sent by the ONU, the OLT further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the ONU on the logical link corresponding to the LLID.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, 光线路终 端 OLT发送上行 2.5G发现窗消息之前, 还包括: 发送上行 1G发现窗消息; 接收 ONU根据上行 1G发现窗消息发送的注册请求消息, 其中注册请求消 息包括用于指示 ONU支持上行 1G的能力字段和用于指示 ONU当前请求注 册为上行 1G的请求字段; 向 ONU发送注册消息, 注册消息包括 OLT分配 给 ONU的逻辑链路标识 LLID; 接收 ONU发送的注册成功消息, 以完成 ONU上行 1G的注册。  Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and before the optical line terminal OLT sends the uplink 2.5G discovery window message, the method further includes: sending an uplink 1G discovery window message; and receiving the ONU according to the uplink 1G discovery window message. a registration request message, where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G and a request field for indicating that the ONU currently requests to register as the uplink 1G; sending a registration message to the ONU, where the registration message includes logic allocated by the OLT to the ONU The link identifier LLID is received by the ONU to complete the registration of the ONU uplink 1G.
可选地, 作为一个实施例, 接收 ONU发送的注册成功消息之后, 还包 括: 向 ONU发送查询消息, 以便于查询 ONU的上行发送能力; 接收 ONU 发送的响应消息,响应消息指示 ONU支持上行 1G和上行 2.5G; 向 ONU发 送用于指示 ONU切换至上行 2.5G工作模式的指示消息, 以使得 ONU切换 至上行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复位, 以便于 ONU接收到 OLT发送的上行 2.5G发现窗时以上行 2.5G注册。  Optionally, as an embodiment, after receiving the registration success message sent by the ONU, the method further includes: sending an inquiry message to the ONU, so as to query the uplink transmission capability of the ONU; receiving a response message sent by the ONU, and the response message indicates that the ONU supports the uplink 1G. And uplink 2.5G; sending an indication message to the ONU for instructing the ONU to switch to the uplink 2.5G working mode, so that the ONU switches to the uplink 2.5G working mode and records the current working mode as 2.5G and the offline reset, so that the ONU receives When the upstream 2.5G discovery window sent by the OLT is sent, the above 2.5G registration is performed.
可选地, 作为一个实施例, 其特征在于, ONU支持下行 10G/上行 2.5G 的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G/上行 10G和下行 1G/ 上行 1G中的至少一种工作模式。 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上行 1G 等工作模式共同构成多模式 ONU, 根据不同的需要进行工作模式的切换, 易于实现和推广。 Optionally, as an embodiment, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of downlink 10G/uplink 1G, downlink 10G/uplink 10G, and downlink 1G/uplink 1G. Operating mode. The discovery window enables the ONU supporting the uplink 2.5G to complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink rate/bandwidth, thereby improving the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a lower cost, and can be downlink 10G/uplink 1G. The working modes together form a multi-mode ONU, and the switching of the working mode according to different needs is easy to implement and popularize.
图 11是本发明另一实施例的光网络单元的示意框图。 图 11中的光网络 单元 110包括存储器 111、 处理器 112、 发射电路 113和接收电路 114。 接收光线路终端 OLT发送的上行 2.5G发现窗消息, 其中 ONU支持上行 2.5G; 通过发射电路 113根据上行 2.5G发现窗消息向 OLT发送注册请求消 息; 通过接收电路 114接收 OLT根据注册请求消息发送的注册消息, 注册 消息包括 OLT分配给 ONU的逻辑链路标识 LLID;通过发射电路 113向 OLT 发送注册成功消息。  11 is a schematic block diagram of an optical network unit in accordance with another embodiment of the present invention. The optical network unit 110 of Fig. 11 includes a memory 111, a processor 112, a transmitting circuit 113, and a receiving circuit 114. Receiving an uplink 2.5G discovery window message sent by the optical line terminal OLT, wherein the ONU supports the uplink 2.5G; sending, by the transmitting circuit 113, a registration request message to the OLT according to the uplink 2.5G discovery window message; receiving, by the receiving circuit 114, the OLT sending according to the registration request message The registration message, the registration message includes the logical link identifier LLID assigned by the OLT to the ONU; the registration success message is sent to the OLT through the transmitting circuit 113.
本发明实施例的以太网无源光网络通过 OLT向 ONU 110开启上行 2.5G 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。  The Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU 110 through the OLT, so that the ONU supporting the uplink 2.5G can complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink. Rate/bandwidth, which improves the user experience.
处理器 112控制 ONU110的操作,处理器 112还可以称为 CPU ( Central Processing Unit, 中央处理单元)。 存储器 111可以包括只读存储器和随机存 取存储器, 并向处理器 112提供指令和数据。 存储器 111的一部分还可以包 括非易失性随机存取存储器(NVRAM )。 ONU110的各个组件通过总线系统 115耦合在一起, 其中总线系统 115除包括数据总线之外, 还可以包括电源 总线、 控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中将各种 总线都标为总线系统 115。  The processor 112 controls the operation of the ONU 110, which may also be referred to as a CPU (Central Processing Unit). Memory 111 can include read only memory and random access memory and provides instructions and data to processor 112. A portion of the memory 111 may also include non-volatile random access memory (NVRAM). The various components of the ONU 110 are coupled together by a bus system 115, which may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as the bus system 115 in the figure.
上述本发明实施例揭示的方法可以应用于处理器 112中, 或者由处理器 112实现。 处理器 112可能是一种集成电路芯片, 具有信号的处理能力。 在 实现过程中, 上述方法的各步骤可以通过处理器 112中的硬件的集成逻辑电 路或者软件形式的指令完成。 上述的处理器 112可以是通用处理器、 数字信 号处理器(DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 (FPGA )或 者其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以 实现或者执行本发明实施例中的公开的各方法、 步骤及逻辑框图。 通用处理 器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明 实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成, 或者 用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存 储器, 闪存、 只读存储器, 可编程只读存储器或者电可擦写可编程存储器、 寄存器等本领域成熟的存储介质中。该存储介质位于存储器 111 ,处理器 112 读取存储器 111中的信息, 结合其硬件完成上述方法的步骤。 The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 112 or implemented by the processor 112. Processor 112 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 112 or an instruction in a form of software. The processor 112 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor. The software module can be located in a random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, Registers and other mature storage media in the field. The storage medium is located in the memory 111, and the processor 112 reads the information in the memory 111 and combines the hardware to complete the steps of the above method.
可选地, 作为一个实施例, ONU的初始工作模式为上行 2.5G, 注册请 求消息, 包括: 用于指示 ONU支持上行 2.5G的能力字段;和用于指示 ONU 当前请求注册为上行 2.5G的请求字段。  Optionally, as an embodiment, the initial working mode of the ONU is an uplink 2.5G, and the registration request message includes: an capability field for indicating that the ONU supports the uplink 2.5G; and an indication that the ONU currently requests to register as the uplink 2.5G. Request field.
可选地, 作为一个实施例, ONU的初始工作模式为上行 1G, ONU根 据上行 2.5G发现窗消息向 OLT发送注册请求消息之前, 还包括: 根据上行 2.5G发现窗消息将工作模式切换为上行 2.5G; 并且生成携带有能力字段和 请求字段的注册请求消息, 其中能力字段指示 ONU同时支持上行 1G和上 行 2.5G, 请求字段指示 ONU当前请求注册为上行 2.5G。  Optionally, as an embodiment, the initial working mode of the ONU is uplink 1G, and before the ONU sends the registration request message to the OLT according to the uplink 2.5G discovery window message, the method further includes: switching the working mode to the uplink according to the uplink 2.5G discovery window message. 2.5G; and generating a registration request message carrying the capability field and the request field, wherein the capability field indicates that the ONU supports both the uplink 1G and the uplink 2.5G, and the request field indicates that the ONU currently requests to register as the uplink 2.5G.
可选地, 作为一个实施例, 注册消息包含 OLT分配给 ONU的 LLID、 同步时间和激光器开关时间上限。  Optionally, as an embodiment, the registration message includes an LLID, a synchronization time, and an upper limit of the laser switching time allocated by the OLT to the ONU.
可选地, 作为一个实施例, ONU向 OLT发送注册成功消息之后, 还包 括:在 LLID对应的逻辑链路上与 OLT进行最大下行 10G /上行 2.5G的数据 传输。  Optionally, as an embodiment, after the ONU sends the registration success message to the OLT, the method further includes: performing a maximum downlink 10G/uplink 2.5G data transmission with the OLT on the logical link corresponding to the LLID.
可选地, 作为一个实施例, 光网络单元 ONU接收光线路终端 OLT发送 的上行 2.5G发现窗消息之前, 还包括: 接收 OLT发送的上行 1G发现窗消 息; 根据上行 1G发现窗消息向 OLT发送注册请求消息, 其中注册请求消息 包括用于指示 ONU支持上行 1G的能力字段和用于指示 ONU当前请求注册 为上行 1G的请求字段; 接收 OLT根据注册请求消息发送的注册消息, 注册 消息包括 OLT分配给 ONU的 LLID; 向 OLT发送注册成功消息, 以完成 ONU上行 1G的注册。  Optionally, as an embodiment, before the optical network unit ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, the method further includes: receiving an uplink 1G discovery window message sent by the OLT; and sending the message to the OLT according to the uplink 1G discovery window message. a registration request message, where the registration request message includes a capability field for indicating that the ONU supports the uplink 1G, and a request field for indicating that the ONU currently requests to register as the uplink 1G; receiving the registration message sent by the OLT according to the registration request message, where the registration message includes the OLT allocation The LLID of the ONU is sent to the OLT to complete the registration of the ONU uplink 1G.
可选地, 作为一个实施例, 向 OLT发送注册成功消息之后, 还包括: 接收 OLT发送的用于查询 ONU的上行发送能力的查询消息; 向 OLT发送 用于指示 ONU支持上行 1G和上行 2.5G的响应消息;接收 OLT发送的指示 ONU切换至上行 2.5G工作模式的指示消息;根据指示消息切换至上行 2.5G 工作模式并且记录当前工作模式为 2.5G; 下线复位并且再次上线后, 等待 OLT发送的上行 2.5G发现窗消息。  Optionally, as an embodiment, after the sending the registration success message to the OLT, the method further includes: receiving, by the OLT, an inquiry message for querying an uplink sending capability of the ONU; sending, to the OLT, the ONU to support the uplink 1G and the uplink 2.5G. The response message sent by the OLT, indicating that the ONU switches to the uplink 2.5G working mode; switches to the uplink 2.5G working mode according to the indication message and records the current working mode as 2.5G; after the offline reset and goes online again, waits for the OLT The upstream 2.5G discovery window message sent.
可选地, 作为一个实施例, ONU支持下行 10G/上行 2.5G的工作模式, 并且还支持下行 10G/上行 1G, 下行 10G /上行 10G和下行 1G/上行 1G中的 至少一种工作模式。 本发明实施例的以太网无源光网络通过 OLT向 ONU 110开启上行 2.5G 发现窗, 使得支持上行 2.5G的 ONU能够完成注册, 并且工作在下行 10G/ 上行 2.5G, 提供较高的上行线路速率 /带宽, 从而提高了用户体验。 并且, 下行 10G/上行 2.5G的 ONU的光模块成本较低, 可以与下行 10G/上行 1G 等工作模式共同构成多模式 ONU, 根据不同的需要进行工作模式的切换, 易于实现和推广。 Optionally, as an embodiment, the ONU supports a downlink 10G/uplink 2.5G working mode, and further supports at least one of a downlink 10G/uplink 1G, a downlink 10G/uplink 10G, and a downlink 1G/uplink 1G. The Ethernet passive optical network in the embodiment of the present invention opens an uplink 2.5G discovery window to the ONU 110 through the OLT, so that the ONU supporting the uplink 2.5G can complete registration, and works in the downlink 10G/upstream 2.5G, providing a higher uplink. Rate/bandwidth, which improves the user experience. Moreover, the optical module of the downlink 10G/uplink 2.5G ONU has a low cost, and can form a multi-mode ONU together with a working mode such as a downlink 10G/uplink 1G, and can switch between working modes according to different needs, and is easy to implement and popularize.
可选地, 作为一个实施例, 一种以太网无源光网络系统, 包括: 光线路 终端, 光分路器和多个光网络单元, 所述光线路终端通过光分路器与所述光 网络单元连接, 其中, 所述光线路终端可以包括如上述图 8和图 10对应的 实施例中的光线路终端, 所述光网络单元可以包括如上述图 9和图 11对应 的实施例中的光网络单元, 此处不再赘述。  Optionally, as an embodiment, an Ethernet passive optical network system includes: an optical line terminal, an optical splitter, and a plurality of optical network units, wherein the optical line terminal passes the optical splitter and the optical The network unit is connected, wherein the optical line terminal may include an optical line terminal in the embodiment corresponding to FIG. 8 and FIG. 10, and the optical network unit may include the embodiment in FIG. 9 and FIG. Optical network unit, which will not be described here.
应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。  It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 或者计算机软件和电子硬件的结 合来实现。 这些功能究竟以硬件还是软件方式来执行, 取决于技术方案的特 定应用和设计约束条件。 专业技术人员可以对每个特定的应用来使用不同方 法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in a combination of electronic hardware or computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为描述的方便和筒洁, 上述描 述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  It will be apparent to those skilled in the art that, for the convenience of the description and the cleaning process, the specific operation of the system, the device and the unit described above may be referred to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place. Or it can be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使 用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明 的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部 分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质 中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而前 述的存储介质包括: U盘、移动硬盘、只读存储器( ROM, Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可 以存储程序代码的介质。  The functions, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential to the prior art or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 向到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应以所述权利要求的保护范围为准。  The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily change or replace it within the technical scope disclosed by the present invention. All should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims

权利要求 Rights request
1. 一种通信方法, 其特征在于, 包括: 1. A communication method, characterized in that it includes:
光线路终端 OLT发送上行 2.5G发现窗消息; The optical line terminal OLT sends the uplink 2.5G discovery window message;
所述 OLT接收支持上行 2.5G的光网络单元 ONU根据所述发现窗消息 发送的注册请求消息; The OLT receives the registration request message sent by the optical network unit ONU supporting uplink 2.5G according to the discovery window message;
所述 OLT向所述 ONU发送注册消息, 所述注册消息包括所述 OLT分 配给所述 ONU的逻辑链路标识 LLID; The OLT sends a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU;
所述 OLT接收所述 ONU发送的注册成功消息。 The OLT receives the registration success message sent by the ONU.
2.根据权利要求 1所述的方法, 其特征在于, 所述 ONU的初始工作模 式为上行 2.5G, 所述 OLT接收到的注册请求消息, 包括: 2. The method according to claim 1, characterized in that the initial working mode of the ONU is uplink 2.5G, and the registration request message received by the OLT includes:
用于指示所述 ONU支持上行 2.5G的能力字段; 和 A capability field used to indicate that the ONU supports uplink 2.5G; and
用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 A request field used to indicate that the ONU is currently requesting registration for uplink 2.5G.
3.根据权利要求 1所述的方法, 其特征在于, 所述 ONU的初始工作模 式为上行 1G, 所述 OLT接收到的注册请求消息, 包括: 3. The method according to claim 1, characterized in that the initial working mode of the ONU is uplink 1G, and the registration request message received by the OLT includes:
用于指示所述 ONU同时支持上行 1G和上行 2.5G的能力字段; 和 用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 A capability field used to indicate that the ONU supports both uplink 1G and uplink 2.5G; and a request field used to indicate that the ONU is currently requesting registration as uplink 2.5G.
4.根据权利要求 2或 3所述的方法, 其特征在于, 所述 OLT接收支持 上行 2.5G的光网络单元 ONU根据所述发现窗消息发送的注册请求消息之 后, 还包括: 4. The method according to claim 2 or 3, characterized in that, after the OLT receives the registration request message sent by the optical network unit ONU supporting uplink 2.5G according to the discovery window message, it also includes:
根据所述注册请求消息的所述能力字段和所述请求字段,确定分配给所 述 ONU的 LLID、 同步时间和激光器开关时间上限; Determine the LLID, synchronization time and laser switching time upper limit assigned to the ONU according to the capability field and the request field of the registration request message;
生成包含有所述 LLID、 同步时间和激光器开关时间上限的注册消息。 Generate a registration message containing the LLID, synchronization time and upper limit of laser switching time.
5.根据权利要求 1所述的方法, 其特征在于, 所述 ONU的初始工作模 式为上行 1G,所述光线路终端 OLT发送上行 2.5G发现窗消息之前,还包括: 发送上行 1G发现窗消息; 5. The method according to claim 1, characterized in that, the initial working mode of the ONU is uplink 1G, and before the optical line terminal OLT sends the uplink 2.5G discovery window message, it further includes: sending the uplink 1G discovery window message. ;
接收所述 ONU根据所述上行 1G发现窗消息发送的注册请求消息, 其 中所述注册请求消息包括用于指示所述 ONU支持上行 1G的能力字段和用 于指示所述 ONU当前请求注册为上行 1G的请求字段; Receive a registration request message sent by the ONU according to the uplink 1G discovery window message, wherein the registration request message includes a capability field indicating that the ONU supports uplink 1G and a capability field indicating that the ONU is currently requesting registration as uplink 1G request fields;
向所述 ONU发送注册消息, 所述注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; Send a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU;
接收所述 ONU发送的注册成功消息,以完成所述 ONU上行 1G的注册。 Receive the registration success message sent by the ONU to complete the registration of the ONU upstream 1G.
6.根据权利要求 5所述的方法, 其特征在于, 所述接收所述 ONU发送 的注册成功消息之后, 还包括: 6. The method according to claim 5, characterized in that, after receiving the registration success message sent by the ONU, further comprising:
向所述 ONU发送查询消息, 以便于查询所述 ONU的上行发送能力; 接收所述 ONU发送的响应消息, 所述响应消息指示所述 ONU支持上 行 1G和上行 2.5G; Send a query message to the ONU to query the uplink transmission capability of the ONU; receive a response message sent by the ONU, where the response message indicates that the ONU supports uplink 1G and uplink 2.5G;
向所述 ONU发送用于指示所述 ONU切换至上行 2.5G工作模式的指示 消息,以使得所述 ONU切换至上行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复位, 以便于所述 ONU接收到所述 OLT发送的上行 2.5G发 现窗时以上行 2.5G注册。 Send an instruction message for instructing the ONU to switch to the uplink 2.5G working mode to the ONU, so that the ONU switches to the uplink 2.5G working mode and records that the current working mode is 2.5G and goes offline to reset, so that the ONU can switch to the uplink 2.5G working mode. The ONU registers with the uplink 2.5G when receiving the uplink 2.5G discovery window sent by the OLT.
7. 一种通信方法, 其特征在于, 包括: 7. A communication method, characterized by including:
光网络单元 ONU接收光线路终端 OLT发送的上行 2.5G发现窗消息, 其中所述 ONU支持上行 2.5G; The optical network unit ONU receives the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports uplink 2.5G;
所述 ONU根据所述上行 2.5G发现窗消息向所述 OLT发送注册请求消 息; The ONU sends a registration request message to the OLT according to the uplink 2.5G discovery window message;
所述 ONU接收所述 OLT根据所述注册请求消息发送的注册消息,所述 注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; The ONU receives the registration message sent by the OLT according to the registration request message, and the registration message includes the logical link identifier LLID assigned by the OLT to the ONU;
所述 ONU向所述 OLT发送注册成功消息。 The ONU sends a registration success message to the OLT.
8.根据权利要求 1所述的方法, 其特征在于, 所述 ONU的初始工作模 式为上行 2.5G, 所述注册请求消息, 包括: 8. The method according to claim 1, characterized in that the initial working mode of the ONU is uplink 2.5G, and the registration request message includes:
用于指示所述 ONU支持上行 2.5G的能力字段; 和 A capability field used to indicate that the ONU supports uplink 2.5G; and
用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 A request field used to indicate that the ONU is currently requesting registration for uplink 2.5G.
9.根据权利要求 1所述的方法, 其特征在于, 所述 ONU的初始工作模 式为上行 1G, 所述 ONU根据所述上行 2.5G发现窗消息向所述 OLT发送注 册请求消息之前, 还包括: 9. The method according to claim 1, characterized in that, the initial working mode of the ONU is uplink 1G, and before the ONU sends a registration request message to the OLT according to the uplink 2.5G discovery window message, it also includes :
根据所述上行 2.5G发现窗消息将工作模式切换为上行 2.5G; 并且 生成携带有能力字段和请求字段的注册请求消息, 其中所述能力字段指 示所述 ONU同时支持上行 1G和上行 2.5G,所述请求字段指示所述 ONU当 前请求注册为上行 2.5G。 Switch the working mode to uplink 2.5G according to the uplink 2.5G discovery window message; and generate a registration request message carrying a capability field and a request field, where the capability field indicates that the ONU supports both uplink 1G and uplink 2.5G, The request field indicates that the ONU is currently requesting registration for uplink 2.5G.
10.根据权利要求 8或 9所述的方法, 其特征在于, 所述注册消息包含 所述 OLT分配给所述 ONU的 LLID、 同步时间和激光器开关时间上限。 10. The method according to claim 8 or 9, characterized in that the registration message includes the LLID, synchronization time and laser switching time upper limit assigned by the OLT to the ONU.
11.根据权利要求 7所述的方法, 其特征在于, 光网络单元 ONU接收 光线路终端 OLT发送的上行 2.5G发现窗消息之前, 还包括: 11. The method according to claim 7, characterized in that, the optical network unit ONU receives Before the uplink 2.5G discovery window message sent by the optical line terminal OLT, it also includes:
接收所述 OLT发送的上行 1G发现窗消息; Receive the uplink 1G discovery window message sent by the OLT;
根据所述上行 1G发现窗消息向所述 OLT发送注册请求消息,其中所述 注册请求消息包括用于指示所述 ONU支持上行 1G的能力字段和用于指示 所述 ONU当前请求注册为上行 1G的请求字段; Send a registration request message to the OLT according to the uplink 1G discovery window message, where the registration request message includes a capability field used to indicate that the ONU supports uplink 1G and a capability field used to indicate that the ONU is currently requesting registration as uplink 1G. request fields;
接收所述 OLT根据所述注册请求消息发送的注册消息, 所述注册消息 包括所述 OLT分配给所述 ONU的 LLID; Receive a registration message sent by the OLT according to the registration request message, where the registration message includes the LLID assigned by the OLT to the ONU;
向所述 OLT发送注册成功消息, 以完成所述 ONU上行 1G的注册。 Send a registration success message to the OLT to complete the registration of the ONU uplink 1G.
12. 根据权利要求 11所述的方法, 其特征在于, 所述向所述 OLT发送 注册成功消息之后, 还包括: 12. The method according to claim 11, characterized in that, after sending the registration success message to the OLT, it further includes:
接收所述 OLT发送的用于查询所述 ONU的上行发送能力的查询消息; 向所述 OLT发送用于指示所述 ONU支持上行 1G和上行 2.5G的响应消 息; Receive a query message sent by the OLT for querying the uplink transmission capability of the ONU; Send a response message to the OLT indicating that the ONU supports uplink 1G and uplink 2.5G;
接收所述 OLT发送的指示所述 ONU切换至上行 2.5G工作模式的指示 消息; Receive an instruction message sent by the OLT instructing the ONU to switch to the uplink 2.5G working mode;
根据所述指示消息切换至上行 2.5G工作模式并且记录当前工作模式为 2.5G; Switch to the uplink 2.5G working mode according to the instruction message and record the current working mode as 2.5G;
下线复位并且再次上线后, 等待所述 OLT发送的所述上行 2.5G发现窗 消息。 After resetting offline and going online again, wait for the uplink 2.5G discovery window message sent by the OLT.
13. 一种光线路终端, 其特征在于, 包括: 13. An optical line terminal, characterized by: including:
发送单元, 用于发送上行 2.5G发现窗消息; 消息发送的注册请求消息; The sending unit is used to send the uplink 2.5G discovery window message; the registration request message for message sending;
所述发送单元用于向所述 ONU发送注册消息, 所述注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; The sending unit is configured to send a registration message to the ONU, where the registration message includes a logical link identifier LLID assigned by the OLT to the ONU;
所述接收单元用于接收所述 ONU发送的注册成功消息。 The receiving unit is configured to receive the registration success message sent by the ONU.
14. 根据权利要求 13所述的光线路终端, 其特征在于, 所述 ONU的初 始工作模式为上行 2.5G, 所述接收单元接收到的注册请求消息, 包括: 用于指示所述 ONU支持上行 2.5G的能力字段; 和 14. The optical line terminal according to claim 13, characterized in that, the initial working mode of the ONU is uplink 2.5G, and the registration request message received by the receiving unit includes: used to indicate that the ONU supports uplink 2.5G capability fields; and
用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 A request field used to indicate that the ONU is currently requesting registration for uplink 2.5G.
15. 根据权利要求 13所述的光线路终端, 其特征在于, 所述 ONU的初 始工作模式为上行 1G, 所述接收单元接收到的注册请求消息, 包括: 用于指示所述 ONU同时支持上行 1G和上行 2.5G的能力字段; 和 用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 15. The optical line terminal according to claim 13, characterized in that: the initial terminal of the ONU The initial working mode is uplink 1G. The registration request message received by the receiving unit includes: a capability field used to indicate that the ONU supports both uplink 1G and uplink 2.5G; and a capability field used to indicate that the ONU is currently requesting registration as uplink. 2.5G request field.
16. 根据权利要求 14或 15所述的光线路终端, 其特征在于, 所述光线 路终端还包括确定单元, 所述确定单元用于: 16. The optical line terminal according to claim 14 or 15, characterized in that the optical line terminal further includes a determining unit, the determining unit is used to:
根据所述注册请求消息的所述能力字段和所述请求字段,确定分配给所 述 ONU的 LLID、 同步时间和激光器开关时间上限; Determine the LLID, synchronization time and laser switching time upper limit assigned to the ONU according to the capability field and the request field of the registration request message;
生成包含有所述 LLID、 同步时间和激光器开关时间上限的注册消息。 Generate a registration message containing the LLID, synchronization time and upper limit of laser switching time.
17. 根据权利要求 13所述的光线路终端, 其特征在于, 所述 ONU的初 始工作模式为上行 1G, 所述发送单元还用于: 发送上行 1G发现窗消息; 所述接收单元还用于接收所述 ONU根据所述上行 1G发现窗消息发送 的注册请求消息, 其中所述注册请求消息包括用于指示所述 ONU支持上行 1G的能力字段和用于指示所述 ONU当前请求注册为上行 1G的请求字段; 所述发送单元还用于向所述 ONU发送注册消息, 所述注册消息包括所 述 OLT分配给所述 ONU的逻辑链路标识 LLID; 17. The optical line terminal according to claim 13, characterized in that, the initial working mode of the ONU is uplink 1G, and the sending unit is also used to: send an uplink 1G discovery window message; the receiving unit is also used to: Receive a registration request message sent by the ONU according to the uplink 1G discovery window message, wherein the registration request message includes a capability field indicating that the ONU supports uplink 1G and a capability field indicating that the ONU is currently requesting registration as uplink 1G The request field; The sending unit is also used to send a registration message to the ONU, where the registration message includes the logical link identifier LLID assigned by the OLT to the ONU;
所述接收单元还用于接收所述 ONU发送的注册成功消息, 以完成所述 ONU上行 1G的注册。 The receiving unit is also configured to receive a registration success message sent by the ONU to complete the registration of the ONU uplink 1G.
18. 根据权利要求 17所述的光线路终端,其特征在于,所述发送单元还 用于: 18. The optical line terminal according to claim 17, characterized in that the sending unit is also used for:
向所述 ONU发送查询消息, 以便于查询所述 ONU的上行发送能力; 通过所述接收单元接收所述 ONU发送的响应消息, 所述响应消息指示 所述 ONU支持上行 1G和上行 2.5G; Send a query message to the ONU to query the uplink transmission capability of the ONU; receive the response message sent by the ONU through the receiving unit, and the response message indicates that the ONU supports uplink 1G and uplink 2.5G;
向所述 ONU发送用于指示所述 ONU切换至上行 2.5G工作模式的指示 消息,以使得所述 ONU切换至上行 2.5G工作模式并且记录当前工作模式为 2.5G并且下线复位, 以便于所述 ONU接收到所述 OLT发送的上行 2.5G发 现窗时以上行 2.5G注册。 Send an instruction message for instructing the ONU to switch to the uplink 2.5G working mode to the ONU, so that the ONU switches to the uplink 2.5G working mode and records that the current working mode is 2.5G and goes offline to reset, so that the ONU can switch to the uplink 2.5G working mode. The ONU registers with the upstream 2.5G when receiving the upstream 2.5G discovery window sent by the OLT.
19. 一种光网络单元, 其特征在于, 包括: 19. An optical network unit, characterized by: including:
接收单元, 用于接收光线路终端 OLT发送的上行 2.5G发现窗消息, 其 中所述 ONU支持上行 2.5G; A receiving unit, configured to receive the uplink 2.5G discovery window message sent by the optical line terminal OLT, where the ONU supports uplink 2.5G;
发送单元, 用于根据所述上行 2.5G发现窗消息向所述 OLT发送注册请 求消息; 所述接收单元用于接收所述 OLT根据所述注册请求消息发送的注册消 息, 所述注册消息包括所述 OLT分配给所述 ONU的逻辑链路标识 LLID; 所述发送单元用于向所述 OLT发送注册成功消息。 A sending unit, configured to send a registration request message to the OLT according to the uplink 2.5G discovery window message; The receiving unit is configured to receive a registration message sent by the OLT according to the registration request message. The registration message includes the logical link identifier LLID assigned by the OLT to the ONU; the sending unit is configured to send the registration message to the ONU. The OLT sends a registration success message.
20. 根据权利要求 19所述的光网络单元, 其特征在于, 所述 ONU的初 始工作模式为上行 2.5G, 所述注册请求消息, 包括: 20. The optical network unit according to claim 19, characterized in that the initial working mode of the ONU is uplink 2.5G, and the registration request message includes:
用于指示所述 ONU支持上行 2.5G的能力字段; 和 A capability field used to indicate that the ONU supports uplink 2.5G; and
用于指示所述 ONU当前请求注册为上行 2.5G的请求字段。 A request field used to indicate that the ONU is currently requesting registration for uplink 2.5G.
21. 根据权利要求 19所述的光网络单元, 其特征在于, 所述 ONU的初 始工作模式为上行 1G, 所述 ONU还包括切换单元和生成单元, 所述切换单 元用于: 根据所述上行 2.5G发现窗消息将工作模式切换为上行 2.5G; 并且 所述生成单元用于生成携带有能力字段和请求字段的注册请求消息, 其 中所述能力字段指示所述 ONU同时支持上行 1G和上行 2.5G, 所述请求字 段指示所述 ONU当前请求注册为上行 2.5G。 21. The optical network unit according to claim 19, characterized in that, the initial working mode of the ONU is uplink 1G, the ONU further includes a switching unit and a generating unit, the switching unit is used to: according to the uplink The 2.5G discovery window message switches the working mode to uplink 2.5G; and the generating unit is used to generate a registration request message carrying a capability field and a request field, where the capability field indicates that the ONU supports both uplink 1G and uplink 2.5 G. The request field indicates that the ONU is currently requesting registration for uplink 2.5G.
22. 根据权利要求 20或 21所述的光网络单元, 其特征在于, 所述注册 消息包含所述 OLT分配给所述 ONU的 LLID、 同步时间和激光器开关时间 上限。 22. The optical network unit according to claim 20 or 21, characterized in that the registration message contains the LLID, synchronization time and laser switching time upper limit assigned by the OLT to the ONU.
23. 根据权利要求 19所述的光网络单元,其特征在于,所述接收单元还 用于: 接收所述 OLT发送的上行 1G发现窗消息; 23. The optical network unit according to claim 19, wherein the receiving unit is further configured to: receive the uplink 1G discovery window message sent by the OLT;
所述发送单元还用于根据所述上行 1G发现窗消息向所述 OLT发送注册 请求消息, 其中所述注册请求消息包括用于指示所述 ONU支持上行 1G的 能力字段和用于指示所述 ONU当前请求注册为上行 1G的请求字段; The sending unit is also configured to send a registration request message to the OLT according to the uplink 1G discovery window message, wherein the registration request message includes a capability field used to indicate that the ONU supports uplink 1G and a capability field used to indicate that the ONU supports uplink 1G. The current request is registered as the request field for uplink 1G;
所述接收单元还用于接收所述 OLT根据所述注册请求消息发送的注册 消息, 所述注册消息包括所述 OLT分配给所述 ONU的 LLID; The receiving unit is also configured to receive a registration message sent by the OLT according to the registration request message, where the registration message includes the LLID assigned by the OLT to the ONU;
所述发送单元还用于向所述 OLT发送注册成功消息, 以完成所述 ONU 上行 1G的注册。 The sending unit is also configured to send a registration success message to the OLT to complete the registration of the ONU uplink 1G.
24. 根据权利要求 23所述的光网络单元, 其特征在于, 所述 ONU还包 括记录单元和复位单元, 所述接收单元还用于: 接收所述 OLT发送的用于 查询所述 ONU的上行发送能力的查询消息; 24. The optical network unit according to claim 23, characterized in that, the ONU further includes a recording unit and a reset unit, and the receiving unit is further configured to: receive an uplink message sent by the OLT for querying the ONU. Send capability query messages;
所述发送单元还用于向所述 OLT发送用于指示所述 ONU支持上行 1G 和上行 2.5G的响应消息; The sending unit is also configured to send a response message to the OLT indicating that the ONU supports uplink 1G and uplink 2.5G;
所述接收单元还用于接收所述 OLT发送的指示所述 ONU切换至上行 The receiving unit is also configured to receive an instruction sent by the OLT to indicate that the ONU switches to the uplink.
2.5G工作模式的指示消息; 2.5G working mode indication message;
所述记录单元用于根据所述指示消息切换至上行 2.5G工作模式并且记 录当前工作模式为 2.5G; The recording unit is configured to switch to the uplink 2.5G working mode according to the instruction message and record that the current working mode is 2.5G;
所述复位单元用于下线复位并且再次上线后, 等待所述 OLT发送的所 述上行 2.5G发现窗消息。 The reset unit is used for offline reset and after going online again, wait for the uplink 2.5G discovery window message sent by the OLT.
25. 一种以太网无源光网络系统, 其特征在于, 包括: 25. An Ethernet passive optical network system, characterized by: including:
光线路终端, 光分路器和多个光网络单元, 所述光线路终端通过光分路 器与所述光网络单元连接, 其中, 所述光线路终端包括如权利要求 13-18所 述的任意一光线路终端, 所述光网络单元包括如权利要求 19-24所述的任意 一光网给单元。 Optical line terminal, optical splitter and multiple optical network units, the optical line terminal is connected to the optical network unit through the optical splitter, wherein the optical line terminal includes the optical line terminal as described in claims 13-18 Any optical line terminal, the optical network unit includes any optical network unit as described in claims 19-24.
PCT/CN2013/090878 2013-12-30 2013-12-30 Ethernet passive optical network communication method, device and system WO2015100534A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380002996.3A CN105210325A (en) 2013-12-30 2013-12-30 Ethernet passive optical network communication method, device and system
PCT/CN2013/090878 WO2015100534A1 (en) 2013-12-30 2013-12-30 Ethernet passive optical network communication method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/090878 WO2015100534A1 (en) 2013-12-30 2013-12-30 Ethernet passive optical network communication method, device and system

Publications (1)

Publication Number Publication Date
WO2015100534A1 true WO2015100534A1 (en) 2015-07-09

Family

ID=53492894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/090878 WO2015100534A1 (en) 2013-12-30 2013-12-30 Ethernet passive optical network communication method, device and system

Country Status (2)

Country Link
CN (1) CN105210325A (en)
WO (1) WO2015100534A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020029261A1 (en) * 2018-08-10 2020-02-13 华为技术有限公司 Uplink access method and device
CN111163377A (en) * 2018-11-08 2020-05-15 深圳市中兴微电子技术有限公司 Asymmetric EPON MAC implementation method, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552932A (en) * 2008-04-01 2009-10-07 华为技术有限公司 Method, devices and system for transmitting and processing optical-fiber network
CN101568046A (en) * 2009-06-09 2009-10-28 成都优博创技术有限公司 Method for realizing coexistence of unsymmetrical 10GEPON and GEPON optical network terminals and system thereof
CN102017522A (en) * 2008-05-05 2011-04-13 诺基亚西门子通信公司 Two and three-stroke discovery process for 10G-EPONs

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179493B (en) * 2006-11-09 2010-08-25 华为技术有限公司 Bandwidth distribution method and device for PON coexistence of different transmission rates

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552932A (en) * 2008-04-01 2009-10-07 华为技术有限公司 Method, devices and system for transmitting and processing optical-fiber network
CN102017522A (en) * 2008-05-05 2011-04-13 诺基亚西门子通信公司 Two and three-stroke discovery process for 10G-EPONs
CN101568046A (en) * 2009-06-09 2009-10-28 成都优博创技术有限公司 Method for realizing coexistence of unsymmetrical 10GEPON and GEPON optical network terminals and system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020029261A1 (en) * 2018-08-10 2020-02-13 华为技术有限公司 Uplink access method and device
US11234062B2 (en) 2018-08-10 2022-01-25 Huawei Technologies Co., Ltd. Uplink access method and device
CN111163377A (en) * 2018-11-08 2020-05-15 深圳市中兴微电子技术有限公司 Asymmetric EPON MAC implementation method, equipment and storage medium
CN111163377B (en) * 2018-11-08 2023-05-09 深圳市中兴微电子技术有限公司 Asymmetric EPON MAC implementation method, device and storage medium

Also Published As

Publication number Publication date
CN105210325A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
US9071380B2 (en) Multi-point control protocol proxy architecture in a network with optical and coaxial domains
EP3506583B1 (en) Communication method for ethernet passive optical network, optical network unit, and optical line terminal
WO2009135825A1 (en) Two and three-stroke discovery process for 10g-epons
AU2012381695A1 (en) Optical network terminal management control interface message transmission method and system, and corresponding device
WO2012136102A1 (en) Method and system for controlling coaxial broadband access terminal
WO2016015216A1 (en) Method and apparatus for device registration and wavelength switching in ethernet passive optical network system
JP4947729B2 (en) Station side equipment
JP7235398B2 (en) Information transmission method, optical line terminal, optical network unit, and communication system
US9240896B2 (en) Method and system for USB connections over distinct network paths
WO2011020376A1 (en) Processing method in a passive optical network, system and network element for a passive optical network
WO2014117510A1 (en) Resource management method and system in photoelectric hybrid system
WO2021082669A1 (en) Passive optical network-based communication method, related device, and system
WO2015100534A1 (en) Ethernet passive optical network communication method, device and system
US8645584B2 (en) Method and system for partial USB enumeration and edge initiation
US8578060B2 (en) Method and system for initiating distinct USB connections over a network
WO2014036682A1 (en) Method, device, and system for preventing registration conflict
CN106464385B (en) Communication method, device and system
WO2014121600A1 (en) Downlink message transmitting method in photo-electric mixed system and optical coaxial unit
US9049041B2 (en) Method and system for distributed initiation of USB over network data plane connections
WO2011144043A2 (en) Omci message transmission method, device and passive optical network system
WO2024078104A1 (en) Communication system and related device
US9059865B2 (en) USB host adaptor for initiating a USB connection over a non-USB network
JP2012257163A (en) Band control device, band control program and termination device
WO2022179137A1 (en) Optical bus communication method, system, device, and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13900842

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13900842

Country of ref document: EP

Kind code of ref document: A1