# US 11,310,139 B2 · Fault detection for LACP packet timeout

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

- Number: US 11,310,139 B2
- Document ID: US11310139B2
- Status: Granted
- Kind: B2
- Application number: 17/039,626
- Filed: 2020-09-30
- Published: 2021-04-15
- Granted: 2022-04-19
- Earliest claimed: 2019-10-09
- Assignees: Hangzhou DPtech Technologies Co., Ltd.
- Applicants: Hangzhou DPtech Technologies Co., Ltd.
- Inventors: Lei Zheng
- Web page: https://patentgrep.com/patent/US11310139B2

## CPC

- H04L 43/0829: Packet loss
- H04L 41/0631: using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L 41/0677: Localisation of faults
- H04L 43/18: Protocol analysers
- H04L 45/245: {Link aggregation, e.g. trunking}
- H04L 69/24: Negotiation of communication capabilities
- H04L 69/28: Timers or timing mechanisms used in protocols
- H04L 45/28: using route fault recovery
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A fault detection method of LACP packet timeout provided including: receiving a LACP packet from a target port of the partner device through a local port, the LACP packet at least includes a phase identifier to indicate a negotiation phase of a LACP negotiation process between the target port and the local port; sending a response LACP packet corresponding to the LACP packet to the target port through the local port; generating a LACP service processing entry for the LACP packet to indicate a LACP service processing phase performed by the actor device for the LACP packet; in response to that no LACP packet from the target port being received through the local port continues for a preset waiting time, performing fault detection based on the phase identifier and the LACP service processing entry so to obtain fault cause information to indicate a LACP packet timeout of the target port.

## Claims

### Claim 1

A method of detecting a fault due to a LACP packet timeout, wherein the method being applicable to a member device in a link aggregation networking which comprises an actor device as a LACP packet receiver and a partner device as a LACP packet sender, the method comprising:
receiving, by the actor device and through a local port, a first LACP packet from a target port of the partner device, wherein the first LACP packet at least comprises a phase identifier to indicate a negotiation phase of a LACP negotiation process between the target port and the local port;
sending, by the actor device and through the local port, a response LACP packet corresponding to the first LACP packet to the target port;
generating, by the actor device, a LACP service processing entry for the first LACP packet to indicate a LACP service processing phase performed by the actor device for the first LACP packet;
performing, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for a preset waiting time, fault detection based on the phase identifier and the LACP service processing entry so to obtain fault cause information to indicate a LACP packet timeout of the target port.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the phase identifier is carried in a reserved field concerning port of the first LACP packet.

### Claim 3 (depends on 1)

The method according to claim 1, wherein:
the member device comprises a plurality of LACP packet processors, each of the plurality of LACP packet processors corresponds to one of a plurality of LACP service processing phases; and the LACP service processing entry at least comprises:
LACP negotiation basic information to indicate one or more port LACP negotiation parameters determined by a LACP negotiation between the target port and the local port;
a LACP service processing identifier to indicate an order of the LACP service processing phases and the fault cause information.

### Claim 4 (depends on 3)

The method according to claim 3, wherein generating a LACP service processing entry for the first LACP packet comprising:
analyzing, by the actor device, the first LACP packet so to obtain the LACP negotiation basic information corresponding to the first LACP packet;
performing, by the plurality of LACP packet processors, an auto-increment operation to a value of the phase identifier so to determine a plurality of LACP service processing identifiers, each of the plurality of LACP service processing identifiers corresponds one of the plurality of LACP service processing phases; and
writing, by the actor device, the plurality of LACP service processing identifiers and the LACP negotiation basic information into the LACP service processing entry for the first LACP packet.

### Claim 5 (depends on 4)

The method according to claim 4, further comprising:
generating, by the actor device, a second LACP packet carrying a phase identifier of which a value has been subjected to the auto-increment operation; and
sending, by the actor device, the second LACP packet from the local port to the target port.

### Claim 6 (depends on 4)

The method according to claim 4, wherein:
the LACP service processing entry further comprises fault cause information which is associated with the LACP service processing identifier and indicates a fault cause leading to an error during a LACP service processing executed by a LACP packet processor.

### Claim 7 (depends on 6)

The method according to claim 6, wherein performing, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for a preset waiting time, fault detection based on the phase identifier and the LACP service processing entry so to obtain fault cause information to indicate a LACP packet timeout of the target port, comprising:
determining, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for the preset waiting time, all LACP service processing entries for the target port based on the phase identifier;
determining, by the actor device and from the all LACP service processing entries, a LACP service processing entry with a packet loss fault as a fault cause entry;
searching, by the actor device, the fault cause entry for the fault cause information.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
obtaining, by the actor device, LACP negotiation basic information from the fault cause entry;
outputting, by the actor device and based on the LACP negotiation basic information and the fault cause information obtained from the fault cause entry, an alarm for user to locate a LACP fault.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
performing, by the actor device and in response to that a third LACP packet from the target port is received through the local port within the preset waiting time, a LACP negotiation based on continuously sending and receiving one or more LACP packets with the phase identifier between the local port and the target port until the LACP negotiation between the local port and the target port is completed.

### Claim 10

An electronic device, wherein the electronic device being applicable to a member device in a link aggregation networking which comprises an actor device as a LACP packet receiver and a partner device as a LACP packet sender, the electronic device comprising:
a communication interface;
a processor;
a memory for storing machine-readable instructions executable by the processor to perform:
receiving, by the actor device and through a local port, a first LACP packet from a target port of the partner device, wherein the first LACP packet at least comprises a phase identifier to indicate a negotiation phase of a LACP negotiation process between the target port and the local port;
sending, by the actor device and through the local port, a response LACP packet corresponding to the first LACP packet to the target port;
generating, by the actor device, a LACP service processing entry for the first LACP packet to indicate a LACP service processing phase performed by the actor device for the first LACP packet;
performing, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for a preset waiting time, fault detection based on the phase identifier and the LACP service processing entry so to obtain fault cause information to indicate a LACP packet timeout of the target port.

### Claim 11 (depends on 10)

The electronic device according to claim 10, wherein the phase identifier is carried in a reserved field concerning port of the first LACP packet.

### Claim 12 (depends on 10)

The electronic device according to claim 10, wherein:
the member device comprises a plurality of LACP packet processors, each of the plurality of LACP packet processors corresponds to one of a plurality of LACP service processing phases; and the LACP service processing entry at least comprises:
LACP negotiation basic information to indicate one or more port LACP negotiation parameters determined by a LACP negotiation between the target port and the local port;
a LACP service processing identifier to indicate an order of the LACP service processing phases and the fault cause information.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein when generating a LACP service processing entry for the first LACP packet, the processor is configured to perform:
analyzing, by the actor device, the first LACP packet so to obtain the LACP negotiation basic information corresponding to the first LACP packet;
performing, by the plurality of LACP packet processors, an auto-increment operation to a value of the phase identifier so to determine a plurality of LACP service processing identifiers, each of the plurality of LACP service processing identifiers corresponds one of the plurality of LACP service processing phases; and
writing, by the actor device, the plurality of LACP service processing identifiers and the LACP negotiation basic information into the LACP service processing entry for the first LACP packet.

### Claim 14 (depends on 13)

The electronic device according to claim 13, wherein the processor is further configured to perform:
generating, by the actor device, a second LACP packet carrying a phase identifier of which a value has been subjected to the auto-increment operation; and
sending, by the actor device, the second LACP packet from the local port to the target port.

### Claim 15 (depends on 13)

The electronic device according to claim 13, wherein:
the LACP service processing entry further comprises fault cause information which is associated with the LACP service processing identifier and indicates a fault cause leading to an error during a LACP service processing executed by the LACP packet processor.

### Claim 16 (depends on 15)

The electronic device according to claim 15, wherein the processor is configured to perform:
determining, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for the preset waiting time, all LACP service processing entries for the target port based on the phase identifier;
determining, by the actor device and from the all LACP service processing entries, a LACP service processing entry with a packet loss fault as a fault cause entry;
searching, by the actor device, the fault cause entry for the fault cause information.

### Claim 17 (depends on 16)

The electronic device according to claim 16, wherein the processor is further configured to perform:
obtaining, by the actor device, LACP negotiation basic information from the fault cause entry;
outputting, by the actor device and based on the LACP negotiation basic information and the fault cause information obtained from the fault cause entry, an alarm for user to locate a LACP fault.

### Claim 18 (depends on 10)

The electronic device according to claim 10, wherein the processor is further configured to perform:
performing, by the actor device and in response to that a third LACP packet from the target port is received through the local port within the preset waiting time, a LACP negotiation based on continuously sending and receiving one or more LACP packets with the phase identifier between the local port and the target port until the LACP negotiation between the local port and the target port is completed.

### Claim 19

A non-transitory memory having machine-readable instructions stored thereon, and when invoked and executed by a processor, the machine-readable instructions implement a method comprising:
receiving, by an actor device and through a local port, a first LACP packet from a target port of a partner device, wherein the first LACP packet at least comprises a phase identifier to indicate a negotiation phase of a LACP negotiation process between the target port and the local port;
sending, by the actor device and through the local port, a response LACP packet corresponding to the first LACP packet to the target port;
generating, by the actor device, a LACP service processing entry for the first LACP packet to indicate a LACP service processing phase performed by the actor device for the first LACP packet;
performing, by the actor device and in response to that no LACP packet from the target port being received through the local port continues for a preset waiting time, fault detection based on the phase identifier and the LACP service processing entry so to obtain fault cause information to indicate a LACP packet timeout of the target port.
