A configuration method of a hard disk backboard and a computing device
By reading the hard drive backplane information and determining the model and configuration information after the computing device is powered on, the problems of high development cost and poor compatibility of hard drive backplanes are solved, the expansion and compatible reuse of hard drive backplanes are realized, and the maintainability of the server is improved.
Patent Information
- Application Number
- CN202211555134.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-06
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2042-12-06
AI Technical Summary
In the existing technology, the development method of hard disk backplanes leads to high labor costs, long development time, and many types of hard disk backplanes that are not compatible and reusable, which increases the difficulty of server management and maintenance and the overall cost.
After the computing device is powered on, the processing module polls for information, reads the hard disk backplane information, and determines the model and configuration information of the computing device based on the hard disk backplane information, thereby achieving hard disk backplane adaptation and expansion compatibility.
It saves development costs, shortens development cycles, reduces the types and number of hard drive backplanes, and improves the maintainability of computing devices.
Smart Images

Figure CN116185505B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of servers, and in particular to a hard disk backplane configuration method and a computing device. BACKGROUND
[0002] There are various types of servers, which can be divided into 1U, 2U and 4U types according to height, and further, these types of servers can be further divided into various configuration models according to functions, supported terminal types, supported terminal numbers and the like, and these models often need to be matched with hard disk backplanes of various heights and supporting different functions.
[0003] In the development of servers of different heights, different functions, different storage capacities and the like, a hard disk backplane required for specific needs is often developed separately, which not only has a large workload from scheme design to product production, but also has high labor cost and long development time, and is easy to cause time delay, and on the other hand, the types and quantities of hard disk backplanes are numerous, and compatibility and reuse of the hard disk backplanes are ignored, which not only wastes resources, but also increases the difficulty of management and maintenance of the servers and brings chaos, resulting in an increase in overall cost. SUMMARY
[0004] In order to solve the above technical problems, the embodiments of the present application disclose a hard disk backplane configuration method and a computing device.
[0005] In a first aspect, the embodiments of the present application disclose a hard disk backplane configuration method, which can be applied to a processing module of a computing device (such as a server), or a logic module or software capable of realizing all or part of the functions of the processing module. The computing device can include at least one hard disk backplane, and the processing module and the at least one hard disk backplane are coupled. The hard disk backplane configuration method is described below by taking the processing module applied to the computing device as an example. The hard disk backplane configuration method can include: obtaining hard disk backplane information of the computing device, the hard disk backplane information including information of the one or more hard disk backplanes; determining configuration information of the computing device according to the hard disk backplane information, the configuration information being used for configuring the one or more hard disk backplanes.
[0006] In the embodiments of the present application, after the computing device is powered on, the processing module of the computing device can perform information polling, read hard disk backplane information from the external interface, and then determine the configuration information of the computing device according to the hard disk backplane information. After that, the hard disk backplane of the computing device can be adapted through the configuration information of the computing device. It can be seen that, since the processing module can flexibly determine the configuration information of the corresponding computing device according to the hard disk backplane information, and then perform adaptation, for a hard disk backplane, it can be installed in different servers or different positions of a server, so that the flexibility of the hard disk backplane can be improved, the expansion and compatible reuse of the hard disk backplane can be realized, thereby the development cost can be saved, the types and quantity of the hard disk backplane can be reduced, and the overall maintainability of the computing device can be improved.
[0007] As a possible implementation, the determining the configuration information of the computing device according to the hard disk backplane information comprises: determining the model of the computing device according to the hard disk backplane information; and determining the configuration information of the computing device according to the model of the computing device.
[0008] In the embodiments of the present application, since different computing device models can correspond to different configuration information, the processing module can first determine the model of the computing device according to the read hard disk backplane information, and then determine the corresponding configuration information according to the model of the computing device. In this way, accurate configuration information of the computing device can be ensured.
[0009] As a possible implementation, the method further comprises: determining a reading path of the information of the one or more hard disk backplanes, the reading path of the hard disk backplane information being a path for data transmission between the processing module and the one or more hard disk backplanes; and the determining the model of the computing device according to the hard disk backplane information comprises: determining the model of the computing device according to the hard disk backplane information and the reading path of the information of the one or more hard disk backplanes.
[0010] In the embodiments of the present application, different position relationships of the same combination of hard disk backplanes can correspond to different computing device models. At this time, different computing device models can correspond to the same combination of hard disk backplanes, and therefore the processing module can determine the model of the computing device according to the hard disk backplane information and the reading path of the information of the one or more hard disk backplanes, so that the accuracy of the obtained model of the computing device can be ensured.
[0011] As a possible implementation, the method further comprises: obtaining information of at least one hardware device of the computing device; and the determining the model of the computing device according to the hard disk backplane information comprises: determining the model of the computing device according to the hard disk backplane information and the information of the at least one hardware device.
[0012] In an embodiment of the present application, different hardware device configurations (e.g., different numbers of hardware devices, different models of hardware devices, etc.) can correspond to different computing device models with the same combination of hard disk backplanes. In this case, different computing device models can correspond to the same combination of hard disk backplanes, and thus the processing module can determine the model of the computing device based on the hard disk backplane information and the information of the at least one hardware device (e.g., a RAID card), thereby ensuring the accuracy of the obtained model of the computing device.
[0013] As a possible implementation, the configuration information of the computing device is determined based on the model of the computing device and a configuration information mapping table. The configuration information mapping table includes configuration information corresponding to different models of computing devices.
[0014] In an embodiment of the present application, the processing module can store a configuration information mapping table. The table can include configuration information corresponding to different models of computing devices, thereby facilitating the processing module to determine the configuration information of the computing device based on the model of the computing device and improving the processing efficiency.
[0015] As a possible implementation, the hard disk backplane information includes the identifiers of the one or more hard disk backplanes, and the identifiers of the one or more hard disk backplanes are respectively used to indicate the hardware resources of the one or more hard disk backplanes.
[0016] In an embodiment of the present application, the information of each hard disk backplane of the computing device read by the processing module can include the identifier of each hard disk backplane. Thus, the type and corresponding hardware resources of each hard disk backplane can be determined based on the identifier of each hard disk backplane, thereby facilitating the processing module to determine the corresponding computing device height and model based on the type of each hard disk backplane.
[0017] As a possible implementation, the processing module is a baseboard management controller (BMC).
[0018] As a possible implementation, the computing device further includes a basic input / output system (BIOS) module. The configuration information of the computing device is determined based on the hard disk backplane information as follows: the processing module sends the hard disk backplane information to the BIOS module; and the processing module receives the configuration information of the computing device from the BIOS module, wherein the configuration information of the computing device is determined by the BIOS module based on the hard disk backplane information.
[0019] In the embodiments of the present application, the configuration information of the computing device can be determined by the BIOS module of the computing device according to the model of the computing device, so that the BIOS module can perform corresponding configuration according to the configuration information of the computing device, thereby making the hard disk backplane installed on the computing device can be adapted to the computing device, and further making the computing device can perform corresponding management on the hard disk backplane.
[0020] As a possible implementation, the configuration information of the computing device includes virtual pin port address information corresponding to the one or more hard disk backplanes.
[0021] In the embodiments of the present application, the configuration information of the computing device can include the related configuration of the virtual pin port address, so that each hard disk backplane of the computing device can be allocated a corresponding vpp address and the like.
[0022] In a second aspect, the embodiments of the present application disclose a configuration method of a hard disk backplane. The configuration method of the hard disk backplane can be applied to a hard disk backplane of a computing device, can be applied to a module (for example, a chip) in the hard disk backplane, and can be applied to a logic module or software capable of realizing all or part of the function of the hard disk backplane. The computing device includes a processing module. The configuration method of the hard disk backplane is described below by taking the hard disk backplane of the computing device as an example. The configuration method of the hard disk backplane can include: the hard disk backplane sends information of the hard disk backplane to the processing module of the computing device; the hard disk backplane receives configuration information of the computing device; and the hard disk backplane is adapted according to the configuration information.
[0023] As a possible implementation, at least one storage medium is arranged on the hard disk backplane, and the storage medium is used to store the information of the hard disk backplane.
[0024] In a third aspect, the embodiments of the present application disclose a computing device. The computing device includes a processing module and one or more hard disk backplanes. The one or more hard disk backplanes are coupled to the processing module. The processing module is used to realize the configuration method of the hard disk backplane disclosed in the first aspect and any possible implementation manner of the first aspect.
[0025] In a fourth aspect, the embodiments of the present application disclose a processing module. The processing module can be a baseboard management controller. The processing module includes a processor, a memory and a communication interface. The processor calls a computer program stored in the memory to realize the configuration method of the hard disk backplane disclosed in the first aspect and any possible implementation manner of the first aspect.
[0026] In a fifth aspect, the embodiments of the present application disclose a hard disk backboard, which comprises a processor, a memory and a communication interface, the processor invokes a computer program stored in the memory to realize the configuration method of the hard disk backboard disclosed in the second aspect and any possible implementation manner of the second aspect.
[0027] In a sixth aspect, the embodiments of the present application disclose a computing device, which comprises the processing module disclosed in the fourth aspect and the hard disk backboard disclosed in the fifth aspect.
[0028] In a seventh aspect, the embodiments of the present application disclose a computer readable storage medium, which comprises computer instructions, when the computer instructions run on a computing device, make the computing device execute the configuration method of the hard disk backboard disclosed in any possible implementation manner of any aspect.
[0029] In an eighth aspect, the embodiments of the present application disclose a computer program product, which comprises computer program codes, when the computer program product runs on a computer, make the computer execute the configuration method of the hard disk backboard in any possible implementation manner of any aspect.
[0030] In a ninth aspect, a chip is disclosed, which comprises a processor, and is used to execute a program stored in a memory, when the program is executed, make the chip execute the configuration method of the hard disk backboard in any possible implementation manner of any aspect.
[0031] As a possible implementation manner, the memory is located outside the chip.
[0032] It can be understood that the computing device provided in the third aspect, the processing module provided in the fourth aspect, the computer readable storage medium provided in the seventh aspect, the computer program product provided in the eighth aspect and the chip provided in the ninth aspect can all be used to execute the configuration method of the hard disk backboard provided in the first aspect and any possible implementation manner of the first aspect. Therefore, the beneficial effects achieved by the above-mentioned aspects can refer to the beneficial effects in the corresponding method, which will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0034] Figure 1 is a structural schematic diagram of a server disclosed by the embodiments of the present application;
[0035] Figure 2is a system architecture schematic diagram disclosed by an embodiment of the present application;
[0036] Figure 3 is a flow schematic diagram of a hard disk backplane configuration method disclosed by an embodiment of the present application;
[0037] Figure 4 is a flow schematic diagram of another embodiment of a hard disk backplane configuration method disclosed by the present application;
[0038] Figure 5 is a structure schematic diagram of a computing device disclosed by an embodiment of the present application. DETAILED DESCRIPTION
[0039] The present application discloses a hard disk backplane configuration method and a computing device. The hard disk backplane configuration method can enable the hard disk backplane to complete self-adaptation in the case of being installed in different types of servers or different positions of a server, etc., and also enables the server to complete the expansion of the hard disk backplane, without additional investment in manual development and maintenance, thereby realizing the expansion and compatible reuse of the hard disk backplane, saving development costs, reducing the types and quantity of hard disk backplanes, and improving the overall maintainability of the server system. The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application.
[0040] In order to better understand the embodiments of the present application, the related technologies of the embodiments of the present application will be described first.
[0041] With the progress of computer technology, the functions and performance of servers are constantly improving and perfecting, and servers play an increasingly important role in the fields of cloud computing, data centers, big data, etc. Among them, servers can generally be divided into tower servers, rack mount servers, blade servers, high-density servers, etc. In order to facilitate the delivery and installation of various types of servers, when designing a server, it is generally designed according to relevant standards, and the general height can be 1U, 2U, 4U, etc., and the width can be 19 inches. 1U (unit) is approximately equal to 44.45mm.
[0042] A server generally includes front panels, power supplies, rear panels, mainboards, system fans, hard disk backplanes, etc. Among them, the front panel is generally the block that the user mainly maintains, and can include input / output interfaces, hard disk modules, optical disk drives, information labels, etc. The layout of the front panel is different between different manufacturers and different product categories. Since the front panel directly faces the user and is the most direct and accessible interface, components such as hard disks or hard disk modules that may need to be replaced (such as replacement in the case of hard disk failure) are generally arranged at positions such as the front panel.
[0043] The back panel is opposite to the front panel. The back of the server is generally the interface direction of the cable winding, power distributor, and fiber switch. Therefore, the power interface, graphics card interface, fiber interface, USB (universal serial bus) input and output interface, etc. are generally designed on the back panel of the server.
[0044] The mainboard is one of the main components of the server and undertakes the operation work of the server. The mainboard can generally be provided with a central processing unit, a baseboard management controller, a memory slot, a power management chip, a storage function control chip, and a PCIe (peripheral component interconnect express) connector reserved for an expansion card, an I / O (input / output) interface, etc.
[0045] The system fan is a heat dissipation component of the server. Through heat dissipation of the system fan, overheating failure of the central processing unit, graphics processor (GPU) and other devices of the server can be avoided, so that normal operation of the server can be ensured.
[0046] The hard disk backboard is a bridge supporting the mainboard and the storage and mainly functions to connect the hard disk or hard disk module and can also provide some additional functions, such as working state indication and hot plug support.
[0047] Figure 1 Fig. 1 is a structural schematic diagram of a server according to an embodiment of the present application. Generally, the positional relationship among the hard disk module 101, the hard disk backboard 102 and the mainboard 103 on the server 100 is as shown in Fig. 1. The hard disk backboard 102 can be coupled with the hard disk module 101 and the mainboard 103 respectively. Figure 1 As an example, the hard disk module 101 can include six hard disks, which can be inserted into the corresponding slots of the hard disk backboard 102, so as to be coupled with the hard disk backboard 102. Figure 1
[0048] At present, servers can be divided into 1U, 2U, 4U and the like according to height, and different height servers can be further divided into various configuration models according to functions, supported terminal types, supported terminal numbers and the like, which generally need to be matched with hard disk backplanes of different heights and supporting different functions. For example, when the market demands new functions of servers, especially new requirements in storage, such as expanding storage capacity, increasing the number of hard disks and the like, generally, the hard disk backplane single board needs to be developed and verified according to new requirements. For another example, when developing servers of different heights, different types and different storage capacities, generally, hard disk backplanes of different sizes need to be developed. For another example, in different server new projects, hard disk backplanes are also developed separately. Among them, since new hard disk backplanes need to be developed in various scenarios, the human cost is high and the development time is long from scheme design to product mass production, which is easy to cause time delay and affect product delivery. Moreover, this also leads to a large number of hard disk backplanes, which increases the difficulty of management and maintenance of servers and brings chaos, resulting in the increase of overall cost. In addition, in the design of the server system, the maximum utilization of the port resources of the CPU is often required, so more hard disks or cards need to be loaded on the server system to achieve higher configuration under the condition that the structure and capacity of the server are unchanged.
[0049] To solve the above problems, in the embodiments of the present application, after the computing device is powered on, the processing module of the computing device can perform information polling to read hard disk backplane information from the external interface, and then can determine the model of the computing device according to the hard disk backplane information, and then can determine the configuration information of the computing device according to the model of the computing device. Then, the hard disk backplane of the computing device can be adapted through the configuration information of the computing device. It can be seen that since the processing module can determine the configuration information of the corresponding computing device according to the hard disk backplane information and then adapt, for a hard disk backplane, it can be installed in different servers or different positions of the server, so that the expansion and compatible reuse of the hard disk backplane can be realized, thereby saving development cost, shortening development period, reducing the types and number of hard disk backplanes, and improving the overall maintainability of the computing device.
[0050] In order to better understand the embodiments of the present application, the system architecture used in the embodiments of the present application will be described first.
[0051] Please refer to Figure 2 , Figure 2 is a system architecture diagram disclosed by the embodiments of the present application. As Figure 2As shown, the system architecture can be a system architecture of the computing device 200, which can include a processing module 201, a hard disk backboard 202, a BIOS module 203, and an external interface 204. The processing module 201 and the hard disk backboard 202 can communicate with each other (i.e., data interaction) through the external interface 204.
[0052] In some embodiments, the processing module 201 can be a baseboard management controller (BMC). The BMC can be used to monitor, manage, and the like, the computing device 200, and support remote management (such as device reset, power on / off, and the like) through a management network interface. For example, the BMC can monitor the status (such as humidity, temperature, and the like) of various hardware devices in the server. For another example, the BMC can be used for system configuration, firmware upgrade, fault diagnosis, and the like.
[0053] It should be understood that, in a possible implementation, the processing module 201 can be installed on a mainboard of the computing device, which can be a rectangular circuit board. It should also be understood that the processing module 201 can include a plurality of external interfaces, which can be connected to different hardware devices in the computing device 200.
[0054] The hard disk backboard 202 is a fixed plug-in transmission component in the computing device, which serves as a bridge to connect the hard disk and the mainboard. The hard disk backboard can be divided into different types according to different size structures (such as height, width), supported hard disk types, hard disk quantity, and the like. It should be understood that the hard disk backboard 202 can realize hot plug of the hard disk. The hot plug of the hard disk means that when the device is still in a working state (under power-on condition), the hard disk can be plugged in or pulled out, and the hard disk will not be damaged, data will not be lost, and power supply and data transmission cables will not be affected.
[0055] It should be understood that the hard disk backboard 202 can be connected with one or more hard disks through an interface, where the hard disk type can be a mechanical hard disk, a solid state disk (such as an NVMe solid state disk), etc. The interface through which the hard disk is connected with the hard disk backboard 202 can be a PCIe dedicated interface, a SATA (serial advanced technology attachment) dedicated interface, an M.2 interface, etc. Correspondingly, the channel through which the hard disk transmits data with the hard disk backboard 202 through the interface can be a PCIe channel, a SATA channel, a SAS (serial attached SCSI) channel, etc. It should be understood that the communication protocol supported by the hard disk in transmitting data can be an IDE (integrated drive electronics) protocol, an AHCI (advanced host controller interface) protocol, an NVMe (non-volatile memory express) protocol, etc.
[0056] The BIOS module 203 generally includes a basic input and output program, including a power-on self-test program and a system self-starting program, and can provide the most basic and direct hardware settings and controls for the computing device. The basic input and output program can generally be kept in a read-only memory (ROM) and directly controls the input and output devices in the computer system at the device level and the hardware level, and is a hub connecting between software programs and hardware devices. Generally, the BIOS can contain codes for controlling the keyboard, display screen, disk drive, serial communication device and many other functions. The software part of many technologies in the computer technology field is managed and implemented with the help of the BIOS. For example, the PnP technology (plug and play), i.e., by adding a PnP module in the BIOS. For example, the hot swap technology is also sent to the configuration management program in the BIOS by the system BIOS, and the program is reconfigured (such as interrupt, DMA channel, etc.). In fact, the hot swap technology also belongs to the PnP technology.
[0057] It's important to note that hot-swapping technology originated in the server technology field. Hard drives used for data storage in servers are prone to failure and even damage. To allow for hard drive replacement without shutting down the system, the interfaces connecting the hard drives in servers need to be hot-swappable. For example, Intel introduced the PCI-Express specification, which supports hot-swapping. PCI-Express is a high-speed serial computer expansion bus standard capable of high-speed serial point-to-point dual-channel high-bandwidth transmission. Hot-swapping functionality is a native attribute of the PCI-Express specification, which includes a native PCI-Express hot-swapping system. Taking a server system as an example, a complete native PCI-Express hot-swapping system includes at least three aspects: hardware, the server and hard drive are connected via a PCIe interface; firmware, the server motherboard BIOS provides hot-swapping functionality support; and software, the server operating system kernel provides hot-swapping driver architecture support. It should be understood that the kernel is the core of an operating system, providing the most basic functions of the operating system. The operating system kernel is responsible for managing system processes, memory, device drivers, file systems, network systems, etc. The kernel acts as a bridge between applications and hardware, determining system performance and stability. Regarding a possible operating mechanism for the Native PCI-Express hot-plug system in a server system, specifically, after the server operating system takes over the querying and control of hot-plug registers (such as slot capabilities registers), obtains information about the hot-pluggable components of the hardware, and then, with the support of the server motherboard BIOS, completes the enabling and configuration of PCIe device hot-plug functionality, when a hot-plugging event occurs (such as a hard drive insertion / removal request or a power failure), a hot-plugging event (such as a system interrupt or power management event) can be submitted to the server operating system's hot-plug handling mechanism through the OSHP (operating system hot plug, hot-plug control passed to the operating system) method. The server operating system kernel then executes the hot-plug driver to perform hot-plug control.
[0058] It should be understood that a computing device may include one or more hard disk backplanes (HDPs). Figure 2 (Only one is shown in the diagram). These one or more hard drive backplanes can be installed in different locations on the computing device, such as at the front as a front panel, at the rear as a rear panel, or inside the device as a built-in panel. It should also be understood that each hard drive backplane of the computing device can be connected to one or more hard drives.
[0059] It should be noted that in some embodiments, the external interface 204 can be an I2C interface, and accordingly, the processing module 201 can communicate with the hard disk backplane 202 through an I2C (inter-integrated circuit) bus. In the I2C bus protocol, data transmission between the master and slave devices on the I2C bus is in bytes (8 bits) and is bidirectional, each device on the I2C bus can be a master or a slave, and each device can correspond to a unique address. Specifically, the start and end signals of data transmission on the I2C bus are always generated by the master, in other words, only the master can actively communicate, and the address of the slave device is specified by the master before transmitting valid data. Data transmission between the master and slave devices on the I2C bus is based on the address, and after the master sends the start signal, it usually sends a 7-bit address of the slave device and a 1-bit direction bit indicating the direction of data transmission. The direction bit is 0, indicating that the master writes data to the slave device, and the direction bit is 1, indicating that the master reads data from the slave device.
[0060] It should be noted that the computing device 200 can be a server, such as a file server, a domain server, a database server, a mail server, a web server, a multimedia server, a communication server, a terminal server, an infrastructure server, a virtualization server, etc. The structure of the server can be tower, rack, blade, cabinet, etc.
[0061] In some embodiments, the processing module 201 and the hard disk backplane 202 can include a processor, a memory, and the like. The memory can include, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a compact disc read-only memory (CD-ROM), and the like. The processor can be a complex programmable logic device, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof.
[0062] It should be noted that, Figure 2 The system architecture shown is only illustrative and does not constitute a limitation. In other embodiments of the present application, Figure 2 The system architecture shown can include more or fewer components or functional modules than those shown.
[0063] Based on the above system architecture, please refer to Figure 3 , Figure 3 is a flow diagram of a configuration method of a hard disk backplane according to an embodiment of the present application. As Figure 3 shown, the configuration method of the hard disk backplane can include, but is not limited to, the following steps:
[0064] 301. The processing module obtains hard disk backplane information of the computing device, the hard disk backplane information including information of one or more hard disk backplanes of the computing device.
[0065] One or more hard disk backplanes can be provided on the computing device, and the one or more hard disk backplanes can be coupled with the processing module of the computing device. Therefore, in order to configure the one or more hard disk backplanes, after the computing device is powered on, the processing module of the computing device can read the information of the one or more hard disk backplanes through the external interface connected with the one or more hard disk backplanes. The information of the one or more hard disk backplanes can include the identification of the one or more hard disk backplanes, and the identification of the one or more hard disk backplanes is respectively used to indicate the hardware resources of the one or more hard disk backplanes. The identification of a hard disk backplane can be the backplane ID (i.e., Board ID) of the hard disk backplane, or other information (such as the name of the hard disk backplane) that can identify the type or hardware resources of the hard disk backplane, which is not limited herein. It can be understood that the hardware resources of the hard disk backplane can include the number of interfaces of the hard disk backplane, the maximum number of supported hard disks, the supported hard disk types, and the like, and the hardware resources corresponding to different types of hard disk backplanes are different.
[0066] It should be noted that different types of hard disk backplanes correspond to different identifiers. Therefore, the processing module of the computing device can determine the type of the hard disk backplane by the identifier of the hard disk backplane obtained. For example, assuming that there are three types of hard disk backplanes, A type hard disk backplane, B type hard disk backplane, and C type hard disk backplane, and their corresponding backplane IDs are 01, 10, and 11 respectively. The computing device includes two hard disk backplanes, hard disk backplane 1 and hard disk backplane 2, wherein the hard disk backplane 1 is an A type hard disk backplane, and the hard disk backplane 2 is a C type hard disk backplane. Therefore, when the processing module of the computing device reads the backplane ID of the hard disk backplane 1 as 01, it can be determined that the hard disk backplane 1 is an A type hard disk backplane. Similarly, when the processing module of the computing device reads the backplane ID of the hard disk backplane 2 as 11, it can be determined that the hard disk backplane 2 is a C type hard disk backplane.
[0067] In some embodiments, the computing device can store information of different types of hard disk backplanes, which can specifically include the number of interfaces of each type of hard disk backplane, the maximum number of supported hard disks, the supported hard disk types, and the like. For example, for the A type hard disk backplane described above, it can support 12 NVMe hard disks, for the B type hard disk backplane described above, it can support 24 NVMe hard disks, and for the C type hard disk backplane described above, it can support 4 NVMe hard disks.
[0068] Specifically, in a possible implementation, after the computing device is powered on, the processing module of the computing device can perform information polling, that is, reading the information of the related hardware devices included in the computing device through the interfaces thereof. It should be understood that the processing module of the computing device can include a plurality of external interfaces, which can correspond to different hardware devices respectively, such as the power supply, graphics card, network card, hard disk backplane, memory, RAID card, Retimer card, and the like of the computing device. Accordingly, the processing module of the computing device can read the information of the power supply, graphics card, network card, hard disk backplane, memory, RAID card, Retimer card, and the like of the computing device through the external interfaces thereof.
[0069] In some embodiments, the external interface between the processing module and the hardware devices such as the hard disk backplane, the RAID card, etc. is an I2C interface. Therefore, the processing module can be connected with the hardware devices such as the hard disk backplane, the RAID card, etc. through the I2C bus. Correspondingly, the communication mode adopted by the processing module of the computing device and the respective hardware devices corresponding to the external interface of the processing module can be the communication mode of the I2C bus. At this time, these hardware devices can each have an address for I2C communication (hereinafter referred to as an I2C address for short), and these I2C addresses can be stored in the computing device. It should be noted that different I2C addresses can correspond to different data reading paths, such as a front path, a rear path, and an internal path. In addition, the data reading path corresponding to the front panel can be the front path, the data reading path corresponding to the rear panel can be the rear path, and the data reading path corresponding to the internal panel can be the internal path. Therefore, the processing module of the computing device can determine the installation position of a certain hard disk backplane according to the I2C address corresponding to the information of the hard disk backplane.
[0070] For example, it is assumed that the computing device includes two hard disk backplanes, hard disk backplane 1 and hard disk backplane 2, wherein the hard disk backplane 1 is a front backplane, and the I2C address corresponding thereto is address 1; the hard disk backplane 2 is a rear panel, and the I2C address corresponding thereto is address 2. The processing module can read the information of the hard disk backplane 1 based on the address 1, and since the reading path corresponding to the address 1 is the front path, the processing module can determine that the hard disk backplane corresponding to the address 1 is the front backplane. Correspondingly, the processing module can read the information of the hard disk backplane 2 based on the address 2, and since the reading path corresponding to the address 2 is the rear path, the processing module can determine that the hard disk backplane corresponding to the address 2 is the rear backplane.
[0071] It should be understood that the processing module of the computing device can access different hardware devices through different I2C addresses, so as to obtain the information of a specific hardware device. In addition, the information read through an I2C address can determine the specific hardware device corresponding to the I2C address.
[0072] 302. The processing module determines the model of the computing device according to the hard disk backplane information.
[0073] It should be noted that the computing device can be divided into different models according to the configuration of the hardware devices, and different models can correspond to the configuration information of different computing devices. Therefore, after the processing module of the computing device reads the information (such as the information of each hard disk backplane of the computing device) through each external interface, the processing module can first determine the model of the computing device according to the information.
[0074] In some embodiments, different combinations of hard disk backplanes can correspond to different computing device models, and thus the computing device can determine the model of the computing device according to the information of the one or more hard disk backplanes included in the computing device. It should be understood that the different combinations of hard disk backplanes can be combinations of different types of hard disk backplanes, combinations of different numbers of the same type of hard disk backplane, or combinations of different numbers of different types of hard disk backplanes.
[0075] For example, assume that there are three types of hard disk backplanes, A-type hard disk backplane, B-type hard disk backplane, and C-type hard disk backplane, and their corresponding backplane IDs are 01, 10, and 11, respectively. These three types of hard disk backplanes can have four different combinations, corresponding to four different computing device models. The first combination is one A-type hard disk backplane, corresponding to model 1; the second combination is two A-type hard disk backplanes, corresponding to model 2; the third combination is one A-type hard disk backplane and one C-type hard disk backplane, corresponding to model 3; and the fourth combination is one B-type hard disk backplane and one C-type hard disk backplane, corresponding to model 4. If the computing device includes two hard disk backplanes, hard disk backplane 1 and hard disk backplane 2, where hard disk backplane 1 is an A-type hard disk backplane and hard disk backplane 2 is a C-type hard disk backplane. Therefore, when the processing module of the computing device reads the backplane ID of hard disk backplane 1 as 01 and the backplane ID of hard disk backplane 2 as 11, it can be determined that the computing device includes one A-type hard disk backplane and one C-type hard disk backplane, and thus the corresponding model of the computing device is model 3. It should be understood that the correspondence between the combination of backplane IDs and the computing device model can be stored in the computing device, for example, the computing device can store a model mapping table in the memory, which includes the correspondence between the combination of backplane IDs and the computing device model. Taking the above example, the model mapping table can store four pieces of data, which are 01: model 1, 01, 01: model 2, 01, 11: model 3, 10, 11: model 4.
[0076] In other embodiments, different position relationships of the same combination of hard disk backplanes can correspond to different computing device models. At this time, different computing device models can correspond to the same combination of hard disk backplanes, and thus the processing module of the computing device needs to further determine the model of the computing device according to the position of the hard disk backplane, that is, the computing device needs to determine the model of the computing device according to the hard disk backplane information and the reading path of the information of the one or more hard disk backplanes.
[0077] For example, assume there are three types of hard disk backplanes, A type hard disk backplane, B type hard disk backplane, and C type hard disk backplane, and their corresponding backplane IDs are 01, 10, and 11, respectively. The three types of hard disk backplanes can have four different combinations (including combinations of different positions of the same hard disk backplane), corresponding to four different computing device models. The first combination is one A type hard disk backplane as a front backplane, corresponding to Model 1. The second combination is two A type hard disk backplanes, both as front backplanes, corresponding to Model 2. The third combination is two A type hard disk backplanes, one as a front backplane and one as a rear backplane, corresponding to Model 3. The fourth combination is one B type hard disk backplane and one C type hard disk backplane, with the B type hard disk backplane as a front backplane and the C type hard disk backplane as a rear backplane, corresponding to Model 4. If the computing device includes two hard disk backplanes, hard disk backplane 1 and hard disk backplane 2, where hard disk backplane 1 is an A type hard disk backplane and is a front backplane, and hard disk backplane 2 is also an A type hard disk backplane but is a rear backplane. Therefore, when the processing module of the computing device reads the backplane ID of hard disk backplane 1 as 01 from the front channel and reads the backplane ID of hard disk backplane 2 as 01 from the rear channel, it can be determined that the computing device includes two A type hard disk backplanes, one as a front backplane and one as a rear backplane, and thus it can be determined that the computing device corresponds to Model 3.
[0078] In yet other embodiments, different hardware device configurations (such as different numbers of hardware devices, different models, etc.) can correspond to different computing device models for the same combination of hard disk backplanes. For example, the same combination of hard disk backplanes but different numbers of CPUs, GPUs, RAID cards, Retimer cards, etc. In this case, different computing device models can correspond to the same combination of hard disk backplanes, and thus the processing module of the computing device needs to further determine the model of the computing device based on the information of at least one hardware device read, i.e., the computing device needs to determine the model of the computing device based on the hard disk backplane information and the information of at least one hardware device. It should be understood that in addition to the hard disk backplane information, the processing module can also read the information of the motherboard, RAID card, Retimer card, CPU, GPU, etc. hardware device through the external interface, and the processing module can determine the model of the computing device based on the information of all or part of the hardware devices (i.e., the information of at least one hardware device) and the hard disk backplane information.
[0079] For example, assume that there are three types of hard disk backplanes, i.e., an A-type hard disk backplane, a B-type hard disk backplane, and a C-type hard disk backplane, and their corresponding backplane IDs are 01, 10, and 11, respectively. The three types of hard disk backplanes can have four different combinations (including combinations of different hardware device configurations of the same hard disk backplane), which correspond to four different computing device models, respectively. The first combination is 1 A-type hard disk backplane + 1 E-type CPU, which corresponds to Model 1. The second combination is 1 A-type hard disk backplane + 2 E-type CPUs, which corresponds to Model 2. The third combination is 1 B-type hard disk backplane + 1 E-type CPU, which corresponds to Model 3. The fourth combination is 2 C-type hard disk backplanes + 1 E-type CPU, which corresponds to Model 4. If the computing device includes two hard disk backplanes and 1 CPU, i.e., hard disk backplane 1, hard disk backplane 2, and CPU 1, wherein hard disk backplane 1 and hard disk backplane 2 are both A-type hard disk backplanes, and CPU 1 is an E-type CPU. Assume that the identification of the E-type CPU is 001. Therefore, when the processing module of the computing device reads the backplane ID of hard disk backplane 1 as 01, reads the backplane ID of hard disk backplane 2 as 01, and reads the identification of CPU 1 as 001, it can be determined that the computing device includes 2 A-type hard disk backplanes and 1 E-type CPU, and thus it can be determined that the computing device corresponds to Model 1.
[0080] In yet other embodiments, the same combination of hard disk backplanes, different positional relationships, and different hardware device configurations can correspond to different computing device models. At this time, different computing device models can correspond to the same combination of hard disk backplanes with different positional relationships, and thus the processing module of the computing device needs to further determine the model of the computing device according to the read information of other hardware devices, i.e., the computing device needs to determine the model of the computing device according to the hard disk backplane information, the reading path of the information of the one or more hard disk backplanes, and the information of other hardware devices. Specifically, please refer to the relevant descriptions of the above three situations, which will not be repeated here. It should be understood that the correspondence between the combination of backplane IDs, the positional relationship, the hardware device configuration, etc., and the computing device model can be stored in the computing device, for example, the computing device stores a model mapping table including the correspondence between the combination of backplane IDs, the positional relationship, the hardware device configuration, etc., and the computing device model.
[0081] It should be noted that in some embodiments, the processing module of the computing device can determine the height of the computing device according to the read information of the front backplane of the computing device. Specifically, different types of backplanes can correspond to a height information, and when a backplane of a certain type is used as a front backplane, the height of the computing device can be determined according to the height information of the backplane of the type. For example, assuming that there are three types of hard disk backplanes, A type hard disk backplane, B type hard disk backplane and C type hard disk backplane, and their corresponding height information is 1U, 2U and 2U respectively, and their corresponding backplane IDs are 01, 10 and 11 respectively. Therefore, when the computing device includes an A type hard disk backplane and it is used as a front backplane, the height of the computing device can be determined as 1U. Similarly, when the computing device includes a B type or C type hard disk backplane and it is used as a front backplane, the height of the computing device can be determined as 2U. In some embodiments, the model of the computing device includes the height of the computing device.
[0082] In some embodiments, when the processing module of the computing device reads the information of the hardware devices of different data reading paths, it can preferentially read the information of the hardware devices corresponding to the front path, so that the height of the computing device can be determined faster. Moreover, since the computing device generally includes a front backplane, the processing module preferentially reading the information of the hardware devices corresponding to the front path can improve the efficiency of determining the model of the computing device. Specifically, after the computing device reads the information of the hardware devices corresponding to the front path, it can filter a part of the models from the model mapping table according to the read information, if the filtering result includes one model, it can be determined that the model is the model of the computing device, if the filtering result includes multiple, it can be further filtered according to the positional relationship, the information of other hardware devices, etc. until the filtering result includes one model. Therefore, the computing device can determine the model after reading the information of a hardware device through a data path, so that the efficiency of model determination can be improved.
[0083] 303. The processing module sends the model information of the computing device to the BIOS module.
[0084] Correspondingly, the BIOS module of the computing device can receive the model information from the processing module.
[0085] Specifically, after the processing module of the computing device determines the model of the computing device, it can send the model information of the computing device to the BIOS module of the computing device, and the model information can be the identification name of the model, etc. For example, assuming that there are four models, model 1, model 2, model 3 and model 4, and their corresponding model identifications are 00, 01, 10 and 11 respectively. When the processing module of the computing device determines that the model of the computing device is model 3, the processing module of the computing device can send the model identification 10 to the BIOS module.
[0086] In some embodiments, the processing module of the computing device sends the model information of the computing device to the BIOS module, which can be achieved by an IPMI (intelligent platform management interface) command.
[0087] 304. The BIOS module determines the model of the computing device according to the model information of the computing device.
[0088] After the BIOS module of the computing device receives the model information of the computing device from the processing module, the model of the computing device can be determined according to the model information of the computing device. For example, assuming that the BIOS module receives the model identification of 10 from the processing module, then the BIOS module can determine that the model of the computing device is model 3 according to the model identification 10.
[0089] It should be noted that in some embodiments, the processing module of the computing device can directly send the obtained hard disk backplane information and the like to the BIOS module, and then the BIOS module can determine the model of the computing device according to the model mapping table and the hard disk backplane information and the like.
[0090] 305. The BIOS module determines the configuration information of the computing device according to the model of the computing device.
[0091] After the BIOS module of the computing device determines the model of the computing device, the configuration information of the computing device can be determined according to the model of the computing device. The configuration information of the computing device can include CPU port information, CPU resource allocation information, CPU register configuration information, virtual pin port (VPP) address information corresponding to one or more hard disk backplanes included in the computing device, PCIe lane information, and the like.
[0092] Specifically, different computing device models can correspond to different configuration information one by one, so the BIOS module of the computing device can determine the configuration information of the computing device according to the correspondence between the model and the configuration information.
[0093] In a possible implementation, the computing device can store a configuration information mapping table, which can store configuration information corresponding to different computing device models. Thus, the BIOS module of the computing device can determine the configuration information of the computing device according to the model of the computing device and the configuration information mapping table. For example, assume that there are four models, model 1, model 2, model 3, and model 4, wherein the configuration information corresponding to model 1 is configuration information 1, the configuration information corresponding to model 2 is configuration information 2, the configuration information corresponding to model 3 is configuration information 3, and the configuration information corresponding to model 4 is configuration information 4. Thus, when the BIOS module of the computing device determines that the model of the computing device is model 3, the BIOS module can determine the configuration information of the computing device as configuration information 3 according to the configuration information mapping table.
[0094] It should be understood that after the BIOS module of the computing device determines the configuration information of the computing device, the CPU of the computing device can be set accordingly. For example, the BIOS module of the computing device can set the CPU of the computing device according to the CPU port information, CPU resource allocation information, CPU register configuration information, and the like in the configuration information.
[0095] It should be noted that in some embodiments, the configuration information of the computing device can be determined directly according to the hard disk backplane information and the like of the computing device, without determining the model of the computing device according to the hard disk backplane information and the like of the computing device, and then determining the configuration information of the computing device according to the model of the computing device. For example, the computing device can store a mapping relationship table of the hard disk backplane information of the computing device and the configuration information of the computing device, wherein different hard disk backplane information can correspond to different configuration information.
[0096] 306. The BIOS module sends the configuration information of the computing device to the processing module.
[0097] After the BIOS module of the computing device determines the configuration information of the computing device, the BIOS module can send the configuration information of the computing device to the processing module of the computing device. Accordingly, the processing module of the computing device can receive the configuration information of the computing device from the BIOS module.
[0098] It should be understood that in some embodiments, the processing module of the computing device can store a configuration information mapping table. At this time, the processing module of the computing device can determine the configuration information of the computing device directly according to the model of the computing device determined by itself and the configuration information mapping table, without determining the configuration information of the computing device through the BIOS module of the computing device.
[0099] 307. The processing module sends the configuration information of the computing device to one or more hard disk backplanes of the computing device.
[0100] When the processing module of the computing device receives the configuration information of the computing device from the BIOS module, the configuration information of the computing device can be sent to the one or more hard disk backplanes.
[0101] It should be understood that, in some embodiments, the configuration information of the computing device includes the configuration information of the one or more hard disk backplanes, which corresponds to the one or more hard disk backplanes included in the computing device one by one. Accordingly, the processing module of the computing device can send the configuration information of the one or more hard disk backplanes to the corresponding hard disk backplane. For example, assuming that the corresponding model of the computing device is Model 3, and the computing device includes two hard disk backplanes, namely hard disk backplane 1 and hard disk backplane 2, hard disk backplane 1 can support connection of 16 hard disks, and hard disk backplane 2 can support connection of 4 hard disks. Accordingly, the configuration information corresponding to Model 3 can include 16 VPP addresses allocated to hard disk backplane 1 and hard disk backplane 2, of which 12 VPP addresses can be allocated to hard disk backplane 1, and 4 VPP addresses can be allocated to hard disk backplane 2. Therefore, the processing module of the computing device can send the 12 VPP addresses corresponding to hard disk backplane 1 to hard disk backplane 1, and can send the 4 VPP addresses corresponding to hard disk backplane 2 to hard disk backplane 2.
[0102] It should be noted that the hard disk backplane and the hard disk of the computing device are usually connected through each hard disk port, and each port (i.e., each hard disk) can be allocated with a corresponding VPP address, so that the management of the hard disk can be facilitated, and confusion between different hard disk ports can be avoided. Moreover, when the hard disk port is a PCIe port, the data transmission channel between the CPU and the hard disk can be a PCIelane (a lane generally refers to a combination of a group of differential signals in a PCIe link, and each lane generally represents 4 physical connections between PCIe components). Since the number of lanes of the CPU is limited, it is generally necessary to allocate them accordingly.
[0103] 308. The one or more hard disk backplanes of the computing device are adapted according to the configuration information of the computing device.
[0104] Specifically, each hard disk backplane of the computing device can receive the configuration information of the computing device, or can receive the part of the configuration information of the computing device corresponding to itself. Then, the one or more hard disk backplanes of the computing device can be adapted according to the corresponding configuration information.
[0105] For example, assume that the computing device includes two hard disk backplanes, namely hard disk backplane 1 and hard disk backplane 2, hard disk backplane 1 can support connection of 16 hard disks, and hard disk backplane 2 can support connection of 4 hard disks. Hard disk backplane 1 can receive configuration information from the processing module, which can include 12 VPP addresses assigned to itself, and hard disk backplane 2 can receive configuration information from the processing module, which can include 4 VPP addresses assigned to itself. Then, hard disk backplane 1 can correspond the 12 VPP addresses to different ports of itself, i.e., to different hard disks. Similarly, hard disk backplane 2 can correspond the 4 VPP addresses to different ports of itself, i.e., to different hard disks.
[0106] It should be noted that in some embodiments, each hard disk backplane of the computing device can store different hot plug configuration information, and the different hot plug configuration information corresponds to different hot plug configuration identifiers. At this time, the configuration information received by the hard disk backplane of the computing device from the processing module can include a hot plug configuration identifier, and the hard disk backplane can determine the corresponding hot plug configuration information of itself under the model according to the hot plug configuration identifier, so as to perform hot plug configuration according to the hot plug configuration information.
[0107] It should be understood that in some embodiments, a complex programmable logic device (CPLD) can be arranged on each hard disk backplane of the computing device, the CPLD can be coupled with a hard disk interface on the hard disk backplane and a processing module of the computing device, and the CPLD can be used to obtain in-place information, heartbeat information of the hard disk, and reset timing for controlling the hard disk. In the embodiments of the present application, the CPLD of each hard disk backplane of the computing device can receive configuration information from the processing module of the computing device, and perform corresponding configuration (such as parameter configuration) according to the configuration information.
[0108] Please refer to Figure 4 , Figure 4 is a flow diagram of another embodiment of a configuration method of a hard disk backplane disclosed in the present application. As Figure 4 shown, the method flow mainly illustrates the BMC, BIOS module of the server and the CPLD on the hard disk backplane, and can include the following processes:
[0109] When the server is powered on (such as AC power on), the BMC of the server can load the entire system, and during the loading process, the BMC can start polling detection, read data through each external interface, read the information of each hard disk backplane included in the server, and determine the reading path of the information of each hard disk backplane according to the reading address.
[0110] Specifically, when the BMC of the server determines that the information of the hard disk backplane is read from the front channel, the BMC can determine that the corresponding backplane is a front backplane, and can also determine the height (such as 1U, 2U, 4U, etc.) of the server according to the information of the front backplane. Then, the BMC can communicate with the BIOS module (such as through IPMI commands), and send the read information of the hard disk backplane to the BIOS module for server model adaptation. Specifically, the BIOS module can determine the model of the server according to the information of the hard disk backplane, and then can determine the configuration information of the server according to the model and the configuration information mapping table. Then, the BIOS module can complete the setting of the CPU of the server according to the configuration information of the server, and can also send the configuration information of the server to the BMC. Correspondingly, the BMC can receive the configuration information of the server from the BIOS module, and then can send the configuration information of the server to the CPLD on the hard disk backplane. Then, the CPLD on the hard disk backplane can perform corresponding hot plug configuration according to the configuration information of the server.
[0111] When the BMC of the server determines that the information of the hard disk backplane is not read from the front channel, that is, from other channels (such as the rear channel), the BMC can determine that the corresponding backplane is other backplane (such as the rear backplane). Then, the BMC can directly send the read information of the hard disk backplane to the BIOS module for server model adaptation, which can be referred to the above description.
[0112] It should be noted that the related information (i.e. the same information or similar information) and the related description in the above different embodiments can be mutually referred to.
[0113] It should be understood that the above-mentioned Figure 3 The processing module, the BIOS module, and the hard disk backplane of the computing device in the above-mentioned processing flow are taken as examples, but the application does not limit the execution subject of the interaction illustration. For example, Figure 3 The hard disk backplane in the above-mentioned processing flow can also be a chip, a chip system, or a processor supporting the hard disk backplane to implement the method, and can also be a logic module or software capable of implementing all or part of the functions of the hard disk backplane.
[0114] Based on the above system architecture, please refer to Figure 5 , Figure 5 is a structural schematic diagram of a computing device disclosed by the embodiments of the application. The computing device 500 can include a processor 501, a communication interface 502, and a memory 503. The processor 501, the communication interface 502, and the memory 503 can be connected to each other or connected to each other through a bus 504.
[0115] The memory 503 is configured to store computer programs and data of the computing device 500. The memory 503 can include, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a compact disc read-only memory (CD-ROM), and the like. The communication interface 502 is configured to support the communication of the computing device 500, for example, receiving or sending data.
[0116] The processor 501 can be a central processing unit, a complex programmable logic device, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor can also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a digital signal processor and a microprocessor, and the like.
[0117] In some embodiments, the computing device 500 can be the computing device described above, and the processor 501 can be configured to read the program stored in the memory 503 described above, execute the program described above Figure 3 The operations performed by the computing device or the components in the computing device in the method embodiments shown can be referred to the related description above, and will not be described in detail here.
[0118] It should be noted that, Figure 5 The computing device 500 shown is only one implementation of the embodiments of the present application. In actual applications, the computing device 500 can further include more or fewer components, which are not limited here.
[0119] The embodiments of the present application also disclose a computer readable storage medium, which stores instructions. The instructions are executed to perform the method in the method embodiments described above.
[0120] The embodiments of the present application also disclose a computer program product including instructions. The instructions are executed to perform the method in the method embodiments described above.
[0121] It is apparent that the described embodiments are only some, but not all, of the embodiments of the present application. In this document, the term "embodiment" refers to a specific feature, structure, or characteristic of at least one embodiment of the application. The phraseology "in at least one embodiment" is not used to refer to all embodiments or all alternatives of the application. The phraseology "in at least one embodiment" is used exclusively to refer to at least one embodiment of the application, which is not necessarily the same as any other embodiment or any other alternative. It is clear from the description that embodiments described herein can be combined with other embodiments in a manner known to those skilled in the art. All other embodiments obtained by those skilled in the art based on the embodiments described herein without creative work are within the scope of the present application. In the specification and claims of the present application and the drawings, the terms "first", "second", "third", etc. are used to distinguish different objects, not to describe a particular order. In addition, the terms "comprise", "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a series of steps or units, or optionally, also includes steps or units not listed, or optionally, also includes other steps or units inherent to the process, method, product or equipment.
[0122] It is understood that only some, but not all, of the relevant parts are shown in the drawings. It should be understood that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operations are completed, but can also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, etc.
[0123] The terms "component", "module", "system", "unit", etc. used in the specification are used to represent computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a unit can be, but is not limited to, a process running on a processor, a processor, an object, an executable, an execution thread, a program, and / or distributed between two or more computers. In addition, these units can be executed from various computer-readable media having various data structures stored thereon. The units can communicate, for example, according to signals having one or more data packets (e.g., from a second unit interacting with a local system, a distributed system, and / or a network of another unit. For example, the Internet interacts with other systems through signals with other systems.
[0124] The above detailed description of the specific implementation is further detailed for the purpose of the application, technical solutions and beneficial effects, and it should be understood that the above description is only for the specific implementation of the application and is not used to limit the protection scope of the application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the application shall be included in the protection scope of the application.
Claims
1. A method for configuring a hard disk backplane, characterized in that, A processing module used in a computing device, the computing device including one or more hard disk backplanes; the method includes: Obtain the hard disk backplane information of the computing device, wherein the hard disk backplane information includes information of the one or more hard disk backplanes; Determine the reading path for the information of the one or more hard disk backplanes, wherein the reading path for the hard disk backplane information is the path for data transmission between the processing module and the one or more hard disk backplanes; Obtain information about at least one hardware device of the computing device; The model of the computing device is determined based on the hard disk backplane information, the reading path of the information of the one or more hard disk backplanes, and the information of the at least one hardware device; The configuration information of the computing device is determined according to the model of the computing device. The configuration information is used to configure the one or more hard disk backplanes. The configuration information of the computing device includes CPU port information, CPU resource allocation information, CPU register configuration information, virtual pin port (VPP) address information corresponding to the one or more hard disk backplanes included in the computing device, and PCIe channel information.
2. The method according to claim 1, characterized in that, Determining the configuration information of the computing device based on its model includes: The configuration information of the computing device is determined based on the model and configuration information mapping table of the computing device, wherein the configuration information mapping table includes the configuration information corresponding to different models of computing devices.
3. The method according to claim 1 or 2, characterized in that, The hard drive backplane information includes the identifiers of the one or more hard drive backplanes, and the identifiers of the one or more hard drive backplanes are used to indicate the hardware resources of the one or more hard drive backplanes.
4. The method according to claim 1, characterized in that, The computing device further includes a Basic Input / Output System (BIOS) module; determining the configuration information of the computing device based on the hard disk backplane information includes: The processing module sends the hard drive backplane information to the BIOS module; The processing module receives configuration information of the computing device from the BIOS module, and the configuration information of the computing device is determined by the BIOS module based on the hard disk backplane information.
5. The method according to claim 1 or 2, characterized in that, The processing module is a baseboard management controller (BMC).
6. A computing device, characterized in that, The device includes a processing module and one or more hard disk backplanes, the one or more hard disk backplanes being coupled to the processing module, the processing module being used to implement the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Hard disk backboard and system identification method
CN101470618A
Method and equipment for controlling hard disk backboard LED
CN112506817A