# US 2015/0177998 A1 · Electronic device and method for testing redundant array of independent disks level

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

- Number: US 2015/0177998 A1
- Document ID: US20150177998A1
- Status: Published application
- Kind: A1
- Application number: 14/218,656
- Filed: 2014-03-18
- Published: 2015-06-25
- Earliest claimed: 2013-12-19
- Assignees: Hon Hai Precision Industry Co., Ltd.; HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
- Applicants: Hon Hai Precision Industry Co., Ltd.; HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
- Inventors: JI-BAO CHEN; JI-PING CHEN
- Web page: https://patentgrep.com/patent/US20150177998A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/167: {Error detection by comparing the memory output}
- G06F 11/2247: {Verification or detection of system hardware configuration}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A Redundant Array of Independent Disks (RAID) card is coupled to a baseboard management controller (BMC) of an electronic device. The BMC is coupled to a host device, and includes a storage unit for storing data of RAID level. A method can include obtaining a boot command from the host device, and generating a control signal according to the stored RAID level in response to the boot command. The method further includes transmitting the control signal to the RAID card, to direct the RAID card to set the stored RAID level, testing whether the stored RAID level is correctly set, and storing data indicative of the tested result in a register of the RAID card. The method further includes determining whether the stored RAID level is correctly set in the RAID card according to the data in the register, and storing the determined result in the storage unit.

## Claims

### Claim 1

An electronic device comprising:
a baseboard management controller (BMC) comprising a storage unit, the BMC being configured to connect to a redundant array of independent disks (RAID) card and a host device, the storage unit storing data of RAID level set to the RAID card, the storage unit further storing a plurality of modules; and
a processor configured to execute the plurality of modules,
wherein the plurality of modules comprises:
an obtaining module to obtain a boot command from the host device after the BMC has been initialized;
a signal generating module to generate a control signal according to the stored RAID level in response to the obtained boot command, and transmit the control signal to the RAID card, and the control signal is configured to direct the RAID card to set the stored RAID level, test whether the stored RAID level is correctly set, and store data indicative of the tested result in a register of the RAID card; and
an analyzing module to obtain the data stored in the register after the signal generating module transmits the control signal to the RAID card, determine whether the stored RAID level is correctly set in the RAID card according to the obtained data, and store the determined result in the storage unit of the BMC.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the BMC is coupled to the RAID card via an I2C bus, and is coupled to the host device via a wireless access port or a wired access port.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the plurality of modules further comprises an initializing module configured to initialize the BMC when the electronic device is powered on.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the analyzing module is configured to determine that the stored RAID level is correctly set in the RAID card when data “1” is obtained from the register, and determine that the stored RAID level is not correctly set in the RAID card when data “0” is obtained from the register.

### Claim 5 (depends on 1)

The electronic device of claim 1, wherein the analyzing module is configured to obtain the data from a preset location of the register.

### Claim 6

A method for testing redundant array of independent disks (RAID) level of a RAID card, the RAID card being coupled to a baseboard management controller (BMC) of an electronic device, the BMC being coupled to a host device, the BMC comprising a storage unit for storing data of RAID level set to the RAID card, the method comprising:
obtaining a boot command from the host device after the BMC has been initialized;
generating a control signal according to the stored RAID level in response to the boot command;
transmitting the control signal to the RAID card, wherein the control signal is configured to direct the RAID card to set the stored RAID level, test whether the stored RAID level is correctly set, and store data indicative of the tested result in a register of the RAID card;
obtaining the data stored in the register;
determining whether the stored RAID level is correctly set in the RAID card according to the obtained data; and
storing the determined result in the storage unit of the BMC.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining whether the stored RAID level is correctly set in the RAID card according to the obtained data further comprises:
determining that the stored RAID level is correctly set in the RAID card when data “1” is obtained from the register; and
determining that the stored RAID level is not correctly set in the RAID card when data “0” is obtained from the register.

### Claim 8 (depends on 6)

The method of claim 6, wherein storing the determined result in the storage unit of the BMC further comprises:
transmitting a resetting signal to the BMC when the determined result indicates that the stored RAID level is not correctly set in the RAID card; and
transmitting the control signal to the RAID card in response to the resetting signal, to direct the RAID card to set the stored RAID level.
