IP Library Granted Patent US 9,086,806
Granted Patent B2
US 9,086,806 · App. 13/528,843 · Granted Jul 21, 2015

System and method for controlling SAS expander to electronically connect to a RAID card

Inventor: Chih-Huang Wu (New Taipei, TW)
Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
G06F3/0605G06F3/0632G06F3/0689
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,086,806
App. No.
13/528,843
Granted
Jul 21, 2015
Kind
B2
Abstract

In a method for controlling a SAS expander to electronically connect to a RAID card in an electronic device, a plurality of different types for RAID cards, and configuration parameters of the SAS expander corresponding to each type of the RAID cards are preset. Information of the RAID card is read if the SAS expander is electronically connected the RAID card. The method further determines whether the RAID card matches the SAS expander. If the RAID card does not match the SAS expander, the configuration parameters of the SAS expander corresponding to the RAID card is read, and the read configuration parameters and the read information of the RAID card are written into a firmware file in the storage system. The method further stores the firmware file into a flash memory of the SAS expander.

Claims (40)

1. A computer-implemented method for controlling a serial attached small computer system interface (SAS) expander to electronically connect to a redundant array of independent disks (RAID) card in an electronic device, the method comprising:

establishing a plurality of different types of RAID cards according to RAID levels that the RAID cards support, and establishing configuration parameters of the SAS expander corresponding to each type of the RAID cards in a storage system of the electronic device;

reading information of the RAID card in the electronic device if the SAS expander is electronically connected to the RAID card, the read information comprising RAID levels that the RAID card supports;

determining whether the RAID card matches the SAS expander by comparing whether the RAID levels in the read information of the RAID card are the same as RAID levels stored in a firmware of the SAS expander, the stored RAID levels being supported by a previous RAID card in the electronic device which is connected to the SAS expander correctly;

reading the configuration parameters of the SAS expander corresponding to the RAID card, and writing the read configuration parameters and the read information of the RAID card into a firmware file in the storage system, if the RAID card does not match the SAS expander; and

storing the firmware file into a flash memory of the SAS expander.

2. The method according to claim 1 , wherein the firmware file comprises fixed pages that store the read information of the RAID card and the read configuration parameters of the SAS expander corresponding to the RAID card.

3. The method according to claim 1 , further comprising:

determining that the RAID card match the SAS expander when the RAID levels in the read information of the RAID card are the same as the stored RAID levels in the firmware of the SAS expander; or

determining that the RAID card does not match the SAS expander when the RAID levels in the read information of the RAID card are different from the stored RAID levels in the firmware of the SAS expander.

4. The method according to claim 1 , further comprising:

determining that the RAID card does not match the SAS expander, if there is no previous RAID card being electronically connected to the SAS expander correctly and no information of the RAID level is stored in the firmware of SAS expander.

5. The method according to claim 1 , wherein the firmware of the SAS expander is updated when the firmware file is stored into the flash memory of the SAS expander.

6. A non-transitory storage medium storing a set of instructions, when executed by at least one processor of an electronic device, cause the at least one processor to perform a method for controlling a serial attached small computer system interface (SAS) expander to electronically connect to a redundant array of independent disks (RAID) card, the method comprising:

establishing a plurality of different types of RAID cards according to RAID levels that the RAID cards support, and establishing configuration parameters of the SAS expander corresponding to each type of the RAID cards in a storage system of the electronic device;

reading information of the RAID card in the electronic device if the SAS expander is electronically connected to the RAID card, the read information comprising RAID levels that the RAID card supports;

determining whether the RAID card matches the SAS expander by comparing whether the RAID levels in the read information of the RAID card are the same as RAID levels stored in a firmware of the SAS expander, the stored RAID levels being supported by a previous RAID card in the electronic device which is connected to the SAS expander correctly;

reading the configuration parameters of the SAS expander corresponding to the RAID card, and writing the read configuration parameters and the read information of the RAID card into a firmware file in the storage system, if the RAID card does not match the SAS expander; and

storing the firmware file into a flash memory of the SAS expander.

7. The non-transitory storage medium according to claim 6 , wherein the firmware file comprises fixed pages that store the read information of the RAID card and the configuration parameters of the SAS expander corresponding to the RAID card.

8. The non-transitory storage medium according to claim 6 , wherein the method further comprises:

determining that the RAID card match the SAS expander when the RAID levels in the read information of the RAID card are the same as the stored RAID levels in the firmware of the SAS expander; or

determining that the RAID card does not match the SAS expander when the RAID levels in the read information of the RAID card are different from the stored RAID levels in the firmware of the SAS expander.

9. The non-transitory storage medium according to claim 6 , wherein the method further comprises:

determining that the RAID card does not match the SAS expander, if there is no previous RAID card being electronically connected to the SAS expander correctly and no information of the RAID level is stored in the firmware of SAS expander.

10. The non-transitory storage medium according to claim 6 , wherein the firmware of the SAS expander is updated when the firmware file is stored into the flash memory of the SAS expander.

11. An electronic device, comprising:

a serial attached small computer system interface (SAS) expander, a redundant array of independent disks (RAID) card;

a storage system;

at least one processor; and

one or more programs that are stored in the storage system and executed by the at least one processor, the one or more programs comprising:

an establishment module that establishes a plurality of different types of RAID cards according to RAID levels that the RAID cards support, and establishes configuration parameters of the SAS expander corresponding to each type of the RAID cards in the storage system;

a first reading module that reads information of the RAID card if the SAS expander is electronically connected to the RAID card, the read information comprising RAID levels that the RAID card supports;

a determination module that determines whether the RAID card matches the SAS expander by comparing whether the RAID levels in the read information of the RAID card are the same as RAID levels stored in a firmware of the SAS expander, the stored RAID levels being supported by a previous RAID card in the electronic device which is connected to the SAS expander correctly;

a second reading module that reads the configuration parameters of the SAS expander corresponding to the RAID card, and writes the read configuration parameters and the read information of the RAID card into a firmware file in the storage system, if the RAID card does not match the SAS expander;

a matching module that stores the firmware file into a flash memory of the SAS expander.

12. The electronic device according to claim 11 , wherein the firmware file comprises fixed pages that store the read information of the RAID card and the configuration parameters of the SAS expander corresponding to the RAID card.

13. The electronic device according to claim 11 , wherein the determination module determines that the RAID card matches the SAS expander when the RAID levels in the read information of the RAID card are the same as the stored RAID levels in the firmware of the SAS expander, and determines that the RAID card does not match the SAS expander when the RAID levels in the read information of the RAID card are different from the stored RAID levels in the firmware of the SAS expander.

14. The electronic device according to claim 11 , wherein the determination module further determines that the RAID card does not match the SAS expander, if there is no previous RAID card being electronically connected to the SAS expander correctly and no information of the RAID level is stored in the firmware of SAS expander.

15. The electronic device according to claim 11 , wherein the firmware of the SAS expander is updated when the firmware file is stored into the flash memory of the SAS expander.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 7, 2018
From: HON HAI PRECISION INDUSTRY CO., LTD.
To: CLOUD NETWORK TECHNOLOGY SINGAPORE PTE. LTD.
Reel/Frame 045281/0269 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 21, 2012
From: WU, CHIH-HUANG
To: HON HAI PRECISION INDUSTRY CO., LTD.
Reel/Frame 028414/0454 →
Priority Claims (1)
TW 100146965 A · Dec 16, 2011 · national
Continuity (1)
Related Publication 20130159606A1 · Jun 20, 2013