IP Library Granted Patent US 8,285,910
Granted Patent B2
US 8,285,910 · App. 13/368,106 · Granted Oct 9, 2012

Method and system for taking over devices

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,285,910
App. No.
13/368,106
Granted
Oct 9, 2012
Kind
B2
Abstract

A method and system for taking over devices are provided. In a solution, a first control board first performs topology discovery on a Peripheral Component Interconnect Express (PCIE) bus, and reserves resources for a Switch (SW) where a NON-Transparent (NT) bridge is located and devices connected to down ports of the SW according to a set resource reservation policy when the topology discovery proceeds to the NT bridge, where the SW and the devices are currently controlled by a second control board. After the SW and the devices are taken over from the second control board, the resource reserved in advance may be allocated to the SW and the devices, so that the devices that are taken over operate normally under control of the first control board. Dual control is implemented through direct taking over devices, and a response speed for processing a device request is improved.

Claims (40)

1. A method comprising:

performing, by a first control board, a topology discovery on a Peripheral Component Interconnect Express (PCIE) bus;

reserving, by the first control board, resources for a Switch (SW) where a Non-Transparent (NT) bridge is located and a device connected to a down port of the SW according to a set resource reservation policy when the topology discovery proceeds to the Non-Transparent(NT) bridge, wherein the SW and the device are currently controlled by a second control board; and

taking over, by the first control board, the SW and the device from the second control board when the second control board has a fault, and allocating the reserved resources to the SW and the device.

2. The method according to claim 1 , wherein the performing the topology discovery on the PCIE bus comprises:

when an Operating System (OS) of the first control board is started, performing the topology discovery on all tributaries of the PCIE bus; or

during an operation process of the OS of the first control board, performing the topology discovery on a tributary of the PCIE bus where the NT bridge is located.

3. The method according to claim 1 , wherein the reserving resources for the SW where the NT bridge is located and the device connected to the down port of the SW according to the set resource reservation policy comprises:

reserving bus resources for the SW where the NT bridge is located, and reserving bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy, wherein the SW is currently controlled by the second control board.

4. The method according to claim 2 , wherein the reserving resources for the SW where the NT bridge is located and the device connected to the down port of the SW according to the set resource reservation policy comprises:

reserving bus resources for the SW where the NT bridge is located, and reserving bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy, wherein the SW is currently controlled by the second control board.

5. The method according to claim 1 , wherein the allocating the reserved resources to the SW and the device comprises:

allocating the bus resources reserved for the SW to an up port and the down port of the SW, and allocating the bus resources and/or address space resources reserved for the device to the device.

6. The method according to claim 2 , wherein the allocating the reserved resources to the SW and the device comprises:

allocating the bus resources reserved for the SW to an up port and the down port of the SW, and allocating the bus resources and/or address space resources reserved for the device to the devices.

7. A control apparatus, comprising:

a topology discovery module, configured to perform a topology discovery on a Peripheral Component Interconnect Express (PCIE) bus;

a resource reservation module, configured to reserve resources for a Switch (SW) where a NON-Transparent (NT) bridge is located and a device connected to a down port of the SW according to a set resource reservation policy when the topology discovery proceeds to the NT bridge, wherein the SW and the device are currently controlled by another control apparatus; and

a takeover module, configured to take over the SW and the device connected to the down port of the SW from the another control apparatus when the another control apparatus has a fault, and allocate the resources reserved by the resource reservation module to the SW and the device.

8. The apparatus according to claim 7 , wherein the topology discovery module is configured to perform the topology discovery on all tributaries of the PCIE bus when a system is started.

9. The apparatus according to claim 8 , wherein

the resource reservation module is configured to reserve bus resources for the SW where the NT bridge is located, and reserve bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy when the topology discovery of the topology discovery module proceeds to the NT bridge,

wherein the device connected to the down port of the SW comprise at least one type of the following devices: an endpoint device and a bridge device.

10. The apparatus according to claim 7 , wherein the topology discovery module is further configured to perform the topology discovery on a tributary of the PCIE bus where the NT bridge is located during an operation process of the system.

11. The apparatus according to claim 10 , wherein

the resource reservation module is configured to reserve bus resources for the SW where the NT bridge is located, and reserve bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy when the topology discovery of the topology discovery module proceeds to the NT bridge,

wherein the device connected to the down port of the SW comprise at least one type of the following devices: an endpoint device and a bridge device.

12. The apparatus according to claim 7 , wherein

the resource reservation module is configured to reserve bus resources for the SW where the NT bridge is located, and reserve bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy when the topology discovery of the topology discovery module proceeds to the NT bridge,

wherein the device connected to the down port of the SW comprise at least one type of the following devices: an endpoint device and a bridge device.

13. The apparatus according to claim 12 , wherein the takeover module comprises:

a takeover sub-module, configured to take over the SW and the device connected to the down port of the SW from the another control apparatus when the another control apparatus has a fault; and

a resource allocation sub-module, configured to allocate the bus resources that the resource reservation module reserves for the SW to an up port and the down port of the SW, and allocate the bus resources and/or address space resources that the resource reservation module reserves for the device to the device.

14. A system for dual controlling, comprising a first control board and a second control board, wherein

the first control board is configured to:

perform a topology discovery on a Peripheral Component Interconnect Express (PCIE) bus;

reserve resources for a Switch (SW) where a NON-Transparent (NT) bridge is located and a device connected to a down port of the SW according to a set resource reservation policy when the topology discovery proceeds to the NT bridge, wherein the SW where the NT bridge is located and the device are currently controlled by the second control board; and

take over the SW and the device from the second control board when the second control board has a fault, and allocate the reserved resources to the SW and the device.

15. The system according to claim 14 , wherein

the first control board is configured to reserve bus resources for the SW where the NT bridge is located, and reserve bus resources and/or address space resources for the device connected to the down port of the SW according to the set resource reservation policy, wherein the SW is currently controlled by the second control board.

Assignments (6)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 19, 2022
From: CHENGDU HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 061142/0928 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 26, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: CHENGDU HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 060917/0931 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2015
From: HUAWEI DIGITAL TECHNOLOGIES(CHENG DU) CO., LIMITED.
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 035851/0860 →
CHANGE OF NAME Recorded Dec 8, 2014
From: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LIMITED
To: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) CO. LIMITED.
Reel/Frame 034537/0210 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNEE NAME AND ADDRESS PREVIOUSLY RECORDED ON REEL 027667 FRAME 0220. ASSIGNOR(S) HEREBY CONFIRMS THE HUAWEI TECHNOLOGIES CO., LTD., HUAWEI ADMINISTRATION BUILDING, BANTIAN, LONGGANG DISTRICT, SHENZHEN, GUANGDONG, CHINA 518129. Recorded Feb 14, 2012
From: WANG, XUEYOU
To: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.
Reel/Frame 027704/0874 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 7, 2012
From: WANG, XUEYOU
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 027667/0220 →