IP Library Granted Patent US 8,094,567
Granted Patent B2
US 8,094,567 · App. 12/428,250 · Granted Jan 10, 2012

Method for transferring test messages and network element device

Assignee: Huawei Technologies Co., Ltd
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,094,567
App. No.
12/428,250
Granted
Jan 10, 2012
Kind
B2
Abstract

A method for transferring test messages includes a Network Element (NE) A and NE B negotiating and determining a logical channel type. The Link Management Protocol (LMP) entity of NE A constructs a test message packet which includes the local Ethernet data interface ID, and transfers the test message packet to the local packet control module. The packet control module of NE A encapsulates the test message packet according to the logical channel type determined through negotiation, and transfers the encapsulated packet to the local transmitting interface. The receiving interface of NE B identifies and receives the packet. The packet control module of NE B obtains the packet from the local receiving interface and then encapsulates the packet. Next the packet control module of NE B transfers the test message packet obtained after decapsulation to the local LMP entity. Therefore, the test message can be transferred on the Ethernet data interface, and the auto discovery of the Ethernet physical link of the NE device succeeds once the test message is transferred successfully.

Claims (63)

1. A method for transferring test messages, wherein a first Network Element (NE) is connected with a second NE through an Ethernet physical link, and the method comprises:

negotiating and determining by the first NE and the second NE a logical channel type;

constructing, by a Link Management Protocol (LMP) entity of the first NE, a test message packet which carries an Ethernet data interface ID of the first NE; and transferring the test message packet to a packet control module of the first NE, wherein the test message packet further carries a Verify_ID allocated by the second NE;

encapsulating, by the packet control module of the first NE, the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE;

identifying and receiving by a receiving interface of the second NE connected with the Ethernet physical link the packet, obtaining by a packet control module of the second NE the packet from the receiving interface of the second NE, and decapsulating the packet;

transferring by the packet control module of the second NE the test message packet obtained after decapsulation to a LMP entity of the second NE;

obtaining by the LMP entity of the second NE a Traffic Engineering (TE) link ID of the second NE and an Ethernet data interface ID of the second NE according to the receiving interface, extracting information in the test message packet, obtaining the Ethernet data interface ID of the first NE, and obtaining a TE link ID of the first NE according to the Verify_ID; and

correlating the TE link ID of the second NE with the TE link ID of the first NE, correlating the Ethernet data interface of the second NE with the Ethernet data interface of the first NE, and saving correlation information.

2. The method for transferring test messages according to claim 1 , wherein the determining the logical channel type comprises:

determining the logical channel type by defining a Verify Transport Mechanism field in a BEGIN_VERIFY object.

3. The method for transferring test messages according to claim 1 , wherein the logical channel type comprises a protocol stack mode, a Virtual Local Area Network (VLAN) mode, or a special Media Access Control (MAC) address mode.

4. The method for transferring test messages according to claim 3 , wherein the protocol stack mode is subdivided into: User Datagram Protocol (UDP) mode and Transmission Control Protocol (TCP) mode.

5. The method for transferring test messages according to claim 3 , wherein when the first NE and the second NE negotiate to provide a logical channel in the protocol stack mode:

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into a protocol stack packet which carries the test message packet by using an Internet Protocol (IP) protocol stack function according to the logical channel type of the protocol stack mode and transferring the protocol stack packet to a Point-to-Point Protocol (PPP) interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, and obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by a PPP interface of the second NE connected with the Ethernet physical link the protocol stack packet and obtaining by the packet control module of the second NE the protocol stack packet from the PPP interface of the second NE by using the IP protocol stack function.

6. The method for transferring test messages according to claim 3 , wherein when the first NE and the second NE negotiate to provide the logical channel in the VLAN mode:

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into an Ethernet MAC frame which carries a VLAN tag and the test message packet according to the logical channel type of the VLAN mode, and invoking a data plane to transfer the Ethernet MAC frame to an optical/electrical interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by an optical/electrical interface of the second NE connected with the Ethernet physical link the Ethernet MAC frame through the VLAN tag, and obtaining by the packet control module of the second NE the Ethernet MAC frame from the optical/electrical interface of the second NE by invoking the data plane.

7. The method for transferring test messages according to claim 6 , wherein the VLAN tag affixed to the test message packet is determined by extending a new BEGIN_VERIFY_ACK object.

8. The method for transferring test messages according to claim 3 , wherein when the first NE and the second NE negotiate to provide the logical channel in the MAC address mode,

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into an Ethernet MAC frame which uses a special multicast MAC address as a destination MAC address and carries the test message packet according to the logical channel type of the special MAC address mode, and invoking a data plane to transfer the Ethernet MAC frame to an optical/electrical interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by the optical/electrical interface of the second NE connected with the Ethernet physical link, the Ethernet MAC frame through the special multicast MAC address, and obtaining by the packet control module of the second NE the Ethernet MAC frame from the optical/electrical interface of the second NE by invoking the data plane.

9. A method for transferring test messages, wherein a first Network Element (NE) is connected with a second NE through an Ethernet physical link, and the method comprises:

negotiating and determining, by the first NE and the second NE, a logical channel type supported by the first NE and the second NE; wherein the logical channel type is selected from a group of logical channel types comprising a protocol stack mode, a Virtual Local Area Network (VLAN) mode, and a special Media Access Control (MAC) address mode;

constructing, by a Link Management Protocol (LMP) entity of the first NE, a test message packet which carries an Ethernet data interface IDentity (ID) of the first NE, and transferring the test message packet to a packet control module of the first NE;

encapsulating, by the packet control module of the first NE, the test message packet according to the logical channel type determined through negotiation, and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE;

identifying and receiving, by a receiving interface of the second NE connected with the Ethernet physical link, the packet; and obtaining, by a packet control module of the second NE, the packet from the receiving interface of the second NE, and decapsulating the packet; and

transferring, by the packet control module of the second NE, the test message packet obtained after decapsulation to a LMP entity of the second NE;

wherein:

the test message packet constructed by the LMP entity of the first NE further carries a Verify_ID allocated by the second NE; and

after the LMP entity of the first NE receives the test message packet, the method further comprises:

obtaining by the LMP entity of the second NE a corresponding Traffic Engineering (TE) link ID of the second NE and the Ethernet data interface ID of the second NE according to the receiving interface, extracting information in the test message packet, obtaining the Ethernet data interface ID of the first NE, and obtaining a TE link ID of the first NE according to the Verify_ID.

10. The method for transferring test messages according to claim 9 , wherein:

after the second NE obtains information about a local NE and the first NE based on the Ethernet physical link, the method further comprises:

correlating the TE link ID of the second NE with the TE link ID of the first NE, correlating an Ethernet data interface of the second NE with an Ethernet data interface of the first NE, and saving correlation information.

11. A method for transferring test messages, wherein a first Network Element (NE) is connected with a second NE through an Ethernet physical link, and the method comprises:

negotiating and determining, by the first NE and the second NE, a logical channel type supported by the first NE and the second NE; wherein the logical channel type is selected from a group of logical channel types comprising a protocol stack mode, a Virtual Local Area Network (VLAN) mode, and a special Media Access Control (MAC) address mode;

constructing, by a Link Management Protocol (LMP) entity of the first NE, a test message packet which carries an Ethernet data interface IDentity (ID) of the first NE, and transferring the test message packet to a packet control module of the first NE;

encapsulating, by the packet control module of the first NE, the test message packet according to the logical channel type determined through negotiation, and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE;

identifying and receiving, by a receiving interface of the second NE connected with the Ethernet physical link, the packet; and obtaining, by a packet control module of the second NE, the packet from the receiving interface of the second NE, and decapsulating the packet; and

transferring, by the packet control module of the second NE, the test message packet obtained after decapsulation to a LMP entity of the second NE;

wherein when the first NE and the second NE negotiate to provide the logical channel in the VLAN mode:

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into an Ethernet MAC frame which carries a VLAN tag and the test message packet according to the logical channel type of the VLAN mode, and invoking a data plane to transfer the Ethernet MAC frame to an optical/electrical interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by an optical/electrical interface of the second NE connected with the Ethernet physical link the Ethernet MAC frame through the VLAN tag, and obtaining by the packet control module of the second NE the Ethernet MAC frame from the optical/electrical interface of the second NE by invoking the data plane.

12. The method for transferring test messages according to claim 11 , wherein:

when the first NE and the second NE negotiate to provide a logical channel in the protocol stack mode:

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into a protocol stack packet which carries the test message packet by using an Internet Protocol (IP) protocol stack function according to the logical channel type of the protocol stack mode and transferring the protocol stack packet to a Point-to-Point Protocol (PPP) interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, and obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by a PPP interface of the second. NE connected with the Ethernet physical link the protocol stack packet and obtaining by the packet control module of the second NE the protocol stack packet from the PPP interface of the second NE by using the IP protocol stack function;

when the first NE and the second NE negotiate to provide the logical channel in the MAC address mode:

the encapsulating the test message packet according to the logical channel type determined through negotiation and transferring the encapsulated packet which carries the test message packet to a transmitting interface corresponding to the Ethernet data interface ID of the first NE comprises:

encapsulating by the packet control module of the first NE the test message packet into an Ethernet MAC frame which uses a special multicast MAC address as a destination MAC address and carries the test message packet according to the logical channel type o f the special MAC address mode, and invoking a data plane to transfer the Ethernet MAC frame to an optical/electrical interface corresponding to the Ethernet data interface ID of the first NE; and

the identifying and receiving the packet, obtaining the packet from the receiving interface of the second NE, and decapsulating the packet comprises:

identifying and receiving by the optical/electrical interface of the second NE connected with the Ethernet physical link, the Ethernet MAC frame through the special multicast MAC address, and obtaining by the packet control module of the second NE the Ethernet MAC frame from the optical/electrical interface of the second NE by invoking the data plane.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 8, 2020
From: HUAWEI TECHNOLOGIES CO., LTD
To: APEX NET LLC
Reel/Frame 052344/0896 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2009
From: LI, FENG; YIN, FANG; XU, LIUSHENG; CHEN, ZHENWEI
To: HUAWEI TECHNOLOGIES CO., LTD
Reel/Frame 022582/0931 →
Priority Claims (1)
CN 2007 1 0072903 · Jan 6, 2007 · national
Continuity (2)
Continuation PCTCN2007071073 · Nov 16, 2007
Related Publication 20090201943A1 · Aug 13, 2009