Retagging of VLAN upstream messages
AssigneeHuawei Technologies Co., Ltd.
InventorsSulin Yang, Lehong Niu
Life of this patent
Estimating the term…
Abstract
The present invention discloses a message processing method of optical network termination (ONT), including: the ONT receiving an uplink message; the ONT performing a corresponding VLAN tagging operation in accordance with the characteristic value of the uplink message, wherein at least two types of uplink messages with different characteristic values have different VLAN Tags after the uplink messages are processed by the ONT. The present invention also discloses a VLAN Tag processing apparatus, an optical network termination (ONT), and a passive optical network system, which enable subsequent network devices to process the messages from the ONT in diverse ways.
Claims18
A method for retagging an upstream frame with a VLAN tag in an optical network termination (ONT) device of a passive optical network, wherein the ONT device is configured with a virtual local area network (VLAN) tagging operation configuration data management entity (ME) which organizes data associated with VLAN tagging, the method comprises:
- receiving an upstream frame having a VLAN tag, which includes a Tag Control Information (TCI) field with at least a priority value and a VLAN identifier (VID);
- matching both the priority value and the VID in the VLAN tag with values of a priority field and a VID field within a VLAN tagging operation table, wherein the VLAN tagging operation table is an attribute of the VLAN tagging operation configuration data ME;
- based on the matching, identifying a new priority value and a new VID within a corresponding VLAN priority operation field and a VID operation field in the VLAN tagging operation table, wherein a length of the VLAN priority operation field is 4 bits with lower 3 bits of the VLAN priority operation field representing the new priority value, and a length of the VID operation field is 13 bits with lower 12 bits of the VID operation field representing the new VID;
- thereafter, adding a new VLAN tag to the received upstream frame by inserting the new priority value and the new VID into respective fields of the new VLAN tag;
- and
- sending the upstream frame with the new VLAN tag to an optical line terminal (OLT) of the passive optical network.
An optical network termination (ONT) device for performing a virtual local area network (VLAN) tagging operation, comprising:
- a memory configured to store a VLAN tagging operation configuration data management entity (ME) configured by an optical line terminal (OLT), wherein the VLAN tagging operation configuration data ME includes an VLAN tagging operation table having a priority field, a VLAN identifier (VID) field, a VLAN priority operation field and a VID operation field;
- a first network interface configured to receive an upstream frame having a VLAN tag, which includes a Tag Control Information (TCI) field with at least a priority value and a VLAN identifier (VID);
- a medium access control (MAC) bridge device configured to implement operations comprising:
- matching both the priority value and the VID in the VLAN tag with values of the priority field and the VID field within the VLAN tagging operation table;
- based on the matching, identifying a new priority value and a new VID within the corresponding VLAN priority operation field and the VID operation field, wherein a length of the VLAN priority operation field is 4 bits with lower 3 bits of the VLAN priority operation field representing the new priority value, and a length of the VID operation field is 13 bits with lower 12 bits of the VID operation field representing the new VID;
- and
- thereafter, adding a new VLAN tag to the received upstream frame by inserting the new priority value and the new VID into respective fields of the new VLAN tag;
- and
- a second network interface configured to send the upstream frame with the new VLAN tag to the OLT.
A computer program product, for use in an optical network termination (ONT) device of a passive optical network, which includes computer executable instructions stored on a non-transitory computer readable medium such that when executed by a computer processor cause the ONT device to retag an upstream frame with a VLAN tag by the following:
- receive an upstream frame having a VLAN tag, which includes a Tag Control Information (TCI) field with at least a priority value and a VLAN identifier (VID);
- match both the priority value and the VID in the VLAN tag with values of a priority field and a VID field within a VLAN tagging operation table, wherein the VLAN tagging operation table is an attribute of a VLAN tagging operation configuration data management entity (ME);
- based on the match, identify a new priority value and a new VID within a corresponding VLAN priority operation field and a VID operation field in the VLAN tagging operation table, wherein a length of the VLAN priority operation field is 4 bits with lower 3 bits of the VLAN priority operation field representing the new priority value, and a length of the VID operation field is 13 bits with lower 12 bits of the VID operation field representing the new VID;
- thereafter, add a new VLAN tag to the received upstream frame by inserting the new priority value and the new VID into respective fields of the new VLAN tag;
- and
- send the upstream frame with the new VLAN tag to an optical line terminal (OLT) of the passive optical network.
Dependencies are inferred from the claim text.