WO2014101001A1 - Wavelength identification method, device, and system - Google Patents

Wavelength identification method, device, and system Download PDF

Info

Publication number
WO2014101001A1
WO2014101001A1 PCT/CN2012/087535 CN2012087535W WO2014101001A1 WO 2014101001 A1 WO2014101001 A1 WO 2014101001A1 CN 2012087535 W CN2012087535 W CN 2012087535W WO 2014101001 A1 WO2014101001 A1 WO 2014101001A1
Authority
WO
WIPO (PCT)
Prior art keywords
wavelength
message
optical network
label
identifier
Prior art date
Application number
PCT/CN2012/087535
Other languages
French (fr)
Chinese (zh)
Inventor
叶飞
罗远秋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2012/087535 priority Critical patent/WO2014101001A1/en
Priority to CN201280002034.3A priority patent/CN104137444B/en
Publication of WO2014101001A1 publication Critical patent/WO2014101001A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0254Optical medium access
    • H04J14/0256Optical medium access at the optical channel layer
    • H04J14/0258Wavelength identification or labelling

Definitions

  • Wavelength identification method device and system
  • the present invention relates to the field of communications technologies, and in particular, to a wavelength identification method, apparatus, and system. Background technique
  • the identification is performed to identify the wavelength of the OLT (Optical Line Terminal) and the ONU (Optical Network Unit).
  • the MAC (Medium Access Control) protocol of the TWDM-PON inherits the existing PON standard, and a control field is set in the frame structure, and a data bit with a small number of bits is reserved in the control field.
  • Perform a wavelength ID description For example, the 10G-Gigabit passive optical network (GPON) 10G-Gigabit passive optical network is wavelength-identified by the wavelength ID.
  • the specificity is as follows: The X bit of the PON-ID field in the frame structure is used for the description of the downlink wavelength ID; in the uplink direction, the reserved y bit of the Ind field in the existing frame structure is used for the description of the uplink wavelength ID.
  • the above wavelength identification methods are generally only used in PON networks, but not in Ethernet or IP (Internet Protocol) networks.
  • the present invention solves the above technical problems in the background art, and proposes a wavelength identification method, device and system to be compatible with the method for identifying wavelengths in different networks.
  • the embodiment of the present invention provides a wavelength identification method, which is applied in a time division-wavelength division multiplexing passive optical network system, where the time division-wavelength division multiplexing passive optical network system includes: an optical line terminal and a first optical network unit.
  • the optical line terminal includes: a domain controller and a first port controller; or, the optical line
  • the terminal includes: an inter-domain controller and a first port controller, and the method includes:
  • the first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: the first wavelength label
  • the first packet is a packet used for communication between the domain controller and the first port controller, or the first packet is the inter-domain controller and the first packet. a message used for communication between a port controller;
  • the first port controller acquires a first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
  • the first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; And a packet used by the first port controller to communicate with the first optical network unit, where the first wavelength identifier is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal.
  • the first port controller acquires the first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet, and specifically includes:
  • the first port controller searches for the first wavelength conversion table according to the first wavelength label of the first packet, and acquires a first wavelength identifier corresponding to the first wavelength label; wherein, the first wavelength conversion
  • the table includes: a correspondence between the first wavelength label and the first wavelength identifier; or
  • the first port controller searches for the first wavelength conversion table according to the first wavelength label of the first packet, and obtains a first wavelength value corresponding to the wavelength label.
  • the first wavelength conversion table includes : a correspondence between the first wavelength label and the first wavelength value;
  • the first port controller acquires a first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
  • the first packet further includes: a second wavelength label.
  • the method further includes:
  • the first port controller acquires a second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet, where the second wavelength identifier is used to identify the first optical network
  • the unit receives the wavelength used by the optical signal transmitted by the optical line terminal.
  • the second packet further includes: a second wavelength identifier of the first optical network unit.
  • the first port controller obtains according to the second wavelength label field of the first packet. Taking the second wavelength identifier of the first optical network unit, specifically:
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field.
  • the wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or the first port controller searches for the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field; wherein, the first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength value;
  • the first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
  • a wavelength identification method is applied in a time division-wavelength division multiplexing passive optical network system, where the time division-wavelength division multiplexing passive optical network system comprises: an optical line terminal and an optical network unit, where the optical line terminal comprises: The domain controller and the first port controller; or the optical line terminal includes: an inter-domain controller and a first port controller, where the method includes:
  • the domain controller or the inter-domain controller allocates a first wavelength identifier or a first wavelength value to the first optical network unit according to the request;
  • the first wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
  • the domain controller or the inter-domain controller sends the first packet to the first port controller.
  • the domain controller or the inter-domain controller acquires the first wavelength label according to the first wavelength identifier or the first wavelength value, and specifically includes:
  • the first wavelength conversion table Determining, by the domain controller or the inter-domain controller, the first wavelength conversion table according to the first wavelength identifier or the first wavelength value, and acquiring the first wavelength identifier or the first wavelength value a value of a wavelength label; wherein, the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label; or, the first wavelength conversion table includes at least: Corresponding relationship between the first wavelength value and the first wavelength label.
  • the wavelength label includes at least the following fields: Grid, channel and n.
  • a port control device is applied to an optical line terminal, including:
  • a first packet receiving unit configured to receive, by the optical network unit, a first packet sent by the domain controller or the inter-domain controller, where the first packet is the domain controller Or the packet used for communication between the inter-domain controllers, where the first packet includes: a first wavelength label; the first wavelength identifier acquiring unit, configured to obtain, according to the first wavelength label of the first packet, a first wavelength identifier of the optical network unit;
  • a second packet sending unit configured to send a second packet to the optical network unit, where the second packet includes: at least: a first wavelength identifier of the optical network unit; And a packet used for communication between the optical network units, where the first wavelength identifier is used to identify a wavelength used by the optical network unit to send an optical signal.
  • the first wavelength identifier acquiring unit specifically includes:
  • a first searching module configured to search, according to the first wavelength label of the first packet, a first wavelength conversion table, where the first wavelength conversion table includes: a correspondence between a first wavelength label and a first wavelength identifier ;
  • a first acquiring module configured to acquire a first wavelength identifier corresponding to the first wavelength label
  • a second search module configured to: search for a first wavelength conversion table according to the first wavelength label of the first packet, and obtain a first wavelength value corresponding to the wavelength label; where the first wavelength conversion table includes : a correspondence between the first wavelength label and the first wavelength value;
  • a second acquiring module configured to acquire, according to the first wavelength value, a first wavelength identifier corresponding to the first wavelength value.
  • the first packet further includes: a second wavelength label
  • the device further includes: a second wavelength identifier acquiring unit, configured to acquire, according to the second wavelength label field of the first packet, The second wavelength identifier of the first optical network unit.
  • the second packet sending unit is further configured to:
  • the second packet further includes: a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify that the first optical network unit receives the light sent by the optical line terminal The wavelength used by the signal,
  • the second wavelength identifier acquiring unit specifically includes:
  • a third search module configured to search the first wavelength conversion table according to the second wavelength label field of the second packet, where the first wavelength conversion table includes: a second wavelength label field and a second wavelength label Correspondence relationship
  • a third acquiring module configured to acquire a second wavelength identifier corresponding to the second wavelength label field
  • a fourth search module configured to: search a first wavelength conversion table according to the second wavelength label field of the first packet, and obtain a second wavelength value corresponding to the second wavelength label field;
  • the wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
  • a fourth acquiring module configured to acquire, according to the second wavelength value, a second wavelength identifier corresponding to the second wavelength value.
  • a domain control device is applied to an optical line terminal, including:
  • a first allocation unit configured to: when the first optical network unit requests to perform wavelength allocation, assign a first wavelength identifier or a first wavelength value to the first optical network unit according to the request; wherein, the first wavelength The identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
  • a first wavelength label acquiring unit configured to obtain a first wavelength label according to the first wavelength identifier or a first wavelength value
  • the first packet generating unit generates a first packet according to the first wavelength label
  • the first packet sending unit is configured to send the first packet to the first port controller.
  • the first wavelength label acquiring unit specifically includes:
  • a fifth search module configured to search, according to the first wavelength identifier, a first wavelength conversion table, where the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label ;
  • a fifth acquiring module configured to acquire a value of the first wavelength label corresponding to the first wavelength identifier
  • a sixth search module configured to search, according to the first wavelength value, a first wavelength conversion table, where the first wavelength conversion table at least includes: a correspondence between the first wavelength value and the first wavelength label Department
  • a wavelength identification system for use in a time division-wavelength division multiplexing passive optical network system, the time division-wavelength division multiplexing passive optical network system comprising: an optical line terminal and an optical network unit, when the optical network unit requests When performing wavelength assignment,
  • the optical line terminal is configured to acquire, according to the first wavelength label, a first wavelength identifier of the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the a wavelength used by the optical line terminal; sending a message to the first optical network unit, where the message includes at least: a first wavelength identifier of the first optical network unit;
  • the optical network unit is configured to receive the text, and send an optical signal to the optical line terminal by using a wavelength identified by the first wavelength identifier.
  • the optical line terminal includes: a domain controller and a first port controller; or the optical line terminal includes: an inter-domain controller and a first port controller,
  • the first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: a first wavelength label, where the first packet is a message used by the domain controller to communicate with the first port controller, or the first message is a message used for communication between the inter-domain controller and the first port controller.
  • the first port controller acquires a first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
  • the first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; A message used for communication between the first port controller and the first optical network unit.
  • the first packet further includes: a second wavelength label, where the first port controller acquires the first optical network unit according to the second wavelength label field of the first packet And a second wavelength identifier, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field;
  • the first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field.
  • the wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
  • the first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
  • the first packet frame structure carries a wavelength label field, and the first packet is received.
  • the OLT port controller is configured to obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier into a second message frame structure sent to the ONU, which is visible through the wavelength in the first message frame structure.
  • the label field may be corresponding to the wavelength identifier used for the second frame structure, so that the first packet is compatible with the wavelength identification method in the second network during transmission.
  • FIG. 1 is a schematic structural diagram of a TWDM-PON network architecture according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a wavelength identification method according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a wavelength label carrying a wavelength identifier according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a port control apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a first wavelength identifier acquiring unit in FIG. 5;
  • FIG. 7 is a schematic structural diagram of another port control apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second wavelength identifier acquiring unit in FIG. 7;
  • FIG. 9 is a schematic structural diagram of a domain control apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a first wavelength label acquiring unit in FIG. 9.
  • the TWDM-PON is introduced as follows.
  • the TWDM-PON is composed of an OLT on the office side, an ONU on the user side, or an Optical Network Terminal (ONT) and an Optical Distribution Network (ODN).
  • the passive optical network generally adopts a tree topology.
  • the typical TWDM-PON network architecture is shown in Figure 1. The following is an example of the architecture.
  • the OLT provides a network side interface to the PON system, connecting one or more ODNs.
  • the ODN is a passive optical splitting device for connecting an OLT device and an ONU or Optical Network Terminal (ONT) device for distributing or multiplexing data signals between the OLT and the ONU or ONT.
  • the ONU provides a user-side interface to the PON system and is connected to the ODN. If the ONU directly provides user port functions, such as Ethernet user ports for PC Internet access, it is called ONT. Unless otherwise stated, the ONUs mentioned below refer to ONUs and ONTs.
  • Figure 1 shows an example in which the OLT includes four optical transmitters Txl ⁇ Tx4 and four receivers Rxl ⁇ Rx4.
  • the OLT to the ONU is called downlink; on the contrary, from the ONU to the OLT is uplink.
  • the four optical transmitters Txl ⁇ Tx4 of the OLT broadcast downlink data with optical signals of different wavelengths respectively, and output them to the backbone fiber of the ODN through the wavelength multiplexer/demultiplexer and the WDM coupler, through the ODN.
  • the ONU uses a tunable receiver to receive downlink broadcast data signals on one of the downstream wavelengths.
  • the ONU's tunable transmitter uses one of the upstream wavelengths to transmit burst optical signals in TDMA (Time Division Multiple Access), and passes through the ODN backbone fiber to the OLT, via the OLT's WDM coupler.
  • TDMA Time Division Multiple Access
  • the wavelength demultiplexer the optical signals of different wavelengths are respectively received by four different receivers Rxl ⁇ Rx4.
  • Each ONU on the same upstream wavelength uses TDMA to transmit data. That is, the OLT allocates time slots to each ONU. Each ONU must send data in strict accordance with the time slot allocated by the OLT to ensure that uplink data does not conflict.
  • the possible network topology may be: There is an OLT chassis, and multiple PON ports are on a linecard, and are connected to the ODN through a wavelength multiplexing device. Or, there is an OLT rack and multiple boards, each board has at least one PON port, and multiple PON ports are connected to the ODN through wavelength multiplexing devices; or, there are at least two OLT racks, each Each OLT rack has multiple boards, and each board has at least one PON port. A plurality of PON ports are connected to the ODN through a wavelength multiplexing device.
  • the OLT board has two ports, one is a network side port, and is connected to an ETH (Ethernet) or IP network or an Asynchronous Transfer Mode (ATM)/Synchronous Digital Hierarchy (SDH) network.
  • the other is the PON port, which is connected to each ONU through the ODN.
  • Different PON ports on the same OLT board can communicate through the internal bus of the OLT board; between different OLT boards on the same OLT rack, they can communicate through the backplane bus of the rack through their network side ports.
  • OLT boards of different OLT racks can communicate through the ETH network connected to the rack or the ATM network of the IP network.
  • an embodiment of the present invention provides a wavelength identification method.
  • the method is applied to a TWDM-PON network, where the TWDM-PON network includes: an OLT and a first ONU, the OLT includes: a domain controller and a first port controller; or the OLT includes: an inter-domain controller and The first port controller, when the first optical network unit requests to perform wavelength allocation, the method specifically includes the following steps:
  • Step 201 The first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: a first wavelength label, where the first packet is Decoding a message used for communication between the domain controller and the first port controller, or the first packet is a message used for communication between the inter-domain controller and the first port controller ;
  • the physical controller may be a functional module set on the 0LT, and may be a software application module.
  • the interdomain controller is responsible for coordinating the public activities of the various domain controllers. These public activities include, rogue
  • the inter-domain controller can be located on the 0LT and has no optical port directly connected to the 0DN.
  • the wavelength management of each domain controller can be implemented.
  • the inter-domain controller does not directly send network packets to the OLT port controller, and the inter-domain controller sends the network text to the corresponding domain controller, and the domain controller forwards the network text to the corresponding OLT port controller. That is, the first port controller.
  • the domain controller or the inter-domain controller sends the first packet to the first port controller when the OLT or the network is required to communicate with the network through the ETH or the IP or the ATM or the SDH.
  • the first packet is a wavelength label.
  • the method performs wavelength identification, and carries a wavelength label in the first text.
  • Step 202 The first port controller acquires according to the first wavelength label of the first packet. a first wavelength identifier of the first optical network unit;
  • a wavelength identifier is used to identify a wavelength used by the first optical network unit to transmit an optical signal to the optical line terminal.
  • Step 203 The first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit;
  • the packet is a packet used for communication between the first port controller and the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the optical line terminal. wavelength.
  • the first port controller writes the first wavelength identifier into the second packet, and sends the second packet to the first ONU connected to the ODN network. Therefore, the first ONU sends an optical signal to the OLT by using the wavelength identified by the first wavelength identifier.
  • the first packet frame structure carries a wavelength label field, and the first packet is received.
  • the OLT port controller is configured to obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier into a second packet frame structure sent to the ONU, where the wavelength label in the first message frame structure is visible.
  • the field may be corresponding to the wavelength identifier used in the second frame structure, so that the first message is compatible with the wavelength identification method in the second network during the transmission process.
  • step 202 the implementation of the foregoing step 202 may be as follows:
  • the first port controller searches the first wavelength conversion table according to the first wavelength label of the first packet, and acquires a first wavelength identifier corresponding to the first wavelength label.
  • the wavelength conversion table includes: a correspondence between the first wavelength label and the first wavelength identifier;
  • the first port controller searches the first wavelength conversion table according to the first wavelength label of the first packet, and obtains a first wavelength value corresponding to the wavelength label; wherein, the first wavelength
  • the conversion table includes: a correspondence between the first wavelength label and the first wavelength value;
  • the first port controller acquires a first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
  • the first port controller is preset with a first wavelength conversion table.
  • the first wavelength conversion table may include: a correspondence between the first wavelength label and the first wavelength identifier. Or a correspondence between the first wavelength label and the first wavelength value.
  • the first port controller may directly acquire the first wavelength identifier corresponding to the first wavelength label according to the correspondence between the first wavelength label and the first wavelength label; or, according to the first wavelength label and the first Corresponding relationship between the wavelength values first acquires a first wavelength value corresponding to the wavelength label, and further acquires a first wavelength identifier corresponding to the first wavelength value.
  • the value of the wavelength label can be determined according to the values of the Grid, Channel Spacing and n subfields in the wavelength label field.
  • the wavelength value can be expressed by the THZ frequency or by the nanometer. among them,
  • the Grid subfield indicates the ITU-T grid definition followed by the wavelength described by the wavelength label, such as a value of 1 indicating an ITU-T DWDM grid and a value of 2 indicating an ITU-T CWDM grid;
  • the Channel Spacing subfield indicates the interval between the wavelength described by the wavelength label and other wavelengths.
  • the value of the Grid subfield is 1, the value of the Channel Spacing subfield is 1 indicating that the channel spacing is 100 GHz, and the value of the Channel Spacing subfield is 2.
  • the value of the Channel Spacing subfield is 5 GHz, the value of the Channel Spacing subfield is 5, and the channel spacing is 200 GHz.
  • the value of the Grid subfield is 2
  • the value of the Channel Spacing subfield is 1 to indicate that the channel P ⁇ is 20 ⁇ ;
  • the n subfield represents a two's complement integer (including a positive integer, a negative integer, or 0).
  • a corresponding wavelength ID value can be obtained.
  • the wavelength ID value is pre-written in the reserved subfield in the wavelength label field in the form of a wavelength information field. As shown in FIG. 3, it is a schematic diagram of a wavelength label field carrying a wavelength information field.
  • the Reserved Subfield of the Wavelength Label field is divided into the following three subfields: Direction, Reserved, and wavelength ID.
  • the Direction sub-field includes 1 bit, which is used to identify whether the wavelength represented by the wavelength label is an upstream wavelength or a downlink wavelength.
  • the Reserved subfield contains (8z) bits, which can be filled with 0, and the receiving end does not process; the wavelength ID (wavelength identification) subfield includes z bits (z > 1), and the wavelength corresponding to the wavelength label field is set. Information field.
  • the first packet sent by the domain controller or the inter-domain controller actually carries the wavelength label field and the wavelength information field at the same time.
  • the first port controller that receives the first packet can directly extract the corresponding wavelength identifier preset in the reserved subfield by identifying the reserved subfield in the wavelength label field, and obtain corresponding wavelength information.
  • the first packet may further include: a second wavelength label, where the first port controller may obtain according to the second wavelength label field of the first packet. a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
  • the second packet may further include: a second wavelength label of the first optical network unit Knowledge.
  • the first port controller acquires the second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet, and the implementation includes the following two manners:
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and obtains a second wavelength identifier corresponding to the second wavelength label field;
  • the first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field;
  • the first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength value;
  • the first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
  • the wavelength identification method is described from a domain controller or an inter-domain controller side, and the method is also applied in a time division-wavelength division multiplexing passive optical network system.
  • the time-division-wavelength-multiplexed passive optical network system includes: an optical line terminal and an optical network unit, where the optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes:
  • Step 401 When the first optical network unit requests to perform wavelength allocation, the domain controller or the inter-domain controller allocates a first wavelength identifier or first to the first optical network unit according to the request. a wavelength value; wherein the first wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to transmit an optical signal to the optical line terminal;
  • Step 402 The domain controller or the inter-domain controller acquires a first wavelength label according to the first wavelength identifier or a first wavelength value.
  • Step 403 The domain controller or the inter-domain controller generates a first packet according to the first wavelength label.
  • Step 404 The domain controller or the inter-domain controller sends the first packet to the first port controller.
  • the domain controller or the inter-domain controller sends the first packet to the OLT port controller
  • the first packet frame structure carries a wavelength label field
  • the OLT port controller that receives the first packet can obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier.
  • the wavelength label of the second message frame structure can be correspondingly obtained by using the wavelength label field in the first message frame structure, so that the first packet is in the transmission process. It is compatible with the identification method of the wavelength in the second network.
  • the domain controller or the inter-domain controller acquires the first wavelength label according to the first wavelength identifier or the first wavelength value, and specifically includes:
  • the first wavelength conversion table Determining, by the domain controller or the inter-domain controller, the first wavelength conversion table according to the first wavelength identifier or the first wavelength value, and acquiring the first wavelength identifier or the first wavelength value a value of a wavelength label; wherein, the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label; or the first wavelength conversion table at least: A correspondence between a wavelength value and the first wavelength label.
  • the first wavelength label is pre-written in the first packet by the domain controller or the inter-domain controller according to the preset.
  • the wavelength label includes at least the following fields: Grid, channel and n.
  • the domain controller or the inter-domain controller is preset with a first wavelength conversion table as shown in Table 1, and the domain controller or the inter-domain controller may search for the first wavelength identifier or the first wavelength value. And a wavelength conversion table, acquiring a value of the first wavelength label corresponding to the first wavelength identifier or the first wavelength value.
  • the wavelength tag value can be determined by carrying values based on the Grid, Channel Spacing, and n subfields in the Wavelength Label field. The sub-fields of the wavelength label have been described in detail above, and will not be described here.
  • the present invention further provides a port control device, which is applied to an optical line terminal, as shown in FIG. 5, and specifically includes:
  • the first packet receiving unit 501 is configured to: when the optical network unit requests to perform wavelength allocation, receive the first packet sent by the domain controller or the inter-domain controller, where the first packet is controlled by the domain
  • the first packet includes: a first wavelength label; the first wavelength identifier acquiring unit 502, configured to use, according to the first wavelength label of the first packet, the packet used by the device or the inter-domain controller.
  • the port control device receives the first packet sent by the domain controller or the inter-domain controller, where the first packet frame structure carries a wavelength label field, which can be obtained according to the wavelength label field. Corresponding wavelength identifier, and then the wavelength identifier is written into the second message frame structure sent to the ONU, and the frame label structure in the first message frame structure can be correspondingly obtained for the second message frame structure.
  • the wavelength identifier is such that the first message is compatible with the wavelength identification method in the second network during transmission.
  • the first wavelength identifier acquiring unit 502 specifically includes:
  • the first search module 601 is configured to: search, according to the first wavelength label of the first packet, the first wavelength conversion table, where the first wavelength conversion table includes: corresponding to the first wavelength label and the first wavelength identifier Relationship
  • the first obtaining module 602 is configured to acquire a first wavelength identifier corresponding to the first wavelength label
  • the second search module 603 is configured to: search the first wavelength conversion table according to the first wavelength label of the first packet, and obtain a first wavelength value corresponding to the wavelength label; wherein, the first wavelength conversion table
  • the method includes: a correspondence between a first wavelength label and a first wavelength value
  • the second obtaining module 604 is configured to obtain, according to the first wavelength value, a first wavelength identifier corresponding to the first wavelength value.
  • the first packet further includes: a second wavelength label
  • the apparatus further includes:
  • the second wavelength identifier obtaining unit 504 is configured to obtain the second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet.
  • the second message sending unit is further configured to:
  • the second packet further includes: a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify that the first optical network unit receives the light sent by the optical line terminal The wavelength used by the signal,
  • the second wavelength identifier acquiring unit 504 specifically includes: a third searching module 801, configured to search for a first wavelength conversion according to a second wavelength label field of the second packet
  • the first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength identifier
  • a third obtaining module 802 configured to acquire a second wavelength identifier corresponding to the second wavelength label field
  • the fourth search module 803 is configured to search the first wavelength conversion table according to the second wavelength label field of the first packet, and obtain a second wavelength value corresponding to the second wavelength label field.
  • the wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
  • the fourth obtaining module 804 is configured to obtain, according to the second wavelength value, a second wavelength identifier corresponding to the second wavelength value.
  • the present invention further provides a domain control device, which is applied to an optical line terminal, as shown in FIG. 9, and includes:
  • a first allocation unit 901 configured to allocate, according to the request, a first wavelength identifier or a first wavelength value according to the request, when the first optical network unit requests to perform wavelength allocation, where the first The wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
  • the first wavelength label obtaining unit 902 is configured to acquire the first wavelength label according to the first wavelength identifier or the first wavelength value;
  • the first packet generating unit 903 generates a first packet according to the first wavelength label
  • the first packet sending unit 904 is configured to send the first packet to the first port controller.
  • the domain control device of the present invention carries a wavelength label field in the first packet frame structure, and the OLT port controller that receives the first packet can Obtaining a corresponding wavelength identifier according to the wavelength label field, and then writing the wavelength identifier to a second packet frame structure sent to the ONU, where the wavelength label field in the first message frame structure can be correspondingly obtained.
  • the wavelength identifier used in the frame structure of the second packet so that the first packet is transmitted.
  • the process is compatible with the identification method of the wavelength in the second network.
  • the first wavelength label acquiring unit 902 includes:
  • the fifth search module 1001 is configured to: search the first wavelength conversion table according to the first wavelength identifier, where the first wavelength conversion table at least includes: corresponding to the first wavelength identifier and the first wavelength label Relationship
  • the fifth obtaining module 1002 is configured to acquire a value of the first wavelength label corresponding to the first wavelength identifier;
  • the sixth search module 1003 is configured to: search the first wavelength conversion table according to the first wavelength value, where the first wavelength conversion table at least includes: corresponding to the first wavelength value and the first wavelength label Relationship
  • the sixth obtaining module 1004 is configured to obtain a value of the first wavelength label corresponding to the first wavelength value.
  • the present invention further provides a wavelength identification system for use in a time division-wavelength division multiplexing passive optical network system, wherein the time division-wavelength division multiplexing passive optical network system comprises: an optical line terminal and an optical network unit When the optical network unit requests wavelength assignment,
  • the optical line terminal is configured to acquire, according to the first wavelength label, a first wavelength identifier of the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the a wavelength used by the optical line terminal; sending a message to the first optical network unit, where the message includes at least: a first wavelength identifier of the first optical network unit;
  • the optical network unit is configured to receive the text, and send an optical signal to the optical line terminal by using a wavelength identified by the first wavelength identifier.
  • the optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes: an inter-domain controller and a first port controller;
  • the first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first text includes at least: a first wavelength label, where the first text is the a message used for communication between the domain controller and the first port controller, or the first packet is a message used for communication between the inter-domain controller and the first port controller; Obtaining, by the first port controller, the first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
  • the first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; A message used for communication between the first port controller and the first optical network unit.
  • the first packet further includes: a second wavelength label, where the first port controller acquires the second optical network unit according to the second wavelength label field of the first packet a wavelength identifier, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field;
  • the first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength identifier;
  • the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field;
  • the first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value; the first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A wavelength identification method, device, and system. The method comprises: when a first optical network unit requests for wavelength allocation, a first port controller receiving a first packet sent by a domain controller or an inter-domain controller, wherein the first packet at least comprises: a first wavelength tag; the first packet is a packet used for communication between the domain controller and the first port controller; or, the first packet is a packet used for communication between the inter-domain controller and the first port controller; the first port controller acquiring a first wavelength identity of the first optical network unit according to the first wavelength tag of the first packet; and the first port controller sending a second packet to the first optical network unit, wherein the second packet at least comprises: the first wavelength identity of the first optical network unit; the second packet is a packet used for communication between the first port controller and the first optical network unit; and the first wavelength identity is used for identifying a wavelength adopted by the first optical network unit for sending an optical signal to an optical line terminal.

Description

一种波长识别方法、 装置及系统 技术领域  Wavelength identification method, device and system
本发明涉及通信技术领域, 尤其涉及一种波长识别方法、 装置及系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a wavelength identification method, apparatus, and system. Background technique
在 TWDM-PON ( Time- Wavelength Division Multiplexing-Passive Optical Network, 时分-波分复用无源光网络) 中, 由于上下行方向均有多对波长, 因 此, 需要利用控制字段对波长 ID ( Identity, 身份标识)进行标识, 以便于 OLT ( Optical Line Terminal , 光线路终端) 及 ONU ( Optical Network Unit , 光网络单元)进行波长识别。  In the TWDM-PON (Time-Wavelength Division Multiplexing-Passive Optical Network), since there are many pairs of wavelengths in the uplink and downlink directions, it is necessary to use the control field to the wavelength ID (identity, The identification is performed to identify the wavelength of the OLT (Optical Line Terminal) and the ONU (Optical Network Unit).
现有技术中, TWDM-PON的 MAC ( Medium Access Control, 介质访问控 制)协议是继承现有的 PON标准, 帧结构中设置有控制字段, 该控制字段中 预留有少量比特的数据位置, 可以进行波长 ID 描述。 以 ( lOgigabit- Gigabit-Capable Passive Optical Network, GPON ) 10G -千兆比特无源光网络为 例, 所述 10G-GPON是通过波长 ID的方式进行波长标识的, 具体为: 下行方 向, 将现有帧结构中 PON-ID字段的 X比特用于下行波长 ID的描述; 上行方 向, 将现有帧结构中 Ind字段的保留 ( reserved )的 y比特用于上行波长 ID的 描述。 然而, 由于物理介质和通信标准的不同和兼容性考虑, 上述波长标识方 法通常只能在 PON网络中使用, 而不能在以太网或 IP ( Internet Protocol , 互 联网协议) 网络中使用。  In the prior art, the MAC (Medium Access Control) protocol of the TWDM-PON inherits the existing PON standard, and a control field is set in the frame structure, and a data bit with a small number of bits is reserved in the control field. Perform a wavelength ID description. For example, the 10G-Gigabit passive optical network (GPON) 10G-Gigabit passive optical network is wavelength-identified by the wavelength ID. The specificity is as follows: The X bit of the PON-ID field in the frame structure is used for the description of the downlink wavelength ID; in the uplink direction, the reserved y bit of the Ind field in the existing frame structure is used for the description of the uplink wavelength ID. However, due to differences in physical media and communication standards and compatibility considerations, the above wavelength identification methods are generally only used in PON networks, but not in Ethernet or IP (Internet Protocol) networks.
由此可见,现有的波长标识方法分别针对不同的应用网络,使用时存在一 定的局限性。  It can be seen that the existing wavelength identification methods are different for different application networks, and there are certain limitations when used.
发明内容 Summary of the invention
本发明为解决背景技术中存在的上述技术问题, 而提出一种波长识别方 法、 装置及系统, 以兼容不同网络下对波长的识别方法。  The present invention solves the above technical problems in the background art, and proposes a wavelength identification method, device and system to be compatible with the method for identifying wavelengths in different networks.
本发明的技术解决方案是:  The technical solution of the present invention is:
本发明实施例提供一种波长识别方法, 应用在时分-波分复用无源光网络 系统中, 所述时分 -波分复用无源光网络系统包括: 光线路终端和第一光网络 单元, 所述光线路终端包括: 域控制器和第一端口控制器; 或者, 所述光线路 终端包括: 域间控制器和第一端口控制器, 所述方法包括: The embodiment of the present invention provides a wavelength identification method, which is applied in a time division-wavelength division multiplexing passive optical network system, where the time division-wavelength division multiplexing passive optical network system includes: an optical line terminal and a first optical network unit. The optical line terminal includes: a domain controller and a first port controller; or, the optical line The terminal includes: an inter-domain controller and a first port controller, and the method includes:
当所述第一光网络单元请求进行波长分配时,第一端口控制器接收域控制 器或域间控制器发送的第一报文, 其中, 所述第一报文至少包括: 第一波长标 签; 其中, 所述第一报文为所述域控制器与所述第一端口控制器之间通信使用 的报文, 或者, 所述第一报文为所述域间控制器与所述第一端口控制器之间通 信使用的报文;  When the first optical network unit requests to perform wavelength allocation, the first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: the first wavelength label The first packet is a packet used for communication between the domain controller and the first port controller, or the first packet is the inter-domain controller and the first packet. a message used for communication between a port controller;
所述第一端口控制器根据所述第一报文的第一波长标签,获取所述第一光 网络单元的第一波长标识;  The first port controller acquires a first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
所述第一端口控制器发送第二报文给所述第一光网络单元,所述第二报文 至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为第一端口控 制器与第一光网络单元之间通信使用的报文,所述第一波长标识用于标识所述 第一光网络单元发送光信号给所述光线路终端所采用的波长。  The first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; And a packet used by the first port controller to communicate with the first optical network unit, where the first wavelength identifier is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal.
优选的, 所述第一端口控制器根据所述第一报文的第一波长标签, 获取所 述第一光网络单元的第一波长标识, 具体包括:  Preferably, the first port controller acquires the first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet, and specifically includes:
所述第一端口控制器根据所述第一报文的第一波长标签,查找第一波长转 换表, 获取与所述第一波长标签对应的第一波长标识; 其中, 所述第一波长转 换表包括: 第一波长标签与第一波长标识的对应关系; 或者,  The first port controller searches for the first wavelength conversion table according to the first wavelength label of the first packet, and acquires a first wavelength identifier corresponding to the first wavelength label; wherein, the first wavelength conversion The table includes: a correspondence between the first wavelength label and the first wavelength identifier; or
所述第一端口控制器根据所述第一报文的第一波长标签,查找第一波长转 换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转换表包 括: 第一波长标签与第一波长值的对应关系;  The first port controller searches for the first wavelength conversion table according to the first wavelength label of the first packet, and obtains a first wavelength value corresponding to the wavelength label. The first wavelength conversion table includes : a correspondence between the first wavelength label and the first wavelength value;
所述第一端口控制器根据所述第一波长值,获取与所述第一波长值对应的 第一波长标识。  The first port controller acquires a first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
优选的, 所述第一报文至少还包括: 第二波长标签。  Preferably, the first packet further includes: a second wavelength label.
优选的, 所述方法还包括:  Preferably, the method further includes:
所述第一端口控制器根据所述第一报文的第二波长标签字段,获取所述第 一光网络单元的第二波长标识,所述第二波长标识用于标识所述第一光网络单 元接收所述光线路终端发送的光信号所采用的波长。  The first port controller acquires a second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet, where the second wavelength identifier is used to identify the first optical network The unit receives the wavelength used by the optical signal transmitted by the optical line terminal.
优选的,所述第二报文至少还包括:所述第一光网络单元的第二波长标识。 优选的, 所述第一端口控制器根据所述第一报文的第二波长标签字段, 获 取所述第一光网络单元的第二波长标识, 具体包括: Preferably, the second packet further includes: a second wavelength identifier of the first optical network unit. Preferably, the first port controller obtains according to the second wavelength label field of the first packet. Taking the second wavelength identifier of the first optical network unit, specifically:
所述第一端口控制器根据所述第二报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长标识; 其中, 所述第 一波长转换表包括: 第二波长标签字段与第二波长标识的对应关系; 或者, 所述第一端口控制器根据所述第一报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系;  The first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field. The wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or the first port controller searches for the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field; wherein, the first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength value;
所述第一端口控制器根据所述第二波长值,获取与所述第二波长值对应的 第二波长标识。  The first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
一种波长识别方法, 应用在时分-波分复用无源光网络系统中, 所述时分- 波分复用无源光网络系统包括: 光线路终端和光网络单元, 所述光线路终端包 括: 域控制器和第一端口控制器; 或者, 所述光线路终端包括: 域间控制器和 第一端口控制器, 所述方法包括:  A wavelength identification method is applied in a time division-wavelength division multiplexing passive optical network system, where the time division-wavelength division multiplexing passive optical network system comprises: an optical line terminal and an optical network unit, where the optical line terminal comprises: The domain controller and the first port controller; or the optical line terminal includes: an inter-domain controller and a first port controller, where the method includes:
当所述第一光网络单元请求进行波长分配时,所述域控制器或者所述域间 控制器根据所述请求,为所述第一光网络单元分配第一波长标识或者第一波长 值; 其中, 所述第一波长标识或者第一波长值用于标识所述第一光网络单元发 送光信号给所述光线路终端所采用的波长;  When the first optical network unit requests to perform wavelength allocation, the domain controller or the inter-domain controller allocates a first wavelength identifier or a first wavelength value to the first optical network unit according to the request; The first wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
所述域控制器或者所述域间控制器根据所述第一波长标识或者第一波长 值, 获取第一波长标签;  Determining, by the domain controller or the inter-domain controller, the first wavelength label according to the first wavelength identifier or the first wavelength value;
所述域控制器或者所述域间控制器根据所述第一波长标签, 生成第一报 文;  Generating, by the domain controller or the inter-domain controller, a first packet according to the first wavelength label;
所述域控制器或者所述域间控制器将所述第一报文发送给第一端口控制 器。  The domain controller or the inter-domain controller sends the first packet to the first port controller.
优选的,所述域控制器或者所述域间控制器根据所述第一波长标识或者第 一波长值, 获取第一波长标签, 具体包括:  Preferably, the domain controller or the inter-domain controller acquires the first wavelength label according to the first wavelength identifier or the first wavelength value, and specifically includes:
所述域控制器或者所述域间控制器根据所述第一波长标识或者第一波长 值, 查找第一波长转换表, 获取与所述第一波长标识或者所述第一波长值对应 的第一波长标签的值; 其中, 所述第一波长转换表至少包括: 所述第一波长标 识与所述第一波长标签的对应关系; 或者, 所述第一波长转换表至少包括: 所 述第一波长值与所述第一波长标签的对应关系。 Determining, by the domain controller or the inter-domain controller, the first wavelength conversion table according to the first wavelength identifier or the first wavelength value, and acquiring the first wavelength identifier or the first wavelength value a value of a wavelength label; wherein, the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label; or, the first wavelength conversion table includes at least: Corresponding relationship between the first wavelength value and the first wavelength label.
优选的, 所述波长标签至少包括以下字段: Grid, channel和 n。  Preferably, the wavelength label includes at least the following fields: Grid, channel and n.
一种端口控制装置, 应用于光线路终端, 包括:  A port control device is applied to an optical line terminal, including:
第一报文接收单元, 用于当光网络单元请求进行波长分配时,接收域控制 器或域间控制器发送的第一报文, 其中, 所述第一报文为与所述域控制器或域 间控制器之间通信使用的报文, 所述第一报文至少包括: 第一波长标签; 第一波长标识获取单元, 用于根据所述第一报文的第一波长标签, 获取所 述光网络单元的第一波长标识;  a first packet receiving unit, configured to receive, by the optical network unit, a first packet sent by the domain controller or the inter-domain controller, where the first packet is the domain controller Or the packet used for communication between the inter-domain controllers, where the first packet includes: a first wavelength label; the first wavelength identifier acquiring unit, configured to obtain, according to the first wavelength label of the first packet, a first wavelength identifier of the optical network unit;
第二报文发送单元, 用于发送第二报文给所述光网络单元, 所述第二报文 至少包括: 所述光网络单元的第一波长标识; 所述第二报文为与所述光网络单 元之间通信使用的报文,所述第一波长标识用于标识所述光网络单元发送光信 号所采用的波长。  a second packet sending unit, configured to send a second packet to the optical network unit, where the second packet includes: at least: a first wavelength identifier of the optical network unit; And a packet used for communication between the optical network units, where the first wavelength identifier is used to identify a wavelength used by the optical network unit to send an optical signal.
优选的, 所述第一波长标识获取单元, 具体包括:  Preferably, the first wavelength identifier acquiring unit specifically includes:
第一查找模块, 用于根据所述第一报文的第一波长标签, 查找第一波长转 换表, 其中, 所述第一波长转换表包括: 第一波长标签与第一波长标识的对应 关系;  a first searching module, configured to search, according to the first wavelength label of the first packet, a first wavelength conversion table, where the first wavelength conversion table includes: a correspondence between a first wavelength label and a first wavelength identifier ;
第一获取模块, 用于获取与所述第一波长标签对应的第一波长标识; 或者,  a first acquiring module, configured to acquire a first wavelength identifier corresponding to the first wavelength label; or
第二查找模块, 用于根据所述第一报文的第一波长标签, 查找第一波长转 换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转换表包 括: 第一波长标签与第一波长值的对应关系;  a second search module, configured to: search for a first wavelength conversion table according to the first wavelength label of the first packet, and obtain a first wavelength value corresponding to the wavelength label; where the first wavelength conversion table includes : a correspondence between the first wavelength label and the first wavelength value;
第二获取模块, 用于根据所述第一波长值, 获取与所述第一波长值对应的 第一波长标识。  And a second acquiring module, configured to acquire, according to the first wavelength value, a first wavelength identifier corresponding to the first wavelength value.
优选的, 所述第一报文至少还包括: 第二波长标签, 则所述装置还包括: 第二波长标识获取单元, 用于根据所述第一报文的第二波长标签字段, 获 取所述第一光网络单元的第二波长标识。  Preferably, the first packet further includes: a second wavelength label, the device further includes: a second wavelength identifier acquiring unit, configured to acquire, according to the second wavelength label field of the first packet, The second wavelength identifier of the first optical network unit.
优选的, 所述第二报文发送单元还用于:  Preferably, the second packet sending unit is further configured to:
在所述第二报文中至少还包括: 所述第一光网络单元的第二波长标识, 所 述第二波长标识用于标识所述第一光网络单元接收所述光线路终端发送的光 信号所采用的波长, The second packet further includes: a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify that the first optical network unit receives the light sent by the optical line terminal The wavelength used by the signal,
优选的, 所述第二波长标识获取单元, 具体包括:  Preferably, the second wavelength identifier acquiring unit specifically includes:
第三查找模块, 用于根据所述第二报文的第二波长标签字段, 查找第一波 长转换表, 其中, 所述第一波长转换表包括: 第二波长标签字段与第二波长标 识的对应关系;  a third search module, configured to search the first wavelength conversion table according to the second wavelength label field of the second packet, where the first wavelength conversion table includes: a second wavelength label field and a second wavelength label Correspondence relationship
第三获取模块, 用于获取与所述第二波长标签字段对应的第二波长标识; 或者,  a third acquiring module, configured to acquire a second wavelength identifier corresponding to the second wavelength label field; or
第四查找模块, 用于根据所述第一报文的第二波长标签字段, 查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系;  a fourth search module, configured to: search a first wavelength conversion table according to the second wavelength label field of the first packet, and obtain a second wavelength value corresponding to the second wavelength label field; The wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
第四获取模块, 用于根据所述第二波长值, 获取与所述第二波长值对应的 第二波长标识。  And a fourth acquiring module, configured to acquire, according to the second wavelength value, a second wavelength identifier corresponding to the second wavelength value.
一种域控制装置, 应用于光线路终端, 包括:  A domain control device is applied to an optical line terminal, including:
第一分配单元, 用于当第一光网络单元请求进行波长分配时,根据所述请 求, 为所述第一光网络单元分配第一波长标识或者第一波长值; 其中, 所述第 一波长标识或者第一波长值用于标识所述第一光网络单元发送光信号给所述 光线路终端所采用的波长;  a first allocation unit, configured to: when the first optical network unit requests to perform wavelength allocation, assign a first wavelength identifier or a first wavelength value to the first optical network unit according to the request; wherein, the first wavelength The identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
第一波长标签获取单元, 用于根据所述第一波长标识或者第一波长值, 获 取第一波长标签;  a first wavelength label acquiring unit, configured to obtain a first wavelength label according to the first wavelength identifier or a first wavelength value;
第一报文生成单元, 根据所述第一波长标签, 生成第一报文;  The first packet generating unit generates a first packet according to the first wavelength label;
第一报文发送单元, 用于将所述第一报文发送给第一端口控制器。  The first packet sending unit is configured to send the first packet to the first port controller.
优选的, 所述第一波长标签获取单元, 具体包括:  Preferably, the first wavelength label acquiring unit specifically includes:
第五查找模块,用于根据所述第一波长标识,查找第一波长转换表,其中, 所述第一波长转换表至少包括:所述第一波长标识与所述第一波长标签的对应 关系;  a fifth search module, configured to search, according to the first wavelength identifier, a first wavelength conversion table, where the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label ;
第五获取模块, 用于获取与所述第一波长标识对应的第一波长标签的值; 或者,  a fifth acquiring module, configured to acquire a value of the first wavelength label corresponding to the first wavelength identifier; or
第六查找模块, 用于根据所述第一波长值, 查找第一波长转换表, 其中, 所述第一波长转换表至少包括:所述第一波长值与所述第一波长标签的对应关 系; a sixth search module, configured to search, according to the first wavelength value, a first wavelength conversion table, where the first wavelength conversion table at least includes: a correspondence between the first wavelength value and the first wavelength label Department
第六获取模块, 用于获取与所述第一波长值对应的第一波长标签的值。 一种波长识别系统, 应用在时分-波分复用无源光网络系统中, 所述时分- 波分复用无源光网络系统包括: 光线路终端和光网络单元, 当所述光网络单元 请求进行波长分配时,  And a sixth acquiring module, configured to acquire a value of the first wavelength label corresponding to the first wavelength value. A wavelength identification system for use in a time division-wavelength division multiplexing passive optical network system, the time division-wavelength division multiplexing passive optical network system comprising: an optical line terminal and an optical network unit, when the optical network unit requests When performing wavelength assignment,
所述光线路终端, 用于根据第一波长标签, 获取所述第一光网络单元的第 一波长标识,所述第一波长标识用于标识所述第一光网络单元发送光信号给所 述光线路终端所采用的波长; 发送报文给所述第一光网络单元, 所述报文至少 包括: 所述第一光网络单元的第一波长标识;  The optical line terminal is configured to acquire, according to the first wavelength label, a first wavelength identifier of the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the a wavelength used by the optical line terminal; sending a message to the first optical network unit, where the message includes at least: a first wavelength identifier of the first optical network unit;
所述光网络单元, 用于接收所述 文, 采用所述第一波长标识所标识的波 长发送光信号给所述光线路终端。  The optical network unit is configured to receive the text, and send an optical signal to the optical line terminal by using a wavelength identified by the first wavelength identifier.
优选的, 所述光线路终端, 包括: 域控制器和第一端口控制器; 或者, 所 述光线路终端包括: 域间控制器和第一端口控制器,  Preferably, the optical line terminal includes: a domain controller and a first port controller; or the optical line terminal includes: an inter-domain controller and a first port controller,
所述第一端口控制器接收所述域控制器或域间控制器发送的第一报文,其 中, 所述第一报文至少包括: 第一波长标签; 其中, 所述第一报文为所述域控 制器与所述第一端口控制器之间通信使用的报文, 或者, 所述第一报文为所述 域间控制器与所述第一端口控制器之间通信使用的报文;  The first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: a first wavelength label, where the first packet is a message used by the domain controller to communicate with the first port controller, or the first message is a message used for communication between the inter-domain controller and the first port controller. Text
所述第一端口控制器根据所述第一报文的第一波长标签,获取所述第一光 网络单元的第一波长标识;  The first port controller acquires a first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
所述第一端口控制器发送第二报文给所述第一光网络单元,所述第二报文 至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为第一端口控 制器与第一光网络单元之间通信使用的报文。  The first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; A message used for communication between the first port controller and the first optical network unit.
优选的, 所述第一报文至少还包括: 第二波长标签, 则所述第一端口控制 器根据所述第一报文的第二波长标签字段,获取所述第一光网络单元的第二波 长标识,所述第二波长标识用于标识所述第一光网络单元接收所述光线路终端 发送的光信号所采用的波长。  Preferably, the first packet further includes: a second wavelength label, where the first port controller acquires the first optical network unit according to the second wavelength label field of the first packet And a second wavelength identifier, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
优选的, 所述第一端口控制器根据所述第二报文的第二波长标签字段, 查 找第一波长转换表,获取与所述第二波长标签字段对应的第二波长标识;其中, 所述第一波长转换表包括: 第二波长标签字段与第二波长标识的对应关系; 或 者, Preferably, the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field; The first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or By,
所述第一端口控制器根据所述第一报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系;  The first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field. The wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
所述第一端口控制器根据所述第二波长值,获取与所述第二波长值对应的 第二波长标识。 本发明实施例中, 域控制器或域间控制器向 OLT端口控制器发送第一报 文时,在所述第一报文帧结构中携带有波长标签字段,接收到所述第一报文的 OLT端口控制器能够根据所述波长标签字段,获取对应的波长标识,进而将所 述波长标识写入发送至 ONU的第二报文帧结构, 可见, 通过第一报文帧结构 中的波长标签字段, 可以对应得到用于第二 文帧结构的波长标识,使得第一 报文在传输过程中兼容了第二网络中波长的识别方法。  The first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value. In the embodiment of the present invention, when the domain controller or the inter-domain controller sends the first packet to the OLT port controller, the first packet frame structure carries a wavelength label field, and the first packet is received. The OLT port controller is configured to obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier into a second message frame structure sent to the ONU, which is visible through the wavelength in the first message frame structure. The label field may be corresponding to the wavelength identifier used for the second frame structure, so that the first packet is compatible with the wavelength identification method in the second network during transmission.
附图说明  DRAWINGS
图 1为本发明实施例提供的一种 TWDM-PON网络架构结构示意图; 图 2为本发明实施例提供的一种波长识别方法流程示意图;  1 is a schematic structural diagram of a TWDM-PON network architecture according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of a wavelength identification method according to an embodiment of the present invention;
图 3为本发明实施例提供的携带波长标识的波长标签示意图;  FIG. 3 is a schematic diagram of a wavelength label carrying a wavelength identifier according to an embodiment of the present disclosure;
图 4为本发明实施例提供的另一种波长识别方法流程示意图;  4 is a schematic flowchart of another wavelength identification method according to an embodiment of the present invention;
图 5为本发明实施例提供的一种端口控制装置结构示意图;  FIG. 5 is a schematic structural diagram of a port control apparatus according to an embodiment of the present disclosure;
图 6为图 5中第一波长标识获取单元的结构示意图;  6 is a schematic structural diagram of a first wavelength identifier acquiring unit in FIG. 5;
图 7为本发明实施例提供的另一种端口控制装置结构示意图;  FIG. 7 is a schematic structural diagram of another port control apparatus according to an embodiment of the present disclosure;
图 8为图 7中第二波长标识获取单元的结构示意图;  8 is a schematic structural diagram of a second wavelength identifier acquiring unit in FIG. 7;
图 9为本发明实施例提供的一种域控制装置结构示意图;  FIG. 9 is a schematic structural diagram of a domain control apparatus according to an embodiment of the present invention;
图 10为图 9中第一波长标签获取单元的结构示意图。  FIG. 10 is a schematic structural diagram of a first wavelength label acquiring unit in FIG. 9.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整的描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 首先, 对 TWDM-PON介绍如下。 TWDM-PON由局侧的 OLT、 用户侧的 ONU或者 ONT ( Optical Network Terminal, 光网络终端) 以及 ODN ( Optical Distribution Network, 光分配网络 )组成。 无源光网络一般采用树型的拓朴结 构, 典型的 TWDM-PON网络架构如图 1所示, 下面以该架构为例进行说明。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but 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 departing from the inventive scope are the scope of the present invention. First, the TWDM-PON is introduced as follows. The TWDM-PON is composed of an OLT on the office side, an ONU on the user side, or an Optical Network Terminal (ONT) and an Optical Distribution Network (ODN). The passive optical network generally adopts a tree topology. The typical TWDM-PON network architecture is shown in Figure 1. The following is an example of the architecture.
OLT为 PON系统提供网络侧接口, 连接一个或多个 ODN。 ODN是无源 分光器件, 用于连接 OLT设备和 ONU 或者光网络终端 (Optical Network Terminal, ONT )设备, 用于分发或复用 OLT和 ONU或者 ONT之间的数据 信号。 ONU为 PON系统提供用户侧接口, 与 ODN相连。 如果 ONU直接提 供用户端口功能,如 PC上网用的以太网用户端口,则称为 ONT。无特殊说明, 下文提到的 ONU统指 ONU和 ONT。图 1以 OLT包含有 4个光发射机 Txl~Tx4 及 4个接收机 Rxl~Rx4为例。  The OLT provides a network side interface to the PON system, connecting one or more ODNs. The ODN is a passive optical splitting device for connecting an OLT device and an ONU or Optical Network Terminal (ONT) device for distributing or multiplexing data signals between the OLT and the ONU or ONT. The ONU provides a user-side interface to the PON system and is connected to the ODN. If the ONU directly provides user port functions, such as Ethernet user ports for PC Internet access, it is called ONT. Unless otherwise stated, the ONUs mentioned below refer to ONUs and ONTs. Figure 1 shows an example in which the OLT includes four optical transmitters Txl~Tx4 and four receivers Rxl~Rx4.
在 TWDM-PON系统中, 从 OLT到 ONU称为下行; 反之, 从 ONU到 OLT为上行。 上行方向和下行方向各有多个( > 1 ) 波长, 图 1中 支设上行和 下行各有 4个波长, 以 WDM方式共存, 互相不干扰。  In the TWDM-PON system, the OLT to the ONU is called downlink; on the contrary, from the ONU to the OLT is uplink. There are multiple ( > 1 ) wavelengths in the uplink and downlink directions. In Figure 1, there are four wavelengths in the uplink and downlink, which coexist in WDM mode and do not interfere with each other.
在下行方向上, OLT的 4个光发射机 Txl~Tx4, 分别以不同波长的光信 号广播下行数据, 通过波长复用器 /解复用器、 WDM耦合器后输出到 ODN的 主干光纤, 经 ODN传输到各个 ONU, ONU使用可调接收机, 在其中一个下 行波长上接收下行广播数据信号。  In the downlink direction, the four optical transmitters Txl~Tx4 of the OLT broadcast downlink data with optical signals of different wavelengths respectively, and output them to the backbone fiber of the ODN through the wavelength multiplexer/demultiplexer and the WDM coupler, through the ODN. Transmitted to each ONU, the ONU uses a tunable receiver to receive downlink broadcast data signals on one of the downstream wavelengths.
在上行方向上, ONU 的可调发射机使用其中一个上行波长, 以 TDMA ( Time Division Multiple Access , 时分多址 )方式发射突发光信号, 经过 ODN 的主干光纤到达 OLT, 经 OLT的 WDM耦合器和波长解复用器, 不同波长的 光信号分别由 4个不同的接收机 Rxl~Rx4接收。同一上行波长上的各个 ONU, 采用 TDMA方式传输数据, 即通过 OLT为每个 ONU分配时隙, 各个 ONU 必须严格按照 OLT分配的时隙发送数据, 从而保证上行数据不发生沖突。  In the upstream direction, the ONU's tunable transmitter uses one of the upstream wavelengths to transmit burst optical signals in TDMA (Time Division Multiple Access), and passes through the ODN backbone fiber to the OLT, via the OLT's WDM coupler. And the wavelength demultiplexer, the optical signals of different wavelengths are respectively received by four different receivers Rxl~Rx4. Each ONU on the same upstream wavelength uses TDMA to transmit data. That is, the OLT allocates time slots to each ONU. Each ONU must send data in strict accordance with the time slot allocated by the OLT to ensure that uplink data does not conflict.
实际 TWDM-PON网络中, 可能的网络拓朴结构可以为: 有一个 OLT机 架(chassis ), 多个 PON口 (port )都在一块板卡(linecard )上, 通过波长复 用器件与 ODN连接; 或者, 有一个 OLT机架及多块板卡, 每块板卡有至少一 个 PON口, 多个 PON口通过波长复用器件与 ODN连接;, 又或者, 有至少 两个 OLT机架, 每个 OLT机架有多块板卡, 每块板卡有至少一个 PON口, 多个 PON口通过波长复用器件与 ODN连接。 In an actual TWDM-PON network, the possible network topology may be: There is an OLT chassis, and multiple PON ports are on a linecard, and are connected to the ODN through a wavelength multiplexing device. Or, there is an OLT rack and multiple boards, each board has at least one PON port, and multiple PON ports are connected to the ODN through wavelength multiplexing devices; or, there are at least two OLT racks, each Each OLT rack has multiple boards, and each board has at least one PON port. A plurality of PON ports are connected to the ODN through a wavelength multiplexing device.
OLT板卡有两种端口, 一种是网络侧端口, 与 ETH (Ethernet,以太网)或者 IP网络或者异步传输模式( Asynchronous Transfer Mode, ATM ) /同步数字体系 ( synchronous digital hierarchy, SDH )网给连接; 另一种是 PON口,通过 ODN 与各 ONU连接。 同一个 OLT板卡上的不同 PON口, 可以通过 OLT板卡内部 总线进行通信; 同一个 OLT机架上的不同 OLT板卡之间, 可以通过其网络侧 端口, 通过机架的背板总线通信; 不同 OLT机架的 OLT板卡, 可以通过与机 架连接的 ETH网络或者 IP网络 ATM网络等络通信。  The OLT board has two ports, one is a network side port, and is connected to an ETH (Ethernet) or IP network or an Asynchronous Transfer Mode (ATM)/Synchronous Digital Hierarchy (SDH) network. The other is the PON port, which is connected to each ONU through the ODN. Different PON ports on the same OLT board can communicate through the internal bus of the OLT board; between different OLT boards on the same OLT rack, they can communicate through the backplane bus of the rack through their network side ports. OLT boards of different OLT racks can communicate through the ETH network connected to the rack or the ATM network of the IP network.
为了兼容不同网络下对波长的识别方法,如图 2所示, 本发明实施例提供 了一种波长识别方法。该方法应用于 TWDM-PON网络, 所述 TWDM-PON网 络包括: OLT和第一 ONU, 所述 OLT包括: 域控制器和第一端口控制器; 或 者, 所述 OLT包括: 域间控制器和第一端口控制器, 当所述第一光网络单元 请求进行波长分配时, 所述方法具体包括以下步骤:  In order to be compatible with the method for identifying wavelengths in different networks, as shown in FIG. 2, an embodiment of the present invention provides a wavelength identification method. The method is applied to a TWDM-PON network, where the TWDM-PON network includes: an OLT and a first ONU, the OLT includes: a domain controller and a first port controller; or the OLT includes: an inter-domain controller and The first port controller, when the first optical network unit requests to perform wavelength allocation, the method specifically includes the following steps:
步骤 201、 第一端口控制器接收域控制器或域间控制器发送的第一报文, 其中, 所述第一报文至少包括: 第一波长标签; 其中, 所述第一报文为所述域 控制器与所述第一端口控制器之间通信使用的报文, 或者, 所述第一报文为所 述域间控制器与所述第一端口控制器之间通信使用的报文;  Step 201: The first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first packet includes at least: a first wavelength label, where the first packet is Decoding a message used for communication between the domain controller and the first port controller, or the first packet is a message used for communication between the inter-domain controller and the first port controller ;
所述域控制器在物理实现方式上可以是 0LT上设置的一个功能模块, 具 体地, 可以是一个软件应用程序模块。  The physical controller may be a functional module set on the 0LT, and may be a software application module.
域间控制器负责协调各个域控制器的公共活动。 这些公共活动包括, 流氓 The interdomain controller is responsible for coordinating the public activities of the various domain controllers. These public activities include, rogue
0NU的分析和消除, 光网络测试和故障定位。 域间控制器在物理实现方式上 可以位于 0LT上、没有直接与 0DN连接的光口,可以实现对各个域控制器的 波长管理。 通常, 域间控制器并不直接向 OLT端口控制器发送网络报文, 域 间控制器将网络 文发送至相应的域控制器,由该域控制器将网络 文转发至 相应 OLT端口控制器, 即第一端口控制器。 0NU analysis and elimination, optical network testing and fault location. The inter-domain controller can be located on the 0LT and has no optical port directly connected to the 0DN. The wavelength management of each domain controller can be implemented. Generally, the inter-domain controller does not directly send network packets to the OLT port controller, and the inter-domain controller sends the network text to the corresponding domain controller, and the domain controller forwards the network text to the corresponding OLT port controller. That is, the first port controller.
当不同 OLT板卡之间需要通过 ETH或者 IP或者 ATM或者 SDH等网络 通信时,域控制器或域间控制器向第一端口控制器发送第一报文, 该第一报文 采用波长标签的方式进行波长标识, 在所述第一 文中携带有波长标签。  The domain controller or the inter-domain controller sends the first packet to the first port controller when the OLT or the network is required to communicate with the network through the ETH or the IP or the ATM or the SDH. The first packet is a wavelength label. The method performs wavelength identification, and carries a wavelength label in the first text.
步骤 202、 所述第一端口控制器根据所述第一报文的第一波长标签, 获取 所述第一光网络单元的第一波长标识; Step 202: The first port controller acquires according to the first wavelength label of the first packet. a first wavelength identifier of the first optical network unit;
第一端口控制器接收到所述第一报文,可以识别出携带在所述第一报文中 的波长标签字段, 进而可以根据该波长标签字段, 获取对应的第一波长标识, 所述第一波长标识用于标识所述第一光网络单元发送光信号给所述光线路终 端所采用的波长。  Receiving, by the first port controller, the first packet, the wavelength label field carried in the first packet, and obtaining a corresponding first wavelength identifier according to the wavelength label field, where A wavelength identifier is used to identify a wavelength used by the first optical network unit to transmit an optical signal to the optical line terminal.
步骤 203、 所述第一端口控制器发送第二报文给所述第一光网络单元, 所 述第二报文至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为 第一端口控制器与第一光网络单元之间通信使用的报文,所述第一波长标识用 于标识所述第一光网络单元发送光信号给所述光线路终端所采用的波长。  Step 203: The first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; The packet is a packet used for communication between the first port controller and the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the optical line terminal. wavelength.
第一端口控制器将第一波长标识写入第二报文中,将所述第二报文发送至 与 ODN网络连接的第一 ONU。 从而, 所述第一 ONU采用所述第一波长标识 所标识的波长给所述 OLT发送光信号。  The first port controller writes the first wavelength identifier into the second packet, and sends the second packet to the first ONU connected to the ODN network. Therefore, the first ONU sends an optical signal to the OLT by using the wavelength identified by the first wavelength identifier.
上述实施例中, 域控制器或域间控制器向 OLT端口控制器发送第一报文 时, 在所述第一报文帧结构中携带有波长标签字段, 接收到所述第一报文的 OLT端口控制器能够根据所述波长标签字段,获取对应的波长标识,进而将所 述波长标识写入发送至 ONU的第二报文帧结构, 可见, 通过第一报文帧结构 中的波长标签字段, 可以对应得到用于第二 文帧结构的波长标识,使得第一 报文在传输过程中兼容了第二网络中波长的识别方法。  In the foregoing embodiment, when the domain controller or the inter-domain controller sends the first packet to the OLT port controller, the first packet frame structure carries a wavelength label field, and the first packet is received. The OLT port controller is configured to obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier into a second packet frame structure sent to the ONU, where the wavelength label in the first message frame structure is visible. The field may be corresponding to the wavelength identifier used in the second frame structure, so that the first message is compatible with the wavelength identification method in the second network during the transmission process.
为了便于对本发明进一步的理解,下面结合本发明的具体实施方式对本发 明进行详细描述。  The present invention will be described in detail below in conjunction with the specific embodiments of the invention.
在本发明的一个优选实施例中, 上述步骤 202 的实现可以为以下两种方 式:  In a preferred embodiment of the present invention, the implementation of the foregoing step 202 may be as follows:
( 1 )所述第一端口控制器根据所述第一报文的第一波长标签, 查找第一 波长转换表, 获取与所述第一波长标签对应的第一波长标识; 其中, 所述第一 波长转换表包括: 第一波长标签与第一波长标识的对应关系;  (1) The first port controller searches the first wavelength conversion table according to the first wavelength label of the first packet, and acquires a first wavelength identifier corresponding to the first wavelength label. The wavelength conversion table includes: a correspondence between the first wavelength label and the first wavelength identifier;
或者,  Or,
( 2 )所述第一端口控制器根据所述第一报文的第一波长标签, 查找第一 波长转换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转 换表包括: 第一波长标签与第一波长值的对应关系; 所述第一端口控制器根据所述第一波长值 ,获取与所述第一波长值对应的 第一波长标识。 (2) The first port controller searches the first wavelength conversion table according to the first wavelength label of the first packet, and obtains a first wavelength value corresponding to the wavelength label; wherein, the first wavelength The conversion table includes: a correspondence between the first wavelength label and the first wavelength value; The first port controller acquires a first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
该实施例中, 所述第一端口控制器预置有第一波长转换表, 如下面表 1 所示,该第一波长转换表可以包括:第一波长标签与第一波长标识的对应关系, 或者, 第一波长标签与第一波长值的对应关系。  In this embodiment, the first port controller is preset with a first wavelength conversion table. As shown in the following Table 1, the first wavelength conversion table may include: a correspondence between the first wavelength label and the first wavelength identifier. Or a correspondence between the first wavelength label and the first wavelength value.
因此,所述第一端口控制器可以根据第一波长标签与第一波长标识的对应 关系, 直接获取与所述第一波长标签对应的第一波长标识; 或者, 根据第一波 长标签与第一波长值的对应关系, 首先获取与所述波长标签对应的第一波长 值, 进而获取与所述第一波长值对应的第一波长标识。  Therefore, the first port controller may directly acquire the first wavelength identifier corresponding to the first wavelength label according to the correspondence between the first wavelength label and the first wavelength label; or, according to the first wavelength label and the first Corresponding relationship between the wavelength values first acquires a first wavelength value corresponding to the wavelength label, and further acquires a first wavelength identifier corresponding to the first wavelength value.
表 1 第一波长转换表  Table 1 First wavelength conversion table
Figure imgf000012_0001
Figure imgf000012_0001
波长标签值可以根据波长标签字段中 Grid、 Channel Spacing和 n子字段 携带数值确定, 波长值可以通过 THZ频率的方式表示, 也可以通过纳米为单 位进行表示。 其中,  The value of the wavelength label can be determined according to the values of the Grid, Channel Spacing and n subfields in the wavelength label field. The wavelength value can be expressed by the THZ frequency or by the nanometer. among them,
Grid子字段表示该波长标签所描述的波长所遵循的 ITU-T grid (网格)定 义,如其值为 1表示是 ITU-T DWDM网格,其值为 2表示是 ITU-T CWDM网 格;  The Grid subfield indicates the ITU-T grid definition followed by the wavelength described by the wavelength label, such as a value of 1 indicating an ITU-T DWDM grid and a value of 2 indicating an ITU-T CWDM grid;
Channel Spacing子字段表示该波长标签所描述的波长与其它波长的间隔, 当 Grid子字段的值为 1时, Channel Spacing子字段的值为 1表示通道间隔为 100GHz, Channel Spacing子字段的值为 2表示通道间隔为 50GHz, Channel Spacing子字段的值为 5表示通道间隔为 200GHz; 当 Grid子字段的值为 2时, Channel Spacing子字段的值为 1表示通道间 P鬲为 20 匪;  The Channel Spacing subfield indicates the interval between the wavelength described by the wavelength label and other wavelengths. When the value of the Grid subfield is 1, the value of the Channel Spacing subfield is 1 indicating that the channel spacing is 100 GHz, and the value of the Channel Spacing subfield is 2. Indicates that the channel spacing is 50 GHz, the value of the Channel Spacing subfield is 5, and the channel spacing is 200 GHz. When the value of the Grid subfield is 2, the value of the Channel Spacing subfield is 1 to indicate that the channel P鬲 is 20 匪;
n子字段表示二进制补码的整数 (包括正整数、 负整数或 0 )。  The n subfield represents a two's complement integer (including a positive integer, a negative integer, or 0).
根据下面公式, 可以得到相应的波分复用器工作中心波长及频率: 才艮据波长 (nm) = 1471nm + n x channel spacing (1) 当 Grid = 2, Channel Spacing = 1, n = -7, 则该波长标签表示的波长是 ITU-T CWDM波长, 波长 =1471 ( nm ) + ( -7 ) 20 ( nm ) = 1331nm; According to the following formula, the wavelength and frequency of the corresponding wavelength division multiplexer working center can be obtained: According to the wavelength (nm) = 1471nm + n x channel spacing (1) When Grid = 2, Channel Spacing = 1, n = -7, the wavelength indicated by the wavelength label is ITU-T CWDM wavelength, wavelength = 1471 ( Nm ) + ( -7 ) 20 ( nm ) = 1331 nm;
根据频率 (THz) = 193.1THz + n xchannel spacing (2)  According to the frequency (THz) = 193.1THz + n xchannel spacing (2)
当 Grid = 1, Channel Spacing = 2, n = 5, 则该波长标签表示的波长是 ITU-T When Grid = 1, Channel Spacing = 2, n = 5, the wavelength indicated by the wavelength label is ITU-T
DWDM波长, 一般用频率表示(频率与波长可以互相转换), 频率 =193.1 THz +5 50GHz = 193.35THz„ DWDM wavelength, generally expressed in frequency (frequency and wavelength can be converted to each other), frequency =193.1 THz +5 50GHz = 193.35THz
当所述域控制器或域间控制器得到波长标签值之后,根据所述波长映射关 系,可以获得对应的波长 ID值。将所述波长 ID值以波长信息字段的方式预先 写入波长标签字段中的保留子字段中。如图 3所示, 为携带波长信息字段的波 长标签字段示意图。  After the domain controller or the inter-domain controller obtains the wavelength label value, according to the wavelength mapping relationship, a corresponding wavelength ID value can be obtained. The wavelength ID value is pre-written in the reserved subfield in the wavelength label field in the form of a wavelength information field. As shown in FIG. 3, it is a schematic diagram of a wavelength label field carrying a wavelength information field.
图 3中, 波长标签字段的原保留 (Reserved )子字段划分为以下三部分子 字段: Direction, Reserved和 wavelength ID。  In Figure 3, the Reserved Subfield of the Wavelength Label field is divided into the following three subfields: Direction, Reserved, and wavelength ID.
其中, Direction (方向)子字段包括 1个比特, 用于标识波长标签所代表 的波长是上行波长还是下行波长, 具体实施时, 可以设置 Direction=0, 表示波 长为下行波长; Direction=l , 表示波长为上行波长;  The Direction sub-field includes 1 bit, which is used to identify whether the wavelength represented by the wavelength label is an upstream wavelength or a downlink wavelength. In specific implementation, Direction=0 can be set to indicate that the wavelength is a downlink wavelength; Direction=l , The wavelength is the upstream wavelength;
Reserved (保留)子字段包括( 8-z ) 个比特, 可填 0, 接收端不处理; wavelength ID (波长标识)子字段包括 z个比特( z > 1 ), 设置与波长标 签字段对应的波长信息字段。  The Reserved subfield contains (8z) bits, which can be filled with 0, and the receiving end does not process; the wavelength ID (wavelength identification) subfield includes z bits (z > 1), and the wavelength corresponding to the wavelength label field is set. Information field.
该实现方式中,所述域控制器或域间控制器发送的第一报文中实际同时携 带了波长标签字段和波长信息字段。  In this implementation manner, the first packet sent by the domain controller or the inter-domain controller actually carries the wavelength label field and the wavelength information field at the same time.
接收该第一报文的第一端口控制器通过识别所述波长标签字段中的保留 子字段, 可以直接提取出所述保留子字段中预置的对应的波长标识, 进而获得 相应的波长信息。  The first port controller that receives the first packet can directly extract the corresponding wavelength identifier preset in the reserved subfield by identifying the reserved subfield in the wavelength label field, and obtain corresponding wavelength information.
在本发明提供的另一个实施例中, 所述第一报文至少还可以包括: 第二波 长标签, 所述第一端口控制器可以根据所述第一报文的第二波长标签字段, 获 取所述第一光网络单元的第二波长标识,所述第二波长标识用于标识所述第一 光网络单元接收所述光线路终端发送的光信号所采用的波长。  In another embodiment of the present invention, the first packet may further include: a second wavelength label, where the first port controller may obtain according to the second wavelength label field of the first packet. a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
进而, 所述第二报文至少还可以包括: 所述第一光网络单元的第二波长标 识。 Further, the second packet may further include: a second wavelength label of the first optical network unit Knowledge.
该实施例中, 所述第一端口控制器根据所述第一报文的第二波长标签字 段,获取所述第一光网络单元的第二波长标识,其实现具体包括以下两种方式: In this embodiment, the first port controller acquires the second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet, and the implementation includes the following two manners:
( 1 )所述第一端口控制器根据所述第二报文的第二波长标签字段, 查找 第一波长转换表, 获取与所述第二波长标签字段对应的第二波长标识; 其中, 所述第一波长转换表包括: 第二波长标签字段与第二波长标识的对应关系; 或者, (1) The first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and obtains a second wavelength identifier corresponding to the second wavelength label field; The first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength identifier; or
( 2 )所述第一端口控制器根据所述第一报文的第二波长标签字段, 查找 第一波长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所 述第一波长转换表包括: 第二波长标签字段与第二波长值的对应关系;  (2) the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field; The first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength value;
所述第一端口控制器根据所述第二波长值,获取与所述第二波长值对应的 第二波长标识。 相应上述波长识别方法, 在本发明另一个实施例中,从域控制器或者域间 控制器一侧描述了该波长识别方法, 该方法同样应用在时分-波分复用无源光 网络系统中, 所述时分 -波分复用无源光网络系统包括: 光线路终端和光网络 单元, 所述光线路终端包括: 域控制器和第一端口控制器; 或者, 所述光线路 终端包括: 域间控制器和第一端口控制器, 如图 4所示, 所述方法包括:  The first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value. Corresponding to the above wavelength identification method, in another embodiment of the present invention, the wavelength identification method is described from a domain controller or an inter-domain controller side, and the method is also applied in a time division-wavelength division multiplexing passive optical network system. The time-division-wavelength-multiplexed passive optical network system includes: an optical line terminal and an optical network unit, where the optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes: The inter-controller and the first port controller, as shown in FIG. 4, the method includes:
步骤 401、 当所述第一光网络单元请求进行波长分配时, 所述域控制器或 者所述域间控制器根据所述请求,为所述第一光网络单元分配第一波长标识或 者第一波长值; 其中, 所述第一波长标识或者第一波长值用于标识所述第一光 网络单元发送光信号给所述光线路终端所采用的波长;  Step 401: When the first optical network unit requests to perform wavelength allocation, the domain controller or the inter-domain controller allocates a first wavelength identifier or first to the first optical network unit according to the request. a wavelength value; wherein the first wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to transmit an optical signal to the optical line terminal;
步骤 402、 所述域控制器或者所述域间控制器根据所述第一波长标识或者 第一波长值, 获取第一波长标签;  Step 402: The domain controller or the inter-domain controller acquires a first wavelength label according to the first wavelength identifier or a first wavelength value.
步骤 403、 所述域控制器或者所述域间控制器根据所述第一波长标签, 生 成第一报文;  Step 403: The domain controller or the inter-domain controller generates a first packet according to the first wavelength label.
步骤 404、 所述域控制器或者所述域间控制器将所述第一报文发送给第一 端口控制器。  Step 404: The domain controller or the inter-domain controller sends the first packet to the first port controller.
该实施例中,域控制器或域间控制器向 OLT端口控制器发送第一报文时, 在所述第一报文帧结构中携带有波长标签字段, 接收到所述第一报文的 OLT 端口控制器能够根据所述波长标签字段, 获取对应的波长标识, 进而将所述波 长标识写入发送至 ONU的第二报文帧结构, 可见, 通过第一报文帧结构中的 波长标签字段, 可以对应得到用于第二报文帧结构的波长标识,使得第一报文 在传输过程中兼容了第二网络中波长的识别方法。 In this embodiment, when the domain controller or the inter-domain controller sends the first packet to the OLT port controller, The first packet frame structure carries a wavelength label field, and the OLT port controller that receives the first packet can obtain a corresponding wavelength identifier according to the wavelength label field, and then write the wavelength identifier. In the second packet frame structure sent to the ONU, it can be seen that the wavelength label of the second message frame structure can be correspondingly obtained by using the wavelength label field in the first message frame structure, so that the first packet is in the transmission process. It is compatible with the identification method of the wavelength in the second network.
需要说明的是,所述域控制器或者所述域间控制器根据所述第一波长标识 或者第一波长值, 获取第一波长标签, 具体包括:  It is to be noted that, the domain controller or the inter-domain controller acquires the first wavelength label according to the first wavelength identifier or the first wavelength value, and specifically includes:
所述域控制器或者所述域间控制器根据所述第一波长标识或者第一波长 值, 查找第一波长转换表, 获取与所述第一波长标识或者所述第一波长值对应 的第一波长标签的值; 其中, 所述第一波长转换表至少包括: 所述第一波长标 识与所述第一波长标签的对应关系; 或者, 所述第一波长转换表至少包括: 所 述第一波长值与所述第一波长标签的对应关系。  Determining, by the domain controller or the inter-domain controller, the first wavelength conversion table according to the first wavelength identifier or the first wavelength value, and acquiring the first wavelength identifier or the first wavelength value a value of a wavelength label; wherein, the first wavelength conversion table at least includes: a correspondence between the first wavelength identifier and the first wavelength label; or the first wavelength conversion table at least: A correspondence between a wavelength value and the first wavelength label.
本发明实施例中,所述第一波长标签由所述域控制器或域间控制器根据预 置预先写入第一报文中。  In the embodiment of the present invention, the first wavelength label is pre-written in the first packet by the domain controller or the inter-domain controller according to the preset.
所述波长标签至少包括以下字段: Grid, channel和 n。  The wavelength label includes at least the following fields: Grid, channel and n.
所述域控制器或域间控制器预置有如表 1所示的第一波长转换表,所述域 控制器或者域间控制器可以根据所述第一波长标识或者第一波长值,查找第一 波长转换表,获取与所述第一波长标识或者所述第一波长值对应的第一波长标 签的值。 波长标签值可以根据波长标签字段中 Grid、 Channel Spacing和 n子 字段携带数值确定。前面对波长标签各个子字段已有详细介绍, 此处不再进行 赘述。 相应上述方法实施例, 本发明还提供了一种端口控制装置,应用于光线路 终端, 如图 5所示, 具体包括:  The domain controller or the inter-domain controller is preset with a first wavelength conversion table as shown in Table 1, and the domain controller or the inter-domain controller may search for the first wavelength identifier or the first wavelength value. And a wavelength conversion table, acquiring a value of the first wavelength label corresponding to the first wavelength identifier or the first wavelength value. The wavelength tag value can be determined by carrying values based on the Grid, Channel Spacing, and n subfields in the Wavelength Label field. The sub-fields of the wavelength label have been described in detail above, and will not be described here. Corresponding to the foregoing method embodiments, the present invention further provides a port control device, which is applied to an optical line terminal, as shown in FIG. 5, and specifically includes:
第一报文接收单元 501 , 用于当光网络单元请求进行波长分配时, 接收域 控制器或域间控制器发送的第一报文, 其中, 所述第一报文为与所述域控制器 或域间控制器之间通信使用的报文, 所述第一报文至少包括: 第一波长标签; 第一波长标识获取单元 502, 用于根据所述第一报文的第一波长标签, 获 取所述光网络单元的第一波长标识; 第二报文发送单元 503 , 用于发送第二报文给所述光网络单元, 所述第二 报文至少包括: 所述光网络单元的第一波长标识; 所述第二报文为与所述光网 络单元之间通信使用的报文,所述第一波长标识用于标识所述光网络单元发送 光信号所采用的波长。 The first packet receiving unit 501 is configured to: when the optical network unit requests to perform wavelength allocation, receive the first packet sent by the domain controller or the inter-domain controller, where the first packet is controlled by the domain The first packet includes: a first wavelength label; the first wavelength identifier acquiring unit 502, configured to use, according to the first wavelength label of the first packet, the packet used by the device or the inter-domain controller. Obtaining a first wavelength identifier of the optical network unit; a second packet sending unit 503, configured to send a second packet to the optical network unit, where the second packet includes: at least: a first wavelength identifier of the optical network unit; a packet used for communication between the optical network units, where the first wavelength identifier is used to identify a wavelength used by the optical network unit to transmit an optical signal.
该装置实施例提供的端口控制装置,接收域控制器或域间控制器发送的第 一报文, 所述第一报文帧结构中携带有波长标签字段, 能够根据所述波长标签 字段, 获取对应的波长标识, 进而将所述波长标识写入发送至 ONU的第二报 文帧结构, 可见, 通过第一报文帧结构中的波长标签字段, 可以对应得到用于 第二报文帧结构的波长标识,使得第一报文在传输过程中兼容了第二网络中波 长的识别方法。  The port control device provided by the device embodiment receives the first packet sent by the domain controller or the inter-domain controller, where the first packet frame structure carries a wavelength label field, which can be obtained according to the wavelength label field. Corresponding wavelength identifier, and then the wavelength identifier is written into the second message frame structure sent to the ONU, and the frame label structure in the first message frame structure can be correspondingly obtained for the second message frame structure. The wavelength identifier is such that the first message is compatible with the wavelength identification method in the second network during transmission.
在本发明的一个优选装置实施例中, 如图 6所示, 所述第一波长标识获取 单元 502, 具体包括:  In a preferred apparatus embodiment of the present invention, as shown in FIG. 6, the first wavelength identifier acquiring unit 502 specifically includes:
第一查找模块 601 , 用于根据所述第一报文的第一波长标签, 查找第一波 长转换表, 其中, 所述第一波长转换表包括: 第一波长标签与第一波长标识的 对应关系;  The first search module 601 is configured to: search, according to the first wavelength label of the first packet, the first wavelength conversion table, where the first wavelength conversion table includes: corresponding to the first wavelength label and the first wavelength identifier Relationship
第一获取模块 602, 用于获取与所述第一波长标签对应的第一波长标识; 或者,  The first obtaining module 602 is configured to acquire a first wavelength identifier corresponding to the first wavelength label; or
第二查找模块 603 , 用于根据所述第一报文的第一波长标签, 查找第一波 长转换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转换 表包括: 第一波长标签与第一波长值的对应关系;  The second search module 603 is configured to: search the first wavelength conversion table according to the first wavelength label of the first packet, and obtain a first wavelength value corresponding to the wavelength label; wherein, the first wavelength conversion table The method includes: a correspondence between a first wavelength label and a first wavelength value;
第二获取模块 604, 用于根据所述第一波长值, 获取与所述第一波长值对 应的第一波长标识。  The second obtaining module 604 is configured to obtain, according to the first wavelength value, a first wavelength identifier corresponding to the first wavelength value.
在另一个优选实施例中, 所述第一报文至少还包括: 第二波长标签, 则如 图 7所示, 所述装置还包括:  In another preferred embodiment, the first packet further includes: a second wavelength label, and as shown in FIG. 7, the apparatus further includes:
第二波长标识获取单元 504,用于根据所述第一报文的第二波长标签字段, 获取所述第一光网络单元的第二波长标识。  The second wavelength identifier obtaining unit 504 is configured to obtain the second wavelength identifier of the first optical network unit according to the second wavelength label field of the first packet.
贝' J , 所述第二报文发送单元还用于:  The second message sending unit is further configured to:
在所述第二报文中至少还包括: 所述第一光网络单元的第二波长标识, 所 述第二波长标识用于标识所述第一光网络单元接收所述光线路终端发送的光 信号所采用的波长, The second packet further includes: a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify that the first optical network unit receives the light sent by the optical line terminal The wavelength used by the signal,
具体实施时, 如图 8所示, 所述第二波长标识获取单元 504, 具体包括: 第三查找模块 801 , 用于根据所述第二报文的第二波长标签字段, 查找第 一波长转换表, 其中, 所述第一波长转换表包括: 第二波长标签字段与第二波 长标识的对应关系;  In a specific implementation, as shown in FIG. 8, the second wavelength identifier acquiring unit 504 specifically includes: a third searching module 801, configured to search for a first wavelength conversion according to a second wavelength label field of the second packet The first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength identifier;
第三获取模块 802, 用于获取与所述第二波长标签字段对应的第二波长标 识;  a third obtaining module 802, configured to acquire a second wavelength identifier corresponding to the second wavelength label field;
或者,  Or,
第四查找模块 803 , 用于根据所述第一报文的第二波长标签字段, 查找第 一波长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述 第一波长转换表包括: 第二波长标签字段与第二波长值的对应关系;  The fourth search module 803 is configured to search the first wavelength conversion table according to the second wavelength label field of the first packet, and obtain a second wavelength value corresponding to the second wavelength label field. The wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value;
第四获取模块 804, 用于根据所述第二波长值, 获取与所述第二波长值对 应的第二波长标识。 相应上述端口控制装置, 本发明还提供了一种域控制装置,应用于光线路 终端, 如图 9所示, 包括:  The fourth obtaining module 804 is configured to obtain, according to the second wavelength value, a second wavelength identifier corresponding to the second wavelength value. Corresponding to the above port control device, the present invention further provides a domain control device, which is applied to an optical line terminal, as shown in FIG. 9, and includes:
第一分配单元 901 , 用于当第一光网络单元请求进行波长分配时, 根据所 述请求, 为所述第一光网络单元分配第一波长标识或者第一波长值; 其中, 所 述第一波长标识或者第一波长值用于标识所述第一光网络单元发送光信号给 所述光线路终端所采用的波长;  a first allocation unit 901, configured to allocate, according to the request, a first wavelength identifier or a first wavelength value according to the request, when the first optical network unit requests to perform wavelength allocation, where the first The wavelength identifier or the first wavelength value is used to identify a wavelength used by the first optical network unit to send an optical signal to the optical line terminal;
第一波长标签获取单元 902,用于根据所述第一波长标识或者第一波长值, 获取第一波长标签;  The first wavelength label obtaining unit 902 is configured to acquire the first wavelength label according to the first wavelength identifier or the first wavelength value;
第一报文生成单元 903 , 根据所述第一波长标签, 生成第一报文; 第一报文发送单元 904, 用于将所述第一报文发送给第一端口控制器。 本发明提供的域控制装置, 向 OLT端口控制器发送第一报文时, 在所述 第一报文帧结构中携带有波长标签字段, 接收到所述第一报文的 OLT端口控 制器能够根据所述波长标签字段, 获取对应的波长标识, 进而将所述波长标识 写入发送至 ONU的第二报文帧结构, 可见, 通过第一报文帧结构中的波长标 签字段, 可以对应得到用于第二报文帧结构的波长标识,使得第一报文在传输 过程中兼容了第二网络中波长的识别方法。 The first packet generating unit 903 generates a first packet according to the first wavelength label, and the first packet sending unit 904 is configured to send the first packet to the first port controller. When the first packet is sent to the OLT port controller, the domain control device of the present invention carries a wavelength label field in the first packet frame structure, and the OLT port controller that receives the first packet can Obtaining a corresponding wavelength identifier according to the wavelength label field, and then writing the wavelength identifier to a second packet frame structure sent to the ONU, where the wavelength label field in the first message frame structure can be correspondingly obtained. The wavelength identifier used in the frame structure of the second packet, so that the first packet is transmitted. The process is compatible with the identification method of the wavelength in the second network.
一个优选实施例中, 如图 10所示, 所述第一波长标签获取单元 902, 具 体包括:  In a preferred embodiment, as shown in FIG. 10, the first wavelength label acquiring unit 902 includes:
第五查找模块 1001 , 用于根据所述第一波长标识, 查找第一波长转换表, 其中, 所述第一波长转换表至少包括: 所述第一波长标识与所述第一波长标签 的对应关系;  The fifth search module 1001 is configured to: search the first wavelength conversion table according to the first wavelength identifier, where the first wavelength conversion table at least includes: corresponding to the first wavelength identifier and the first wavelength label Relationship
第五获取模块 1002, 用于获取与所述第一波长标识对应的第一波长标签 的值; 或者,  The fifth obtaining module 1002 is configured to acquire a value of the first wavelength label corresponding to the first wavelength identifier; or
第六查找模块 1003 , 用于根据所述第一波长值, 查找第一波长转换表, 其中, 所述第一波长转换表至少包括: 所述第一波长值与所述第一波长标签的 对应关系;  The sixth search module 1003 is configured to: search the first wavelength conversion table according to the first wavelength value, where the first wavelength conversion table at least includes: corresponding to the first wavelength value and the first wavelength label Relationship
第六获取模块 1004, 用于获取与所述第一波长值对应的第一波长标签的 值。 相应地, 本发明还提供了一种波长识别系统, 应用在时分-波分复用无源 光网络系统中, 所述时分 -波分复用无源光网络系统包括: 光线路终端和光网 络单元, 当所述光网络单元请求进行波长分配时,  The sixth obtaining module 1004 is configured to obtain a value of the first wavelength label corresponding to the first wavelength value. Correspondingly, the present invention further provides a wavelength identification system for use in a time division-wavelength division multiplexing passive optical network system, wherein the time division-wavelength division multiplexing passive optical network system comprises: an optical line terminal and an optical network unit When the optical network unit requests wavelength assignment,
所述光线路终端, 用于根据第一波长标签, 获取所述第一光网络单元的第 一波长标识,所述第一波长标识用于标识所述第一光网络单元发送光信号给所 述光线路终端所采用的波长; 发送报文给所述第一光网络单元, 所述报文至少 包括: 所述第一光网络单元的第一波长标识;  The optical line terminal is configured to acquire, according to the first wavelength label, a first wavelength identifier of the first optical network unit, where the first wavelength identifier is used to identify that the first optical network unit sends an optical signal to the a wavelength used by the optical line terminal; sending a message to the first optical network unit, where the message includes at least: a first wavelength identifier of the first optical network unit;
所述光网络单元, 用于接收所述 文, 采用所述第一波长标识所标识的波 长发送光信号给所述光线路终端。  The optical network unit is configured to receive the text, and send an optical signal to the optical line terminal by using a wavelength identified by the first wavelength identifier.
具体地, 所述光线路终端, 包括: 域控制器和第一端口控制器; 或者, 所 述光线路终端包括: 域间控制器和第一端口控制器;  Specifically, the optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes: an inter-domain controller and a first port controller;
所述第一端口控制器接收所述域控制器或域间控制器发送的第一报文,其 中, 所述第一 文至少包括: 第一波长标签; 其中, 所述第一 文为所述域控 制器与所述第一端口控制器之间通信使用的报文, 或者, 所述第一报文为所述 域间控制器与所述第一端口控制器之间通信使用的报文; 所述第一端口控制器根据所述第一报文的第一波长标签,获取所述第一光 网络单元的第一波长标识; The first port controller receives the first packet sent by the domain controller or the inter-domain controller, where the first text includes at least: a first wavelength label, where the first text is the a message used for communication between the domain controller and the first port controller, or the first packet is a message used for communication between the inter-domain controller and the first port controller; Obtaining, by the first port controller, the first wavelength identifier of the first optical network unit according to the first wavelength label of the first packet;
所述第一端口控制器发送第二报文给所述第一光网络单元,所述第二报文 至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为第一端口控 制器与第一光网络单元之间通信使用的报文。  The first port controller sends a second packet to the first optical network unit, where the second packet includes: at least: a first wavelength identifier of the first optical network unit; A message used for communication between the first port controller and the first optical network unit.
此外, 所述第一报文至少还包括: 第二波长标签, 则所述第一端口控制器 根据所述第一报文的第二波长标签字段,获取所述第一光网络单元的第二波长 标识,所述第二波长标识用于标识所述第一光网络单元接收所述光线路终端发 送的光信号所采用的波长。  In addition, the first packet further includes: a second wavelength label, where the first port controller acquires the second optical network unit according to the second wavelength label field of the first packet a wavelength identifier, where the second wavelength identifier is used to identify a wavelength used by the first optical network unit to receive an optical signal sent by the optical line terminal.
需要说明的是,所述第一端口控制器根据所述第二报文的第二波长标签字 段,查找第一波长转换表,获取与所述第二波长标签字段对应的第二波长标识; 其中, 所述第一波长转换表包括: 第二波长标签字段与第二波长标识的对应关 系;  It is to be noted that, the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second packet, and acquires a second wavelength identifier corresponding to the second wavelength label field; The first wavelength conversion table includes: a correspondence between a second wavelength label field and a second wavelength identifier;
或者, 所述第一端口控制器根据所述第一报文的第二波长标签字段, 查找 第一波长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所 述第一波长转换表包括: 第二波长标签字段与第二波长值的对应关系; 所述第 一端口控制器根据所述第二波长值,获取与所述第二波长值对应的第二波长标 识。 以上所描述的装置、 系统实施例仅仅是示意性的, 其中所述作为分离部件 说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是 或者也可以不是物理模块, 即可以位于一个地方, 或者也可以分布到多个网络 模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方 案的目的。本领域普通技术人员在不付出创造性劳动的情况下, 即可以理解并 实施。  Or the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first packet, and obtains a second wavelength value corresponding to the second wavelength label field; The first wavelength conversion table includes: a correspondence between the second wavelength label field and the second wavelength value; the first port controller acquires a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value . The apparatus and system embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, ie It can be located in one place, or it can be distributed to multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment scheme. Those of ordinary skill in the art can understand and implement without any creative effort.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的,本文中所定义的一般原理可以在不脱离本发明实施例的精神或范围的情况 下, 在其它实施例中实现。 因此, 本发明实施例将不会被限制于本文所示的这 些实施例, 而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围 The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the embodiments of the invention. . Therefore, embodiments of the invention will not be limited to the one shown herein The embodiments are to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

权 利 要 求 Rights request
1、 一种波长识别方法, 应用在时分-波分复用无源光网络系统中, 所述时 分 -波分复用无源光网络系统包括: 光线路终端和第一光网络单元, 所述光线 路终端包括: 域控制器和第一端口控制器; 或者, 所述光线路终端包括: 域间 控制器和第一端口控制器, 其特征在于, 所述方法包括: 1. A wavelength identification method applied in a time division-wavelength division multiplexing passive optical network system. The time division-wavelength division multiplexing passive optical network system includes: an optical line terminal and a first optical network unit, the The optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes: an inter-domain controller and a first port controller, characterized in that the method includes:
当所述第一光网络单元请求进行波长分配时,第一端口控制器接收域控制 器或域间控制器发送的第一报文, 其中, 所述第一报文至少包括: 第一波长标 签; 其中, 所述第一报文为所述域控制器与所述第一端口控制器之间通信使用 的报文, 或者, 所述第一报文为所述域间控制器与所述第一端口控制器之间通 信使用的报文; When the first optical network unit requests wavelength allocation, the first port controller receives a first message sent by a domain controller or an inter-domain controller, where the first message at least includes: a first wavelength label. ; wherein, the first message is a message used for communication between the domain controller and the first port controller, or, the first message is a message used for communication between the inter-domain controller and the third port controller. Messages used for communication between one-port controllers;
所述第一端口控制器根据所述第一报文的第一波长标签,获取所述第一光 网络单元的第一波长标识; The first port controller obtains the first wavelength identifier of the first optical network unit according to the first wavelength label of the first message;
所述第一端口控制器发送第二报文给所述第一光网络单元,所述第二报文 至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为第一端口控 制器与第一光网络单元之间通信使用的报文,所述第一波长标识用于标识所述 第一光网络单元发送光信号给所述光线路终端所采用的波长。 The first port controller sends a second message to the first optical network unit, where the second message at least includes: a first wavelength identifier of the first optical network unit; the second message is A message used for communication between the first port controller and the first optical network unit. The first wavelength identifier is used to identify the wavelength used by the first optical network unit to send an optical signal to the optical line terminal.
2、根据权利要求 1所述的方法, 其特征在于, 所述第一端口控制器根据 所述第一 文的第一波长标签, 获取所述第一光网络单元的第一波长标识, 具 体包括: 2. The method according to claim 1, characterized in that, the first port controller obtains the first wavelength identification of the first optical network unit according to the first wavelength label of the first document, specifically including: :
所述第一端口控制器根据所述第一报文的第一波长标签,查找第一波长转 换表, 获取与所述第一波长标签对应的第一波长标识; 其中, 所述第一波长转 换表包括: 第一波长标签与第一波长标识的对应关系; 或者, The first port controller searches a first wavelength conversion table according to the first wavelength label of the first message, and obtains the first wavelength identifier corresponding to the first wavelength label; wherein, the first wavelength conversion The table includes: the corresponding relationship between the first wavelength label and the first wavelength identification; or,
所述第一端口控制器根据所述第一报文的第一波长标签,查找第一波长转 换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转换表包 括: 第一波长标签与第一波长值的对应关系; The first port controller searches a first wavelength conversion table according to the first wavelength label of the first message, and obtains the first wavelength value corresponding to the wavelength label; wherein, the first wavelength conversion table includes : The corresponding relationship between the first wavelength label and the first wavelength value;
所述第一端口控制器根据所述第一波长值,获取与所述第一波长值对应的 第一波长标识。 The first port controller obtains a first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
3、 根据权利要求 1所述的方法, 其特征在于, 所述第一报文至少还包括: 第二波长标签。 3. The method according to claim 1, characterized in that the first message further includes at least: a second wavelength label.
4、 根据权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述第一端口控制器根据所述第一报文的第二波长标签字段,获取所述第 一光网络单元的第二波长标识,所述第二波长标识用于标识所述第一光网络单 元接收所述光线路终端发送的光信号所采用的波长。 4. The method according to claim 3, characterized in that, the method further includes: the first port controller obtains the first optical network unit according to the second wavelength label field of the first message. The second wavelength identifier is used to identify the wavelength used by the first optical network unit to receive the optical signal sent by the optical line terminal.
5、 根据权利要求 3或 4所述的方法, 其特征在于, 所述第二报文至少还 包括: 所述第一光网络单元的第二波长标识。 5. The method according to claim 3 or 4, characterized in that the second message further includes at least: a second wavelength identifier of the first optical network unit.
6、 根据权利要求 4所述的方法, 其特征在于, 所述第一端口控制器根据 所述第一报文的第二波长标签字段, 获取所述第一光网络单元的第二波长标 识, 具体包括: 6. The method according to claim 4, characterized in that, the first port controller obtains the second wavelength identifier of the first optical network unit according to the second wavelength label field of the first message, Specifically include:
所述第一端口控制器根据所述第二报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长标识; 其中, 所述第 一波长转换表包括: 第二波长标签字段与第二波长标识的对应关系; 或者, 所述第一端口控制器根据所述第一报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系; The first port controller searches the first wavelength conversion table according to the second wavelength label field of the second message, and obtains the second wavelength identifier corresponding to the second wavelength label field; wherein, the first The wavelength conversion table includes: a correspondence relationship between the second wavelength label field and the second wavelength identifier; or, the first port controller searches the first wavelength conversion table according to the second wavelength label field of the first message, and obtains a second wavelength value corresponding to the second wavelength tag field; wherein, the first wavelength conversion table includes: a correspondence relationship between the second wavelength tag field and the second wavelength value;
所述第一端口控制器根据所述第二波长值,获取与所述第二波长值对应的 第二波长标识。 The first port controller obtains a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
7、 一种波长识别方法, 应用在时分-波分复用无源光网络系统中, 所述时 分 -波分复用无源光网络系统包括: 光线路终端和光网络单元, 所述光线路终 端包括: 域控制器和第一端口控制器; 或者, 所述光线路终端包括: 域间控制 器和第一端口控制器, 其特征在于, 所述方法包括: 7. A wavelength identification method applied in a time division-wavelength division multiplexing passive optical network system. The time division-wavelength division multiplexing passive optical network system includes: an optical line terminal and an optical network unit, and the optical line terminal It includes: a domain controller and a first port controller; or, the optical line terminal includes: an inter-domain controller and a first port controller, characterized in that the method includes:
当所述第一光网络单元请求进行波长分配时,所述域控制器或者所述域间 控制器根据所述请求,为所述第一光网络单元分配第一波长标识或者第一波长 值; 其中, 所述第一波长标识或者第一波长值用于标识所述第一光网络单元发 送光信号给所述光线路终端所采用的波长; When the first optical network unit requests wavelength allocation, the domain controller or the inter-domain controller allocates a first wavelength identifier or a first wavelength value to the first optical network unit according to the request; Wherein, the first wavelength identifier or first wavelength value is used to identify the wavelength used by the first optical network unit to send optical signals to the optical line terminal;
所述域控制器或者所述域间控制器根据所述第一波长标识或者第一波长 值, 获取第一波长标签; The domain controller or the inter-domain controller obtains the first wavelength label according to the first wavelength identifier or the first wavelength value;
所述域控制器或者所述域间控制器根据所述第一波长标签, 生成第一报 文; 所述域控制器或者所述域间控制器将所述第一报文发送给第一端口控制 器。 The domain controller or the inter-domain controller generates a first message according to the first wavelength label; The domain controller or the inter-domain controller sends the first message to the first port controller.
8、 根据权利要求 7所述的方法, 其特征在于, 所述域控制器或者所述域 间控制器根据所述第一波长标识或者第一波长值, 获取第一波长标签, 具体包 括: 8. The method according to claim 7, characterized in that the domain controller or the inter-domain controller obtains the first wavelength label according to the first wavelength identifier or the first wavelength value, specifically including:
所述域控制器或者所述域间控制器根据所述第一波长标识或者第一波长 值, 查找第一波长转换表, 获取与所述第一波长标识或者所述第一波长值对应 的第一波长标签的值; 其中, 所述第一波长转换表至少包括: 所述第一波长标 识与所述第一波长标签的对应关系; 或者, 所述第一波长转换表至少包括: 所 述第一波长值与所述第一波长标签的对应关系。 The domain controller or the inter-domain controller searches a first wavelength conversion table according to the first wavelength identification or the first wavelength value, and obtains the first wavelength conversion table corresponding to the first wavelength identification or the first wavelength value. The value of a wavelength label; wherein, the first wavelength conversion table at least includes: the corresponding relationship between the first wavelength identifier and the first wavelength label; or, the first wavelength conversion table at least includes: the first wavelength conversion table. A corresponding relationship between a wavelength value and the first wavelength label.
9、 根据权利要求 7所述的方法, 其特征在于, 所述波长标签至少包括以 下字段: Grid, channel和 ri。 9. The method according to claim 7, characterized in that the wavelength label includes at least the following fields: Grid, channel and ri.
10、 一种端口控制装置, 应用于光线路终端, 其特征在于, 包括: 第一报文接收单元, 用于当光网络单元请求进行波长分配时,接收域控制 器或域间控制器发送的第一报文, 其中, 所述第一报文为与所述域控制器或域 间控制器之间通信使用的报文, 所述第一报文至少包括: 第一波长标签; 第一波长标识获取单元, 用于根据所述第一报文的第一波长标签, 获取所 述光网络单元的第一波长标识; 10. A port control device applied to an optical line terminal, characterized in that it includes: a first message receiving unit, configured to receive a packet sent by a domain controller or an inter-domain controller when the optical network unit requests wavelength allocation. The first message, wherein the first message is a message used for communication with the domain controller or an inter-domain controller, the first message at least includes: a first wavelength label; a first wavelength An identification acquisition unit, configured to obtain the first wavelength identification of the optical network unit according to the first wavelength label of the first message;
第二报文发送单元, 用于发送第二报文给所述光网络单元, 所述第二报文 至少包括: 所述光网络单元的第一波长标识; 所述第二报文为与所述光网络单 元之间通信使用的报文,所述第一波长标识用于标识所述光网络单元发送光信 号所采用的波长。 A second message sending unit, configured to send a second message to the optical network unit. The second message at least includes: the first wavelength identifier of the optical network unit; the second message is related to the optical network unit. In the message used for communication between the optical network units, the first wavelength identifier is used to identify the wavelength used by the optical network unit to send optical signals.
11、 根据权利要求 10所述的装置, 其特征在于, 所述第一波长标识获取 单元, 具体包括: 11. The device according to claim 10, characterized in that the first wavelength identification acquisition unit specifically includes:
第一查找模块, 用于根据所述第一报文的第一波长标签, 查找第一波长转 换表, 其中, 所述第一波长转换表包括: 第一波长标签与第一波长标识的对应 关系; The first search module is configured to search the first wavelength conversion table according to the first wavelength label of the first message, wherein the first wavelength conversion table includes: the corresponding relationship between the first wavelength label and the first wavelength identification. ;
第一获取模块, 用于获取与所述第一波长标签对应的第一波长标识; 或者, A first acquisition module, configured to acquire the first wavelength identifier corresponding to the first wavelength tag; or,
第二查找模块, 用于根据所述第一报文的第一波长标签, 查找第一波长转 换表, 获取与所述波长标签对应的第一波长值; 其中, 所述第一波长转换表包 括: 第一波长标签与第一波长值的对应关系; The second search module is configured to search the first wavelength conversion table according to the first wavelength label of the first message, and obtain the first wavelength value corresponding to the wavelength label; wherein, the first wavelength conversion table includes : The corresponding relationship between the first wavelength label and the first wavelength value;
第二获取模块, 用于根据所述第一波长值, 获取与所述第一波长值对应的 第一波长标识。 The second acquisition module is configured to acquire the first wavelength identifier corresponding to the first wavelength value according to the first wavelength value.
12、 根据权利要求 10所述的装置, 其特征在于, 所述第一报文至少还包 括: 第二波长标签, 则所述装置还包括: 12. The device according to claim 10, wherein the first message further includes at least: a second wavelength label, then the device further includes:
第二波长标识获取单元, 用于根据所述第一报文的第二波长标签字段, 获 取所述第一光网络单元的第二波长标识。 The second wavelength identification obtaining unit is configured to obtain the second wavelength identification of the first optical network unit according to the second wavelength label field of the first message.
13、 根据权利要求 12所述的装置, 其特征在于, 所述第二报文发送单元 还用于: 13. The device according to claim 12, characterized in that the second message sending unit is also used to:
在所述第二报文中至少还包括: 所述第一光网络单元的第二波长标识, 所 述第二波长标识用于标识所述第一光网络单元接收所述光线路终端发送的光 信号所采用的波长, The second message at least further includes: a second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify that the first optical network unit receives the optical signal sent by the optical line terminal. The wavelength used by the signal,
14、 根据权利要求 12所述的装置, 其特征在于, 所述第二波长标识获取 单元, 具体包括: 14. The device according to claim 12, characterized in that the second wavelength identification acquisition unit specifically includes:
第三查找模块, 用于根据所述第二报文的第二波长标签字段, 查找第一波 长转换表, 其中, 所述第一波长转换表包括: 第二波长标签字段与第二波长标 识的对应关系; The third search module is configured to search the first wavelength conversion table according to the second wavelength label field of the second message, wherein the first wavelength conversion table includes: the second wavelength label field and the second wavelength identification. Correspondence;
第三获取模块, 用于获取与所述第二波长标签字段对应的第二波长标识; 或者, A third acquisition module, configured to acquire the second wavelength identifier corresponding to the second wavelength tag field; or,
第四查找模块, 用于根据所述第一报文的第二波长标签字段, 查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系; The fourth search module is configured to search the first wavelength conversion table according to the second wavelength label field of the first message, and obtain the second wavelength value corresponding to the second wavelength label field; wherein, the first The wavelength conversion table includes: the corresponding relationship between the second wavelength label field and the second wavelength value;
第四获取模块, 用于根据所述第二波长值, 获取与所述第二波长值对应的 第二波长标识。 A fourth acquisition module, configured to acquire a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
15、 一种域控制装置, 应用于光线路终端, 其特征在于, 包括: 第一分配单元, 用于当第一光网络单元请求进行波长分配时,根据所述请 求, 为所述第一光网络单元分配第一波长标识或者第一波长值; 其中, 所述第 一波长标识或者第一波长值用于标识所述第一光网络单元发送光信号给所述 光线路终端所采用的波长; 15. A domain control device, applied to optical line terminals, characterized in that it includes: a first allocation unit, configured to perform wavelength allocation according to the request when the first optical network unit requests wavelength allocation. To find, allocate a first wavelength identifier or a first wavelength value to the first optical network unit; wherein, the first wavelength identifier or first wavelength value is used to identify the first optical network unit to send an optical signal to the The wavelength used by the optical line terminal;
第一波长标签获取单元, 用于根据所述第一波长标识或者第一波长值, 获 取第一波长标签; A first wavelength label acquisition unit, configured to obtain a first wavelength label according to the first wavelength identifier or first wavelength value;
第一报文生成单元, 根据所述第一波长标签, 生成第一报文; The first message generating unit generates a first message according to the first wavelength label;
第一报文发送单元, 用于将所述第一报文发送给第一端口控制器。 The first message sending unit is used to send the first message to the first port controller.
16、 根据权利要求 15所述的装置, 其特征在于, 所述第一波长标签获取 单元, 具体包括: 16. The device according to claim 15, characterized in that the first wavelength tag acquisition unit specifically includes:
第五查找模块,用于根据所述第一波长标识,查找第一波长转换表,其中, 所述第一波长转换表至少包括:所述第一波长标识与所述第一波长标签的对应 关系; A fifth search module, configured to search a first wavelength conversion table according to the first wavelength identifier, wherein the first wavelength conversion table at least includes: the corresponding relationship between the first wavelength identifier and the first wavelength label. ;
第五获取模块, 用于获取与所述第一波长标识对应的第一波长标签的值; 或者, A fifth acquisition module, configured to acquire the value of the first wavelength tag corresponding to the first wavelength identifier; or,
第六查找模块, 用于根据所述第一波长值, 查找第一波长转换表, 其中, 所述第一波长转换表至少包括:所述第一波长值与所述第一波长标签的对应关 系; A sixth search module, configured to search a first wavelength conversion table according to the first wavelength value, wherein the first wavelength conversion table at least includes: the corresponding relationship between the first wavelength value and the first wavelength tag. ;
第六获取模块, 用于获取与所述第一波长值对应的第一波长标签的值。 A sixth acquisition module, configured to acquire the value of the first wavelength tag corresponding to the first wavelength value.
17、 一种波长识别系统, 应用在时分-波分复用无源光网络系统中, 其特 征在于, 所述时分 -波分复用无源光网络系统包括: 光线路终端和光网络单元, 当所述光网络单元请求进行波长分配时, 17. A wavelength identification system applied in a time division-wavelength division multiplexing passive optical network system, characterized in that the time division-wavelength division multiplexing passive optical network system includes: an optical line terminal and an optical network unit, when When the optical network unit requests wavelength allocation,
所述光线路终端, 用于根据第一波长标签, 获取所述第一光网络单元的第 一波长标识,所述第一波长标识用于标识所述第一光网络单元发送光信号给所 述光线路终端所采用的波长; 发送报文给所述第一光网络单元, 所述报文至少 包括: 所述第一光网络单元的第一波长标识; The optical line terminal is configured to obtain the first wavelength identifier of the first optical network unit according to the first wavelength label, and the first wavelength identifier is used to identify the first optical network unit to send an optical signal to the The wavelength used by the optical line terminal; sending a message to the first optical network unit, where the message at least includes: the first wavelength identifier of the first optical network unit;
所述光网络单元, 用于接收所述 文, 采用所述第一波长标识所标识的波 长发送光信号给所述光线路终端。 The optical network unit is configured to receive the message and send an optical signal to the optical line terminal using the wavelength identified by the first wavelength identifier.
18、 根据权利要求 17所述的系统, 其特征在于, 所述光线路终端, 包括: 域控制器和第一端口控制器; 或者, 所述光线路终端包括: 域间控制器和第一 端口控制器, 18. The system according to claim 17, characterized in that, the optical line terminal includes: a domain controller and a first port controller; or, the optical line terminal includes: an inter-domain controller and a first port controller. port controller,
所述第一端口控制器接收所述域控制器或域间控制器发送的第一报文,其 中, 所述第一 文至少包括: 第一波长标签; 其中, 所述第一 文为所述域控 制器与所述第一端口控制器之间通信使用的报文,或者, 所述第一报文为所述 域间控制器与所述第一端口控制器之间通信使用的报文; The first port controller receives the first message sent by the domain controller or the inter-domain controller, wherein the first message at least includes: a first wavelength label; wherein the first message is the A message used for communication between a domain controller and the first port controller, or, the first message is a message used for communication between the inter-domain controller and the first port controller;
所述第一端口控制器根据所述第一报文的第一波长标签,获取所述第一光 网络单元的第一波长标识; The first port controller obtains the first wavelength identifier of the first optical network unit according to the first wavelength label of the first message;
所述第一端口控制器发送第二报文给所述第一光网络单元,所述第二报文 至少包括: 所述第一光网络单元的第一波长标识; 所述第二报文为第一端口控 制器与第一光网络单元之间通信使用的报文。 The first port controller sends a second message to the first optical network unit, where the second message at least includes: a first wavelength identifier of the first optical network unit; the second message is A message used for communication between the first port controller and the first optical network unit.
19、 根据权利要求 18所述的系统, 其特征在于, 所述第一报文至少还包 括: 第二波长标签, 则所述第一端口控制器根据所述第一报文的第二波长标签 字段, 获取所述第一光网络单元的第二波长标识, 所述第二波长标识用于标识 所述第一光网络单元接收所述光线路终端发送的光信号所采用的波长。 19. The system according to claim 18, characterized in that, the first message further includes at least: a second wavelength label, then the first port controller adjusts the signal according to the second wavelength label of the first message. field, obtain the second wavelength identifier of the first optical network unit, where the second wavelength identifier is used to identify the wavelength used by the first optical network unit to receive the optical signal sent by the optical line terminal.
20、 根据权利要求 19所述的系统, 其特征在于, 所述第一端口控制器根 据所述第二报文的第二波长标签字段, 查找第一波长转换表, 获取与所述第二 波长标签字段对应的第二波长标识; 其中, 所述第一波长转换表包括: 第二波 长标签字段与第二波长标识的对应关系; 或者, 20. The system according to claim 19, characterized in that, the first port controller searches the first wavelength conversion table according to the second wavelength label field of the second message, and obtains the data corresponding to the second wavelength. The second wavelength identification corresponding to the label field; wherein, the first wavelength conversion table includes: the corresponding relationship between the second wavelength label field and the second wavelength identification; or,
所述第一端口控制器根据所述第一报文的第二波长标签字段,查找第一波 长转换表, 获取与所述第二波长标签字段对应的第二波长值; 其中, 所述第一 波长转换表包括: 第二波长标签字段与第二波长值的对应关系; The first port controller searches the first wavelength conversion table according to the second wavelength label field of the first message, and obtains the second wavelength value corresponding to the second wavelength label field; wherein, the first The wavelength conversion table includes: the corresponding relationship between the second wavelength label field and the second wavelength value;
所述第一端口控制器根据所述第二波长值,获取与所述第二波长值对应的 第二波长标识。 The first port controller obtains a second wavelength identifier corresponding to the second wavelength value according to the second wavelength value.
PCT/CN2012/087535 2012-12-26 2012-12-26 Wavelength identification method, device, and system WO2014101001A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2012/087535 WO2014101001A1 (en) 2012-12-26 2012-12-26 Wavelength identification method, device, and system
CN201280002034.3A CN104137444B (en) 2012-12-26 2012-12-26 A kind of wavelength recognition method, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087535 WO2014101001A1 (en) 2012-12-26 2012-12-26 Wavelength identification method, device, and system

Publications (1)

Publication Number Publication Date
WO2014101001A1 true WO2014101001A1 (en) 2014-07-03

Family

ID=51019668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087535 WO2014101001A1 (en) 2012-12-26 2012-12-26 Wavelength identification method, device, and system

Country Status (2)

Country Link
CN (1) CN104137444B (en)
WO (1) WO2014101001A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3917045A1 (en) * 2020-05-29 2021-12-01 SOLiD Inc. Optical transceiver and method for automatically setting wavelength thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447036B (en) * 2019-01-17 2023-02-03 华为技术有限公司 Communication method, device and system
CN112636866B (en) * 2020-12-31 2023-12-15 武汉邮电科学研究院有限公司 Wavelength label generation method and device and detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820557A (en) * 2009-02-28 2010-09-01 华为技术有限公司 Wavelength allocation method, system and equipment of wavelength division multiplexing passive optical network
CN101944966A (en) * 2010-09-16 2011-01-12 中兴通讯股份有限公司 Wavelength distribution method and system in passive optical network
JP4818815B2 (en) * 2006-05-31 2011-11-16 三菱電機株式会社 Optical communication method, optical communication network system, master optical communication device, slave optical communication device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064682B (en) * 2006-04-29 2010-08-04 华为技术有限公司 Optical network terminal and its packet processing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4818815B2 (en) * 2006-05-31 2011-11-16 三菱電機株式会社 Optical communication method, optical communication network system, master optical communication device, slave optical communication device
CN101820557A (en) * 2009-02-28 2010-09-01 华为技术有限公司 Wavelength allocation method, system and equipment of wavelength division multiplexing passive optical network
CN101944966A (en) * 2010-09-16 2011-01-12 中兴通讯股份有限公司 Wavelength distribution method and system in passive optical network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3917045A1 (en) * 2020-05-29 2021-12-01 SOLiD Inc. Optical transceiver and method for automatically setting wavelength thereof
US11764892B2 (en) 2020-05-29 2023-09-19 Solid, Inc. Optical transceiver and method for automatically setting wavelength thereof

Also Published As

Publication number Publication date
CN104137444A (en) 2014-11-05
CN104137444B (en) 2016-10-12

Similar Documents

Publication Publication Date Title
JP6219090B2 (en) Network system and subscriber unit
CN106851439B (en) Access method and device for multiple optical network units
US10652635B2 (en) Passive optical network communications method and apparatus, and system
WO2015172279A1 (en) Wavelength switching method, device and system
JP2014515221A (en) Wavelength management in multiwavelength passive optical networks
JP2009188901A (en) Passive optical network system, optical line terminator, and communication method for the passive optical network system
US20080298806A1 (en) Interleaving for 10G GPON
JP2008295039A (en) System and method for managing communication in hybrid passive optical network
WO2013082936A1 (en) Method and system for allocating uplink bandwidth in passive optical network (pon) system
WO2017049460A1 (en) Optical network unit registration method, device and system
EP2645608B1 (en) Optical line terminal, optical network unit and passive optical network system
JP4891715B2 (en) Passive optical network system
WO2011150759A1 (en) Method, apparatus and system for processing signal of pon network
JP2017521000A (en) Optical line unit (OLT) support for optical network unit (ONU) calibration
JP2016523043A (en) Method and apparatus for reconfiguring the wavelength of an optical network unit
US9559775B2 (en) Method and apparatus for providing optical networking using a pluggable high-speed interface
JP7235398B2 (en) Information transmission method, optical line terminal, optical network unit, and communication system
JP6459588B2 (en) Access control system, access control method, master station device, and slave station device
JP4947729B2 (en) Station side equipment
WO2014101001A1 (en) Wavelength identification method, device, and system
WO2012149770A1 (en) Method, device and system for converting terminal device identifiers
WO2016106573A1 (en) Method, device and system for wavelength configuration in passive optical network
KR101710524B1 (en) Optical line terminal and method for registering optical network unit in passive optical network with time division multiplexing and wavelength division multiplexing
WO2019019073A1 (en) Data processing method, optical line terminal, optical network unit and system
WO2018227624A1 (en) Data packet processing method, device 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: 12890806

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: 12890806

Country of ref document: EP

Kind code of ref document: A1