WO2018049613A1 - Data communication method, apparatus and system - Google Patents
Data communication method, apparatus and system Download PDFInfo
- Publication number
- WO2018049613A1 WO2018049613A1 PCT/CN2016/099075 CN2016099075W WO2018049613A1 WO 2018049613 A1 WO2018049613 A1 WO 2018049613A1 CN 2016099075 W CN2016099075 W CN 2016099075W WO 2018049613 A1 WO2018049613 A1 WO 2018049613A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- onu
- port
- olt
- capability set
- registration request
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000004891 communication Methods 0.000 title claims abstract description 53
- 238000013507 mapping Methods 0.000 claims abstract description 80
- 230000003287 optical effect Effects 0.000 claims abstract description 55
- 238000012790 confirmation Methods 0.000 claims description 33
- 101150103933 VMAC gene Proteins 0.000 claims description 27
- 230000004044 response Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 abstract description 30
- 238000013461 design Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 230000009471 action Effects 0.000 description 8
- 239000000835 fiber Substances 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008520 organization Effects 0.000 description 3
- 101100059544 Arabidopsis thaliana CDC5 gene Proteins 0.000 description 2
- 101150115300 MAC1 gene Proteins 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J14/00—Optical multiplex systems
- H04J14/02—Wavelength-division multiplex systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J14/00—Optical multiplex systems
- H04J14/02—Wavelength-division multiplex systems
- H04J14/0227—Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
- H04J14/0241—Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
- H04J14/0242—Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
- H04J14/0245—Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for downstream transmission, e.g. optical line terminal [OLT] to ONU
Definitions
- the present invention relates to the field of optical communication technologies, and in particular, to a data communication method, apparatus, and system.
- the EPON 100 may include at least one optical line terminal (OLT) 110, an optical distribution network 120 (ODN), and a plurality of optical network units (ONUs) 130.
- ODN optical line terminal
- ONUs optical network units
- an ONU communicates with the OLT through one of its own ports.
- the OLT successfully receives the registration request message sent by the ONU from the port, the OLT sends the registration request message to the port according to the registration request message.
- a logical link identifier LLID is assigned to identify the traffic flow in the ONU.
- an ONU corresponds to a port, so the OLT can identify the service flow sent by the ONU through the port of the registration request message sent.
- a 50G EPON or 100G EPON system is proposed.
- the operating rate of each port of the ONU is 25Gbps, and the ONU needs 2 or 4
- the ports share the 50G or 100G service flow.
- the current OLT is a management process for the registration of a single-port ONU, even if the OLT follows the existing single-port ONU. After the process is completed, the OLT still cannot identify which registered ports belong to the same ONU, and the OLT cannot implement further management and configuration of the multi-port ONU. That is, the OLT pair in the next-generation PON system.
- the problem of port management of ONUs with multiple ports needs to be resolved.
- the embodiment of the present invention provides a data communication method, a related device, and a system, which are used to solve the problem of port management of an OLT to a plurality of port ONUs in a next-generation PON system, so that the OLT recognizes the port of the multi-port ONU, and further The further management and configuration of the ONU is implemented, which greatly simplifies the management process of the ONU and improves the reliability of the system.
- an embodiment of the present application provides a data communication method, which is applied to a passive optical network system, where the method includes:
- the optical network unit ONU sends a registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual medium intervention control vMAC1 address of the ONU; and the ONU receives the first logical link identifier LLID1
- the ONU sends a message including capability set information, where the capability set information of the ONU includes: mapping of other port identifiers Port x of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or
- the message of the capability set information is a registration confirmation message.
- the ONU after the ONU first completes the registration authentication of the first port by using the first port identified by the first port identifier Port1, the first port is determined as the basic port, and the ONU completes the registration basic.
- the port reports the capability set information including the mapping relationship between the other port identifiers and other virtual MAC addresses, so that the OLT receives the location under the ONU through the basic port.
- the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know
- an ONU unique identifier where the LLID1 can be used to uniquely identify the ONU
- a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses by which the OLT can know
- the information about all ports under the ONU the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU. Improve the reliability of the system.
- the capability set information may further include at least one of: a number of ports of the ONU, a port type of the ONU, and a Information on whether other ports are available.
- the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
- the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
- the OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used.
- the OLT establishes and maintains the table, and the OLT can pass the table. More comprehensive management of ONUs.
- the method further includes:
- the ONU sends another registration request message, where the other registration request message includes: the other port identifier Portx of the ONU and the other vMAC address vMACx address of the ONU; the ONU receives the OLT to send the other port assignment Logical link identifier LLIDx; said x Is an integer greater than 1.
- the ONU sends the mapping between the other port identifiers and other vMAC address information to the OLT, so that the OLT registers the other ports of the ONU through the registration authentication of the other ports of the ONU. And further recording the LLID information corresponding to the other port by the other port, and the OLT further records the information into the table, thereby further improving the information of the table, and the OLT can learn, by using the table, which ports belong to the same ONU, and can also pass the The information recorded in the table further identifies which ports the data stream comes from, and improves the management and configuration of the multi-port ONU, thereby improving the reliability and stability of the system.
- the method further comprises: the ONU receiving a query message for requesting the capability set information.
- the ONU is the capability set information of the ONU after receiving the query message that the ONU requests the ONU to report the capability set information of the ONU, and then the ONU receives the message and reports the capability set information of the ONU.
- the ONU actively reports its capability set as described above. information.
- the ONU may send the capability set information of the ONU in the registration confirmation message to the OLT by responding to the registration confirmation message of the OLT.
- an embodiment of the present application provides a data communication method, which is applied to a passive optical network system, where the method includes:
- the optical line terminal OLT receives the registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual medium intervention control vMAC1 address of the ONU;
- the OLT sends a first logical link identifier LLID1 to the first port of the ONU in response to the registration request message;
- the OLT receives a message including capability set information, where the capability set information of the ONU includes:
- the other port of the ONU identifies a mapping of Port x and other vMACx addresses of the ONU, the x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the OLT generates a table, where the table includes: LLID1, a mapping relationship between Port1 of the ONU and a vMAC1 address of the ONU, and mappings of other Portx and other vMACx addresses of the ONU.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the capability set information may further include at least one of: a number of ports of the ONU, a port type of the ONU, and a Information on whether other ports are available.
- the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
- the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
- the OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can
- the table is more comprehensive to manage the ONU.
- the method further includes:
- the OLT receives another registration request message, where the other registration request message includes: another port identifier Port x of the ONU and another vMAC address vMACx address of the ONU;
- the OLT sends a logical link identifier LLIDx assigned to other ports; the x is an integer greater than one.
- the method further includes:
- the OLT sends a query message for requesting the capability set information to the ONU. It is also possible that the ONU actively reports its capability set information as described above.
- an embodiment of the present application provides an optical network unit ONU, where the ONU includes:
- a first sender configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and a message including capability set information is sent,
- the capability set information of the ONU includes: mapping of other port identifiers Port x of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the first receiver is configured to receive the first logical link identifier LLID1.
- the first port is determined as a basic port, and the ONU passes the registered basic port.
- the capability set information including the mapping relationship between the other port identifiers and the other virtual MAC addresses is reported, so that the OLT receives the mapping relationship between all the ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication.
- the first port is assigned LLID1, which can be used to uniquely identify the ONU.
- the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know Information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the OLT to multiple port ONUs in the next generation PON system.
- the problem of port management greatly simplifies the management process of the ONU and improves the reliability of the system.
- the capability set information may further include at least one of: information indicating whether the other port is available, the number of ports of the ONU, and The port type of the ONU.
- the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
- the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
- the OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can
- the table is more comprehensive to manage the ONU.
- the first transmitter of the ONU is further configured to send another registration request message, where the other registration request message includes: another port identifier of the ONU, Port x, and other vMAC addresses of the ONU. a vMACx address; the ONU receives a logical link identifier LLIDx sent by the OLT for other ports; the x is an integer greater than 1.
- the ONU sends the mapping between the other port identifiers and other vMAC address information to the OLT, so that the OLT registers the other ports of the ONU through the registration authentication of the other ports of the ONU.
- the OLT further records the information into the table, thereby further improving the information of the table, and the OLT can learn, by using the table, which ports belong to the same ONU, and can also pass the The information recorded in the table further identifies which ports the data stream comes from, and improves the management and configuration of the multi-port ONU, thereby improving the reliability and stability of the system.
- the first receiver of the ONU is further configured to receive, by the ONU, a query message for requesting the capability set information.
- the ONU is the capability set information of the ONU after receiving the query message that the ONU requests the ONU to report the capability set information of the ONU, and then the ONU receives the message and reports the capability set information of the ONU.
- the ONU actively reports its capability set as described above. information.
- the ONU may send the capability set information of the ONU in the registration confirmation message to the OLT by responding to the registration confirmation message of the OLT.
- an embodiment of the present application provides an optical line terminal OLT, where the OLT includes:
- a second receiver configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information,
- the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the processor is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table entry includes at least: LLID1, Port1 of the ONU A mapping relationship between the mapping relationship with the vMAC1 address of the ONU and other Portx of the ONU and other vMACx addresses.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the energy The force set information may also include at least one of: a number of ports of the ONU, a port type of the ONU, and information indicating whether the other ports are available.
- the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
- the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
- the OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can
- the table is more comprehensive to manage the ONU.
- the second receiver is configured to receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx, and other vMAC address vMACx addresses of the ONU;
- the OLT sends a logical link identifier LLIDx assigned to other ports; the x is an integer greater than one.
- the second transmitter further sends an inquiry message for requesting the capability set information to the ONU. It is also possible that the ONU actively reports its capability set information as described above.
- an embodiment of the present application provides a passive optical network system PON, where the system includes: an optical line terminal OLT and an optical network unit ONU, where the OLT is connected to the ONU through an optical distribution network, such as the ONU.
- an embodiment of the present application further provides a data communication device, where the data communication device package include:
- a first sending unit configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and sending a message including capability set information,
- the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the first receiving unit is configured to receive the first logical link identifier LLID1.
- the first port is determined as a basic port, and the ONU passes the registered basic port.
- the capability set information including the mapping relationship between the other port identifiers and the other virtual MAC addresses is reported, so that the OLT receives the mapping relationship between all the ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication.
- the first port is assigned LLID1, which can be used to uniquely identify the ONU.
- the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know
- an ONU unique identifier where the LLID1 can be used to uniquely identify the ONU
- a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses by which the OLT can know
- the information about all ports under the ONU the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU. Improve the reliability of the system.
- the capability set information may further include at least one of: information indicating whether the other port is available, the number of ports of the ONU, and The port type of the ONU.
- the OLT can know whether the ONU supports multiple ports; The ONU supports multiple ports and how many ports can be supported.
- the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
- the OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can
- the table is more comprehensive to manage the ONU.
- a data communication device comprising:
- a second receiving unit configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information,
- the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the processing unit is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table includes: LLID1, Port1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other Portx of the ONU and other vMACx addresses.
- the first port is determined as the basic port, and the ONU reports the basic port through registration.
- the capability set information including the mapping relationship between the port identifier and the other virtual MAC address, so that the OLT receives the mapping relationship between all ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication.
- the first port is assigned LLID1, and the LLID1 can be used to uniquely identify the ONU.
- the OLT is established at least Including: the ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and the port identifier of each port of the ONU identified by the LLID1 and the correspondence table of the virtual MAC address.
- the OLT can learn all the ports under the ONU.
- the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU and improves the reliability of the system. Sex.
- the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- the second receiving unit is further configured to receive and receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx, and other vMACs of the ONU. Address vMACx address;
- the second sending unit is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
- the optical network unit ONU sends a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; Receiving a first logical link identifier LLID1; the ONU transmitting a message including capability set information, where the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, The message that x is an integer greater than 1 or the capability set information is a registration confirmation message.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- FIG. 1 is a schematic diagram of a network architecture of a PON system provided by the prior art
- FIG. 2 is a schematic diagram of a network architecture of a next-generation EPON system according to an embodiment of the present invention
- FIG. 3 is a data communication method according to an embodiment of the present invention.
- FIG. 4 is a port attribute table of an ONU according to an embodiment of the present invention.
- FIG. 5 is another data communication method according to an embodiment of the present invention.
- FIG. 6 is another data communication method according to an embodiment of the present invention.
- FIG. 7 is an extended OAM message format provided by an embodiment of the present invention.
- FIG. 8 is a field description of an extended OAM message format according to an embodiment of the present invention.
- FIG. 9 is an extended Opcode format according to an embodiment of the present invention.
- FIG. 10 is another OAM message format according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of an ONT according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram of another OLT according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of another data communication apparatus according to an embodiment of the present invention.
- Embodiments of the present invention provide a data communication method and related device and system, which are used to solve the port management problem of an OLT to a multi-port ONU in a next-generation EPON system, and implement an OLT-to-multi-port ONU in a next-generation EPON system.
- Port management which in turn implements OLT to ONU Further configuration and management greatly improve the reliability of the system.
- the next-generation EPON system 100 includes an OLT 110, a plurality of ONUs 120, and an Optical Distribution Network (ODN) 130.
- ODN Optical Distribution Network
- the OLT 110 includes a message distributor and respective downlink ports.
- the illustration is given by the message distributor as a demultiplexer DeMultiplexing, which is given as four downlink ports in the example of the downlink port diagram, here given as an example, at least two downlink ports are provided.
- An electrical signal is generated between the DeMultiplexing and the port, and the DeMultiplexing and the downlink port are both disposed on a board of the OLT, and each of the downlink ports can convert an electrical signal into an optical signal and output through the port.
- the four downlink ports of the OLT and the multiplexer WDM are connected by a branch fiber, and optical signals are transmitted in each branch fiber.
- the wavelengths of the optical signals transmitted in the branched fibers may be the same or different. It should be noted that if the WDM is set in the OLT, the downlink ports of the OLT and the WDM are connected by a waveguide. The WDM and the beam splitter 130 are connected by a trunk fiber, and the beam splitter 130 is connected to the WDM of the terminal side through a branch fiber. The WDM is connected to the message reassembler through the uplink ports of the terminal-side device ONU, and the message reassembler is a multiplexer or a multiplexer in the example of FIG. 2, including but not limited to the multiplexer or the multiplexer. Waves.
- the WDM on the terminal side and each uplink port on the ONU 120 Optical signals are transmitted between the respective branch fibers.
- the WDM of the terminal is set on the ONU 120
- the WDM and the ONU 120 are connected by a waveguide for transmitting an optical signal.
- Each of the uplink ports on the ONU 120 converts the optical signal into an electrical signal, and transmits the signal to Multiplxing to perform packet reassembly.
- An electrical signal is transmitted between the respective uplink ports and the Multiplxing.
- the ONU sends the reassembled service flow to the user through each downlink port (not shown in FIG. 2).
- the network structure diagram of FIG. 2 is described in the following manner: the OLT receives a service flow from the network side, and distributes the service flow through at least two channels through each downlink port, and FIG. 2 gives For example, four channels are respectively transmitted for ⁇ 0- ⁇ 4, wherein the one service stream is split into data packets of variable lengths and transmitted through respective channels.
- the WDM aggregates the data packets of the respective channels, and transmits them to the WDM of each terminal side through the optical splitter 130, and demultiplexes them to the respective channels ⁇ 0- ⁇ 4 of the respective ONUs 120 by the WDM on the terminal side, and performs datagrams through the respective channels.
- the transmission of the text finally reorganizes the message through Multiplexing, and sends the reassembled data packet, that is, the service flow, to the user.
- the above channel can be understood as a wavelength channel, or it can be another channel.
- the channel can be a logical channel or a physical layer fiber link.
- the channel can be understood as a logical or physical link from each downlink port of the OLT to each uplink port of the ONU.
- the network architecture of the above-mentioned next-generation EPON is an example of a 100GEPON architecture, that is, data transmission is performed between the OLT and the ONU through four channels, each channel carrying 25 Gbps data packets, and a total of 100 Gbps data packets can be transmitted. It should be noted that if the OLT and the ONU transmit data through two channels, each channel carries 25 Gbps data packets, and a total of 50 Gbps data packets can be transmitted.
- the architecture of the above example can also be a 50 G EPON architecture. Here No restrictions.
- the data packet transmitted between the OLT and the ONU may be Ethernet data or a forward error correction code code word FEC codeword, and the Ethernet data is encapsulated and transmitted in the payload data block of the FEC codeword.
- the above description is based on the system architecture of 100G EPON.
- the above system is not limited to 100G EPON, 50G EPON and TWDM-PON (WDM/TDM hybrid passive optical network), or GPON can be applied.
- a data communication method is provided, as shown in FIG. Applied to the above passive optical network system, the method includes:
- the optical network unit ONU sends a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU.
- the ONU registration and certification process is prior art, and follows the GPON, EPON, XGPON or XGEPON, or even 50G EPON, 100G EPON standard regulations or the existing registration certification process, which will not be described here.
- the ONU has multiple ports, wherein the port may be a physical port or a logical port.
- the port on which the upstream and downstream wavelengths of the ONU are located, or the port on which the electrical layer of the physical layer is sent and received, or the port on which the optical module with a single wavelength pair is located is called a port. It is a port corresponding to a 25Gbps logical channel.
- the address information of the port is identified by using a MAC address, where the MAC address includes a virtual MAC address vMAC address, where the vMAC address may be
- the MAC address can also be a logical MAC address.
- the first port is determined to be a basic port. It should be noted that the ONU has multiple ports, and the port that can be registered for the first time through the port is the basic port, or the ONU can specify any one of the multiple ports, and the port is registered. After the authentication process, set to the basic port. The OLT will use this basic port to collect information about other ports under the ONU.
- various messages involved in the following processes may be (Multi-Point Control Protocol, MPCP) messages or operations, management, and maintenance messages (operations).
- MPCP Multi-Point Control Protocol
- OAM administration and maintenance
- PLOAM physical layer OAM
- vMAC vMAC address
- the optical line terminal OLT receives the registration request message, where the registration request message includes: a first port identifier (Port ID) Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU.
- the registration request message includes: a first port identifier (Port ID) Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU.
- the OLT sends a first logical link identifier LLID1 to the first port of the ONU in response to the registration request message.
- the ONU receives the first logical link identifier LLID1, and returns a registration confirmation message to the OLT.
- the OLT receives a response message of the ONU.
- the OLT locally establishes the first port identifier Port1, the vMAC1 address, and the LLID1.
- the corresponding relationship between the OLTs can save the corresponding relationship locally.
- the OLT registers the first port after the authentication is passed as the basic port, and the LLID1 is used to uniquely identify the ONU, so that the ONU can report the capability set information of other ports of the ONU through the basic port, for example, other port identifiers and other virtual MAC addresses. The ability to map information about the relationship set.
- the ONU sends a message including the capability set information to the OLT, where the capability set information of the ONU includes: mapping of other port identifiers of the ONU, Portx, and other vMACx addresses of the ONU, where the x is greater than An integer of 1.
- the message of the capability set information may be a registration confirmation message, that is, the ONU actively reports the capability set information to the OLT by using the registration confirmation message; or the OLT may send the query message to the ONU, After requesting the ONU to send the capability set information, the ONU receives the query message and sends the capability set information to the OLT.
- the ONU reports the capability set information to the OLT through the basic port, that is, the first port.
- the foregoing capability message may further include at least one of the following: a number of ports of the ONU, a port type of the ONU, and information indicating whether the other port is available.
- the capability information may further include: unique identification information of the ONU.
- the OLT generates a table according to the capability information of the ONU, where the table includes: an ONU unique identifier LLID1, a mapping relationship between the port 1 of the ONU and a vMAC1 address of the ONU, and other Portx sums of the ONU. Mapping of other vMACx addresses.
- the table further includes: a correspondence between Port1 and LLID1.
- the table further includes: an OLT to enable port mapping of Port1, that is, the OLT sets the port usage status of the Port1.
- Table 1 is the port attribute table of the ONU maintained by the OLT.
- the OLT specifies LLID1 to uniquely identify the ONU.
- the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
- the method may further include:
- the ONU initiates a registration authentication request to the OLT through the other ports of the ONU, and requests the OLT to perform registration authentication on other ports of the ONU.
- the registration authentication request includes a port number and a vMAC address that the ONU needs to authenticate.
- S316 The OLT completes the authentication of other ports of the ONU in sequence, and sequentially assigns LLIDs to other ports of the ONU.
- the ONU sequentially sends a registration response to the OLT.
- each port of the ONU is registered and authenticated, and each port can perform data communication normally.
- the OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
- the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
- the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient.
- the OLT manages the ports of each ONU.
- the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered.
- the OLT can re-execute the above method flow by registering the port that the ONU fails to register, or the OLT can re-register the ONU, including all ports of the ONU. Register for certification.
- the following describes the ONU port attribute table maintained by the OLT.
- FIG. 4 is a table of all the entries of Table 1.
- the mapping between the unique identifier of the ONU, the port identifier of the ONU, and the vMACx address of the ONU, and the LLID of the ONU are the main entries of the port information for the OLT to identify the multi-port ONU.
- the port type of the ONU, the number of ports of the ONU, the supported LLID of the ONU, and the ONU multi-port enable bit mapping are optional.
- ONU unique identifier used to uniquely identify the ONU.
- ONU port type Used to indicate whether the ONU supports multiple ports or single ports.
- Number of ports on the ONU Used to indicate the number of ports supported by the ONU. If the ONU is a single-port type in the ONU port type, the number of the ONU ports is 1. If the port type of the ONU is multi-port, the number of ports of the ONU indicates the number of ports supported by the ONU. For example, 2 indicates that the ONU has Two ports, if the rate of each port of the ONU is 25Gbps, the ONU can transmit 50G data stream.
- Each port vMAC address is used to indicate the MAC address information of each port supported by the ONU.
- the MAC address here may be a logical MAC address or a physical MAC address.
- the vMAC addresses corresponding to the ports of the ONU may be the same or different. Generally, the vMAC address corresponding to each port of the ONU is different, and can be used to identify the address of the port.
- Port corresponding LLID used to indicate the LLID assigned by each port of the ONU.
- the OLT can assign an LLID to the ONU to identify the ONU. It can also assign multiple LLIDs to the ONU. Different ports correspond to different LLIDs.
- the ONU LLID is used to indicate whether the multi-LLID supported by the ONU or the single LLID is supported. If the ONU supports multiple LLIDs, the OLT Each port of the ONU is assigned a different LLID, and one of the LLIDs can be specified to uniquely identify the ONU. If the ONU supports a single LLID, the OLT allocates an LLID to the multi-port of the ONU, and the LLID is used to uniquely identify the ONU, but each port of the ONU may also be assigned a different LLID.
- the multi-port enable flag is used to identify the multi-port enable status of the ONU. That is, if the multi-port enable flag value is 1, the corresponding port can be used. A value of 0 indicates that the corresponding port is forbidden to use.
- OLT For example: 3 ONUs are connected to one OLT: ONU1, ONU2, ONU3, and ONU4.
- ONU2 Taking ONU2 as an example, the above data communication method is as follows:
- the ONU2 sends a registration request to the OLT through the port port1, where the registration request message includes: the first port identifier ID1: port1 of the ONU and the first virtual media intervention control vMAC1 address of the ONU: vMAC1.
- the OLT receives a registration request message, where the registration request message includes: Port1 and vMAC1.
- the OLT sends a logical link identifier LLID2 to the port Port1 of the ONU2 in response to the registration request message.
- the ONU2 receives the logical link identifier LLID2 and returns a registration confirmation message to the OLT.
- Port1 is the basic port of the ONU2.
- the OLT may allocate different and globally unique LLIDs for different ports of the same ONU; or assign the same LLID to different ports of the same ONU, and the ONU internally distinguishes them by other means, for example, in Table 1, ONU2 Supporting a single LLID, the OLT assigns an LLID2 to the ONU.
- the LLID2 is used to uniquely identify the ONU2, and the ONU2 still assigns an LLID to each port. Used to distinguish the data flow of each port. For example, after the registration authentication is completed, the OLT allocates LLID2 to the port1. After the port 2 of the ONU completes the registration authentication, the OLT allocates LLID3 to the port 2.
- the OLT allocates multiple LLIDs for multiple ports of the ONU, and specifies one LLID to uniquely identify the ONU.
- the port that passes the first-time registration authentication is the basic port, and the LLID assigned to the basic port is used to uniquely identify the LLID of the ONU.
- the ONU3 supports multiple LLIDs.
- the OLT allocates four LLIDs to the ONU.
- the port that the ONU first authenticates is Port1.
- the OLT assigns LLID4 to Port1.
- the LLID4 is used to uniquely identify the ONU3.
- the remaining LLIDs are used for other ports of the ONU. Configuration.
- the port1 of the ONU2 is registered and authenticated.
- the OLT can record the port attribute entry of the ONU2: Port 1, vMAC1, and LLID2. Further, the OLT can also perform an enable bit mapping on the already registered Port1, and configure Port1 to be in an enabled state, that is, data can be sent through the port.
- the OLT can record the related entries of the port attribute table of Port1 of the ONU2, and can save the entries of the table locally or upload to other servers, or save the entries.
- the OLT can specify the port 1 of the multi-port of the ONU 2 that is the first to complete the registration authentication as the basic port, and complete the collection of the capability set information of the other ports of the subsequent ONU 2 through the basic port; If a port is registered for authentication, the port that is registered for authentication is the basic port.
- the ONU can report the capability set information of other ports on the ONU through the basic port. For example, the mapping between other port IDs and other virtual MAC addresses. The ability to set information and so on.
- the ONU2 sends a message including the capability set information to the OLT through the basic port Port1, where the capability set information of the ONU includes: other port identifiers of the ONU, Portx, and the Mapping of other vMACx addresses of the ONU, the x being an integer greater than one.
- the capability set information sent by the ONU in step S508 may also be sent to the OLT in the registration confirmation message of S506.
- the OLT may send an inquiry message to the ONU2, and request the ONU2 to send the capability set information, ONU2. Receiving the query message, sending capability set information to the OLT.
- the OLT generates Table 1 based on the capability set information of the ONU 2.
- the capability set information reported by the ONU2 may include: the second port identifier Port2 of the ONU2 and the corresponding MAC address vMAC2, and the OLT records port attribute information of Port1 and Port2 of the ONU2.
- the ONU2 has two ports, and supports multiple ports, Port1.
- Correspondence between vMAC1 and LLID2 ONU2 supports a single LLID.
- LLID1 is a global identifier assigned by the OLT to the ONU2. It is used to uniquely identify the ONU2, and the OLT configuration port1 and port2 are both enabled and can be used to send and receive data streams.
- the ONU2 sends a registration request message to the OLT through the port2, where the registration request message includes: Port2 and vMAC2.
- the OLT receives the registration request message of the ONU2, allocates the LLID2 to the Port2 of the ONU2, and sends it to the ONU2.
- the ONU2 receives the LLID2 allocated by the OLT and responds to the OLT.
- the OLT receives the response message of the ONU2, further improves the information of Table 1 according to the information such as Port2, vMAC2, and LLID3 of the ONU2, and further knows the information of each port of the ONU through the table. For example, the OLT further records the correspondence between Port2, vMAC2, and LLID3. , ONU port type, port number, ONU multi-port enable bit mapping and other information.
- the OLT can know the port information of the multi-port ONU connected by the OLT, and then receive the data stream sent from the ONU2, and the number stream is identified by LLID2, and the OLT is based on
- the correspondence between LLID2 and Port1 in Table 1 indicates that the data stream is from the Port1 port of ONU2 and the MAC address corresponding to the port is vMAC1.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the present invention also provides a data communication method.
- the data communication method is not only applicable to the failure of the basic port of the ONU, but also the port of the ONU is a normal port, and the basic port is not required to be specified.
- the difference from the above embodiment is that the OLT no longer specifies a basic port, and multiple ports of the ONU have equal status, and each port can be registered autonomously, that is, in order for the OLT to distinguish which ports belong to the same ONU, each port
- the report information includes the port number of all the ports on the ONU to identify the mapping between the port and the vMAC address information, and the physical MAC address used to uniquely identify the ONU.
- the OLT authenticates each port of the ONU according to the information reported by the ONU, and generates
- the structure of Table 1 in FIG. 4 is uniquely different from Table 1 in that the ONU is uniquely identified as the physical address of the ONU or the specified vMAC address for uniquely identifying the ONU, rather than the LLID of the ONU.
- the table in which the ONU uniquely identifies the entry in Table 1 is replaced with the physical address of the ONU or the vMAC of the ONU can be used to describe the table generated by the OLT of this embodiment.
- the unique identifier of the ONU can be extended to the information that uniquely identifies the ONU, such as the sequence number (SN) of the ONU.
- the physical MAC address of the ONU may also include the virtual MAC address of the ONU, or may be different from the vMAC address. If the physical MAC address of the ONU includes the virtual MAC address of the ONU, the entry uniquely identified by the ONU in Table 1 of the OLT needs to specify any vMAC to uniquely identify the ONU; if the physical MAC address of the ONU and the vMAC of the ONU Differently, the ONU unique identifier is identified by the physical MAC address of the ONU.
- an embodiment of the present invention further provides another method for data communication. As shown in FIG. 6, the method is also applied to the foregoing PON system, where the method includes:
- the ONU sends a first registration request message to the OLT, where the first registration request includes: a physical MAC address of the ONU, a first mapping relationship, and other mapping relationships.
- the first mapping relationship includes: the first port identifier Port1 of the ONU and the first virtual MAC address vMAC1 of the ONU; the other mapping relationship includes: other port identifiers of the ONU and other virtual MAC addresses vMACx of the ONU , the x is an integer greater than one.
- the ONU sends a mapping of Port 1 and vMAC1 and a mapping of Portx and vMACx through the first port.
- the OLT receives the first registration request sent by the ONU, allocates LLID1 to the ONU, and sends the LLID1 to the ONU.
- the ONU receives the LLID1 allocated by the OLT, and returns a registration response to the OLT.
- the OLT generates a table according to the registration request of the ONU, where the table includes: the ONU uniquely identifies the MAC1, the mapping relationship between the Port1 of the ONU and the vMAC1 address of the ONU, and other Portx and other vMACx of the ONU.
- the mapping relationship of addresses includes: the ONU uniquely identifies the MAC1, the mapping relationship between the Port1 of the ONU and the vMAC1 address of the ONU, and other Portx and other vMACx of the ONU.
- the table further includes: a correspondence between Port1 and LLID1.
- the table further includes: an OLT pair port mapping map of the port 1, that is, an OLT pair The Port1 port usage status is set.
- Table 1 is the port attribute table of the ONU maintained by the OLT.
- the OLT specifies LLID1 to uniquely identify the ONU.
- the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
- the ONU repeatedly performs 2 n -1 steps S600-S604 until all ports under the ONU complete registration, where n is an integer from 2 to 10.
- the OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
- the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
- the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient.
- the OLT manages the ports of each ONU.
- the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered.
- the OLT can re-execute the above method flow by registering the port on which the ONU fails to register, or the OLT can cause the ONU to re-register, and all ports of the ONU are re-registered and authenticated.
- the table generated by the OLT in this embodiment is an ONU port attribute table, and the difference between the information of the table and the table 1 has been described above, and the same points and differences have been described, and details are not described herein again.
- the OLT of the foregoing embodiment of the present invention does not need to specify a basic port for the ONU, and is therefore applicable to various ONUs.
- the ONU registers the report, the related attribute information of the port that is reported and reported is reported and reported.
- the OLT can obtain information about all ports under the ONU.
- the OLT can know which ports belong to the same ONU through the table, and solve the OLT in the next generation PON system.
- the problem of port management for multiple port ONUs greatly simplifies the management process of the ONU and improves the reliability of the system.
- the various message formats mentioned in all the foregoing embodiments may be specifically as follows: may be implemented by extending an OAM message, and the specific OAM message format is as described in the fields of the OAM message in FIG. 7 and FIG. 8.
- the format of the OAM message is based on the format of the existing OAM message.
- the DA, SA, and length are all in the format of the existing OAM message.
- the description of the field, here focuses on the new Code field and Data field.
- the organization uniqueness identifier OUI 3 bytes, which is the organization uniqueness identifier OUI.
- the value should be configurable, and China Telecom's OUI is tentatively set to 0x111111;
- Extended opcode (Ext.Opcode): used to indicate the type of operation of the extension, the specific values are shown in the following table;
- Payload Represents the content of a specific data payload.
- the message format of the capability set information reported by the ONU in the OAM packet is as shown in Table 4 of FIG.
- the embodiment of the present invention further provides an embodiment of various components for performing the foregoing communication method, specifically:
- FIG. 11 is an optical network unit ONU, where the ONU includes:
- the first transmitter 1100 is configured to send a registration request message, where the registration request message includes: a first port identifier Por1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and a message including capability set information is sent.
- the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the first receiver 1102 is configured to receive the first logical link identifier LLID1.
- the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- the processing of the ONU For the processing of the ONU, reference may be made to the processing of the embodiment of the present invention, and the processing of the corresponding method is not performed in the foregoing embodiment.
- the description of the method embodiment relates to the sending side or receiving of the ONU.
- the actions of the side can be performed by the transmitter of the ONU and the receiver of the ONU.
- Even the processing functions other than the sending or receiving functions of the ONU can be completed by the processor of the ONU, for example, the MAC chip of the ONU.
- the processor of the ONU for example, the MAC chip of the ONU.
- the location of the above ONU in the system can be referred to the system architecture diagram of FIG. 2.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- An embodiment of the present invention further provides an optical line terminal OLT.
- the OLT includes:
- the second receiver 1200 is configured to receive a registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual media intervention control vMAC1 address of the ONU; and the message that includes the capability set information is received.
- the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the processor 1202 is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table entry includes at least: LLID1, the ONU The mapping relationship between ID1 and the vMAC1 address of the ONU and other IDXs of the ONU and other vMACx addresses.
- the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- the second receiver 1200 is configured to receive another registration request message, where the other registration request message includes: mapping of another port identifier Portx of the ONU and other vMAC address vMACx addresses of the ONU;
- the OLT further includes a second transmitter 1204 for transmitting a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than one.
- the processing flow of the OLT may be referred to the processing of the embodiment of the present invention.
- the OLT is not divided into specific hardware.
- the description of the method embodiment relates to the sending or receiving of the OLT.
- the actions of the side can be performed by the transmitter of the OLT and the receiver of the OLT.
- Even the processing functions other than the sending or receiving functions of the OLT can be completed by the processor of the OLT, such as the MAC chip of the OLT.
- the processor of the OLT such as the MAC chip of the OLT.
- the location of the above OLT in the system can refer to the system architecture diagram of FIG. 2.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the embodiment of the present invention further provides a passive optical network system PON.
- the system includes: an optical line terminal OLT and an optical network unit ONU, where the OLT is connected to the ONU through an optical distribution network.
- OLT For details about the specific structure of the ONU and the functions performed by the respective modules, refer to FIG. 11 and the ONUs described in the corresponding embodiments.
- OLT refer to the OLT as described in FIG. 12 and the corresponding embodiments.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- An embodiment of the present invention further provides a data communication device, where the data communication device includes:
- a first sending unit configured to send a registration request message, where the registration request message includes: The first port of the ONU identifies Port1 and the first virtual medium of the ONU to intervene to control the vMAC1 address; and sends a message including the capability set information, where the capability set information of the ONU includes: the other port identifier IDx of the ONU and the ONU Mapping of other vMACx addresses, the x is an integer greater than 1 or the capability set query information is a registration confirmation message;
- the first receiving unit is configured to receive the first logical link identifier LLID1.
- the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- the data communication device may be an ONU 120 or an Optical Network Terminal (ONT) in the system FIG. 2 or other terminal-side devices.
- ONT Optical Network Terminal
- the processing flow of the foregoing data communication device may refer to the processes in FIG. 2-6 and the corresponding method embodiments, where the specific hardware division of the data communication device is not performed in the foregoing embodiment, where the data communication is involved according to the description of the method embodiment.
- the actions of the transmitting side or the receiving side of the device can be performed by its transmitter and receiver, and even other processing functions other than the transmitting or receiving functions of the data communication device can pass through its processor, such as a MAC chip.
- a MAC chip such as a MAC chip
- the data communication device can learn related information of all ports under the data communication device through the table, and the OLT can know which ports belong to the same ONU through the table, and solve the port management of the OLT to multiple port ONUs in the next generation PON system.
- the problem greatly simplifies the management process of the ONU and improves the reliability of the system.
- An embodiment of the present invention further provides a data communication device, where the data communication device includes:
- a second receiving unit configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual media intervention control vMAC1 of the ONU
- the registration request message includes: a first port identifier Port1 of the ONU and a first virtual media intervention control vMAC1 of the ONU
- Receiving a message including capability set information, the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, the x being an integer greater than 1 or the capability
- the set query information is a registration confirmation message;
- a processing unit configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table includes: LLID1, ID1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other IDx of the ONU and other vMACx addresses.
- the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- the second receiving unit is further configured to receive and receive another registration request message, where the other registration request message includes: another port identifier IDx of the ONU and another vMAC address vMACx address of the ONU.
- the second sending unit is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
- the data communication device may be an OLT 110 or a central office device as in the system FIG.
- the data communication device can obtain information about all ports under the ONU through the table, and the OLT can know which ports belong to the same ONU through the table, and solve the problem that the OLT manages ports of multiple port ONUs in the next-generation PON system. It greatly simplifies the management process of the ONU and improves the reliability of the system.
- the embodiment of the invention further provides a data communication device, as shown in FIG. 13, the data communication
- the device includes a processor, a memory, and a bus system, the processor and the memory being coupled by the bus system, the memory for storing instructions, the processor for executing instructions stored by the memory,
- the processor is configured to: according to the first port identifier Port1 of the ONU included in the received registration request message, and the first virtual medium of the ONU to control the vMAC1 address; and the capability set information of the ONU includes:
- the other port of the ONU identifies a mapping of Portx and other vMACx addresses of the ONU, the x is an integer greater than 1 or the capability set query information is a registration confirmation message and the first port is assigned to the ONU.
- the logical link identifier LLID1 generates a table, and the table includes: LLID1, a mapping relationship between Port1 of the ONU and a vMAC1 address of the ONU, and mappings between other Portxs of the ONU and other vMACx addresses.
- the data communication device may be an OLT 110 or a central office device as in the system FIG.
- the embodiment of the present invention further provides another ONU corresponding to FIG. 6 and the corresponding embodiment, where the ONU includes:
- the sender is configured to send a first registration request message to the OLT, where the first registration request includes: a physical MAC address of the ONU, a first mapping relationship, and other mapping relationships.
- the first mapping relationship includes: the first port identifier Port1 of the ONU and the first virtual MAC address vMAC1 of the ONU; the other mapping relationship includes: other port identifiers of the ONU and other virtual MAC addresses vMACx of the ONU , the x is an integer greater than one.
- the ONU sends a mapping of Port 1 and vMAC1 and a mapping of Portx and vMACx through the first port.
- the receiver is configured to receive the LLID1 allocated by the OLT, and return a registration response to the OLT.
- the ONU further includes a processor for repeatedly performing 2 n -1 steps S600-S604 until all ports under the ONU complete registration, where n is an integer from 2 to 10.
- the OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
- the processing of the ONU For the processing of the ONU, reference may be made to the processing of the embodiment of the present invention, and the processing of the corresponding method is not performed in the foregoing embodiment.
- the description of the method embodiment relates to the sending side or receiving of the ONU.
- the actions of the side can be performed by the transmitter of the ONU and the receiver of the ONU.
- Even the processing functions other than the sending or receiving functions of the ONU can be completed by the processor of the ONU, for example, the MAC chip of the ONU.
- the processor of the ONU for example, the MAC chip of the ONU.
- the location of the above ONU in the system can be referred to the system architecture diagram of FIG. 2.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- An embodiment of the present invention further provides an OLT, where the OLT includes:
- a receiver configured to receive a first registration request sent by the ONU
- a processor configured to allocate LLID1 to the ONU; the OLT generates a table according to the registration request of the ONU, where the table includes: the ONU uniquely identifies the MAC1, the Port1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other Portx and other vMACx addresses of the ONU
- a transmitter configured to send the LLID1 to the ONU.
- the table further includes: a correspondence between Port1 and LLID1.
- the table further includes: an OLT to enable port mapping of Port1, that is, the OLT sets the port usage status of the Port1.
- Table 1 is the port attribute table of the ONU maintained by the OLT.
- the OLT specifies LLID1 to uniquely identify the ONU.
- the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
- the OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
- the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
- the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient.
- the OLT manages the ports of each ONU.
- the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered.
- the OLT can re-execute the above method flow by registering the port on which the ONU fails to register, or the OLT can cause the ONU to re-register, and all ports of the ONU are re-registered and authenticated.
- the processing flow of the foregoing OLT may refer to the processing of FIG. 2-6 and the corresponding method embodiment,
- the foregoing embodiment does not perform specific hardware partitioning on the OLT.
- the actions of the sending side or the receiving side of the OLT may be performed by the transmitter of the OLT and the receiver of the OLT, and even
- the processing functions of the OLT, except for the sending or receiving functions, can be performed by the processor of the OLT, such as the MAC chip of the OLT.
- the processor of the OLT such as the MAC chip of the OLT.
- the location of the above OLT in the system can refer to the system architecture diagram of FIG. 2.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the embodiment of the present invention further provides a passive optical network system PON.
- the system includes: an optical line terminal OLT and an optical network unit ONU, and the OLT passes the optical distribution network.
- OLT passes the optical distribution network.
- the specific structure of the ONU and the functions performed by the respective modules refer to the description of the embodiment of the ONU.
- OLT refer to the description of the OLT related embodiment.
- the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
- the table generated by the OLT in this embodiment is an ONU port attribute table, and the difference between the information of the table and the table 1 has been described above, and the same points and differences have been described, and details are not described herein again.
- the above embodiment of the present invention provides that the OLT does not need to specify a basic port for the ONU, and therefore It is used by various ONUs to report the related attribute information of the port that is registered and reported by the ONU every time the registration is reported. It also needs to report the attribute information of the port other than the port of the ONU.
- the OLT can Knowing the information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management of the ONU. The process improves the reliability of the system.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the above units 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 integrated. Go to 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 or otherwise.
- the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one place, or It can also 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 above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
- the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention.
- the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like. The medium of the code.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Disclosed are communication method, apparatus and system for a passive optical network. The method comprises: an ONU sending a registration request message, the registration request message comprising a first port identification (Port 1) of the ONU and a first virtual Media Access Control (vMAC1) address of the ONU; the ONU receiving a first Logical Link Identification (LLID1); the ONU sending a message comprising capability set information, the capability set information of the ONU comprising other port identifications (Port x) of the ONU and the mapping of other vMACx addresses of the ONU, where x is an integer greater than 1, or the message of the capability set information is a registration acknowledgement message. The problem of port management of a multi-port ONU by an OLT in a next-generation PON system is solved, thereby realizing further management and configuration of the ONU through the port recognition of the multi-port ONU by the OLT, greatly simplifying the management process of the ONU and improving the reliability of the system.
Description
本发明涉及光通信技术领域,具体涉及一种数据通信方法、装置以及系统。The present invention relates to the field of optical communication technologies, and in particular, to a data communication method, apparatus, and system.
无源光网络(PON,Passive Optical Network)技术是一种点到多点的光纤接入技术,随着技术的不断发展,出现了EPON(Ethernet Passive Optical Network,以太网无源光网络)和GPON(Gigabit passive Optical Network,千兆比特容量无源光网络)以及NG PON(下一代PON)等。图1所示为现有EPON的网络结构,所述EPON100可以包括至少一个光线路终端(OLT)110、一个光分配网络120(ODN)和多个光网络单元(ONU)130,所述OLT通过ODN给多个ONU发送以太网报文。Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology. With the continuous development of technology, EPON (Ethernet Passive Optical Network) and GPON have emerged. (Gigabit passive Optical Network, Gigabit-capacity passive optical network) and NG PON (Next-Generation PON). 1 shows a network structure of an existing EPON. The EPON 100 may include at least one optical line terminal (OLT) 110, an optical distribution network 120 (ODN), and a plurality of optical network units (ONUs) 130. The ODN sends Ethernet packets to multiple ONUs.
在EPON注册过程中,如图1所示,一个ONU通过自身的一个端口与OLT通信,OLT只要成功收到该ONU从该端口发出的注册请求消息,就会根据所述注册请求消息给该端口分配一个逻辑链路标识LLID,用于识别该ONU中的业务流。由于EPON系统中,一个ONU对应一个端口,因此OLT可以通过该发送的注册请求消息的端口,识别出该ONU发送的业务流。为了进一步扩展PON的应用,满足未来更大的带宽需求,在原有EPON、10G EPON的基础上,提出50G EPON或者100G EPON的系统。该50G EPON或者100G EPON系统中,由于一个ONU可以具有多个不同波长的端口,OLT发送的50G或者100G的业务流,ONU的每个端口的工作速率为25Gbps,此时ONU需要2个或者4个端口共同分担该50G或者100G的业务流。目前的OLT都是针对单端口的ONU的注册等管理流程,即使在OLT按照现有的单端口的ONU的
流程完成对该ONU的多个端口注册后,OLT仍然无法识别哪些注册的端口是属于同一个ONU,进而导致OLT无法实现对多端口ONU的进一步管理和配置,即下一代PON系统中,OLT对具有多个端口的ONU的端口管理的问题亟待解决。In the EPON registration process, as shown in FIG. 1 , an ONU communicates with the OLT through one of its own ports. When the OLT successfully receives the registration request message sent by the ONU from the port, the OLT sends the registration request message to the port according to the registration request message. A logical link identifier LLID is assigned to identify the traffic flow in the ONU. In the EPON system, an ONU corresponds to a port, so the OLT can identify the service flow sent by the ONU through the port of the registration request message sent. In order to further expand the application of PON and meet the greater bandwidth demand in the future, based on the original EPON and 10G EPON, a 50G EPON or 100G EPON system is proposed. In the 50G EPON or 100G EPON system, since one ONU can have multiple ports of different wavelengths, 50G or 100G service flows sent by the OLT, the operating rate of each port of the ONU is 25Gbps, and the ONU needs 2 or 4 The ports share the 50G or 100G service flow. The current OLT is a management process for the registration of a single-port ONU, even if the OLT follows the existing single-port ONU.
After the process is completed, the OLT still cannot identify which registered ports belong to the same ONU, and the OLT cannot implement further management and configuration of the multi-port ONU. That is, the OLT pair in the next-generation PON system. The problem of port management of ONUs with multiple ports needs to be resolved.
发明内容Summary of the invention
本发明实施例提供了一种数据通信方法和相关设备以及系统,用以解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,使得OLT通过对多端口ONU的端口识别,进而实现对ONU的进一步管理和配置,极大地简化了ONU的管理的流程,提高了系统的可靠性。The embodiment of the present invention provides a data communication method, a related device, and a system, which are used to solve the problem of port management of an OLT to a plurality of port ONUs in a next-generation PON system, so that the OLT recognizes the port of the multi-port ONU, and further The further management and configuration of the ONU is implemented, which greatly simplifies the management process of the ONU and improves the reliability of the system.
一方面,本申请的实施例提供一种数据通信方法,应用于无源光网络系统中,所述方法包括:In one aspect, an embodiment of the present application provides a data communication method, which is applied to a passive optical network system, where the method includes:
光网络单元ONU发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;所述ONU接收第一逻辑链路标识LLID1;所述ONU发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Port x和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集信息的消息为注册确认消息。The optical network unit ONU sends a registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual medium intervention control vMAC1 address of the ONU; and the ONU receives the first logical link identifier LLID1 The ONU sends a message including capability set information, where the capability set information of the ONU includes: mapping of other port identifiers Port x of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or The message of the capability set information is a registration confirmation message.
通过本实施例提供的方案,当ONU的首次通过第一端口标识Port1所标识的第一端口完成第一端口的注册认证后,所述第一端口被确定为基本端口,ONU通过完成注册的基本端口上报包括其它端口标识和其它虚拟MAC地址的映射关系的能力集信息,使得OLT通过所述基本端口接收到该ONU下的所
有端口和虚拟MAC地址的映射关系,其中,所述OLT为首次完成注册认证的第一端口分配的LLID1,所述LLID1可以用于唯一标识该ONU。此时OLT建立起至少包括:ONU唯一标识(这里可以用LLID1来唯一标识该ONU),以及LLID1标识的ONU的各个端口的端口标识以及虚拟MAC地址的对应关系表,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。With the solution provided by the embodiment, after the ONU first completes the registration authentication of the first port by using the first port identified by the first port identifier Port1, the first port is determined as the basic port, and the ONU completes the registration basic. The port reports the capability set information including the mapping relationship between the other port identifiers and other virtual MAC addresses, so that the OLT receives the location under the ONU through the basic port.
There is a mapping relationship between the port and the virtual MAC address, where the OLT is the LLID1 allocated for the first port that completes the registration authentication for the first time, and the LLID1 can be used to uniquely identify the ONU. At this time, the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know The information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU. Improve the reliability of the system.
在一个可能的设计中,为了使OLT更全面的管理多端口的ONU,所述能力集信息还可以包括至少一种:所述ONU的端口数目、所述ONU的端口类型以及用于指示所述其它端口是否可用的信息。In a possible design, in order to enable the OLT to more fully manage the multi-port ONU, the capability set information may further include at least one of: a number of ports of the ONU, a port type of the ONU, and a Information on whether other ports are available.
通过OLT记录上述信息后,OLT便可知该ONU是否支持多端口;若该ONU支持多端口,可以支持多少个端口。After the OLT records the above information, the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
进一步地,上述ONU上报给OLT的能力集信息还可以包括:使能端口的Bit Map比特位图。Further, the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
OLT通过上述表的各个表项,使得OLT进一步决定是否允许ONU具有多端口的能力,以及可以使能该ONU支持的多端口中哪些端口可以使用,OLT建立和维护该表,进而可以通过该表更加全面的管理ONU。The OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used. The OLT establishes and maintains the table, and the OLT can pass the table. More comprehensive management of ONUs.
在一个可能的设计中,所述方法还包括:In one possible design, the method further includes:
所述ONU发送其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;所述ONU接收所述OLT发送的为其它端口分配的逻辑链路标识LLIDx;所述x
为大于1的整数。The ONU sends another registration request message, where the other registration request message includes: the other port identifier Portx of the ONU and the other vMAC address vMACx address of the ONU; the ONU receives the OLT to send the other port assignment Logical link identifier LLIDx; said x
Is an integer greater than 1.
通过本实施例提供的方案,ONU通过发送的其它端口标识和其它vMAC地址信息的映射关系给OLT,使得OLT通过ONU的其它端口的注册认证,为该ONU的注册通过的其它端口分配相应的LLID,进一步记录下其它端口与该其它端口对应的LLID信息,OLT将该信息进一步记录到该表中,进而进一步完善该表的信息,OLT通过该表可以获知哪些端口属于同一ONU,也可以通过该表记录的信息进一步识别数据流来自于哪些端口等,完善了对多端口ONU的管理和配置,提高了系统的可靠性和稳定性。With the solution provided by the embodiment, the ONU sends the mapping between the other port identifiers and other vMAC address information to the OLT, so that the OLT registers the other ports of the ONU through the registration authentication of the other ports of the ONU. And further recording the LLID information corresponding to the other port by the other port, and the OLT further records the information into the table, thereby further improving the information of the table, and the OLT can learn, by using the table, which ports belong to the same ONU, and can also pass the The information recorded in the table further identifies which ports the data stream comes from, and improves the management and configuration of the multi-port ONU, thereby improving the reliability and stability of the system.
进一步地,在一个可能的设计中,所述方法还包括:所述ONU接收用于请求所述能力集信息的查询消息。这里ONU是接收OLT发送的请求ONU上报该ONU的能力集信息的查询消息后,ONU接收该消息进而上报ONU的能力集信息;也可以是如上述描述的方案一样,ONU主动上报自己的能力集信息。进一步地,在ONU主动上报自己的能力集信息过程中,ONU可以通过响应OLT的注册确认消息时,将该ONU的能力集信息承载在该注册确认消息中发送给OLT。Further, in a possible design, the method further comprises: the ONU receiving a query message for requesting the capability set information. The ONU is the capability set information of the ONU after receiving the query message that the ONU requests the ONU to report the capability set information of the ONU, and then the ONU receives the message and reports the capability set information of the ONU. Alternatively, the ONU actively reports its capability set as described above. information. Further, in the process of the ONU actively reporting its capability set information, the ONU may send the capability set information of the ONU in the registration confirmation message to the OLT by responding to the registration confirmation message of the OLT.
另一方面,本申请的实施例提供一种数据通信方法,应用于无源光网络系统中,所述方法包括:On the other hand, an embodiment of the present application provides a data communication method, which is applied to a passive optical network system, where the method includes:
光线路终端OLT接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;The optical line terminal OLT receives the registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual medium intervention control vMAC1 address of the ONU;
所述OLT响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;The OLT sends a first logical link identifier LLID1 to the first port of the ONU in response to the registration request message;
所述OLT接收包括能力集信息的消息,所述ONU的能力集信息包括:所
述ONU的其它端口标识Port x和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;The OLT receives a message including capability set information, where the capability set information of the ONU includes:
The other port of the ONU identifies a mapping of Port x and other vMACx addresses of the ONU, the x is an integer greater than 1 or the capability set query information is a registration confirmation message;
所述OLT生成一张表,所述表包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Port x和其它vMACx地址的映射关系。The OLT generates a table, where the table includes: LLID1, a mapping relationship between Port1 of the ONU and a vMAC1 address of the ONU, and mappings of other Portx and other vMACx addresses of the ONU.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
在一个可能的设计中,为了使OLT更全面的管理多端口的ONU,所述能力集信息还可以包括至少一种:所述ONU的端口数目、所述ONU的端口类型以及用于指示所述其它端口是否可用的信息。In a possible design, in order to enable the OLT to more fully manage the multi-port ONU, the capability set information may further include at least one of: a number of ports of the ONU, a port type of the ONU, and a Information on whether other ports are available.
通过OLT记录上述信息后,OLT便可知该ONU是否支持多端口;若该ONU支持多端口,可以支持多少个端口。After the OLT records the above information, the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
进一步地,上述ONU上报给OLT的能力集信息还可以包括:使能端口的Bit Map比特位图。Further, the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
OLT通过上述的表的各个表项,使得OLT进一步决定是否允许ONU具有多端口的能力,以及可以使能该ONU支持的多端口中哪些端口可以使用,OLT建立和维护该表,进而可以通过该表更加全面的管理ONU。The OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can The table is more comprehensive to manage the ONU.
在一个可能的设计中,所述方法还包括:In one possible design, the method further includes:
所述OLT接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Port x和所述ONU的其它vMAC地址vMACx地址;
The OLT receives another registration request message, where the other registration request message includes: another port identifier Port x of the ONU and another vMAC address vMACx address of the ONU;
所述OLT发送为其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The OLT sends a logical link identifier LLIDx assigned to other ports; the x is an integer greater than one.
进一步地,在一个可能的设计中,所述方法还包括:Further, in one possible design, the method further includes:
所述OLT发送用于请求所述能力集信息的查询消息给ONU。也可以是如上述描述的方案一样,ONU主动上报自己的能力集信息。The OLT sends a query message for requesting the capability set information to the ONU. It is also possible that the ONU actively reports its capability set information as described above.
一方面,本申请的实施例提供一种光网络单元ONU,所述ONU包括:In one aspect, an embodiment of the present application provides an optical network unit ONU, where the ONU includes:
第一发送器,用于发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Port x和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a first sender, configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and a message including capability set information is sent, The capability set information of the ONU includes: mapping of other port identifiers Port x of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
第一接收器,用于接收第一逻辑链路标识LLID1。The first receiver is configured to receive the first logical link identifier LLID1.
通过本实施例提供的方案,当ONU的通过第一端口标识Port1所标识的第一端口完成第一端口的注册认证后,所述第一端口被确定为基本端口,ONU通过完成注册的基本端口上报包括其它端口标识和其它虚拟MAC地址的映射关系的能力集信息,使得OLT通过所述基本端口接收到该ONU下的所有端口和虚拟MAC地址的映射关系,其中,所述OLT为完成注册认证的第一端口分配的LLID1,所述LLID1可以用于唯一标识该ONU。此时OLT建立起至少包括:ONU唯一标识(这里可以用LLID1来唯一标识该ONU),以及LLID1标识的ONU的各个端口的端口标识以及虚拟MAC地址的对应关系表,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU
的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。With the solution provided by the embodiment, after the first port identified by the first port identifier Port1 is used to complete the registration authentication of the first port, the first port is determined as a basic port, and the ONU passes the registered basic port. The capability set information including the mapping relationship between the other port identifiers and the other virtual MAC addresses is reported, so that the OLT receives the mapping relationship between all the ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication. The first port is assigned LLID1, which can be used to uniquely identify the ONU. At this time, the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know Information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the OLT to multiple port ONUs in the next generation PON system.
The problem of port management greatly simplifies the management process of the ONU and improves the reliability of the system.
在一个可能的设计中,为了使OLT更全面的管理多端口的ONU,所述能力集信息还可以包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。In a possible design, in order to enable the OLT to more fully manage the multi-port ONU, the capability set information may further include at least one of: information indicating whether the other port is available, the number of ports of the ONU, and The port type of the ONU.
通过OLT记录上述信息后,OLT便可知该ONU是否支持多端口;若该ONU支持多端口,可以支持多少个端口。After the OLT records the above information, the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
进一步地,上述ONU上报给OLT的能力集信息还可以包括:使能端口的Bit Map比特位图。Further, the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
OLT通过上述的表的各个表项,使得OLT进一步决定是否允许ONU具有多端口的能力,以及可以使能该ONU支持的多端口中哪些端口可以使用,OLT建立和维护该表,进而可以通过该表更加全面的管理ONU。The OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can The table is more comprehensive to manage the ONU.
在一个可能的设计中,所述ONU的第一发送器,还用于发送其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Port x和所述ONU的其它vMAC地址vMACx地址;所述ONU接收所述OLT发送的为其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。通过本实施例提供的方案,ONU通过发送的其它端口标识和其它vMAC地址信息的映射关系给OLT,使得OLT通过ONU的其它端口的注册认证,为该ONU的注册通过的其它端口分配相应的LLID,进一步记录下其它端口与该其它端口对应的LLID信息,OLT将该信息进一步记录到该表中,进而进一步完善该表的信息,OLT通过该表可以获知哪些端口属于同一ONU,也可以通过该表记录的信息进一步识别数据流来自于哪些端口等,完善了对多端口ONU的管理和配置,提高了系统的可靠性和稳定性。
In a possible design, the first transmitter of the ONU is further configured to send another registration request message, where the other registration request message includes: another port identifier of the ONU, Port x, and other vMAC addresses of the ONU. a vMACx address; the ONU receives a logical link identifier LLIDx sent by the OLT for other ports; the x is an integer greater than 1. With the solution provided by the embodiment, the ONU sends the mapping between the other port identifiers and other vMAC address information to the OLT, so that the OLT registers the other ports of the ONU through the registration authentication of the other ports of the ONU. And further recording the LLID information corresponding to the other port by the other port, and the OLT further records the information into the table, thereby further improving the information of the table, and the OLT can learn, by using the table, which ports belong to the same ONU, and can also pass the The information recorded in the table further identifies which ports the data stream comes from, and improves the management and configuration of the multi-port ONU, thereby improving the reliability and stability of the system.
进一步地,在一个可能的设计中,所述ONU的第一接收器,还用于所述ONU接收用于请求所述能力集信息的查询消息。这里ONU是接收OLT发送的请求ONU上报该ONU的能力集信息的查询消息后,ONU接收该消息进而上报ONU的能力集信息;也可以是如上述描述的方案一样,ONU主动上报自己的能力集信息。进一步地,在ONU主动上报自己的能力集信息过程中,ONU可以通过响应OLT的注册确认消息时,将该ONU的能力集信息承载在该注册确认消息中发送给OLT。Further, in a possible design, the first receiver of the ONU is further configured to receive, by the ONU, a query message for requesting the capability set information. The ONU is the capability set information of the ONU after receiving the query message that the ONU requests the ONU to report the capability set information of the ONU, and then the ONU receives the message and reports the capability set information of the ONU. Alternatively, the ONU actively reports its capability set as described above. information. Further, in the process of the ONU actively reporting its capability set information, the ONU may send the capability set information of the ONU in the registration confirmation message to the OLT by responding to the registration confirmation message of the OLT.
另一方面,本申请的实施例提供一种光线路终端OLT,所述OLT包括:On the other hand, an embodiment of the present application provides an optical line terminal OLT, where the OLT includes:
第二接收器,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a second receiver, configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
处理器,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表的表项至少包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。The processor is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table entry includes at least: LLID1, Port1 of the ONU A mapping relationship between the mapping relationship with the vMAC1 address of the ONU and other Portx of the ONU and other vMACx addresses.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
在一个可能的设计中,为了使OLT更全面的管理多端口的ONU,所述能
力集信息还可以包括至少一种:所述ONU的端口数目、所述ONU的端口类型以及用于指示所述其它端口是否可用的信息。In a possible design, in order to enable the OLT to more fully manage multi-port ONUs, the energy
The force set information may also include at least one of: a number of ports of the ONU, a port type of the ONU, and information indicating whether the other ports are available.
通过OLT记录上述信息后,OLT便可知该ONU是否支持多端口;若该ONU支持多端口,可以支持多少个端口。After the OLT records the above information, the OLT can know whether the ONU supports multiple ports; if the ONU supports multiple ports, how many ports can be supported.
进一步地,上述ONU上报给OLT的能力集信息还可以包括:使能端口的Bit Map比特位图。Further, the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
OLT通过上述的表的各个表项,使得OLT进一步决定是否允许ONU具有多端口的能力,以及可以使能该ONU支持的多端口中哪些端口可以使用,OLT建立和维护该表,进而可以通过该表更加全面的管理ONU。The OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can The table is more comprehensive to manage the ONU.
在一个可能的设计中,所述第二接收器,用于接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;In a possible design, the second receiver is configured to receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx, and other vMAC address vMACx addresses of the ONU;
所述OLT发送为其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The OLT sends a logical link identifier LLIDx assigned to other ports; the x is an integer greater than one.
进一步地,在一个可能的设计中,所述第二发送器,还用发送用于请求所述能力集信息的查询消息给ONU。也可以是如上述描述的方案一样,ONU主动上报自己的能力集信息。Further, in a possible design, the second transmitter further sends an inquiry message for requesting the capability set information to the ONU. It is also possible that the ONU actively reports its capability set information as described above.
另一方面,本申请的实施例提供一种无源光网络系统PON,所述系统包括:光线路终端OLT和光网络单元ONU,所述OLT通过光分配网络与所述ONU连接,所述ONU如上面实施例描述的ONU和/或包括上面描述的所述OLT。On the other hand, an embodiment of the present application provides a passive optical network system PON, where the system includes: an optical line terminal OLT and an optical network unit ONU, where the OLT is connected to the ONU through an optical distribution network, such as the ONU The ONUs described in the above embodiments and/or include the OLT described above.
另一方面,本申请实施例还提供一种数据通信设备,所述数据通信设备包
括:On the other hand, an embodiment of the present application further provides a data communication device, where the data communication device package
include:
第一发送单元,用于发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a first sending unit, configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and sending a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
第一接收单元,用于接收第一逻辑链路标识LLID1。The first receiving unit is configured to receive the first logical link identifier LLID1.
通过本实施例提供的方案,当ONU的通过第一端口标识Port1所标识的第一端口完成第一端口的注册认证后,所述第一端口被确定为基本端口,ONU通过完成注册的基本端口上报包括其它端口标识和其它虚拟MAC地址的映射关系的能力集信息,使得OLT通过所述基本端口接收到该ONU下的所有端口和虚拟MAC地址的映射关系,其中,所述OLT为完成注册认证的第一端口分配的LLID1,所述LLID1可以用于唯一标识该ONU。此时OLT建立起至少包括:ONU唯一标识(这里可以用LLID1来唯一标识该ONU),以及LLID1标识的ONU的各个端口的端口标识以及虚拟MAC地址的对应关系表,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。With the solution provided by the embodiment, after the first port identified by the first port identifier Port1 is used to complete the registration authentication of the first port, the first port is determined as a basic port, and the ONU passes the registered basic port. The capability set information including the mapping relationship between the other port identifiers and the other virtual MAC addresses is reported, so that the OLT receives the mapping relationship between all the ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication. The first port is assigned LLID1, which can be used to uniquely identify the ONU. At this time, the OLT establishes at least: an ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and a port identifier of each port of the ONU identified by the LLID1 and a correspondence table of virtual MAC addresses, by which the OLT can know The information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU. Improve the reliability of the system.
在一个可能的设计中,为了使OLT更全面的管理多端口的ONU,所述能力集信息还可以包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。In a possible design, in order to enable the OLT to more fully manage the multi-port ONU, the capability set information may further include at least one of: information indicating whether the other port is available, the number of ports of the ONU, and The port type of the ONU.
通过OLT记录上述信息后,OLT便可知该ONU是否支持多端口;若该
ONU支持多端口,可以支持多少个端口。After the above information is recorded by the OLT, the OLT can know whether the ONU supports multiple ports;
The ONU supports multiple ports and how many ports can be supported.
进一步地,上述ONU上报给OLT的能力集信息还可以包括:使能端口的Bit Map比特位图。Further, the capability set information reported by the ONU to the OLT may further include: a Bit Map bit bitmap of the enabled port.
OLT通过上述的表的各个表项,使得OLT进一步决定是否允许ONU具有多端口的能力,以及可以使能该ONU支持的多端口中哪些端口可以使用,OLT建立和维护该表,进而可以通过该表更加全面的管理ONU。The OLT passes the entries of the foregoing table, so that the OLT further determines whether the ONU is allowed to have a multi-port capability, and which ports of the multi-ports supported by the ONU can be used, and the OLT establishes and maintains the table, and the OLT can The table is more comprehensive to manage the ONU.
在一个可能的设计中,一种数据通信装置,所述数据通信设备包括:In a possible design, a data communication device, the data communication device comprising:
第二接收单元,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a second receiving unit, configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
处理单元,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。The processing unit is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table includes: LLID1, Port1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other Portx of the ONU and other vMACx addresses.
通过本实施例提供的方案,当ONU通过第一端口标识Port1所标识的第一端口完成第一端口的注册认证后,所述第一端口被确定为基本端口,ONU通过完成注册的基本端口上报包括其它端口标识和其它虚拟MAC地址的映射关系的能力集信息,使得OLT通过所述基本端口接收到该ONU下的所有端口和虚拟MAC地址的映射关系,其中,所述OLT为完成注册认证的第一端口分配的LLID1,所述LLID1可以用于唯一标识该ONU。此时OLT建立起至少
包括:ONU唯一标识(这里可以用LLID1来唯一标识该ONU),以及LLID1标识的ONU的各个端口的端口标识以及虚拟MAC地址的对应关系表,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。With the solution provided by the embodiment, after the ONU completes the registration authentication of the first port by using the first port identified by the first port identifier Port1, the first port is determined as the basic port, and the ONU reports the basic port through registration. The capability set information including the mapping relationship between the port identifier and the other virtual MAC address, so that the OLT receives the mapping relationship between all ports and the virtual MAC address of the ONU through the basic port, where the OLT is configured to complete the registration authentication. The first port is assigned LLID1, and the LLID1 can be used to uniquely identify the ONU. At this point the OLT is established at least
Including: the ONU unique identifier (where the LLID1 can be used to uniquely identify the ONU), and the port identifier of each port of the ONU identified by the LLID1 and the correspondence table of the virtual MAC address. Through the table, the OLT can learn all the ports under the ONU. Related information, the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management process of the ONU and improves the reliability of the system. Sex.
在一个可能的设计中,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。In one possible design, the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
进一步地,在一个可能的设计中,所述第二接收单元,还用于接收接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;Further, in a possible design, the second receiving unit is further configured to receive and receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx, and other vMACs of the ONU. Address vMACx address;
所述第二发送单元,还用于发送为所述ONU其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The second sending unit is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
通过本实施例提供的方案,光网络单元ONU发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;所述ONU接收第一逻辑链路标识LLID1;所述ONU发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集信息的消息为注册确认消息。通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。
With the solution provided by the embodiment, the optical network unit ONU sends a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; Receiving a first logical link identifier LLID1; the ONU transmitting a message including capability set information, where the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, The message that x is an integer greater than 1 or the capability set information is a registration confirmation message. Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those of ordinary skill in the art based on these drawings without any inventive labor.
图1为现有技术提供的一种PON系统的网络架构示意图;1 is a schematic diagram of a network architecture of a PON system provided by the prior art;
图2为本发明实施例提供的一种下一代EPON系统的网络架构示意图;2 is a schematic diagram of a network architecture of a next-generation EPON system according to an embodiment of the present invention;
图3为本发明实施例提供的一种数据通信方法;FIG. 3 is a data communication method according to an embodiment of the present invention;
图4为本发明实施例提供的ONU的端口属性表;4 is a port attribute table of an ONU according to an embodiment of the present invention;
图5为本发明实施例提供的另一种数据通信方法;FIG. 5 is another data communication method according to an embodiment of the present invention;
图6为本发明实施例提供的另一种数据通信方法;FIG. 6 is another data communication method according to an embodiment of the present invention;
图7本发明实施例提供的扩展OAM消息格式;FIG. 7 is an extended OAM message format provided by an embodiment of the present invention;
图8为本发明实施例提供的扩展OAM消息格式的字段说明;FIG. 8 is a field description of an extended OAM message format according to an embodiment of the present invention;
图9为本发明实施例提供的扩展的Opcode格式;FIG. 9 is an extended Opcode format according to an embodiment of the present invention;
图10为本发明实施例提供的另一种OAM消息格式;FIG. 10 is another OAM message format according to an embodiment of the present invention;
图11为本发明实施例提供的一种ONT的结构示意图;FIG. 11 is a schematic structural diagram of an ONT according to an embodiment of the present disclosure;
图12为本发明实施例提供的另一种OLT的结构示意图;FIG. 12 is a schematic structural diagram of another OLT according to an embodiment of the present disclosure;
图13为本发明实施例提供的另一种的数据通信装置的结构示意图。FIG. 13 is a schematic structural diagram of another data communication apparatus according to an embodiment of the present invention.
本发明实施例提供了一种数据通信方法和相关设备以及系统,用以解决了下一代EPON系统中OLT对具有多端口的ONU的端口管理问题,实现了下一代EPON系统中OLT对多端口ONU的端口管理,进而实现了OLT对ONU
进一步的配置和管理,极大地提高了系统的可靠性。Embodiments of the present invention provide a data communication method and related device and system, which are used to solve the port management problem of an OLT to a multi-port ONU in a next-generation EPON system, and implement an OLT-to-multi-port ONU in a next-generation EPON system. Port management, which in turn implements OLT to ONU
Further configuration and management greatly improve the reliability of the system.
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图2为下一代EPON系统的网络架构示意图,如图2所示,下一代EPON系统100包括一个OLT110,多个ONU120和光分配网络(Optical Distribution Network,ODN)130。2 is a schematic diagram of a network architecture of a next-generation EPON system. As shown in FIG. 2, the next-generation EPON system 100 includes an OLT 110, a plurality of ONUs 120, and an Optical Distribution Network (ODN) 130.
下面先介绍下图2的网络结构组成。所述OLT110包括报文分发器和各个下行端口。图示以报文分发器为解复用器DeMultiplexing为示例给出,所述下行端口图示例中给出为4个下行端口,这里为示例给出,至少设置有2个下行端口。所述DeMultiplexing与所述端口之间是电信号,所述DeMultiplexing和所述下行端口都设置在OLT的单板上,所述各下行端口可以将电信号转换成光信号,通过该端口输出。OLT的4个下行端口与复用器WDM之间通过分支光纤连接,各分支光纤中传输光信号。所述分支光纤中传输的光信号的波长可以相同,也可以不相同。这里需要说明的是,若所述WDM设置在OLT内,则OLT的各下行端口与WDM之间通过波导连接。所述WDM与所述分光器130之间通过主干光纤连接,所述分光器130通过分支光纤与终端侧的WDM连接。所述WDM通过终端侧设备ONU的各上行端口与报文重组器连接,所述报文重组器在图2示例中为复用器或者合波器Multiplexing,包括但不限于该复用器或者合波器。其中所述终端侧的WDM与ONU120上的各上行端口
之间通过各分支光纤传输光信号。当所述终端的的WDM设置在ONU120上时,所述WDM与ONU120之间通过波导连接,用于传输光信号。所述ONU120上的各个上行端口将光信号转换成电信号,传输到Multiplxing进行报文重组,在所述各个上行端口与所述Multiplxing之间传输的是电信号。最后ONU通过各下行端口(图2中未示例给出)将重组后的业务流发送给用户。The following describes the network structure of Figure 2 below. The OLT 110 includes a message distributor and respective downlink ports. The illustration is given by the message distributor as a demultiplexer DeMultiplexing, which is given as four downlink ports in the example of the downlink port diagram, here given as an example, at least two downlink ports are provided. An electrical signal is generated between the DeMultiplexing and the port, and the DeMultiplexing and the downlink port are both disposed on a board of the OLT, and each of the downlink ports can convert an electrical signal into an optical signal and output through the port. The four downlink ports of the OLT and the multiplexer WDM are connected by a branch fiber, and optical signals are transmitted in each branch fiber. The wavelengths of the optical signals transmitted in the branched fibers may be the same or different. It should be noted that if the WDM is set in the OLT, the downlink ports of the OLT and the WDM are connected by a waveguide. The WDM and the beam splitter 130 are connected by a trunk fiber, and the beam splitter 130 is connected to the WDM of the terminal side through a branch fiber. The WDM is connected to the message reassembler through the uplink ports of the terminal-side device ONU, and the message reassembler is a multiplexer or a multiplexer in the example of FIG. 2, including but not limited to the multiplexer or the multiplexer. Waves. The WDM on the terminal side and each uplink port on the ONU 120
Optical signals are transmitted between the respective branch fibers. When the WDM of the terminal is set on the ONU 120, the WDM and the ONU 120 are connected by a waveguide for transmitting an optical signal. Each of the uplink ports on the ONU 120 converts the optical signal into an electrical signal, and transmits the signal to Multiplxing to perform packet reassembly. An electrical signal is transmitted between the respective uplink ports and the Multiplxing. Finally, the ONU sends the reassembled service flow to the user through each downlink port (not shown in FIG. 2).
以数据流的方式对上述图2的组网结构图进行描述如下:所述OLT接收来自网络侧的一条业务流,通过各个下行端口将该业务流通过至少2个通道进行进行分发,图2给出示例为4个通道分别为λ0-λ4进行发送,其中,所述一条业务流被拆分成各个可变长度的数据包,分别通过各自的通道进行发送。所述WDM将各个通道的数据包进行汇聚,通过分光器130发送到各个终端侧的WDM上,由终端侧的WDM解复用到各个ONU120的各个通道λ0-λ4上,通过各自通道进行数据报文的传输,最终通过Multiplexing进行报文重组,并将重组后的数据报文即业务流发送给用户。The network structure diagram of FIG. 2 is described in the following manner: the OLT receives a service flow from the network side, and distributes the service flow through at least two channels through each downlink port, and FIG. 2 gives For example, four channels are respectively transmitted for λ0-λ4, wherein the one service stream is split into data packets of variable lengths and transmitted through respective channels. The WDM aggregates the data packets of the respective channels, and transmits them to the WDM of each terminal side through the optical splitter 130, and demultiplexes them to the respective channels λ0-λ4 of the respective ONUs 120 by the WDM on the terminal side, and performs datagrams through the respective channels. The transmission of the text finally reorganizes the message through Multiplexing, and sends the reassembled data packet, that is, the service flow, to the user.
上述的通道可以理解为波长通道,也可以是其它通道,该通道可以是逻辑上的通道,也可以是物理层的光纤链路。在上述的网络架构图中,所述的通道可以理解为从OLT的各个下行端口到ONU的各个上行端口之间的逻辑或者物理链路。The above channel can be understood as a wavelength channel, or it can be another channel. The channel can be a logical channel or a physical layer fiber link. In the above network architecture diagram, the channel can be understood as a logical or physical link from each downlink port of the OLT to each uplink port of the ONU.
另外,上述下一代EPON的网络架构是以100GEPON的架构为示例,即OLT到ONU之间通过4个通道进行数据传输,每个通道承载25Gbps的数据报文,共可以传输100Gbps的数据报文。需要说明的是,如果OLT到ONU之间通过2个通道进行数据传输,每个通道承载25Gbps的数据报文,共可以传输50Gbps的数据报文,上述示例的架构也可以为50G EPON的架构,这里
不做限制。In addition, the network architecture of the above-mentioned next-generation EPON is an example of a 100GEPON architecture, that is, data transmission is performed between the OLT and the ONU through four channels, each channel carrying 25 Gbps data packets, and a total of 100 Gbps data packets can be transmitted. It should be noted that if the OLT and the ONU transmit data through two channels, each channel carries 25 Gbps data packets, and a total of 50 Gbps data packets can be transmitted. The architecture of the above example can also be a 50 G EPON architecture. Here
No restrictions.
所述OLT到ONU之间传输的数据报文可以为以太网数据,也可以为前向纠错码码字FEC codeword,通过所述以太网数据封装在FEC codeword的净荷data block中传输。The data packet transmitted between the OLT and the ONU may be Ethernet data or a forward error correction code code word FEC codeword, and the Ethernet data is encapsulated and transmitted in the payload data block of the FEC codeword.
上述以100G EPON为例进行系统架构描述的,上述系统并不局限于100G EPON,50G EPON以及TWDM-PON(WDM/TDM混合无源光网络),或者GPON等均可以适用。The above description is based on the system architecture of 100G EPON. The above system is not limited to 100G EPON, 50G EPON and TWDM-PON (WDM/TDM hybrid passive optical network), or GPON can be applied.
下面基于上面图2提供的网络架构,提供一种数据通信方法,如图3所示。应用于上述无源光网络系统中,所述方法包括:Based on the network architecture provided in FIG. 2 above, a data communication method is provided, as shown in FIG. Applied to the above passive optical network system, the method includes:
S300、光网络单元ONU发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址。S300. The optical network unit ONU sends a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU.
这里ONU注册认证的流程是现有技术,遵循GPON、EPON、XGPON或者XGEPON,甚至50G EPON,100G EPON的标准规定或者现有的注册认证流程,这里就不再赘述了。Here, the ONU registration and certification process is prior art, and follows the GPON, EPON, XGPON or XGEPON, or even 50G EPON, 100G EPON standard regulations or the existing registration certification process, which will not be described here.
基于上述的网络架构,所述ONU具有多个端口,其中,所述端口可以为物理端口也可以为逻辑端口。例如:ONU的一个上行和下行波长对所在的端口,或者物理层的发送和接收的电信号对所在的端口,或者具有单波长对的光模块所在的端口等,称为一个端口,也还可以是一个25Gbps得逻辑通道对应的端口。Based on the network architecture described above, the ONU has multiple ports, wherein the port may be a physical port or a logical port. For example, the port on which the upstream and downstream wavelengths of the ONU are located, or the port on which the electrical layer of the physical layer is sent and received, or the port on which the optical module with a single wavelength pair is located is called a port. It is a port corresponding to a 25Gbps logical channel.
基于上述的端口,通过MAC地址来标识所述端口的地址信息,其中,所述MAC地址包括虚拟MAC地址vMACaddress,这里的vMAC地址可以是物
理MAC地址也可以是逻辑MAC地址。The address information of the port is identified by using a MAC address, where the MAC address includes a virtual MAC address vMAC address, where the vMAC address may be
The MAC address can also be a logical MAC address.
当ONU通过第一端口标识Port1所标识的第一端口完成第一端口的注册认证后,所述第一端口被确定为基本端口。需要说明的是,ONU具有多个端口,多个端口中可以指定为首次通过该端口完成注册认证的端口为基本端口,也可以是ONU指定多个端口中的任意一个端口,将该端口通过注册认证流程后,设置为基本端口。OLT将通过该基本端口去实现对ONU下其它端口的信息收集。After the ONU completes the registration authentication of the first port by using the first port identified by the first port identifier Port1, the first port is determined to be a basic port. It should be noted that the ONU has multiple ports, and the port that can be registered for the first time through the port is the basic port, or the ONU can specify any one of the multiple ports, and the port is registered. After the authentication process, set to the basic port. The OLT will use this basic port to collect information about other ports under the ONU.
另外,下面流程中涉及的各种消息,例如注册请求消息,注册响应消息,查询消息等都可以为(多点控制协议Multi-Point Control Protocol,MPCP)消息或者为操作、管理和维护消息(operation,administration and maintenance,OAM)消息,也可以为物理层运行管理维护(physical layer OAM,PLOAM)消息。In addition, various messages involved in the following processes, such as a registration request message, a registration response message, and a query message, may be (Multi-Point Control Protocol, MPCP) messages or operations, management, and maintenance messages (operations). , administration and maintenance (OAM) messages, or physical layer OAM (PLOAM) messages can also be run for the physical layer.
这里“vMAC”地址为了简便描述都用“vMAC”表示,整个申请文件都适用。Here, the "vMAC" address is represented by "vMAC" for the sake of simplicity, and the entire application file is applicable.
S302、光线路终端OLT接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识(Port Identifier,Port ID)Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址。S302. The optical line terminal OLT receives the registration request message, where the registration request message includes: a first port identifier (Port ID) Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU.
S304、所述OLT响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1。S304. The OLT sends a first logical link identifier LLID1 to the first port of the ONU in response to the registration request message.
S306、所述ONU接收第一逻辑链路标识LLID1,并回复注册确认消息给OLT。S306. The ONU receives the first logical link identifier LLID1, and returns a registration confirmation message to the OLT.
S308、所述OLT接收该ONU的响应消息。S308. The OLT receives a response message of the ONU.
可选地,OLT本地建立了第一端口标识Port1、vMAC1地址与LLID1之
间的对应关系,该OLT可以在本地保存所述对应关系。Optionally, the OLT locally establishes the first port identifier Port1, the vMAC1 address, and the LLID1.
The corresponding relationship between the OLTs can save the corresponding relationship locally.
这里OLT将注册认证通过后的第一端口作为基本端口,LLID1用于唯一标识该ONU,便于ONU通过该基本端口上报该ONU的其它端口的能力集信息,例如,其它端口标识和其它虚拟MAC地址的映射关系的能力集信息等。Here, the OLT registers the first port after the authentication is passed as the basic port, and the LLID1 is used to uniquely identify the ONU, so that the ONU can report the capability set information of other ports of the ONU through the basic port, for example, other port identifiers and other virtual MAC addresses. The ability to map information about the relationship set.
S310、所述ONU发送包括能力集信息的消息给所述OLT,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数。S310, the ONU sends a message including the capability set information to the OLT, where the capability set information of the ONU includes: mapping of other port identifiers of the ONU, Portx, and other vMACx addresses of the ONU, where the x is greater than An integer of 1.
进一步地,所述能力集信息的消息可以为注册确认消息,即ONU通过所述注册确认消息主动将所述能力集信息上报给所述OLT;也可以是OLT发送查询消息给所述ONU,用于请求ONU发送能力集信息,ONU收到该查询消息,发送能力集信息给所述OLT。Further, the message of the capability set information may be a registration confirmation message, that is, the ONU actively reports the capability set information to the OLT by using the registration confirmation message; or the OLT may send the query message to the ONU, After requesting the ONU to send the capability set information, the ONU receives the query message and sends the capability set information to the OLT.
具体地,所述ONU通过所述基本端口,即第一端口上报上述能力集信息给所述OLT。Specifically, the ONU reports the capability set information to the OLT through the basic port, that is, the first port.
可选地,上述的能力消息还可以进一步包括下面至少一种:所述ONU的端口数目、所述ONU的端口类型以及用于指示所述其它端口是否可用的信息。进一步可选地,所述能力信息还可以包括:ONU的唯一标识信息。Optionally, the foregoing capability message may further include at least one of the following: a number of ports of the ONU, a port type of the ONU, and information indicating whether the other port is available. Further optionally, the capability information may further include: unique identification information of the ONU.
S312、所述OLT根据所述ONU的能力信息生成一张表,所述表包括:ONU唯一标识LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。S312. The OLT generates a table according to the capability information of the ONU, where the table includes: an ONU unique identifier LLID1, a mapping relationship between the port 1 of the ONU and a vMAC1 address of the ONU, and other Portx sums of the ONU. Mapping of other vMACx addresses.
进一步地,所述表还包括:Port1与LLID1的对应关系。Further, the table further includes: a correspondence between Port1 and LLID1.
进一步地,所述表还包括:OLT对Port1的端口使能位映射,即OLT对该Port1的端口使用状态进行设置。
Further, the table further includes: an OLT to enable port mapping of Port1, that is, the OLT sets the port usage status of the Port1.
OLT生成的上述表为表1,表1为OLT维护的ONU的端口属性表,其中,OLT指定LLID1用来唯一标识该ONU。当然OLT也可以指定其他LLIDx或者vMAC1或者其它vMACx来唯一标识该ONU。The above table generated by the OLT is Table 1. Table 1 is the port attribute table of the ONU maintained by the OLT. The OLT specifies LLID1 to uniquely identify the ONU. Of course, the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
可选地,所述方法还可以包括:Optionally, the method may further include:
S314、所述ONU通过依次通过ONU的其它端口向OLT发起注册认证请求,请求OLT对ONU的其它端口的注册认证。S314. The ONU initiates a registration authentication request to the OLT through the other ports of the ONU, and requests the OLT to perform registration authentication on other ports of the ONU.
其中,所述注册认证请求包括该ONU需要认证的端口号和vMAC地址。The registration authentication request includes a port number and a vMAC address that the ONU needs to authenticate.
S316、所述OLT依次完成对ONU其它端口的认证,并依次给ONU的其它端口分配LLID。S316: The OLT completes the authentication of other ports of the ONU in sequence, and sequentially assigns LLIDs to other ports of the ONU.
S318、所述ONU依次发送注册响应给OLT。S318. The ONU sequentially sends a registration response to the OLT.
此时ONU的各个端口都完成注册认证,各端口可以正常进行数据通信。At this time, each port of the ONU is registered and authenticated, and each port can perform data communication normally.
OLT也根据上述为ONU的其它端口分配的LLIDx进一步完善该表1,以便后续对该ONU的端口的配置,维护和管理。The OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
具体为OLT将Portx与分配的LLIDx的映射添加到生成的表中。Specifically, the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
进一步地,OLT还可以根据ONU的其他端口的属性信息,例如对ONU的其他端口进行多端口使能位映射,以及端口数,端口类型等进一步配置,进而使得该表更清楚,完整,更加便于OLT对各ONU的端口的管理。Further, the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient. The OLT manages the ports of each ONU.
进一步地,OLT还可以启动定时器,在定时器超时前,每个端口注册后,反馈注册确认或者注册响应消息给OLT。若ONU的某个端口在定时器超时后还没有反馈注册确认或者注册响应消息给OLT,则认为该端口注册失败。OLT可以让该ONU的注册失败的这个端口进行重新执行上述的方法流程再进行注册,也可以是OLT让该ONU进行重新注册,包括ONU的所有的端口都重新
进行注册认证。Further, the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered. The OLT can re-execute the above method flow by registering the port that the ONU fails to register, or the OLT can re-register the ONU, including all ports of the ONU.
Register for certification.
下面具体对OLT维护的ONU端口属性表进行介绍。The following describes the ONU port attribute table maintained by the OLT.
参见图4,图4为表1的所有表项,其中,ONU的唯一标识、ONU的端口标识和ONU的vMACx地址的映射以及ONU的LLID为实现OLT识别多端口ONU的端口信息的主要表项。可选地,所述ONU的端口类型、ONU的端口数、ONU的支持的LLID以及ONU多端口使能位映射等表项为可选。Referring to FIG. 4, FIG. 4 is a table of all the entries of Table 1. The mapping between the unique identifier of the ONU, the port identifier of the ONU, and the vMACx address of the ONU, and the LLID of the ONU are the main entries of the port information for the OLT to identify the multi-port ONU. . Optionally, the port type of the ONU, the number of ports of the ONU, the supported LLID of the ONU, and the ONU multi-port enable bit mapping are optional.
下面介绍下表1中的各个表项:The following table entries in Table 1 are described below:
ONU唯一标识:用于唯一标识该ONU。ONU unique identifier: used to uniquely identify the ONU.
ONU端口类型:用于表示该ONU支持多端口还是支持单端口。ONU port type: Used to indicate whether the ONU supports multiple ports or single ports.
ONU的端口数:用于表示ONU支持的端口数目。若该ONU在ONU端口类型中为单端口类型,则ONU的端口数为1;若ONU的端口类型为多端口,则ONU的端口数表示该ONU支持的端口数目,例如2,表示该ONU有2个端口,若该ONU的每个端口的速率为25Gbps,则该ONU可以传输50G的数据流。Number of ports on the ONU: Used to indicate the number of ports supported by the ONU. If the ONU is a single-port type in the ONU port type, the number of the ONU ports is 1. If the port type of the ONU is multi-port, the number of ports of the ONU indicates the number of ports supported by the ONU. For example, 2 indicates that the ONU has Two ports, if the rate of each port of the ONU is 25Gbps, the ONU can transmit 50G data stream.
各端口vMAC地址:用于表示该ONU所支持的各端口的MAC地址信息,这里的MAC地址可以为逻辑上的MAC地址,也可以为物理上的MAC地址。ONU的各端口对应的vMAC地址可以相同,也可以不同。一般而言,该ONU各端口对应的vMAC地址不同,可以用于标识该端口的地址。Each port vMAC address is used to indicate the MAC address information of each port supported by the ONU. The MAC address here may be a logical MAC address or a physical MAC address. The vMAC addresses corresponding to the ports of the ONU may be the same or different. Generally, the vMAC address corresponding to each port of the ONU is different, and can be used to identify the address of the port.
端口对应LLID:用于表示该ONU各个端口分配的LLID。Port corresponding LLID: used to indicate the LLID assigned by each port of the ONU.
ONU LLID:OLT给ONU可以分配一个LLID,用于标识该ONU,也可以给ONU分配多个LLID,不同端口对应不同的LLID。ONU LLID用于表示该ONU支持的多LLID还是支持单LLID。若该ONU支持多LLID,则OLT
给该ONU的多端口分别分配不同的LLID,可以指定其中一个LLID用来唯一标识该ONU。若该ONU支持单LLID,则OLT给该ONU的多端口就分配一个LLID,该LLID用于唯一标识该ONU,但是针对ONU的各个端口还可以分配不同的LLID。ONU LLID: The OLT can assign an LLID to the ONU to identify the ONU. It can also assign multiple LLIDs to the ONU. Different ports correspond to different LLIDs. The ONU LLID is used to indicate whether the multi-LLID supported by the ONU or the single LLID is supported. If the ONU supports multiple LLIDs, the OLT
Each port of the ONU is assigned a different LLID, and one of the LLIDs can be specified to uniquely identify the ONU. If the ONU supports a single LLID, the OLT allocates an LLID to the multi-port of the ONU, and the LLID is used to uniquely identify the ONU, but each port of the ONU may also be assigned a different LLID.
ONU多端口使能位映射:通过多端口使能标识,标识ONU的多端口的使能情况,即若多端口使能标识值为1表示对应的该端口可以使用,若多端口使能标识值为0表示对应的该端口禁止使用。ONU multi-port enable bit mapping: The multi-port enable flag is used to identify the multi-port enable status of the ONU. That is, if the multi-port enable flag value is 1, the corresponding port can be used. A value of 0 indicates that the corresponding port is forbidden to use.
举例说明:一个OLT下连接了3个ONU:ONU1,ONU2,ONU3和ONU4。以ONU2为例,上述的数据通信方法如下:For example: 3 ONUs are connected to one OLT: ONU1, ONU2, ONU3, and ONU4. Taking ONU2 as an example, the above data communication method is as follows:
S500、ONU2通过端口port1向OLT发送注册请求,所述注册请求消息包括:所述ONU的第一端口标识ID1:port1和所述ONU的第一虚拟媒体介入控制vMAC1地址:vMAC1。S500, the ONU2 sends a registration request to the OLT through the port port1, where the registration request message includes: the first port identifier ID1: port1 of the ONU and the first virtual media intervention control vMAC1 address of the ONU: vMAC1.
S502、OLT接收注册请求消息,所述注册请求消息包括:Port1和vMAC1。S502. The OLT receives a registration request message, where the registration request message includes: Port1 and vMAC1.
S504、所述OLT响应所述注册请求消息,给所述ONU2的端口Port1分配逻辑链路标识LLID2。S504. The OLT sends a logical link identifier LLID2 to the port Port1 of the ONU2 in response to the registration request message.
S506、所述ONU2接收逻辑链路标识LLID2,并回复注册确认消息给OLT。S506. The ONU2 receives the logical link identifier LLID2 and returns a registration confirmation message to the OLT.
需要说明的是,ONU2首次注册认证的是ONU2的第一端口Port1,因此,Port1为该ONU2的基本端口。It should be noted that the ONU2 firstly registers the first port Port1 of the ONU2. Therefore, Port1 is the basic port of the ONU2.
进一步地,OLT可以为同一个ONU的不同端口分配不同的且全局唯一的LLID;也可以为同一个ONU的不同端口分配相同的LLID,ONU内部再通过其他方式来区分,例如表1中,ONU2支持单LLID,则OLT给ONU分配一个LLID2,该LLID2用于唯一标识该ONU2,ONU2对各端口仍然分配LLID,
用于区分各个端口的数据流。例如Port1,完成注册认证后,OLT为该port1分配LLID2,ONU的端口Port2完成注册认证后,OLT为该Port2分配LLID3。若这里ONU2支持多LLID,则OLT为该ONU的多个端口分配多个LLID,其中指定一个LLID为唯一标识该ONU。一般而言,优先采用首次注册认证通过的端口为基本端口,为该基本端口分配的LLID用于唯一标识该ONU的LLID。例如ONU3支持多LLID,OLT为ONU分配4个LLID,ONU首次通过注册认证的端口为Port1,OLT给Port1分配LLID4,该LLID4用于唯一标识该ONU3,其余的LLID分别用于ONU的其它端口的配置。Further, the OLT may allocate different and globally unique LLIDs for different ports of the same ONU; or assign the same LLID to different ports of the same ONU, and the ONU internally distinguishes them by other means, for example, in Table 1, ONU2 Supporting a single LLID, the OLT assigns an LLID2 to the ONU. The LLID2 is used to uniquely identify the ONU2, and the ONU2 still assigns an LLID to each port.
Used to distinguish the data flow of each port. For example, after the registration authentication is completed, the OLT allocates LLID2 to the port1. After the port 2 of the ONU completes the registration authentication, the OLT allocates LLID3 to the port 2. If the ONU2 supports multiple LLIDs, the OLT allocates multiple LLIDs for multiple ports of the ONU, and specifies one LLID to uniquely identify the ONU. Generally, the port that passes the first-time registration authentication is the basic port, and the LLID assigned to the basic port is used to uniquely identify the LLID of the ONU. For example, the ONU3 supports multiple LLIDs. The OLT allocates four LLIDs to the ONU. The port that the ONU first authenticates is Port1. The OLT assigns LLID4 to Port1. The LLID4 is used to uniquely identify the ONU3. The remaining LLIDs are used for other ports of the ONU. Configuration.
当ONU2的LLID2被用来唯一标识该ONU2,ONU2的Port1已经注册认证通过,此时OLT可以记录下ONU2的端口属性表项:Port 1、vMAC1、LLID2的对应关系。进一步地,OLT还可以对已经注册的Port1进行使能位映射,配置Port1为使能状态,即可以通过该端口发送数据。When the LLID2 of the ONU2 is used to uniquely identify the ONU2, the port1 of the ONU2 is registered and authenticated. The OLT can record the port attribute entry of the ONU2: Port 1, vMAC1, and LLID2. Further, the OLT can also perform an enable bit mapping on the already registered Port1, and configure Port1 to be in an enabled state, that is, data can be sent through the port.
当然,这里OLT可以记录下上述ONU2的Port1的端口属性表的相关表项,可以本地或者上传到其它服务器保存该表的表项,也可以不进行保存。Of course, the OLT can record the related entries of the port attribute table of Port1 of the ONU2, and can save the entries of the table locally or upload to other servers, or save the entries.
需要说明的是,OLT可以指定该ONU2的多端口中最先完成注册认证的端口Port1为基本端口,通过该基本端口完成后续的ONU2的其它端口的能力集信息的收集;也可以是指定ONU2的某个端口先完成注册认证,则指定该完成注册认证的端口为基本端口,便于ONU通过该基本端口上报该ONU的其它端口的能力集信息,例如,其它端口标识和其它虚拟MAC地址的映射关系的能力集信息等。It should be noted that the OLT can specify the port 1 of the multi-port of the ONU 2 that is the first to complete the registration authentication as the basic port, and complete the collection of the capability set information of the other ports of the subsequent ONU 2 through the basic port; If a port is registered for authentication, the port that is registered for authentication is the basic port. The ONU can report the capability set information of other ports on the ONU through the basic port. For example, the mapping between other port IDs and other virtual MAC addresses. The ability to set information and so on.
S508、所述ONU2通过基本端口Port1发送包括能力集信息的消息给所述OLT,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述
ONU的其它vMACx地址的映射,所述x是大于1的整数。S508, the ONU2 sends a message including the capability set information to the OLT through the basic port Port1, where the capability set information of the ONU includes: other port identifiers of the ONU, Portx, and the
Mapping of other vMACx addresses of the ONU, the x being an integer greater than one.
可选地,这里步骤S508中ONU发送的能力集信息还可以承载在S506的注册确认消息中发送给OLT;也可以是OLT发送查询消息给所述ONU2,用于请求ONU2发送能力集信息,ONU2收到该查询消息,发送能力集信息给所述OLT。Optionally, the capability set information sent by the ONU in step S508 may also be sent to the OLT in the registration confirmation message of S506. The OLT may send an inquiry message to the ONU2, and request the ONU2 to send the capability set information, ONU2. Receiving the query message, sending capability set information to the OLT.
OLT根据ONU2的能力集信息生成表1。其中,ONU2上报的能力集信息可以包括:ONU2的第二端口标识Port2和对应的MAC地址vMAC2,OLT记录ONU2的Port1和Port2的端口属性信息,例如:ONU2有2个端口,支持多端口,Port1、vMAC1和LLID2的对应关系ONU2支持单LLID,LLID1为OLT为ONU2分配的全局标识,用于唯一标识该ONU2,以及OLT配置port1和port2均为使能状态,均可以用来收发数据流。The OLT generates Table 1 based on the capability set information of the ONU 2. The capability set information reported by the ONU2 may include: the second port identifier Port2 of the ONU2 and the corresponding MAC address vMAC2, and the OLT records port attribute information of Port1 and Port2 of the ONU2. For example, the ONU2 has two ports, and supports multiple ports, Port1. Correspondence between vMAC1 and LLID2 ONU2 supports a single LLID. LLID1 is a global identifier assigned by the OLT to the ONU2. It is used to uniquely identify the ONU2, and the OLT configuration port1 and port2 are both enabled and can be used to send and receive data streams.
S510、ONU2通过port2发送注册请求消息给OLT,所述注册请求消息包括:Port2和vMAC2。S510. The ONU2 sends a registration request message to the OLT through the port2, where the registration request message includes: Port2 and vMAC2.
S512、OLT收到ONU2的注册请求消息,给ONU2的Port2分配LLID2,发送给ONU2。S512. The OLT receives the registration request message of the ONU2, allocates the LLID2 to the Port2 of the ONU2, and sends it to the ONU2.
S514、ONU2收到OLT分配的LLID2,响应该OLT。S514. The ONU2 receives the LLID2 allocated by the OLT and responds to the OLT.
OLT收到ONU2的响应消息,根据ONU2的Port2,vMAC2以及LLID3等信息进一步完善表1的信息,进而通过该表可知ONU的各个端口的信息,例如:OLT进一步记录Port2、vMAC2和LLID3的对应关系,ONU的端口类型,端口数,ONU多端口使能位映射等信息。The OLT receives the response message of the ONU2, further improves the information of Table 1 according to the information such as Port2, vMAC2, and LLID3 of the ONU2, and further knows the information of each port of the ONU through the table. For example, the OLT further records the correspondence between Port2, vMAC2, and LLID3. , ONU port type, port number, ONU multi-port enable bit mapping and other information.
OLT根据生成的表,就可以知道OLT连接的多端口的ONU的端口信息,进而接收到从ONU2发送的数据流,该数流通过LLID2来标识,则OLT根据
表1的LLID2与Port1的对应关系,可知该数据流来自ONU2的Port1端口以及该端口对应的MAC地址为vMAC1。According to the generated table, the OLT can know the port information of the multi-port ONU connected by the OLT, and then receive the data stream sent from the ONU2, and the number stream is identified by LLID2, and the OLT is based on
The correspondence between LLID2 and Port1 in Table 1 indicates that the data stream is from the Port1 port of ONU2 and the MAC address corresponding to the port is vMAC1.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
当上述ONU的基本端口故障,且会导致其他端口都无法注册。为了解决这个问题,本发明还提供了一种数据通信方法。当然,该数据通信方法并不只适用于该ONU的基本端口出现故障等情况,也可以用于ONU的端口为普通端口,并不需要指定基本端口的情况。When the basic port of the above ONU is faulty, the other ports cannot be registered. In order to solve this problem, the present invention also provides a data communication method. Of course, the data communication method is not only applicable to the failure of the basic port of the ONU, but also the port of the ONU is a normal port, and the basic port is not required to be specified.
与上述实施例的不同在于OLT不再指定基本端口,ONU的多个端口具有相等的地位,每个端口都可以自主的进行注册,即为了让OLT能够区分哪些端口属于同一个ONU,每个端口的上报信息中包含ONU下所有端口的端口号标识Port与vMAC地址信息的映射关系以及用于唯一标识该ONU的物理MAC地址,OLT根据ONU上报的信息对ONU的每个端口进行认证,并生成所述图4中表1的结构,唯一与表1的区别在于,ONU唯一标识为该ONU的物理地址或者指定的用于唯一标识该ONU的vMAC地址,而不是ONU的LLID。将表1中的ONU唯一标识这个表项替换成该ONU的物理地址或者ONU的vMAC即可以用来描述此实施例OLT生成的表。The difference from the above embodiment is that the OLT no longer specifies a basic port, and multiple ports of the ONU have equal status, and each port can be registered autonomously, that is, in order for the OLT to distinguish which ports belong to the same ONU, each port The report information includes the port number of all the ports on the ONU to identify the mapping between the port and the vMAC address information, and the physical MAC address used to uniquely identify the ONU. The OLT authenticates each port of the ONU according to the information reported by the ONU, and generates The structure of Table 1 in FIG. 4 is uniquely different from Table 1 in that the ONU is uniquely identified as the physical address of the ONU or the specified vMAC address for uniquely identifying the ONU, rather than the LLID of the ONU. The table in which the ONU uniquely identifies the entry in Table 1 is replaced with the physical address of the ONU or the vMAC of the ONU can be used to describe the table generated by the OLT of this embodiment.
需要扩展的是,无论上述实施例还是本实施例,ONU的唯一标识可以扩展到唯一标识ONU的信息都可以,例如ONU的序列号(Sequence Number,SN)等。
It should be extended that, regardless of the above embodiment or the present embodiment, the unique identifier of the ONU can be extended to the information that uniquely identifies the ONU, such as the sequence number (SN) of the ONU.
这里需要说明的是ONU的物理MAC地址也可以包括ONU的虚拟MAC地址,也可以与vMAC地址不同。如果ONU的物理MAC地址包括ONU的虚拟MAC地址,则OLT生成的表1中ONU唯一标识的表项就需要指定任意一个vMAC为唯一标识该ONU的信息;若ONU的物理MAC地址与ONU的vMAC不同,则ONU唯一标识用ONU的物理MAC地址来标识。It should be noted here that the physical MAC address of the ONU may also include the virtual MAC address of the ONU, or may be different from the vMAC address. If the physical MAC address of the ONU includes the virtual MAC address of the ONU, the entry uniquely identified by the ONU in Table 1 of the OLT needs to specify any vMAC to uniquely identify the ONU; if the physical MAC address of the ONU and the vMAC of the ONU Differently, the ONU unique identifier is identified by the physical MAC address of the ONU.
下面参见图6,本发明实施例还提供另一种数据通信的方法,如图6所示,所述方法也应用于上述的PON系统中,所述方法包括:Referring to FIG. 6, an embodiment of the present invention further provides another method for data communication. As shown in FIG. 6, the method is also applied to the foregoing PON system, where the method includes:
S600、ONU发送第一注册请求消息给OLT,所述第一注册请求包括:ONU的物理MAC地址,第一映射关系和其它映射关系。S600: The ONU sends a first registration request message to the OLT, where the first registration request includes: a physical MAC address of the ONU, a first mapping relationship, and other mapping relationships.
其中,所述第一映射关系包括:ONU的第一端口标识Port1和ONU的第一虚拟MAC地址vMAC1;所述其它映射关系包括:所述ONU的其它端口标识Portx和ONU的其它虚拟MAC地址vMACx,所述x是大于1的整数。The first mapping relationship includes: the first port identifier Port1 of the ONU and the first virtual MAC address vMAC1 of the ONU; the other mapping relationship includes: other port identifiers of the ONU and other virtual MAC addresses vMACx of the ONU , the x is an integer greater than one.
具体地,所述ONU通过第一端口发送Port 1和vMAC1的映射以及Portx和vMACx的映射。Specifically, the ONU sends a mapping of Port 1 and vMAC1 and a mapping of Portx and vMACx through the first port.
S602、OLT接收所述ONU发送的第一注册请求,给所述ONU分配LLID1,发送给ONU。S602. The OLT receives the first registration request sent by the ONU, allocates LLID1 to the ONU, and sends the LLID1 to the ONU.
S604、所述ONU接收OLT分配的LLID1,返回注册响应给OLT。S604. The ONU receives the LLID1 allocated by the OLT, and returns a registration response to the OLT.
S606、所述OLT根据ONU的注册请求生成一张表,所述表包括:ONU唯一标识MAC1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。S606. The OLT generates a table according to the registration request of the ONU, where the table includes: the ONU uniquely identifies the MAC1, the mapping relationship between the Port1 of the ONU and the vMAC1 address of the ONU, and other Portx and other vMACx of the ONU. The mapping relationship of addresses.
进一步地,所述表还包括:Port1与LLID1的对应关系。Further, the table further includes: a correspondence between Port1 and LLID1.
进一步地,所述表还包括:OLT对Port1的端口使能位映射,即OLT对
该Port1的端口使用状态进行设置。Further, the table further includes: an OLT pair port mapping map of the port 1, that is, an OLT pair
The Port1 port usage status is set.
OLT生成的上述表为表1,表1为OLT维护的ONU的端口属性表,其中,OLT指定LLID1用来唯一标识该ONU。当然OLT也可以指定其他LLIDx或者vMAC1或者其它vMACx来唯一标识该ONU。The above table generated by the OLT is Table 1. Table 1 is the port attribute table of the ONU maintained by the OLT. The OLT specifies LLID1 to uniquely identify the ONU. Of course, the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
S608、所述ONU重复执行2n-1次步骤S600-S604,直到该ONU下面的所有端口均完成注册,其中,n为从2到10的整数。S608. The ONU repeatedly performs 2 n -1 steps S600-S604 until all ports under the ONU complete registration, where n is an integer from 2 to 10.
具体地,ONU下面有几个端口,就重复执行所述S600-S604的步骤几次,直到所有的端口都已经在OLT完成注册为止。OLT根据上述为ONU的其它端口分配的LLIDx进一步完善该表1,以便后续对该ONU的端口的配置,维护和管理。Specifically, there are several ports under the ONU, and the steps of S600-S604 are repeated several times until all the ports have been registered at the OLT. The OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
具体为OLT将Portx与分配的LLIDx的映射添加到生成的表中。Specifically, the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
进一步地,OLT还可以根据ONU的其他端口的属性信息,例如对ONU的其他端口进行多端口使能位映射,以及端口数,端口类型等进一步配置,进而使得该表更清楚,完整,更加便于OLT对各ONU的端口的管理。Further, the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient. The OLT manages the ports of each ONU.
进一步地,OLT还可以启动定时器,在定时器超时前,每个端口注册后,反馈注册确认或者注册响应消息给OLT。若ONU的某个端口在定时器超时后还没有反馈注册确认或者注册响应消息给OLT,则认为该端口注册失败。OLT可以让该ONU的注册失败的这个端口进行重新执行上述的方法流程再进行注册,也可以是OLT让该ONU进行重新注册,包括ONU的所有的端口都重新进行注册认证。Further, the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered. The OLT can re-execute the above method flow by registering the port on which the ONU fails to register, or the OLT can cause the ONU to re-register, and all ports of the ONU are re-registered and authenticated.
具体该实施例中OLT生成的表即为ONU端口属性表,该表的信息与表1的区别上述已经描述过,其相同点和区别点已经描述过,这里就不再赘述。
Specifically, the table generated by the OLT in this embodiment is an ONU port attribute table, and the difference between the information of the table and the table 1 has been described above, and the same points and differences have been described, and details are not described herein again.
本发明提供的上述实施例OLT并不需要为ONU指定基本端口,也因此适用于各种ONU,通过ONU每次注册上报的时候将注册上报的该端口的相关属性信息进行上报外,还需要上报ONU的除这个端口之外其它端口的属性信息,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。The OLT of the foregoing embodiment of the present invention does not need to specify a basic port for the ONU, and is therefore applicable to various ONUs. When the ONU registers the report, the related attribute information of the port that is reported and reported is reported and reported. The attribute information of the port of the ONU except the port. Through the table, the OLT can obtain information about all ports under the ONU. The OLT can know which ports belong to the same ONU through the table, and solve the OLT in the next generation PON system. The problem of port management for multiple port ONUs greatly simplifies the management process of the ONU and improves the reliability of the system.
上述所有实施例提到的各种消息格式,具体可以如下:可以通过扩展OAM消息实现,具体OAM消息格式如图7以及图8的OAM消息的各字段的说明。The various message formats mentioned in all the foregoing embodiments may be specifically as follows: may be implemented by extending an OAM message, and the specific OAM message format is as described in the fields of the OAM message in FIG. 7 and FIG. 8.
由于OAM消息的格式是在现有的OAM消息的格式基础上新增了Code和Data域,其中,DA,SA,length等都是现有OAM消息的格式,请参见相应标准对该消息中各个字段的描述,这里重点描述下新增的Code域和Data域,The format of the OAM message is based on the format of the existing OAM message. The DA, SA, and length are all in the format of the existing OAM message. The description of the field, here focuses on the new Code field and Data field.
具体定义如下:The specific definition is as follows:
Code:本字段值为0xFE,表示该OAMPDU为Organization Specific OAMPDU;Code: The value of this field is 0xFE, indicating that the OAMPDU is an Organization Specific OAMPDU.
Data:包含一个OUI、扩展操作码(Ext.Opcode)和Payload,具体取值如下:Data: Contains an OUI, extended opcode (Ext.Opcode) and Payload. The specific values are as follows:
机构唯一性标识OUI:3字节,为机构唯一性标识OUI。该值应可配置,中国电信的OUI暂定为0x111111;The organization uniqueness identifier OUI: 3 bytes, which is the organization uniqueness identifier OUI. The value should be configurable, and China Telecom's OUI is tentatively set to 0x111111;
扩展的操作码(Ext.Opcode):用于表示扩展的操作类型,具体取值见下表;
Extended opcode (Ext.Opcode): used to indicate the type of operation of the extension, the specific values are shown in the following table;
Payload:表示具体的数据净荷的内容。Payload: Represents the content of a specific data payload.
上述扩展的Opcode定义具体参见图9的表3所示,表3中已经详细描述出各种定义的类型,这里不再具体描述。The above-mentioned extended Opcode definition is specifically shown in Table 3 of FIG. 9, and various types of definitions have been described in detail in Table 3, and are not described in detail herein.
具体,例如采用OAM报文承载ONU上报的能力集信息的消息格式如图10的表4所示。Specifically, for example, the message format of the capability set information reported by the ONU in the OAM packet is as shown in Table 4 of FIG.
基于上面的通信方法的实施例,本发明实施例还提供了执行上述通信方法的各种元器件的实施例,具体为:Based on the above embodiments of the communication method, the embodiment of the present invention further provides an embodiment of various components for performing the foregoing communication method, specifically:
如图11,图11为一种光网络单元ONU,所述ONU包括:As shown in FIG. 11, FIG. 11 is an optical network unit ONU, where the ONU includes:
第一发送器1100,用于发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Por1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;The first transmitter 1100 is configured to send a registration request message, where the registration request message includes: a first port identifier Por1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and a message including capability set information is sent. The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
第一接收器1102,用于接收第一逻辑链路标识LLID1。The first receiver 1102 is configured to receive the first logical link identifier LLID1.
进一步地,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。Further, the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
上述ONU的处理流程可以参照图2-6以及相应的方法实施例的处理,其中上述实施例中并没有对ONU进行具体硬件的划分,这里根据方法实施例的描述,涉及ONU的发送侧或者接收侧的动作均可以通过ONU的发送器以及ONU的接收器来执行,甚至,涉及ONU的除了发送或者接收功能外的其它处理功能,都可以通过ONU的处理器,例如ONU的MAC芯片等完成,具体请参照上述方法实施例的具体描述,这里就不再赘述。
For the processing of the ONU, reference may be made to the processing of the embodiment of the present invention, and the processing of the corresponding method is not performed in the foregoing embodiment. The description of the method embodiment relates to the sending side or receiving of the ONU. The actions of the side can be performed by the transmitter of the ONU and the receiver of the ONU. Even the processing functions other than the sending or receiving functions of the ONU can be completed by the processor of the ONU, for example, the MAC chip of the ONU. For details, please refer to the detailed description of the foregoing method embodiments, and details are not described herein again.
其中上述ONU在系统中的位置可以参照图2的系统架构图。The location of the above ONU in the system can be referred to the system architecture diagram of FIG. 2.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
本发明实施例还提供一种光线路终端OLT,如图12所示,所述OLT包括:An embodiment of the present invention further provides an optical line terminal OLT. As shown in FIG. 12, the OLT includes:
第二接收器1200,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;The second receiver 1200 is configured to receive a registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual media intervention control vMAC1 address of the ONU; and the message that includes the capability set information is received. The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;
处理器1202,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表的表项至少包括:LLID1,所述ONU的ID1和所述ONU的vMAC1地址的映射关系和所述ONU的其它IDX和其它vMACx地址的映射关系。The processor 1202 is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table entry includes at least: LLID1, the ONU The mapping relationship between ID1 and the vMAC1 address of the ONU and other IDXs of the ONU and other vMACx addresses.
进一步地,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。Further, the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
进一步地,所述第二接收器1200,用于接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址的映射;Further, the second receiver 1200 is configured to receive another registration request message, where the other registration request message includes: mapping of another port identifier Portx of the ONU and other vMAC address vMACx addresses of the ONU;
所述OLT还包括第二发送器1204,用于发送为所述ONU其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。
The OLT further includes a second transmitter 1204 for transmitting a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than one.
上述OLT的处理流程可以参照图2-6以及相应的方法实施例的处理,其中上述实施例中并没有对OLT进行具体硬件的划分,这里根据方法实施例的描述,涉及OLT的发送侧或者接收侧的动作均可以通过OLT的发送器以及OLT的接收器来执行,甚至,涉及OLT的除了发送或者接收功能外的其它处理功能,都可以通过OLT的处理器,例如OLT的MAC芯片等完成,具体请参照上述方法实施例的具体描述,这里就不再赘述。The processing flow of the OLT may be referred to the processing of the embodiment of the present invention. The OLT is not divided into specific hardware. The description of the method embodiment relates to the sending or receiving of the OLT. The actions of the side can be performed by the transmitter of the OLT and the receiver of the OLT. Even the processing functions other than the sending or receiving functions of the OLT can be completed by the processor of the OLT, such as the MAC chip of the OLT. For details, please refer to the detailed description of the foregoing method embodiments, and details are not described herein again.
其中上述OLT在系统中的位置可以参照图2的系统架构图。The location of the above OLT in the system can refer to the system architecture diagram of FIG. 2.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
本发明实施例还提供了一种无源光网络系统PON,如图2所示,所述系统包括:光线路终端OLT和光网络单元ONU,所述OLT通过光分配网络与所述ONU连接,所述ONU具体结构和各个模块执行的功能请参见图11以及相应的实施例的描述的ONU;所述OLT请参见如图12以及相应的实施例描述的OLT。The embodiment of the present invention further provides a passive optical network system PON. As shown in FIG. 2, the system includes: an optical line terminal OLT and an optical network unit ONU, where the OLT is connected to the ONU through an optical distribution network. For details about the specific structure of the ONU and the functions performed by the respective modules, refer to FIG. 11 and the ONUs described in the corresponding embodiments. For the OLT, refer to the OLT as described in FIG. 12 and the corresponding embodiments.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
本发明实施例还提供了一种数据通信设备,所述数据通信设备包括:An embodiment of the present invention further provides a data communication device, where the data communication device includes:
第一发送单元,用于发送注册请求消息,所述注册请求消息包括:所述
ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识IDx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a first sending unit, configured to send a registration request message, where the registration request message includes:
The first port of the ONU identifies Port1 and the first virtual medium of the ONU to intervene to control the vMAC1 address; and sends a message including the capability set information, where the capability set information of the ONU includes: the other port identifier IDx of the ONU and the ONU Mapping of other vMACx addresses, the x is an integer greater than 1 or the capability set query information is a registration confirmation message;
第一接收单元,用于接收第一逻辑链路标识LLID1。The first receiving unit is configured to receive the first logical link identifier LLID1.
所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。The capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
所述数据通信设备可以为如系统图2中的ONU120或者光网络终端(Optical Network Terminal,ONT),或者为其它终端侧设备。The data communication device may be an ONU 120 or an Optical Network Terminal (ONT) in the system FIG. 2 or other terminal-side devices.
上述数据通信设备的处理流程可以参照图2-6以及相应的方法实施例的处理,其中上述实施例中并没有对数据通信设备进行具体硬件的划分,这里根据方法实施例的描述,涉及数据通信设备的发送侧或者接收侧的动作均可以通过其发送器以及接收器来执行,甚至,涉及数据通信设备的除了发送或者接收功能外的其它处理功能,都可以通过其处理器,例如MAC芯片等完成,具体请参照上述方法实施例的具体描述,这里就不再赘述。The processing flow of the foregoing data communication device may refer to the processes in FIG. 2-6 and the corresponding method embodiments, where the specific hardware division of the data communication device is not performed in the foregoing embodiment, where the data communication is involved according to the description of the method embodiment. The actions of the transmitting side or the receiving side of the device can be performed by its transmitter and receiver, and even other processing functions other than the transmitting or receiving functions of the data communication device can pass through its processor, such as a MAC chip. For details, refer to the detailed description of the foregoing method embodiments, and details are not described herein again.
该数据通信装置通过该表可以获知该数据通信设备下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。The data communication device can learn related information of all ports under the data communication device through the table, and the OLT can know which ports belong to the same ONU through the table, and solve the port management of the OLT to multiple port ONUs in the next generation PON system. The problem greatly simplifies the management process of the ONU and improves the reliability of the system.
本发明实施例还提供一种数据通信装置,所述数据通信设备包括:An embodiment of the present invention further provides a data communication device, where the data communication device includes:
第二接收单元,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地
址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a second receiving unit, configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual media intervention control vMAC1 of the ONU
Receiving a message including capability set information, the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, the x being an integer greater than 1 or the capability The set query information is a registration confirmation message;
处理单元,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表包括:LLID1,所述ONU的ID1和所述ONU的vMAC1地址的映射关系和所述ONU的其它IDx和其它vMACx地址的映射关系。a processing unit, configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table includes: LLID1, ID1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other IDx of the ONU and other vMACx addresses.
进一步地,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。Further, the capability set information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
进一步地,所述第二接收单元,还用于接收接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识IDx和所述ONU的其它vMAC地址vMACx地址。Further, the second receiving unit is further configured to receive and receive another registration request message, where the other registration request message includes: another port identifier IDx of the ONU and another vMAC address vMACx address of the ONU.
所述第二发送单元,还用于发送为所述ONU其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The second sending unit is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
所述数据通信设备可以为如系统图2中的OLT110或者局端侧设备。The data communication device may be an OLT 110 or a central office device as in the system FIG.
具体的数据通信设备的结构可以参见图12以及相应的实施例的描述,这里就不再赘述。For the structure of a specific data communication device, reference may be made to FIG. 12 and the description of the corresponding embodiments, and details are not described herein again.
该数据通信设备通过该表可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。The data communication device can obtain information about all ports under the ONU through the table, and the OLT can know which ports belong to the same ONU through the table, and solve the problem that the OLT manages ports of multiple port ONUs in the next-generation PON system. It greatly simplifies the management process of the ONU and improves the reliability of the system.
本发明实施例还提供了一种数据通信设备,如图13所示,所述数据通信
设备包括:处理器、存储器和总线系统,所述处理器和所述存储器通过所述总线系统相连,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,The embodiment of the invention further provides a data communication device, as shown in FIG. 13, the data communication
The device includes a processor, a memory, and a bus system, the processor and the memory being coupled by the bus system, the memory for storing instructions, the processor for executing instructions stored by the memory,
其中,所述处理器用于:根据接收的注册请求消息中包括的所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;以及所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息和给所述ONU的第一端口分配第一逻辑链路标识LLID1,生成一张表,所述表包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。The processor is configured to: according to the first port identifier Port1 of the ONU included in the received registration request message, and the first virtual medium of the ONU to control the vMAC1 address; and the capability set information of the ONU includes: The other port of the ONU identifies a mapping of Portx and other vMACx addresses of the ONU, the x is an integer greater than 1 or the capability set query information is a registration confirmation message and the first port is assigned to the ONU. The logical link identifier LLID1 generates a table, and the table includes: LLID1, a mapping relationship between Port1 of the ONU and a vMAC1 address of the ONU, and mappings between other Portxs of the ONU and other vMACx addresses.
所述数据通信设备可以为如系统图2中的OLT110或者局端侧设备。The data communication device may be an OLT 110 or a central office device as in the system FIG.
具体的数据通信设备的结构可以参见图12以及相应的实施例的描述,这里就不再赘述。For the structure of a specific data communication device, reference may be made to FIG. 12 and the description of the corresponding embodiments, and details are not described herein again.
本发明实施例还提供与图6以及相应的实施例相对应的另一种ONU,所述ONU包括:The embodiment of the present invention further provides another ONU corresponding to FIG. 6 and the corresponding embodiment, where the ONU includes:
发送器,用于发送第一注册请求消息给OLT,所述第一注册请求包括:ONU的物理MAC地址,第一映射关系和其它映射关系。The sender is configured to send a first registration request message to the OLT, where the first registration request includes: a physical MAC address of the ONU, a first mapping relationship, and other mapping relationships.
其中,所述第一映射关系包括:ONU的第一端口标识Port1和ONU的第一虚拟MAC地址vMAC1;所述其它映射关系包括:所述ONU的其它端口标识Portx和ONU的其它虚拟MAC地址vMACx,所述x是大于1的整数。The first mapping relationship includes: the first port identifier Port1 of the ONU and the first virtual MAC address vMAC1 of the ONU; the other mapping relationship includes: other port identifiers of the ONU and other virtual MAC addresses vMACx of the ONU , the x is an integer greater than one.
具体地,所述ONU通过第一端口发送Port 1和vMAC1的映射以及Portx和vMACx的映射。
Specifically, the ONU sends a mapping of Port 1 and vMAC1 and a mapping of Portx and vMACx through the first port.
接收器,用于接收OLT分配的LLID1,返回注册响应给OLT。The receiver is configured to receive the LLID1 allocated by the OLT, and return a registration response to the OLT.
进一步地,所述ONU还包括处理器,用于重复执行2n-1次步骤S600-S604,直到该ONU下面的所有端口均完成注册,其中,n为从2到10的整数。Further, the ONU further includes a processor for repeatedly performing 2 n -1 steps S600-S604 until all ports under the ONU complete registration, where n is an integer from 2 to 10.
具体地,ONU下面有几个端口,就重复执行上述的发送以及接收器的功能,直到所有的端口都已经在OLT完成注册为止。OLT根据上述为ONU的其它端口分配的LLIDx进一步完善该表1,以便后续对该ONU的端口的配置,维护和管理。Specifically, there are several ports under the ONU, and the above-mentioned transmission and receiver functions are repeatedly executed until all ports have been registered at the OLT. The OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
上述ONU的处理流程可以参照图2-6以及相应的方法实施例的处理,其中上述实施例中并没有对ONU进行具体硬件的划分,这里根据方法实施例的描述,涉及ONU的发送侧或者接收侧的动作均可以通过ONU的发送器以及ONU的接收器来执行,甚至,涉及ONU的除了发送或者接收功能外的其它处理功能,都可以通过ONU的处理器,例如ONU的MAC芯片等完成,具体请参照上述方法实施例的具体描述,这里就不再赘述。For the processing of the ONU, reference may be made to the processing of the embodiment of the present invention, and the processing of the corresponding method is not performed in the foregoing embodiment. The description of the method embodiment relates to the sending side or receiving of the ONU. The actions of the side can be performed by the transmitter of the ONU and the receiver of the ONU. Even the processing functions other than the sending or receiving functions of the ONU can be completed by the processor of the ONU, for example, the MAC chip of the ONU. For details, please refer to the detailed description of the foregoing method embodiments, and details are not described herein again.
其中上述ONU在系统中的位置可以参照图2的系统架构图。The location of the above ONU in the system can be referred to the system architecture diagram of FIG. 2.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
本发明实施例还提供了一种OLT,所述OLT包括:An embodiment of the present invention further provides an OLT, where the OLT includes:
接收器,用于接收所述ONU发送的第一注册请求;a receiver, configured to receive a first registration request sent by the ONU;
处理器,用于给所述ONU分配LLID1;OLT根据ONU的注册请求生成一张表,所述表包括:ONU唯一标识MAC1,所述ONU的Port1和所述ONU
的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系a processor, configured to allocate LLID1 to the ONU; the OLT generates a table according to the registration request of the ONU, where the table includes: the ONU uniquely identifies the MAC1, the Port1 of the ONU, and the ONU
The mapping relationship between the vMAC1 address and the other Portx and other vMACx addresses of the ONU
发送器,用于将所述LLID1发送给ONU。a transmitter, configured to send the LLID1 to the ONU.
进一步地,所述表还包括:Port1与LLID1的对应关系。Further, the table further includes: a correspondence between Port1 and LLID1.
进一步地,所述表还包括:OLT对Port1的端口使能位映射,即OLT对该Port1的端口使用状态进行设置。Further, the table further includes: an OLT to enable port mapping of Port1, that is, the OLT sets the port usage status of the Port1.
OLT生成的上述表为表1,表1为OLT维护的ONU的端口属性表,其中,OLT指定LLID1用来唯一标识该ONU。当然OLT也可以指定其他LLIDx或者vMAC1或者其它vMACx来唯一标识该ONU。The above table generated by the OLT is Table 1. Table 1 is the port attribute table of the ONU maintained by the OLT. The OLT specifies LLID1 to uniquely identify the ONU. Of course, the OLT can also specify other LLIDx or vMAC1 or other vMACx to uniquely identify the ONU.
OLT根据上述为ONU的其它端口分配的LLIDx进一步完善该表1,以便后续对该ONU的端口的配置,维护和管理。The OLT further refines the table 1 according to the above-mentioned LLIDx allocated for other ports of the ONU, so as to subsequently configure, maintain and manage the port of the ONU.
具体为OLT将Portx与分配的LLIDx的映射添加到生成的表中。Specifically, the OLT adds the mapping of Portx and the allocated LLIDx to the generated table.
进一步地,OLT还可以根据ONU的其他端口的属性信息,例如对ONU的其他端口进行多端口使能位映射,以及端口数,端口类型等进一步配置,进而使得该表更清楚,完整,更加便于OLT对各ONU的端口的管理。Further, the OLT can further configure the multi-port enable bit mapping, port number, port type, etc. according to other port information of the ONU, for example, to make the table clearer, more complete, and more convenient. The OLT manages the ports of each ONU.
进一步地,OLT还可以启动定时器,在定时器超时前,每个端口注册后,反馈注册确认或者注册响应消息给OLT。若ONU的某个端口在定时器超时后还没有反馈注册确认或者注册响应消息给OLT,则认为该端口注册失败。OLT可以让该ONU的注册失败的这个端口进行重新执行上述的方法流程再进行注册,也可以是OLT让该ONU进行重新注册,包括ONU的所有的端口都重新进行注册认证。Further, the OLT may also start a timer, and after each timer is registered, the registration confirmation or registration response message is fed back to the OLT before the timer expires. If a port of the ONU does not feed back the registration confirmation or registration response message to the OLT after the timer expires, the port registration failure is considered. The OLT can re-execute the above method flow by registering the port on which the ONU fails to register, or the OLT can cause the ONU to re-register, and all ports of the ONU are re-registered and authenticated.
上述OLT的处理流程可以参照图2-6以及相应的方法实施例的处理,其
中上述实施例中并没有对OLT进行具体硬件的划分,这里根据方法实施例的描述,涉及OLT的发送侧或者接收侧的动作均可以通过OLT的发送器以及OLT的接收器来执行,甚至,涉及OLT的除了发送或者接收功能外的其它处理功能,都可以通过OLT的处理器,例如OLT的MAC芯片等完成,具体请参照上述方法实施例的具体描述,这里就不再赘述。The processing flow of the foregoing OLT may refer to the processing of FIG. 2-6 and the corresponding method embodiment,
The foregoing embodiment does not perform specific hardware partitioning on the OLT. Here, according to the description of the method embodiment, the actions of the sending side or the receiving side of the OLT may be performed by the transmitter of the OLT and the receiver of the OLT, and even The processing functions of the OLT, except for the sending or receiving functions, can be performed by the processor of the OLT, such as the MAC chip of the OLT. For details, refer to the detailed description of the foregoing method embodiments, and details are not described herein.
其中上述OLT在系统中的位置可以参照图2的系统架构图。The location of the above OLT in the system can refer to the system architecture diagram of FIG. 2.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
基于上述的ONU以及OLT,本发明实施例还提供了一种无源光网络系统PON,如图2所示,所述系统包括:光线路终端OLT和光网络单元ONU,所述OLT通过光分配网络与所述ONU连接,所述ONU具体结构和各个模块执行的功能请参见上述的ONU的实施例的描述;所述OLT请参见上述OLT相关的实施例描述。Based on the ONU and the OLT, the embodiment of the present invention further provides a passive optical network system PON. As shown in FIG. 2, the system includes: an optical line terminal OLT and an optical network unit ONU, and the OLT passes the optical distribution network. For the connection between the specific structure of the ONU and the functions performed by the respective modules, refer to the description of the embodiment of the ONU. For the OLT, refer to the description of the OLT related embodiment.
通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。Through the table, the OLT can obtain information about all ports under the ONU, and the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, greatly It simplifies the process of managing the ONU and improves the reliability of the system.
具体该实施例中OLT生成的表即为ONU端口属性表,该表的信息与表1的区别上述已经描述过,其相同点和区别点已经描述过,这里就不再赘述。Specifically, the table generated by the OLT in this embodiment is an ONU port attribute table, and the difference between the information of the table and the table 1 has been described above, and the same points and differences have been described, and details are not described herein again.
本发明提供的上述实施例OLT并不需要为ONU指定基本端口,也因此适
用于各种ONU,通过ONU每次注册上报的时候将注册上报的该端口的相关属性信息进行上报外,还需要上报ONU的除这个端口之外其它端口的属性信息,通过该表,OLT可以获知该ONU下的所有端口的相关信息,OLT通过该表可以获知哪些端口属于同一ONU,解决了下一代PON系统中OLT对多个端口ONU的端口管理的问题,极大地简化了ONU的管理的流程,提高了系统的可靠性。The above embodiment of the present invention provides that the OLT does not need to specify a basic port for the ONU, and therefore
It is used by various ONUs to report the related attribute information of the port that is registered and reported by the ONU every time the registration is reported. It also needs to report the attribute information of the port other than the port of the ONU. Through the table, the OLT can Knowing the information about all ports under the ONU, the OLT can know which ports belong to the same ONU through the table, and solve the problem of port management of the OLT to multiple port ONUs in the next-generation PON system, which greatly simplifies the management of the ONU. The process improves the reliability of the system.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the above units 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 integrated. Go to 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 or otherwise.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者
也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, ie may be located in one place, or
It can also 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. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(ROM,Read-Only Memory)或者随机存取存储器(RAM,Random Access Memory)等各种可以存储程序代码的介质。The above-described integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention. The foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like. The medium of the code.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.
Claims (17)
- 一种通信方法,应用于无源光网络,其特征在于,所述方法包括:A communication method for a passive optical network, the method comprising:光网络单元ONU发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;The optical network unit ONU sends a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU;所述ONU接收第一逻辑链路标识LLID1;The ONU receives the first logical link identifier LLID1;所述ONU发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集信息的消息为注册确认消息。The ONU sends a message including capability set information, where the capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the The message of the capability set information is a registration confirmation message.
- 根据权利要求1所述的方法,其特征在于,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。The method according to claim 1, wherein the capability set information further comprises at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:所述ONU发送其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;The ONU sends another registration request message, where the other registration request message includes: another port identifier Portx of the ONU and another vMAC address vMACx address of the ONU;所述ONU接收所述OLT发送的为其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The ONU receives a logical link identifier LLIDx sent by the OLT for other ports; the x is an integer greater than 1.
- 一种通信方法,应用于无源光网络,其特征在于,所述方法包括:A communication method for a passive optical network, the method comprising:光线路终端OLT接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;The optical line terminal OLT receives the registration request message, where the registration request message includes: the first port identifier Port1 of the ONU and the first virtual medium intervention control vMAC1 address of the ONU;所述OLT响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;The OLT sends a first logical link identifier LLID1 to the first port of the ONU in response to the registration request message;所述OLT接收包括能力集信息的消息,所述ONU的能力集信息包括:所 述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;The OLT receives a message including capability set information, where the capability set information of the ONU includes: The other port of the ONU identifies a mapping of Portx and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;所述OLT生成一张表,所述表包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。The OLT generates a table, and the table includes: LLID1, a mapping relationship between Port1 of the ONU and a vMAC1 address of the ONU, and a mapping relationship between other Portx of the ONU and other vMACx addresses.
- 根据权利要求4所述的方法,其特征在于,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。The method according to claim 4, wherein the capability set information further comprises at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:所述OLT接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;The OLT receives another registration request message, where the other registration request message includes: another port identifier Portx of the ONU and another vMAC address vMACx address of the ONU;所述OLT发送为其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The OLT sends a logical link identifier LLIDx assigned to other ports; the x is an integer greater than one.
- 一种光网络单元ONU,其特征在于,所述ONU包括:An optical network unit ONU, characterized in that the ONU comprises:第一发送器,用于发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a first sender, configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and a message including capability set information is sent, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;第一接收器,用于接收第一逻辑链路标识LLID1。The first receiver is configured to receive the first logical link identifier LLID1.
- 根据权利要求7所述的ONU,其特征在于,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及 所述ONU的端口类型。The ONU according to claim 7, wherein the capability set information further comprises at least one of: information indicating whether the other port is available, a number of ports of the ONU, and The port type of the ONU.
- 一种光线路终端OLT,其特征在于,所述OLT包括:An optical line terminal OLT, characterized in that the OLT comprises:第二接收器,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Por1和所述ONU的第一虚拟媒体介入控制vMAC1地址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a second receiver, configured to receive a registration request message, where the registration request message includes: a first port identifier Por1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;处理器,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表的表项至少包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它IDX和其它vMACx地址的映射关系。The processor is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table entry includes at least: LLID1, Port1 of the ONU A mapping relationship between the mapping relationship with the vMAC1 address of the ONU and other IDXs of the ONU and other vMACx addresses.
- 根据权利要求9所述的OLT,其特征在于,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。The OLT according to claim 9, wherein the capability set information further comprises at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- 根据权利要求9-10所述的OLT,其特征在于,所述第二接收器,还用于接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址的映射;The OLT according to any one of claims 9-10, wherein the second receiver is further configured to receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx, and the Mapping of other vMAC address vMACx addresses of the ONU;所述第二发送器,还用于发送为所述ONU其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。The second transmitter is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
- 一种无源光网络系统PON,所述系统包括:光线路终端OLT和光网络单元ONU,所述OLT通过光分配网络与所述ONU连接,其特征在于,所述ONU如权利要求7-8所述的ONU;和/或所述OLT如权利要求9-11所述的 OLT。A passive optical network system PON, the system comprising: an optical line terminal OLT and an optical network unit ONU, wherein the OLT is connected to the ONU through an optical distribution network, wherein the ONU is as claimed in claim 7-8 An ONU; and/or the OLT as described in claims 9-11 OLT.
- 一种数据通信设备,其特征在于,所述数据通信设备包括:A data communication device, characterized in that the data communication device comprises:第一发送单元,用于发送注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;发送包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a first sending unit, configured to send a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and sending a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;第一接收单元,用于接收第一逻辑链路标识LLID1。The first receiving unit is configured to receive the first logical link identifier LLID1.
- 跟据权利要求13所述的数据通信装置,其特征在于,所述能力集信息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。A data communication apparatus according to claim 13, wherein said capability set information further comprises at least one of: information indicating whether said other port is available, a number of ports of said ONU, and said ONU Port type.
- 一种数据通信装置,其特征在于,所述数据通信设备包括:A data communication device, characterized in that the data communication device comprises:第二接收单元,用于接收注册请求消息,所述注册请求消息包括:所述ONU的第一端口标识Port1和所述ONU的第一虚拟媒体介入控制vMAC1地址;接收包括能力集信息的消息,所述ONU的能力集信息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMACx地址的映射,所述x是大于1的整数或者所述能力集查询信息为注册确认消息;a second receiving unit, configured to receive a registration request message, where the registration request message includes: a first port identifier Port1 of the ONU and a first virtual medium intervention control vMAC1 address of the ONU; and receiving a message including capability set information, The capability set information of the ONU includes: mapping of other port identifiers Portx of the ONU and other vMACx addresses of the ONU, where x is an integer greater than 1 or the capability set query information is a registration confirmation message;处理单元,用于响应所述注册请求消息,给所述ONU的第一端口分配第一逻辑链路标识LLID1;生成一张表,所述表包括:LLID1,所述ONU的Port1和所述ONU的vMAC1地址的映射关系和所述ONU的其它Portx和其它vMACx地址的映射关系。The processing unit is configured to: in response to the registration request message, assign a first logical link identifier LLID1 to the first port of the ONU; generate a table, where the table includes: LLID1, Port1 of the ONU, and the ONU The mapping relationship between the vMAC1 address and the other Portx of the ONU and other vMACx addresses.
- 根据权利要求15所述的数据通信装置,其特征在于,所述能力集信 息还包括至少一种:用于指示所述其它端口是否可用的信息,所述ONU的端口数目以及所述ONU的端口类型。The data communication device according to claim 15, wherein said capability set letter The information further includes at least one of: information indicating whether the other port is available, a number of ports of the ONU, and a port type of the ONU.
- 根据权利要求15-16所述的数据通信装置,其特征在于,所述第二接收单元,还用于接收接收其它注册请求消息,所述其它注册请求消息包括:所述ONU的其它端口标识Portx和所述ONU的其它vMAC地址vMACx地址;The data communication device according to any one of claims 15-16, wherein the second receiving unit is further configured to receive and receive another registration request message, where the other registration request message includes: another port identifier of the ONU, Portx And other vMAC address vMACx addresses of the ONU;所述第二发送单元,还用于发送为所述ONU其它端口分配的逻辑链路标识LLIDx;所述x为大于1的整数。 The second sending unit is further configured to send a logical link identifier LLIDx allocated to other ports of the ONU; the x is an integer greater than 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/099075 WO2018049613A1 (en) | 2016-09-14 | 2016-09-14 | Data communication method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/099075 WO2018049613A1 (en) | 2016-09-14 | 2016-09-14 | Data communication method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018049613A1 true WO2018049613A1 (en) | 2018-03-22 |
Family
ID=61619012
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/099075 WO2018049613A1 (en) | 2016-09-14 | 2016-09-14 | Data communication method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2018049613A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050083950A1 (en) * | 2003-10-21 | 2005-04-21 | Choi Su I. | Shared LAN emulation method and apparatus having VLAN recognition and LLID management functions on EPON |
CN101179428A (en) * | 2007-09-28 | 2008-05-14 | 西安大唐电信有限公司 | Method of managing multi-logical link ID optical network unit in Ethernet passive optical network |
CN105247807A (en) * | 2013-08-16 | 2016-01-13 | 华为技术有限公司 | Traffic-bearing entity identification in multiple-wavelength passive optical networks (PON) |
CN105592179A (en) * | 2015-09-29 | 2016-05-18 | 杭州华三通信技术有限公司 | LLID application method and device |
-
2016
- 2016-09-14 WO PCT/CN2016/099075 patent/WO2018049613A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050083950A1 (en) * | 2003-10-21 | 2005-04-21 | Choi Su I. | Shared LAN emulation method and apparatus having VLAN recognition and LLID management functions on EPON |
CN101179428A (en) * | 2007-09-28 | 2008-05-14 | 西安大唐电信有限公司 | Method of managing multi-logical link ID optical network unit in Ethernet passive optical network |
CN105247807A (en) * | 2013-08-16 | 2016-01-13 | 华为技术有限公司 | Traffic-bearing entity identification in multiple-wavelength passive optical networks (PON) |
CN105592179A (en) * | 2015-09-29 | 2016-05-18 | 杭州华三通信技术有限公司 | LLID application method and device |
Non-Patent Citations (1)
Title |
---|
QIAO, YAOJUN ET AL.: "Media Access Control Protocol Design in OFDM-PON", ACTA PHOTONICA SINICA, vol. 42, no. 6, 30 June 2013 (2013-06-30), pages 654 - 657, XP055604108 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2837141B1 (en) | Dynamic bandwidth assignment in hybrid access network with passive optical network and another medium | |
CN106851439B (en) | Access method and device for multiple optical network units | |
US7920792B2 (en) | System and method for managing communication in a hybrid passive optical network | |
US10091566B2 (en) | Method and apparatus for virtualizing passive optical network, and passive optical network virtualization system | |
US7603036B2 (en) | System and method for managing network components in a hybrid passive optical network | |
US7675936B2 (en) | Passive optical network (PON) system | |
CN101317377B (en) | Device, method and system for configuring Ethernet service in passive optical network | |
US8280055B2 (en) | Optical network system and method of changing encryption keys | |
US8457494B2 (en) | PON multicast communication system, multicast management method, and corresponding devices | |
US10652635B2 (en) | Passive optical network communications method and apparatus, and system | |
EP3065321A1 (en) | Communication method, apparatus and system for passive optical network | |
WO2014008659A1 (en) | Wavelength negotiation method, system, and device for multi-wavelength passive optical network | |
US10505637B2 (en) | Service processing method and apparatus and optical line terminal | |
WO2015172279A1 (en) | Wavelength switching method, device and system | |
EP2501058B1 (en) | Device for optical network unit integration | |
KR20150022859A (en) | Optical network terminal management control interface message transmission method and system, and corresponding device | |
CN110073672B (en) | Method, device and system for managing optical network unit ONU | |
WO2019141037A1 (en) | Communication network and related devices | |
WO2020042165A1 (en) | Information transmission method, optical line termination, optical network unit and communication system | |
CN108882063B (en) | Service mapping method for asymmetric system of passive optical network | |
CN106170938A (en) | A kind of method, apparatus and system of EPON wavelength configuration | |
WO2021082669A1 (en) | Passive optical network-based communication method, related device, and system | |
WO2012149770A1 (en) | Method, device and system for converting terminal device identifiers | |
WO2018227624A1 (en) | Data packet processing method, device and system | |
WO2018049613A1 (en) | Data communication method, apparatus and system |
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: 16915998 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: 16915998 Country of ref document: EP Kind code of ref document: A1 |