IP Library Granted Patent US 9,806,990
Granted Patent B2
US 9,806,990 · App. 14/652,863 · Granted Oct 31, 2017

Fast recovery method and device for STP-based backup port

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 9,806,990
App. No.
14/652,863
Granted
Oct 31, 2017
Kind
B2
Abstract

Disclosed is a fast recovery method for a Spanning Tree Protocol (STP) based backup port, and the method includes: it is detected that a failure occurs on a port of an STP-based device; and it is determined whether there is a backup port taking a failed port as a master port, and when it is determined that there is such a backup port, said backup port is changed to a master port; further disclosed is a fast recovery device for an STP based backup port. By means of the technical solutions of the disclosure, it is possible to shorten significantly recovery time of a backup port, and improve greatly performance of link recovery.

Claims (18)

1. A fast recovery method for a Spanning Tree Protocol (STP) based backup port, the method comprising:

detecting that a failure occurs on a port of an STP-based device; and

determining whether there is a backup port taking a failed port as a master port, and when it is determined that there is such a backup port, changing said backup port to a master port;

the method further comprising: after said backup port is changed to the master port, setting a state of the master port to a forwarding state; wherein before said backup port is changed to the master port, a state of said backup port is a blocked state; and

when it is detected that a failure occurs on a port of an STP-based device, recording a port Identity (ID) of a failed port;

wherein the determining whether there is a backup port taking a failed port as a master port comprises: determining whether in a port priority vector there is a port having a specified port field, i.e., port ID that is the same as the ID of the failed port, and when it is determined that there is such a port, determining said port as the backup port taking the failed port as a master port.

2. The fast recovery method for an STP-based backup port according to claim 1 , further comprising:

determining whether there is one or multiple backup ports taking the failed port as a master port; and

when it is determined that there are multiple such backup ports, selecting a backup port having a highest priority as a backup port of the failed port.

3. A fast recovery device for an STP-based backup port, the device comprising:

a detection unit configured to, when detecting that a failure occurs on a port of an STP-based device, trigger a determination unit;

the determination unit configured to determine whether there is a backup port taking a failed port as a master port, and when it is determined that there is such a backup port, trigger a processing unit; and

the processing unit configured to change said backup port to a master port;

wherein the processing unit is further configured to, after said backup port is changed to the master port, set a state of the master port to a forwarding state; and wherein before said backup port is changed to the master port, a state of said backup port is a blocked state;

wherein the detection unit is further configured to, when detecting that a failure occurs on a port of an STP-based device, record a port Identity (ID) of a failed port; and

the determination unit is configured to: determine whether in a port priority vector there is a port having a specified port field, i.e., port ID that is the same as the ID of the failed port, and when it is determined that there is such a port, determine said port as the backup port taking the failed port as a master port and trigger the processing unit.

4. The fast recovery device for an STP-based backup port according to claim 3 , wherein the determination unit is further configured to determine whether there is one or multiple backup ports taking the failed port as a master port, and

when it is determined that there are multiple such backup ports, select a backup port having a highest priority as a backup port of the failed port and trigger the processing unit.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 6, 2019
From: ZTE CORPORATION
To: OPEN INVENTION NETWORK LLC
Reel/Frame 051197/0260 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 3, 2017
From: ZTE CORPORATION
To: XI'AN ZHONGXING NEW SOFTWARE CO.LTD.
Reel/Frame 043176/0715 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 17, 2015
From: JIA, SHURUI
To: ZTE CORPORATION
Reel/Frame 036129/0522 →