# US 2018/0026886 A1 · Method, apparatus, and system for managing label of access network

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0026886 A1
- Document ID: US20180026886A1
- Status: Published application
- Kind: A1
- Application number: 15/724,826
- Filed: 2017-10-04
- Published: 2018-01-25
- Earliest claimed: 2009-06-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Ruobin ZHENG
- Web page: https://patentgrep.com/patent/US20180026886A1

## CPC

- H04L 45/68: {Pseudowire emulation, e.g. IETF WG PWE3}
- H04Q 11/0067: {Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring}
- H04L 61/106: across networks, e.g. mapping telephone numbers to data network addresses
- H04Q 2011/0079: {Operation or maintenance aspects}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04Q: SELECTING (switches, relays, selectors H01H; wireless communication networks H04W)

## Abstract

The present invention relates to the field of network communications. An Optical Line Terminal (OLT) allocates a Pseudo Wire (PW) label of an access segment PW for a port, and establishes a corresponding relationship between the port information and the PW label; and carries the corresponding relationship between the port information and the PW label in a label management message, and sends the label management message to an Optical Network Unit (ONU) so that the ONU updates a forwarding table, in which the label management message adopts an access network management protocol. As a consequence, a problem of supporting Pseudo Wire Emulation Edge-to-Edge (PWE3) on a data plane of an access segment of an access network is solved under the conditions that device complexity of the ONU is not increased and a configuration of the ONU is slightly changed.

## Claims

### Claim 1

A method for managing a label of an access network, comprising:
allocating, by an Optical Line Terminal (OLT), a Pseudo Wire (PW) label of an access segment PW for a first port of an Optical Network Unit (ONU) having at least two ports;
establishing a corresponding relationship between an identifier of the first port of the at least two ports and the PW label;
carrying, by the OLT, the corresponding relationship between the identifier of the first port of the at least two ports and the PW label in a label management message;
sending the label management message to the ONU, wherein the label management message adopts an access network management protocol; and
receiving, by the OLT, a frame from the ONU, where the frame is encapsulated with the PW label.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the method further comprises:
sending, by the OLT, a core segment query message to a server, wherein the core segment query message carries the identifier of the first port;
receiving, by the OLT, a core segment response message sent by the server, wherein the core segment response message carries a core segment Provider Edge (PE) device address and a core segment Attachment Circuit (AC) identifier that correspond to the first port;
establishing, by the OLT, a core segment PW to a core segment PE device according to the core segment PE device address and the core segment AC identifier, and allocating a PW label of the core segment PW; and
establishing or updating, by the OLT, a mapping relationship between the PW label of the core segment PW and the PW label of the access segment PW.

### Claim 3 (depends on 1)

The method according to claim 1, wherein before allocating the PW label of the access segment PW for the first port, the method further comprises:
establishing, by the OLT, a core segment PW to a core segment Provider Edge (PE) device, and allocating a PW label of the core segment PW; and
acquiring, by the OLT, at least one of an access segment ONU port and an access segment OLT port corresponding to one of the PW label of the core segment PW and a core segment Attachment Circuit (AC) identifier of the core segment PW, acquiring an ONU address corresponding to one of the PW label of the core segment PW and the core segment AC identifier of the core segment PW, and establishing the access segment PW; and
establishing or updating, by the OLT, a mapping relationship between the PW label of the core segment PW and the PW label of the access segment PW after sending the label management message to the ONU.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the acquiring step further comprises:
sending, by the OLT, an access segment query message to a server, wherein the access segment query message carries one of the PW label of the core segment PW and the core segment AC identifier of the core segment PW; and
receiving, by the OLT, an access segment response message sent by the server, wherein the access segment response message carries the at least one of the access segment ONU port and OLT port corresponding to the one of the PW label of the core segment PW and the core segment AC identifier of the core segment PW, and address corresponding to the PW label of the core segment PW or the core segment AC identifier of the core segment PW.

### Claim 5 (depends on 1)

The method according to claim 1, wherein before sending the label management message to the ONU, the method further comprises:
receiving, by the OLT, a label request message before allocating the PW label, wherein the label request message carries the identifier of the first port.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
modifying, by the OLT, the PW label of the access segment PW for the first port, and modifying the corresponding relationship between the identifier of the first port and the PW label.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the access segment PW is based on Multiple Protocol Label Switching (MPLS).

### Claim 8

A non-transitory computer readable medium including computer-executable instructions for execution on an Optical Line Terminal (OLT), such that when the computer-executable instructions are executed by the apparatus a method is carried out comprising:
allocating a Pseudo Wire (PW) label of an access segment PW for a first port of an Optical Network Unit (ONU) having at least two ports;
establishing a corresponding relationship between an identifier of the first port of the at least two ports and the PW label;
carrying the corresponding relationship between the identifier of the first port of the at least two ports and the PW label in a label management message;
sending the label management message to the ONU wherein the label management message adopts an access network management protocol; and
receiving a frame from the ONU, wherein the frame is encapsulated with the PW label.

### Claim 9 (depends on 8)

The computer readable medium according to claim 8, further comprising computer-executable instructions for:
sending a core segment query message to a server, wherein the core segment query message carries an OLT port and an ONU port;
receiving a core segment response message sent by the server, the core segment response message carries a core segment Provider Edge (PE) device address and a core segment Attachment Circuit (AC) identifier that correspond to the OLT port and the ONU port;
establishing a core segment PW to a core segment PE device according to the core segment PE device address and the core segment AC identifier;
allocating a PW label of the core segment PW; and
modifying a mapping relationship between the PW label of the core segment PW and the PW label of the access segment PW.

### Claim 10 (depends on 8)

The non-transitory computer readable medium of claim 8, wherein the access segment PW is based on Multiple Protocol Label Switching (MPLS).

### Claim 11

A non-transitory computer readable medium including computer-executable instructions for execution on an Optical Network Unit (ONU), such that when the computer-executable instructions are executed by the apparatus a method is carried out comprising:
sending a label request to an Optical Line Terminal (OLT), wherein the label request carries an identifier of a port of the ONU;
receiving a response comprising a correspondence between the identifier and a psudeowire (PW) label;
storing the correspondence in the ONU;
encapsulating received data into a frame by adding the PW label to the data; and
sending the frame to the OLT.

### Claim 12

A method for managing a label, comprising:
sending, by an Optical Network Unit (ONU), a label request to an Optical Line Terminal (OLT), wherein the label request carries an identifier of a port of the ONU;
receiving by the ONU, a response comprising a correspondence between the identifier and a psudeowire (PW) label;
storing, by the ONU, the correspondence in the ONU;
encapsulating, by the ONU, received data into a frame by adding the PW label to the data; and
sending, by the ONU, the frame to the OLT.
