Processing Method, Device and Disk Array System for Configuration File of Expander Chip

By writing the configuration file of the extender backplane to the normalized firmware in the disk array system, using pin signals to determine the backplane identification and read the configuration file, the problems of high maintenance of firmware and high operational risks in the multi-extender chip system are solved, and low-cost and high-reliability configuration management is achieved.

CN115904517BActive Publication Date: 2025-07-25SHANGHAI EVEX INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211636983.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2025-07-25
Estimated Expiration
2042-12-19

AI Technical Summary

Technical Problem

In the prior art, when multiple extender chips are used in disk array systems, firmware maintenance is difficult, resulting in increased operational risks.

Method used

Normalization of the configuration files corresponding to multiple extender backplanes is achieved by pre-write the configuration files corresponding to the normalized firmware, and the backplane identification is determined using the level signals of the specified pins, and reading the configuration files from the normalized firmware.

Benefits of technology

It reduces the difficulty of firmware maintenance of the extender chip, reduces the operating risks of disk array systems, and improves operation and maintenance efficiency and system security and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115904517B_ABST
    Figure CN115904517B_ABST
Patent Text Reader

Abstract

The present invention provides a method, apparatus and disk array system for processing a configuration file of an expander chip. The method is as follows: when the disk array system is powered on, the level signal of a specified pin on the target expander backplane corresponding to the target expander chip is read; according to the level signal of the specified pin, the target backplane identifier corresponding to the target expander backplane is determined; from the normalized firmware corresponding to the target expander chip, the configuration file corresponding to the target backplane identifier is read, and the normalized firmware stores the configuration files corresponding to multiple pre-written backplane identifiers, and the backplane identifier corresponds to the expander backplane corresponding to the expander chip in the disk array system. This solution realizes the normalization of the configuration file by writing the configuration files corresponding to multiple expander backplanes into the normalized firmware, thereby reducing the firmware maintenance difficulty of the expander chip and reducing the operation risk of the disk array system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and particularly to a method and apparatus for processing a configuration file of an expander chip and a disk array system. Background Art

[0002] With the increasing demand for storage devices, expander chips (Expander chips) are usually used in server products to expand more hard disks (SAS / SATA hard disks).

[0003] Large-capacity storage devices (Bulk Storage) may involve the situation where multiple expander chips are used in the same disk array system. Each Expander chip needs to load the corresponding firmware Bin file and configuration parameter Bin file. The above situation will result in the firmware Bin files and configuration parameter Bin files of multiple Expander chips in a disk array system, which will increase the maintenance difficulty of the firmware of the Expander chip and further increase the operation risk of the disk array system. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a method and apparatus for processing a configuration file of an expander chip and a disk array system to reduce the maintenance difficulty of the firmware of the Expander chip and the operation risk of the disk array system.

[0005] To achieve the above object, embodiments of the present invention provide the following technical solutions:

[0006] A first aspect of an embodiment of the present invention discloses a method for processing a configuration file of an expander chip. The method is applicable to a target expander chip, and the target expander chip is any expander chip in a disk array system. The method includes:

[0007] When the disk array system is powered on, read the level signal of a specified pin on the target expander backplane corresponding to the target expander chip;

[0008] Determine a target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin;

[0009] Read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, where the normalized firmware stores configuration files corresponding to multiple pre-written backplane identifiers, and the backplane identifier corresponds to the expander backplane corresponding to the expander chip in the disk array system.

[0010] Preferably, determining a target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin includes:

[0011] Sort and combine the level signals of the specified pins according to the preset sorting order of each specified pin to determine the target backplane identifier corresponding to the target expander backplane.

[0012] Preferably, read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, including:

[0013] Call a preset read function to read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip.

[0014] Preferably, after reading the configuration file corresponding to the target backplane identifier, it further includes:

[0015] Perform configuration based on the read configuration file corresponding to the target backplane identifier.

[0016] Preferably, the data form in the configuration file is an array form.

[0017] A second aspect of the embodiments of the present invention discloses a processing device for a configuration file of an expander chip. The device is applicable to a target expander chip, and the target expander chip is any expander chip in a disk array system. The device includes:

[0018] A first reading unit, configured to read the level signals of the specified pins on the target expander backplane corresponding to the target expander chip when the disk array system is powered on;

[0019] A determination unit, configured to determine the target backplane identifier corresponding to the target expander backplane according to the level signals of the specified pins;

[0020] A second reading unit, configured to read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, where the normalized firmware stores configuration files corresponding to multiple pre-written backplane identifiers, and the backplane identifiers correspond to the expander backplanes corresponding to the expander chips in the disk array system.

[0021] Preferably, the determination unit is specifically configured to: sort and combine the level signals of the specified pins according to the preset sorting order of each specified pin to determine the target backplane identifier corresponding to the target expander backplane.

[0022] Preferably, the second reading unit is specifically configured to: call a preset read function to read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip.

[0023] Preferably, it further includes:

[0024] A configuration unit for configuration based on the configuration file read corresponding to the target backplane identifier.

[0025] A third aspect of the embodiments of the present invention discloses a disk array system, which at least includes a plurality of expander chips and corresponding expander backplanes; any of the expander chips is used to execute the processing method of the configuration file of the expander chip disclosed in the first aspect of the embodiments of the present invention.

[0026] Based on the processing method, device and disk array system of the configuration file of an expander chip provided by the embodiments of the present invention, the method is as follows: when the disk array system is powered on, read the level signal of the specified pin on the target expander backplane corresponding to the target expander chip; according to the level signal of the specified pin, determine the target backplane identifier corresponding to the target expander backplane; read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip. In this solution, the configuration files corresponding to each backplane identifier are pre-written into the normalized firmware, and the backplane identifier corresponds to the expander backplane. When the disk array system is powered on, read the level signal of the specified pin on the target expander backplane corresponding to the target expander chip, and determine the target backplane identifier according to the level signal of the specified pin. Read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip. By writing the configuration files corresponding to multiple expander backplanes into the normalized firmware to achieve the normalization of the configuration files, thereby reducing the firmware maintenance difficulty of the expander chip and reducing the operation risk of the disk array system. Description of the Drawings

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.

[0028] Figure 1 It is a flowchart of a processing method for the configuration file of an expander chip provided by the embodiments of the present invention;

[0029] Figure 2 It is a schematic diagram of the architecture of the disk array system provided by the embodiments of the present invention;

[0030] Figure 3 It is another schematic diagram of the architecture of the disk array system provided by the embodiments of the present invention;

[0031] Figure 4Block diagram of a processing device for a configuration file of an expander chip provided by an embodiment of the present invention. Detailed implementation manners

[0032] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0033] In this application, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including the element.

[0034] As can be seen from the background art, a large-capacity storage device (Bulk Storage) may involve a situation where multiple expander chips are used in the same disk array system, and each Expander chip needs to load the corresponding firmware Bin file and configuration parameter Bin file. The foregoing situation will cause the firmware Bin files and configuration parameter Bin files of multiple Expander chips to appear in a disk array (Just a Bunch of Disk, JBOD) system, which will increase the maintenance difficulty of the firmware of the Expander chip, and further increase the operation risk of the disk array system.

[0035] Therefore, the embodiments of the present invention provide a method, device and disk array system for processing a configuration file of an expander chip, which pre-write the configuration files corresponding to each backplane identifier into a normalized firmware, and the backplane identifier corresponds to an expander backplane. When the disk array system is powered on, the level signal of a specified pin on the target expander backplane corresponding to the target expander chip is read, and the target backplane identifier is determined according to the level signal of the specified pin. The configuration file corresponding to the target backplane identifier is read from the normalized firmware corresponding to the target expander chip. By writing the configuration files corresponding to multiple expander backplanes into the normalized firmware, the normalization of the configuration files is realized, thereby reducing the maintenance difficulty of the firmware of the expander chip and reducing the operation risk of the disk array system.

[0036] It should be noted that through research, the inventor has found that currently, general servers are all equipped with an expander to achieve connection of more hard drives for the purpose of capacity expansion. However, the existing expander has at most 76 ports, which cannot meet the requirements of ultra-large-capacity storage devices. A bulk storage device will involve the situation of using multiple expanders in the same disk array system, that is, one expander serves as an I / O board, and multiple other expanders serve as BP (Backplane) boards for connecting hard drives. However, in the case of using multiple expanders as described above, each expander needs to load the corresponding firmware Bin file and configuration parameter Bin file due to different hardware configurations; this means that there will be multiple different firmware Bin files and configuration parameter Bin files under the same disk array system. After distributing multiple different firmware Bin files and configuration parameter Bin files under the same disk array system to relevant departments (such as R & D department, testing department, production department, operation and maintenance department, etc.), it brings great inconvenience to the maintenance of the firmware, and at the same time, there will be a situation of upgrading mismatched firmware, thus increasing the operation risk of the disk array system. Therefore, this solution realizes the normalization of the configuration file by writing the configuration files corresponding to multiple expander backplanes into the normalized firmware, thereby reducing the firmware maintenance difficulty of the expander chip and reducing the operation risk of the disk array system. The following will explain this solution in detail through various embodiments.

[0037] Furthermore, it should be noted that this solution is applicable to the target expander chip, which is any expander chip in the disk array system; that is to say, any expander chip in the disk array system can adopt this solution to read the corresponding configuration file.

[0038] See Figure 1 , which shows a flowchart of a method for processing a configuration file of an expander chip provided by an embodiment of the present invention. This method is applicable to the target expander chip, which is any expander chip in the disk array system. The method includes:

[0039] Step S101: When the disk array system is powered on, read the level signal of a specified pin on the target expander backplane corresponding to the target expander chip.

[0040] It should be noted that the target expander chip is connected to the specified pins on the corresponding target expander backplane, or rather, there are multiple specified pins on the target expander backplane connected to multiple specified pins of the target expander chip.

[0041] Since the level signals are divided into high level (usually represented by the number 1) and low level (usually represented by the number 0), the level signals of the designated pins can be used to determine the backplane identification of the target expander backplane (that is, the expander backplanes can be distinguished), and the number of designated pins can be determined according to the number of expander chips in the disk array system. The number of designated pins needs to meet the following prerequisite: the backplane identification (represented by Board ID) obtained by combining the level signals of each designated pin needs to be able to distinguish the expander backplanes corresponding to all expander chips in the disk array system. The expander backplanes corresponding to different expander chips correspond to different backplane identifications.

[0042] In some embodiments, the designated pins can be general-purpose input / output pins (GPIO PINs), or other types of pins, and the type of the designated pins is not limited herein.

[0043] In the process of specifically implementing step S101, when the disk array system is powered on and working, the target expander chip reads the level signals of the designated pins on the target expander backplane corresponding to the target expander chip.

[0044] Step S102: Determine the target backplane identification corresponding to the target expander backplane according to the level signals of the designated pins.

[0045] It should be noted that the preset sorting order of each designated pin is determined in advance.

[0046] In the process of specifically implementing step S102, the target expander chip sorts and combines the level signals of each designated pin according to the preset sorting order of each designated pin to determine the target backplane identification corresponding to the target expander backplane.

[0047] For example: Suppose the designated pins are GPIO65 and GPIO66, and the preset sorting order is GPIO65, GPIO66; the target expander chip reads the level signal of GPIO65 on the target expander backplane as 1, and reads the level signal of GPIO66 as 0; combined according to the aforementioned preset sorting order, the obtained target backplane identification is "10".

[0048] Step S103: Read the configuration file corresponding to the target backplane identification from the normalized firmware corresponding to the target expander chip.

[0049] It should be noted that, as can be seen from the content in step S101 above, according to the preset sorting order of each designated pin, different level signals of each designated pin can be combined to obtain multiple backplane identifiers for differentiating the expander backplanes in the disk array system; that is, different level signals of each designated pin are combined to obtain multiple backplane identifiers, and each backplane identifier corresponds to the expander backplane corresponding to a certain expander chip in the disk array system.

[0050] In some embodiments, data form conversion processing is performed on the configuration files of the expander backplanes corresponding to each expander chip in the disk array system in advance; a corresponding relationship is established between the backplane identifier corresponding to the expander backplane and the processed (data form conversion processed) configuration file, and then the processed configuration file is written into the normalized firmware.

[0051] That is to say, the normalized firmware stores the configuration files corresponding to multiple pre-written backplane identifiers, and the backplane identifiers correspond to the expander backplanes corresponding to the expander chips in the disk array system. The firmware (Expander Firmware) corresponding to each expander chip in the disk array system is all this normalized firmware (the normalized firmware is usually placed in the Flash of the Expander).

[0052] It can be understood that the file format of the configuration file of the expander backplane is Comma-Separated Values (CSV), and the data form in the CSV format configuration file is in the form of a table. To facilitate the subsequent reading of the configuration file, the data form in the configuration file can be converted into an array form.

[0053] Specifically, the specific method of the above-mentioned data form conversion processing is: using a preset development tool, converting the data in the configuration file from the form of a table into an array form, and writing the configuration file (which needs to establish a corresponding relationship with the backplane identifier) into the normalized firmware.

[0054] In some embodiments, the data form in the configuration file in the normalized firmware is in the form of an array. Through the above method, the data of the configuration files of each expander backplane in the disk array system can be compiled into the normalized firmware in the form of an array.

[0055] It can be understood that the data form in the configuration file in the normalized firmware is in the form of an array. To facilitate the reading of the configuration file, a reading function is constructed in advance using a Software Development Kit (SDK). This reading function can read CSV files and can read the corresponding configuration file using the backplane identifier.

[0056] In the process of specifically implementing step S103, the target expander chip calls a preset reading function to read configuration data in a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip. Specifically, the reading function is executed to read the configuration data (in the form of an array) in the corresponding configuration file according to the target backplane identifier.

[0057] In some embodiments, after the target expander chip reads the configuration file corresponding to the target backplane identifier, the target expander chip is configured based on the read configuration file corresponding to the target backplane identifier; specifically, the target expander chip configures the corresponding Expander based on the read configuration file corresponding to the target backplane identifier.

[0058] It should be noted that each expander chip in the disk array system can adopt the content in the above steps S101 to S103 to read the configuration file corresponding to the corresponding expander backplane. That is, the backplane identifier for distinguishing the expander backplane is obtained through the level signal of the specified pin on the expander backplane, and then the configuration file corresponding to the backplane identifier is read from the normalized firmware, so as to achieve the purpose of normalizing the Expander Firmware under the same disk array system.

[0059] In the embodiment of the present invention, the configuration files corresponding to each backplane identifier are pre-written into the normalized firmware, and the backplane identifier corresponds to the expander backplane. When the disk array system is powered on, the level signal of the specified pin on the target expander backplane corresponding to the target expander chip is read, and the target backplane identifier is determined according to the level signal of the specified pin. The configuration file corresponding to the target backplane identifier is read from the normalized firmware corresponding to the target expander chip. By writing the configuration files corresponding to multiple expander backplanes into the normalized firmware to achieve the normalization of the configuration files, the firmware maintenance difficulty of the expander chip is reduced and the operation risk of the disk array system is reduced.

[0060] To better explain the processing method of the configuration file of the expander chip provided in the above embodiment of the present invention, it is Figure 2 illustrated by an example.

[0061] See Figure 2 , Figure 2 which is a schematic diagram of the architecture of the disk array system provided in the embodiment of the present invention; Figure 2Among them, the disk array system includes 3 expanders (supporting a total of 118 drives). One of the expander backplanes serves as an IO board to be responsible for connecting to the Host Bus Adapter (HBA), and the other 2 expanders serve as BP boards to be responsible for connecting the 118 drives on the hard disk backplane. Among them, the expander chip corresponding to the IO board is denoted as the IO chip (corresponding to the Figure 2 IO Expander in it), and the expander chips corresponding to the 2 BP boards are respectively denoted as the BP0 chip (corresponding to the Figure 2 BP0 Expander in it) and the BP1 chip (corresponding to the Figure 2 BP1 Expander in it).

[0062] 60 drives are configured to be connected on the BP0 Expander, and 58 drives are configured to be connected on the BP1 Expander. There are 2 specific pins on the 3 expander backplanes, and these 2 specific pins are respectively connected to the GPIO65 pin and the GPIO66 pin of the IO chip, the BP0 chip, and the BP1 chip. The GPIO65 pin and the GPIO66 pin are the designated pins. The backplane identifiers corresponding to each expander backplane are shown in Table 1.

[0063] Table 1:

[0064] GPIO65 GPIO66 Backplane Identification IO 0 0 00 BP0 0 1 01 BP1 1 0 10

[0065] Taking the BP0 chip as the target expander chip as an example, the process of reading the configuration file is illustrated as follows: When the disk array system is powered on, the BP0 chip reads the level signals of the GPIO65 pin and the GPIO66 pin of the expander backplane of BP0. Among them, the level signal of the GPIO65 pin is 0, and the level signal of the GPIO66 pin is 1. The BP0 chip determines that the target backplane identifier is "01". The BP0 chip reads the configuration file corresponding to "01" from the normalized firmware.

[0066] Regarding the ways for the IO chip and the BP1 chip to read the configuration file, refer to the above content, and it will not be elaborated here.

[0067] Through the above Figure 2 content, it can be seen that since the disk array system includes 3 expanders, it is sufficient to distinguish the expander backplanes through the two designated pins of the GPIO65 pin and the GPIO66 pin. In practical applications, the number of designated pins needs to be determined according to the number of expander chips (or the number of expanders) of the disk array system.

[0068] As Figure 3 shown in another schematic diagram of the architecture of the provided disk array system, Figure 3The mid-disk array system contains 5 expanders (supporting a total of 108 drives). One of the expander backplanes serves as an IO board to be responsible for connecting to the HBA, and the other 4 expanders serve as BP boards to be responsible for connecting the 108 drives on the hard disk backplane. The expander chip corresponding to the IO board is denoted as the IO chip (corresponding to the Figure 3 IO Expander therein), and the expander chips corresponding to the 4 BP boards are respectively denoted as the BP0 chip (corresponding to the Figure 3 BP0 Expander therein), the BPl chip (corresponding to the Figure 3 BPl Expander therein), the BP2 chip (corresponding to the Figure 3 BP2 Expander therein), and the BP3 chip (corresponding to the Figure 3 BP3 Expander therein).

[0069] Since Figure 3 the disk array system contains 5 expanders, at least 3 designated pins are required to distinguish each expander backplane.

[0070] There are 3 specific pins on the 5 expander backplanes, and these 3 specific pins are respectively connected to the GPIO1 pin, GPIO2 pin, and GPIO3 pin of the IO chip, BP0 chip, BP1 chip, BP2 chip, and BP3 chip. The GPIO1 pin, GPIO2 pin, and GPIO3 pin are the designated pins. The determination method of the backplane identifier corresponding to each expander backplane can refer to Table 1 above, and no examples will be given here.

[0071] Through the above Figure 2 and Figure 3 it can be seen that all Expander hardware designs need to have unified designated pins (not limited to GPIO PINs), so that backplane identifiers can be generated, and then different expander backplanes can be distinguished through the backplane identifiers.

[0072] To further explain the content of each step in the above embodiments of the present invention Figure 1 the following examples are given through processes A1 to A7.

[0073] A1. Since the configuration file in CSV format contains the most primitive basic configuration information, the configuration files of each expander backplane can be modified respectively according to the differences of the expander backplanes (equivalent to different hard disk configurations actually mounted on different expanders).

[0074] A2. Since the data form in the configuration file (after modification) is in the form of a table, the data form in the configuration file is first converted into an array form by using a preset development tool.

[0075] A3. Compile the configuration file of the expander backplane processed by processes A1 and A2 into the normalized firmware.

[0076] A4. Use the SDK to build a reading function and compile it to generate the normalized firmware. This reading function can read CSV files and can read the corresponding configuration file using the backplane identifier.

[0077] A5. When the disk array system is powered on, the target expander chip reads the level signal of the specified pin on the target expander backplane corresponding to the target expander chip.

[0078] A6. The target expander chip determines the target backplane identifier corresponding to the target expander backplane based on the read level signal.

[0079] A7. The target expander chip uses the reading function to read the configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip.

[0080] The above is an example description of this solution; through this solution, it is convenient for R & D personnel, operation and maintenance personnel, etc. to maintain the version of the normalized firmware, improving the operation and maintenance efficiency; and it can also effectively avoid the problem of fault tolerance in the upgrade of the normalized firmware, thereby improving the security and reliability of the disk array system. Each expander backplane only needs to reserve a unified specified pin to achieve the distinction of expander backplanes (specifically distinguished by the backplane identifier), with the characteristics of low cost and high reliability.

[0081] Corresponding to the method for processing the configuration file of an expander chip provided in the above embodiment of the present invention, refer to Figure 4 , the embodiment of the present invention also provides a structural block diagram of a device for processing the configuration file of an expander chip. This processing device is applicable to the target expander chip, and the target expander chip is any expander chip in the disk array system. The processing device includes: a first reading unit 401, a determination unit 402, and a second reading unit 403;

[0082] The first reading unit 401 is configured to read the level signal of the specified pin on the target expander backplane corresponding to the target expander chip when the disk array system is powered on.

[0083] The determination unit 402 is configured to determine the target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin.

[0084] In a specific implementation, the determination unit 402 is specifically configured to: sort and combine the level signals of each specified pin according to the preset sorting order of each specified pin to determine the target backplane identifier corresponding to the target expander backplane.

[0085] A second reading unit 403, configured to read a configuration file corresponding to a target backplane identifier from a normalized firmware corresponding to a target expander chip, where the normalized firmware stores configuration files corresponding to a plurality of pre-written backplane identifiers, and the backplane identifiers correspond to expander backplanes corresponding to expander chips in a disk array system.

[0086] In a specific implementation, the second reading unit 403 is specifically configured to: call a preset reading function to read a configuration file corresponding to a target backplane identifier from a normalized firmware corresponding to a target expander chip.

[0087] In some embodiments, the data form in the configuration file is an array form.

[0088] In an embodiment of the present invention, configuration files corresponding to respective backplane identifiers are pre-written into a normalized firmware, and the backplane identifiers correspond to expander backplanes. When the disk array system is powered on, a level signal of a specified pin on a target expander backplane corresponding to a target expander chip is read, and a target backplane identifier is determined according to the level signal of the specified pin. A configuration file corresponding to the target backplane identifier is read from a normalized firmware corresponding to the target expander chip. By writing configuration files corresponding to multiple expander backplanes into the normalized firmware, normalization of the configuration files is achieved, thereby reducing the firmware maintenance difficulty of the expander chip and reducing the operation risk of the disk array system.

[0089] Preferably, in combination with Figure 4 the content shown, the processing device further includes:

[0090] A configuration unit, configured to perform configuration based on the read configuration file corresponding to the target backplane identifier.

[0091] Preferably, an embodiment of the present invention further provides a disk array system, which at least includes a plurality of expander chips and corresponding expander backplanes; any expander chip is configured to execute the method for processing a configuration file of an expander chip disclosed in the foregoing method embodiments.

[0092] In summary, an embodiment of the present invention provides a method, device, and disk array system for processing a configuration file of an expander chip. Configuration files corresponding to respective backplane identifiers are pre-written into a normalized firmware, and the backplane identifiers correspond to expander backplanes. When the disk array system is powered on, a level signal of a specified pin on a target expander backplane corresponding to a target expander chip is read, and a target backplane identifier is determined according to the level signal of the specified pin. A configuration file corresponding to the target backplane identifier is read from a normalized firmware corresponding to the target expander chip. By writing configuration files corresponding to multiple expander backplanes into the normalized firmware, normalization of the configuration files is achieved, thereby reducing the firmware maintenance difficulty of the expander chip and reducing the operation risk of the disk array system.

[0093] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other, and the key point of each embodiment is to illustrate the differences from other embodiments. In particular, for a system or system embodiment, since it is basically similar to a method embodiment, the description is relatively simple, and reference can be made to the corresponding part of the method embodiment for the relevant content. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative efforts.

[0094] Those skilled in the art can further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0095] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing a configuration file of an expander chip, characterized in that, The method is applicable to a target expander chip, where the target expander chip is any expander chip in a disk array system. The method includes: When the disk array system is powered on, read the level signal of a specified pin on the target expander backplane corresponding to the target expander chip; Determine a target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin; Read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, where multiple configuration files corresponding to pre-written backplane identifiers are stored in the normalized firmware, and the backplane identifier corresponds to the expander backplane corresponding to the expander chip in the disk array system; Determine a target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin, including: Sort and combine the level signals of each specified pin according to the preset sorting order of each specified pin to determine a target backplane identifier corresponding to the target expander backplane.

2. The method according to claim 1, wherein Read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, including: Call a preset read function to read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip.

3. The method according to claim 1, characterized in that, After reading the configuration file corresponding to the target backplane identifier, it further includes: Perform configuration based on the read configuration file corresponding to the target backplane identifier.

4. The method according to any one of claims 1-3, characterized in that, The data form in the configuration file is in array form.

5. A processing device for a configuration file of an expander chip, characterized in that, The device is applicable to a target expander chip, where the target expander chip is any expander chip in a disk array system. The device includes: A first reading unit, configured to read the level signal of a specified pin on the target expander backplane corresponding to the target expander chip when the disk array system is powered on; A determination unit, configured to determine a target backplane identifier corresponding to the target expander backplane according to the level signal of the specified pin; A second reading unit, configured to read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip, where multiple configuration files corresponding to pre-written backplane identifiers are stored in the normalized firmware, and the backplane identifier corresponds to the expander backplane corresponding to the expander chip in the disk array system; The determination unit is specifically configured to: sort and combine the level signals of each specified pin according to the preset sorting order of each specified pin to determine a target backplane identifier corresponding to the target expander backplane.

6. The device according to claim 5, characterized in that, The second reading unit is specifically configured to: call a preset read function to read a configuration file corresponding to the target backplane identifier from the normalized firmware corresponding to the target expander chip.

7. The device according to claim 5, characterized in that It further includes: A configuration unit, configured to perform configuration based on the read configuration file corresponding to the target backplane identifier.

8. A disk array system, characterized in that, The disk array system includes at least multiple expander chips and corresponding expander backplanes; any of the expander chips is used to execute the processing method of the configuration file of any one of the expander chips in claims 1-4.

Citation Information

Patent Citations

  • Hard disk lighting method and device and storage medium

    CN110806964A

  • Selection device and method based on Expander FW configuration file

    CN111190849A